mlsanityData to 14 Oct 2026

Adaptive Sampled Softmax with Kernel Based Sampling

arXiv 1712.00527 ↗First posted 2 Dec 2017cs.LGcited by 38

Not on the map. Why?

Abstract (arXiv)

Softmax is the most commonly used output function for multiclass problems and is widely used in areas such as vision, natural language processing, and recommendation. A softmax model has linear costs in the number of classes which makes it too expensive for many real-world problems. A common approach to speed up training involves sampling only some of the classes at each training step. It is known that this method is biased and that the bias increases the more the sampling distribution deviates from the output distribution. Nevertheless, almost any recent work uses simple sampling distributions that require a large sample size to mitigate the bias. In this work, we propose a new class of kernel based sampling methods and develop an efficient sampling algorithm. Kernel based sampling adapts to the model as it is trained, thus resulting in low bias. Kernel based sampling can be easily applied to many models because it relies only on the model's last hidden layer. We empirically study the trade-off of bias, sampling distribution and sample size and show that kernel based sampling results in low bias with few samples.

Key facts. Cited by 38 papers in the map (data through 14 Oct 2026). First posted on arXiv 2 Dec 2017.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 13; 2022: 8; 2023: 6; 2024: 4; 2025: 3; 2026: 4.

38 papers.

Sort:

By area:

  1. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
  2. 2021Choose a Transformer: Fourier or Galerkincited by 343
  3. 2023EGformer: Equirectangular Geometry-biased Transformer for 360 Depth Estimationcited by 43
  4. 2021Sparse Spiking Gradient Descentcited by 41
  5. 2021FMMformer: Efficient and Flexible Transformer via Decomposed Near-field and Far-field Attentioncited by 26
  6. 2021Hybrid Random Featurescited by 25
  7. 2021Item Recommendation from Implicit Feedbackcited by 18
  8. 2023On the Theories Behind Hard Negative Sampling for Recommendationcited by 18
  9. 2021Accelerating SLIDE Deep Learning on Modern CPUs: Vectorization, Quantizations, Memory Optimizations, and Morecited by 15
  10. 2021How Does Momentum Benefit Deep Neural Networks Architecture Design? A Few Case Studiescited by 10
  11. 2021Disentangling Sampling and Labeling Bias for Learning in Large-Output Spacescited by 9
  12. 2021Fast Variational AutoEncoder with Inverted Multi-Index for Collaborative Filteringcited by 8
26 more
  1. 2023Dual-Encoders for Extreme Multi-Label Classificationcited by 7
  2. 2024Exact Conversion of In-Context Learning to Model Weights in Linearized-Attention Transformerscited by 7
  3. 2022Cooperative Retriever and Ranker in Deep Recommenderscited by 6
  4. 2023Improving Dual-Encoder Training through Dynamic Indexes for Negative Miningcited by 5
  5. 2022Momentum Transformer: Closing the Performance Gap Between Self-attention and Its Linearizationcited by 4
  6. 2022Fast Offline Policy Optimization for Large Scale Recommendationcited by 4
  7. 2021Prototype Memory for Large-scale Face Representation Learningcited by 3
  8. 2022Generating Negative Samples for Sequential Recommendationcited by 3
  9. 2023Hierarchical Attention Encoder Decodercited by 3
  10. 2025Efficient and Programmable Exploration of Synthesizable Chemical Spacecited by 3
  11. 2022Distributed SLIDE: Enabling Training Large Neural Networks on Low Bandwidth and Simple CPU-Clusters via Model Parallelism and Sparsitycited by 2
  12. 2022Efficient Image Representation Learning with Federated Sampled Softmaxcited by 2
  13. 2022Adapting Triplet Importance of Implicit Feedback for Personalized Recommendationcited by 2
  14. 2023Learning distributed representations with efficient SoftMax normalizationcited by 2
  15. 2024EMC2: Efficient MCMC Negative Sampling for Contrastive Learning with Global Convergencecited by 2
  16. 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networkscited by 2
  17. 2021Beyond Nystr"omformer -- Approximation of self-attention by Spectral Shiftingcited by 1
  18. 2025GBSK: Skeleton Clustering via Granular-ball Computing and Multi-Sampling for Large-Scale Datacited by 1
  19. 2021Scalable Personalised Item Ranking through Parametric Density Estimationcited by 0
  20. 2022Dynamic Network Adaptation at Inferencecited by 0
  21. 2024A Fresh Take on Stale Embeddings: Improving Dense Retriever Training with Corrector Networkscited by 0
  22. 2025Adaptive Sparse Softmax: An Effective and Efficient Softmax Variantcited by 0
  23. 2026Is Softmax Loss All You Need? A Principled Analysis of Softmax-family Losscited by 0
  24. 2026Interpreting Language Model Hidden States at Scalecited by 0
  25. 2026Batch Size or Negatives? A Selection Rule for Memory-Constrained Recommender Trainingcited by 0
  26. 2026X-Rec Technical Reportcited by 0