mlsanityData to 14 Oct 2026

Generalized Neural Sorting Networks with Error-Free Differentiable Swap Functions

arXiv 2310.07174 ↗First posted 11 Oct 2023cs.LG stat.MLcited by 4

Not on the map. Why?

Abstract (arXiv)

Sorting is a fundamental operation of all computer systems, having been a long-standing significant research topic. Beyond the problem formulation of traditional sorting algorithms, we consider sorting problems for more abstract yet expressive inputs, e.g., multi-digit images and image fragments, through a neural sorting network. To learn a mapping from a high-dimensional input to an ordinal variable, the differentiability of sorting networks needs to be guaranteed. In this paper we define a softening error by a differentiable swap function, and develop an error-free swap function that holds a non-decreasing condition and differentiability. Furthermore, a permutation-equivariant Transformer network with multi-head attention is adopted to capture dependency between given inputs and also leverage its model capacity with self-attention. Experiments on diverse sorting benchmarks show that our methods perform better than or comparable to baseline methods.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 21 of its 33 references that are in the map. First posted on arXiv 11 Oct 2023.

Builds on

21 of 33 references.

References · 21

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2016Layer Normalizationcited by 5,669
  8. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  9. 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
  10. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  11. 2020Point Transformercited by 1,470
  12. 2017Deep Setscited by 1,421
9 more
  1. 2020PolyGen: An Autoregressive Generative Model of 3D Meshescited by 269
  2. 2015Order Matters: Sequence to sequence for setscited by 237
  3. 2020Fast Differentiable Sorting and Rankingcited by 197
  4. 2018Learning Latent Permutations with Gumbel-Sinkhorn Networkscited by 175
  5. 2019Differentiable Ranks and Sorting using Optimal Transportcited by 113
  6. 2019Stochastic Optimization of Sorting Networks via Continuous Relaxationscited by 111
  7. 2018Smooth Loss Functions for Deep Top-k Classificationcited by 46
  8. 2021Differentiable Sorting Networks for Scalable Sorting and Ranking Supervisioncited by 31
  9. 2022Monotonic Differentiable Sorting Networkscited by 25

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.