paper-with-me

홈 › Papers

SoftSort: A Differantiable Continuous Relaxation of the argsort Operator

2020-01-01 · ICML 2020 1 · Sebastian Prillo, Julian Eisenschlos

Sorting is an important procedure in computer science. However, the argsort operator - which takes as input a vector and returns its sorting per-mutation - has a discrete image and thus zero gradients almost everywhere. This prohibits end-to-end, gradient-based learning of models that rely on the argsort operator. A natural way to overcome this problem is to replace the argsort operator with a continuous relaxation. Recent work has shown a number of ways to do this. However, the relaxations proposed so far are computationally complex. In this work we propose a simple continuous relaxation for the argsort operator. Unlike previous works, our relaxation is straight-forward: it can be implemented in three lines of code, achieves state-of-the-art performance, is easy to reason about mathematically - substantially simplifying proofs - and is up to six times faster than competing approaches. We open-source the code to reproduce all of the experiments

📄 PDF Abstract BibTeX

Code (1)

sprillo/softsort 공식 구현 pytorch

Similar Papers 제목 키워드 기반

SoftSort: A Continuous Relaxation for the argsort Operator

2020-06-29 · Sebastian Prillo, Julian Martin Eisenschlos

While sorting is an important procedure in computer science, the argsort operator - which takes as input a vector and returns its sorting permutation - has a discrete image and thus zero gradients almost everywhere. This…

Permutation Learning with Only N Parameters: From SoftSort to Self-Organizing Gaussians

2025-03-17 · Kai Uwe Barthel, Florian Barthel, Peter Eisert

Sorting and permutation learning are key concepts in optimization and machine learning, especially when organizing high-dimensional data into meaningful spatial layouts. The Gumbel-Sinkhorn method, while effective, requi…

Deep greedy unfolding: Sorting out argsorting in greedy sparse recovery algorithms

2025-05-21 · Sina Mohammad-Taheri, Matthew J. Colbrook, Simone Brugiapaglia

Gradient-based learning imposes (deep) neural networks to be differentiable at all steps. This includes model-based architectures constructed by unrolling iterations of an iterative algorithm onto layers of a neural netw…

Structural Incompatibility of Differentiable Sorting and Within-Vector Rank Normalization

2025-12-27 · Taeyun Kim arxiv

We show that differentiable sorting and ranking operators are structurally incompatible with within-vector rank normalization. We formalize admissibility through monotone invariance (C1), batch independence (C2), and a r…

Stochastic Optimization of Sorting Networks via Continuous Relaxations

2019-03-21 · ICLR 2019 5 · Aditya Grover, Eric Wang, Aaron Zweig, Stefano Ermon

Sorting input objects is an important step in many machine learning pipelines. However, the sorting operator is non-differentiable with respect to its inputs, which prohibits end-to-end gradient-based optimization. In th…

Stochastic Optimization