LapSum -- One Method to Differentiate Them All: Ranking, Sorting and Top-k Selection
Not on the map. Why?
Abstract (arXiv)
We present a novel technique for constructing differentiable order-type operations, including soft ranking, soft top-k selection, and soft permutations. Our approach leverages an efficient closed-form formula for the inverse of the function LapSum, defined as the sum of Laplace distributions. This formulation ensures low computational and memory complexity in selecting the highest activations, enabling losses and gradients to be computed in O(nlogn) time. Through extensive experiments, we demonstrate that our method outperforms state-of-the-art techniques for high-dimensional vectors and large k values. Furthermore, we provide efficient implementations for both CPU and CUDA environments, underscoring the practicality and scalability of our method for large-scale ranking and differentiable ordering problems.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 21 of its 26 references that are in the map. First posted on arXiv 8 Mar 2025.
Builds on
21 of 26 references.
References · 21
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
- 2023Learning A Sparse Transformer Network for Effective Image Derainingcited by 204
- 2020Fast Differentiable Sorting and Rankingcited by 196
- 2018Top-K Off-Policy Correction for a REINFORCE Recommender Systemcited by 181
- 2019Differentiable Ranks and Sorting using Optimal Transportcited by 113
- 2019Stochastic Optimization of Sorting Networks via Continuous Relaxationscited by 111
- 2020SoftSort: A Continuous Relaxation for the argsort Operatorcited by 66
- 2019Explicit Sparse Transformer: Concentrated Attention Through Explicit Selectioncited by 61
- 2018Smooth Loss Functions for Deep Top-k Classificationcited by 46
- 2015Loss Functions for Top-k Error: Analysis and Insightscited by 38
9 more
- 2021Learning with Noisy Labels via Sparse Regularizationcited by 38
- 2023Fast, Differentiable and Sparse Top-k: a Convex Analysis Perspectivecited by 26
- 2022Monotonic Differentiable Sorting Networkscited by 25
- 2024Cardinality-Aware Set Prediction and Top-k Classificationcited by 23
- 2022Differentiable Top-k Classification Learningcited by 21
- 2020Differentiable Top-k Operator with Optimal Transportcited by 17
- 2023Learning by Sorting: Self-supervised Learning with Group Ordering Constraintscited by 13
- 2022Stochastic smoothing of the top-K calibrated hinge loss for deep imbalanced classificationcited by 10
- 2024Top-k Classification and Cardinality-Aware Predictioncited by 5
Built on by
Citing papers per year: 2025: 4; 2026: 8.
12 papers.
- 2025VisionSelector: End-to-End Learnable Visual Token Compression for Efficient Multimodal LLMscited by 11
- 2025Efficient Transferable Optimal Transport via Min-Sliced Transport Planscited by 4
- 2026SoftMoE: Soft Differentiable Routing for Mixture-of-Experts in LLMscited by 3
- 2025Differentiable Fast Top-K Selection for Large-Scale Recommendationcited by 2
- 2026SoftSAE: Dynamic Top-K Selection for Adaptive Sparse Autoencoderscited by 1
- 2026DiffPrune: differentiable information throttling for token pruning in vision-language modelscited by 1
- 2025Structural Incompatibility of Differentiable Sorting and Within-Vector Rank Normalizationcited by 0
- 2026Min Generalized Sliced Gromov Wasserstein: A Scalable Path to Gromov Wassersteincited by 0
- 2026Interpretability-Guided Soft Pruning of Attention Heads in Vision Transformerscited by 0
- 2026LaPrune: Controllable Differentiable Sparsity at Million Scalecited by 0
- 2026Fast LapSum: Exact Differentiable Top-k at Million Scalecited by 0
- 2026VLA-ACL: Action-Consistent Visual Token Pruning for Efficient Vision-Language-Action Modelscited by 0
- 2026VLA-ACL: Action-Consistent Visual Token Pruning for Efficient Vision-Language-Action Models6 Oct 2026
- 2026Fast LapSum: Exact Differentiable Top-k at Million Scale7 Aug 2026
- 2026LaPrune: Controllable Differentiable Sparsity at Million Scale4 Aug 2026
- 2026DiffPrune: differentiable information throttling for token pruning in vision-language models3 Aug 2026
- 2026Interpretability-Guided Soft Pruning of Attention Heads in Vision Transformers31 Jul 2026
- 2026SoftMoE: Soft Differentiable Routing for Mixture-of-Experts in LLMs16 Jun 2026
- 2026Min Generalized Sliced Gromov Wasserstein: A Scalable Path to Gromov Wasserstein13 May 2026
- 2026SoftSAE: Dynamic Top-K Selection for Adaptive Sparse Autoencoders7 May 2026
- 2025Structural Incompatibility of Differentiable Sorting and Within-Vector Rank Normalization27 Dec 2025
- 2025Efficient Transferable Optimal Transport via Min-Sliced Transport Plans24 Nov 2025
- 2025VisionSelector: End-to-End Learnable Visual Token Compression for Efficient Multimodal LLMs18 Oct 2025
- 2025Differentiable Fast Top-K Selection for Large-Scale Recommendation13 Oct 2025