paper-with-me

Papers

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 sorting function is however piece-wise constant (the sorting permutation of a vector does not change if the entries of that vector are infinitesimally perturbed) and therefore has no gradient information to back-propagate. We propose a framework to sort elements that is algorithmically differentiable. We leverage the fact that sorting can be seen as a particular instance of the optimal transport (OT) problem on $\mathbb{R}$, from input values to a predefined array of sorted values (e.g. $1,2,\dots,n$ if the input array has $n$ elements). Building upon this link , we propose generalized CDFs and quantile operators by varying the size and weights of the target presorted array. Because this amounts to using the so-called Kantorovich formulation of OT, we call these quantities K-sorts, K-CDFs and K-quantiles. We recover differentiable algorithms by adding to the OT problem an entropic regularization, and approximate it using a few Sinkhorn iterations. We call these operators S-sorts, S-CDFs and S-quantiles, and use them in various learning settings: we benchmark them against the recently proposed neuralsort [Grover et al. 2019], propose applications to quantile regression and introduce differentiable formulations of the top-k accuracy that deliver state-of-the art performance.

📄 PDF Abstract BibTeX arXiv:1905.11885

Code (0)

등록된 구현이 없습니다.

Tasks

quantile regression

Similar 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 lo…

quantile regression

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…

Optimal Transport Tools (OTT): A JAX Toolbox for all things Wasserstein

2022-01-28 · Marco Cuturi, Laetitia Meng-Papaxanthos, Yingtao Tian, Charlotte Bunne 외

Optimal transport tools (OTT-JAX) is a Python toolbox that can solve optimal transport problems between point clouds and histograms. The toolbox builds on various JAX features, such as automatic and custom reverse mode d…

All

NeuralNDCG: Direct Optimisation of a Ranking Metric via Differentiable Relaxation of Sorting

2021-02-15 · Przemysław Pobrotyn, Radosław Białobrzeski

Learning to Rank (LTR) algorithms are usually evaluated using Information Retrieval metrics like Normalised Discounted Cumulative Gain (NDCG) or Mean Average Precision. As these metrics rely on sorting predicted items' s…

Information RetrievalLearning-To-RankRetrieval

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