paper-with-me

Papers

Differentiable Ranking and Sorting using Optimal Transport

2019-12-01 · NeurIPS 2019 12 · Marco Cuturi, Olivier Teboul, Jean-Philippe Vert

Sorting is used pervasively in machine learning, either to define elementary algorithms, such as $k$-nearest neighbors ($k$-NN) rules, or to define test-time metrics, such as top-$k$ classification accuracy or ranking losses. Sorting is however a poor match for the end-to-end, automatically differentiable pipelines of deep learning. Indeed, sorting procedures output two vectors, neither of which is differentiable: the vector of sorted values is piecewise linear, while the sorting permutation itself (or its inverse, the vector of ranks) has no differentiable properties to speak of, since it is integer-valued. We propose in this paper to replace the usual \texttt{sort} procedure with a differentiable proxy. Our proxy builds upon the fact that sorting can be seen as an optimal assignment problem, one in which the $n$ values to be sorted are matched to an \emph{auxiliary} probability measure supported on any \emph{increasing} family of $n$ target values. From this observation, we propose extended rank and sort operators by considering optimal transport (OT) problems (the natural relaxation for assignments) where the auxiliary measure can be any weighted measure supported on $m$ increasing values, where $m \ne n$. We recover differentiable operators by regularizing these OT problems with an entropic penalty, and solve them by applying Sinkhorn iterations. Using these smoothed rank and sort operators, we propose differentiable proxies for the classification 0/1 loss as well as for the quantile regression loss.

📄 PDF Abstract BibTeX

Code (1)

google-research/google-research 공식 구현 tf

Tasks

quantile regression

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…

Differentiable Ranks and Sorting using Optimal Transport

2019-05-28 · Marco Cuturi, Olivier Teboul, Jean-Philippe Vert

Sorting an array is a fundamental routine in machine learning, one that is used to compute rank-based statistics, cumulative distribution functions (CDFs), quantiles, or to select closest neighbors and labels. The sortin…

quantile regression

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 re…

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 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