paper-with-me

Papers

Fast Differentiable Sorting and Ranking

2020-02-20 · ICML 2020 1 · Mathieu Blondel, Olivier Teboul, Quentin Berthet, Josip Djolonga

The sorting operation is one of the most commonly used building blocks in computer programming. In machine learning, it is often used for robust statistics. However, seen as a function, it is piecewise linear and as a result includes many kinks where it is non-differentiable. More problematic is the related ranking operator, often used for order statistics and ranking metrics. It is a piecewise constant function, meaning that its derivatives are null or undefined. While numerous works have proposed differentiable proxies to sorting and ranking, they do not achieve the $O(n \log n)$ time complexity one would expect from sorting and ranking operations. In this paper, we propose the first differentiable sorting and ranking operators with $O(n \log n)$ time and $O(n)$ space complexity. Our proposal in addition enjoys exact computation and differentiation. We achieve this feat by constructing differentiable operators as projections onto the permutahedron, the convex hull of permutations, and using a reduction to isotonic optimization. Empirically, we confirm that our approach is an order of magnitude faster than existing approaches and showcase two novel applications: differentiable Spearman's rank correlation coefficient and least trimmed squares.

📄 PDF Abstract BibTeX arXiv:2002.08871

Code (2)

google-research/fast-soft-sort 공식 구현 pytorch
teddykoker/torchsort pytorch

Similar Papers 제목 키워드 기반

Monotonic Differentiable Sorting Networks

2022-03-17 · ICLR 2022 4 · Felix Petersen, Christian Borgelt, Hilde Kuehne, Oliver Deussen

Differentiable sorting algorithms allow training with sorting and ranking supervision, where only the ordering or ranking of samples is known. Various methods have been proposed to address this challenge, ranging from op…

A Differentiable Ranking Metric Using Relaxed Sorting Operation for Top-K Recommender Systems

2020-08-30 · Hyunsung Lee, Yeongjae Jang, Jaekwang Kim, Honguk Woo

A recommender system generates personalized recommendations for a user by computing the preference score of items, sorting the items according to the score, and filtering top-K items with high scores. While sorting and r…

Recommendation Systems

Differentiable Sorting Networks for Scalable Sorting and Ranking Supervision

2021-05-09 · Felix Petersen, Christian Borgelt, Hilde Kuehne, Oliver Deussen

Sorting and ranking supervision is a method for training neural networks end-to-end based on ordering constraints. That is, the ground truth order of sets of samples is known, while their absolute values remain unsupervi…

Differentiable Fast Top-K Selection for Large-Scale Recommendation

2025-10-13 · Yanjie Zhu, Zhen Zhang, Yunli Wang, Zhiqiang Wang 외 arxiv

Cascade ranking is a widely adopted paradigm in large-scale information retrieval systems for Top-K item selection. However, the Top-K operator is non-differentiable, hindering end-to-end training. Existing methods inclu…

Recommendation SystemsInformation Retrieval

Diffsurv: Differentiable sorting for censored time-to-event data

2023-04-26 · Andre Vauvelle, Benjamin Wild, Aylin Cakiroglu, Roland Eils 외

Survival analysis is a crucial semi-supervised task in machine learning with numerous real-world applications, particularly in healthcare. Currently, the most common approach to survival analysis is based on Cox's partia…

Survival Analysis