mlsanityData to 14 Oct 2026

Fast LapSum: Exact Differentiable Top-k at Million Scale

arXiv 2608.06912 ↗First posted 7 Aug 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Selecting the top-k elements is a fundamental operation for inducing sparsity in large-scale models and optimization problems, enabling robust expert activation, token routing or attention pruning. However, hard top-k is non-differentiable, while existing differentiable alternatives become increasingly expensive as the number of coordinates grows. We introduce Fast LapSum, a scalable solver for the LapSum soft top-k formulation that preserves an exact selection mass of k, while supporting end-to-end differentiation. In Fast LapSum, we reduce sorting cost using probabilistic bracketing, which restricts sorting to a narrow band of scores around the threshold using a binomial order-statistic from kernel-noised samples. A certification pass upgrades the probabilistic localization to a verified one at the cost of one additional linear pass, with a full-sort fallback that covers the worst-case scenario. Our certified GPU implementation processes 106, 107, and 108 scores in median times of 0.92, 1.39, and 7.24 ms, respectively, making exact-budget soft top-k practical within million-scale optimization loops. We demonstrate this capability in two applications: megapixel sparse adversarial examples with a small fraction of initial image pixels, where Fast LapSum achieves an order-of-magnitude speedup over state-of-the-art methods, and 3D Gaussian splatting. In the latter, we use Fast LapSum to reduce the number of Gaussians produced by Adaptive Density Control to a substantially smaller number while retaining nearly the same rendering quality and massively reducing computation. These results demonstrate that exact-budget differentiable top-k can be incorporated into practical million-scale optimization pipelines.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 24 of its 34 references that are in the map. First posted on arXiv 7 Aug 2026.

Builds on

24 of 34 references.

References · 24

  1. 20233D Gaussian Splatting for Real-Time Radiance Field Renderingcited by 6,226
  2. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  3. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  4. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
  5. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  6. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
  7. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
  8. 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 712
  9. 2024Scaling and evaluating sparse autoencoderscited by 553
  10. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 403
  11. 2013k-Sparse Autoencoderscited by 215
  12. 2020Fast Differentiable Sorting and Rankingcited by 197
12 more
  1. 2019Stochastic Optimization of Sorting Networks via Continuous Relaxationscited by 111
  2. 2019Sparse and Imperceivable Adversarial Attackscited by 95
  3. 2018SparseFool: a few pixels make a big differencecited by 94
  4. 2020Learning with Differentiable Perturbed Optimizerscited by 81
  5. 2020SoftSort: A Continuous Relaxation for the argsort Operatorcited by 66
  6. 2021Differentiable Sorting Networks for Scalable Sorting and Ranking Supervisioncited by 31
  7. 2023Fast, Differentiable and Sparse Top-k: a Convex Analysis Perspectivecited by 26
  8. 2020Differentiable Top-k Operator with Optimal Transportcited by 17
  9. 2025LapSum -- One Method to Differentiate Them All: Ranking, Sorting and Top-k Selectioncited by 13
  10. 2024σ-zero: Gradient-based Optimization of ℓ0-norm Adversarial Examplescited by 7
  11. 2024Sparse-PGD: A Unified Framework for Sparse Adversarial Perturbations Generationcited by 4
  12. 2025Differentiable Fast Top-K Selection for Large-Scale Recommendationcited by 3

Built on by

Not cited yet.