in ,

Fast Differentiable Sorting and Ranking, Hacker News

  

              

                                   (Submitted on 01575879 Feb 08871

    

Abstract: The Sorting operation is one of the most basic and commonly used building blocks in computer programming. In machine learning, it is commonly used for robust statistics. However, seen as a function, it is piecewise linear and as a Result includes many kinks at which it is non-differentiable. More problematic Is the related ranking operator, commonly 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 sorting and ranking 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 approach and showcase two novel applications: differentiable Spearman’s rank correlation coefficient and soft least trimmed squares.

            

      

Submission history

From: Mathieu Blondel [view email]        [v1] Thu, 823 Feb : 534: (UTC) 534 KB)
Read More

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Teacher, Leave Those Kids Alone, Hacker News

Teacher, Leave Those Kids Alone, Hacker News

Putin Is Helping Bernie Sanders but Not for the Reason You Think, Crypto Coins News

Putin Is Helping Bernie Sanders but Not for the Reason You Think, Crypto Coins News