Adaptive Sampled Softmax with Kernel Based Sampling
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
Citing papers per year: 2021: 13; 2022: 8; 2023: 6; 2024: 4; 2025: 3; 2026: 4.
38 papers.
Sort:
By area:
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2021Choose a Transformer: Fourier or Galerkincited by 343
- 2023EGformer: Equirectangular Geometry-biased Transformer for 360 Depth Estimationcited by 43
- 2021Sparse Spiking Gradient Descentcited by 41
- 2021FMMformer: Efficient and Flexible Transformer via Decomposed Near-field and Far-field Attentioncited by 26
- 2021Hybrid Random Featurescited by 25
- 2021Item Recommendation from Implicit Feedbackcited by 18
- 2023On the Theories Behind Hard Negative Sampling for Recommendationcited by 18
- 2021Accelerating SLIDE Deep Learning on Modern CPUs: Vectorization, Quantizations, Memory Optimizations, and Morecited by 15
- 2021How Does Momentum Benefit Deep Neural Networks Architecture Design? A Few Case Studiescited by 10
- 2021Disentangling Sampling and Labeling Bias for Learning in Large-Output Spacescited by 9
- 2021Fast Variational AutoEncoder with Inverted Multi-Index for Collaborative Filteringcited by 8
26 more
- 2023Dual-Encoders for Extreme Multi-Label Classificationcited by 7
- 2024Exact Conversion of In-Context Learning to Model Weights in Linearized-Attention Transformerscited by 7
- 2022Cooperative Retriever and Ranker in Deep Recommenderscited by 6
- 2023Improving Dual-Encoder Training through Dynamic Indexes for Negative Miningcited by 5
- 2022Momentum Transformer: Closing the Performance Gap Between Self-attention and Its Linearizationcited by 4
- 2022Fast Offline Policy Optimization for Large Scale Recommendationcited by 4
- 2021Prototype Memory for Large-scale Face Representation Learningcited by 3
- 2022Generating Negative Samples for Sequential Recommendationcited by 3
- 2023Hierarchical Attention Encoder Decodercited by 3
- 2025Efficient and Programmable Exploration of Synthesizable Chemical Spacecited by 3
- 2022Distributed SLIDE: Enabling Training Large Neural Networks on Low Bandwidth and Simple CPU-Clusters via Model Parallelism and Sparsitycited by 2
- 2022Efficient Image Representation Learning with Federated Sampled Softmaxcited by 2
- 2022Adapting Triplet Importance of Implicit Feedback for Personalized Recommendationcited by 2
- 2023Learning distributed representations with efficient SoftMax normalizationcited by 2
- 2024EMC2: Efficient MCMC Negative Sampling for Contrastive Learning with Global Convergencecited by 2
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networkscited by 2
- 2021Beyond Nystr"omformer -- Approximation of self-attention by Spectral Shiftingcited by 1
- 2025GBSK: Skeleton Clustering via Granular-ball Computing and Multi-Sampling for Large-Scale Datacited by 1
- 2021Scalable Personalised Item Ranking through Parametric Density Estimationcited by 0
- 2022Dynamic Network Adaptation at Inferencecited by 0
- 2024A Fresh Take on Stale Embeddings: Improving Dense Retriever Training with Corrector Networkscited by 0
- 2025Adaptive Sparse Softmax: An Effective and Efficient Softmax Variantcited by 0
- 2026Is Softmax Loss All You Need? A Principled Analysis of Softmax-family Losscited by 0
- 2026Interpreting Language Model Hidden States at Scalecited by 0
- 2026Batch Size or Negatives? A Selection Rule for Memory-Constrained Recommender Trainingcited by 0
- 2026X-Rec Technical Reportcited by 0
- 2026X-Rec Technical Report24 Sep 2026
- 2026Batch Size or Negatives? A Selection Rule for Memory-Constrained Recommender Training11 Aug 2026
- 2026Interpreting Language Model Hidden States at Scale10 Aug 2026
- 2026Is Softmax Loss All You Need? A Principled Analysis of Softmax-family Loss30 Jan 2026
- 2025Efficient and Programmable Exploration of Synthesizable Chemical Space29 Nov 2025
- 2025GBSK: Skeleton Clustering via Granular-ball Computing and Multi-Sampling for Large-Scale Data28 Sep 2025
- 2025Adaptive Sparse Softmax: An Effective and Efficient Softmax Variant5 Aug 2025
- 2024A Fresh Take on Stale Embeddings: Improving Dense Retriever Training with Corrector Networks3 Sep 2024
- 2024Exact Conversion of In-Context Learning to Model Weights in Linearized-Attention Transformers5 Jun 2024
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networks9 May 2024
- 2024EMC2: Efficient MCMC Negative Sampling for Contrastive Learning with Global Convergence16 Apr 2024
- 2023Dual-Encoders for Extreme Multi-Label Classification16 Oct 2023
26 more
- 2023Hierarchical Attention Encoder Decoder1 Jun 2023
- 2023EGformer: Equirectangular Geometry-biased Transformer for 360 Depth Estimation16 Apr 2023
- 2023Learning distributed representations with efficient SoftMax normalization30 Mar 2023
- 2023Improving Dual-Encoder Training through Dynamic Indexes for Negative Mining27 Mar 2023
- 2023On the Theories Behind Hard Negative Sampling for Recommendation7 Feb 2023
- 2022Fast Offline Policy Optimization for Large Scale Recommendation8 Aug 2022
- 2022Generating Negative Samples for Sequential Recommendation7 Aug 2022
- 2022Adapting Triplet Importance of Implicit Feedback for Personalized Recommendation2 Aug 2022
- 2022Momentum Transformer: Closing the Performance Gap Between Self-attention and Its Linearization1 Aug 2022
- 2022Cooperative Retriever and Ranker in Deep Recommenders28 Jun 2022
- 2022Dynamic Network Adaptation at Inference18 Apr 2022
- 2022Efficient Image Representation Learning with Federated Sampled Softmax9 Mar 2022
- 2022Distributed SLIDE: Enabling Training Large Neural Networks on Low Bandwidth and Simple CPU-Clusters via Model Parallelism and Sparsity29 Jan 2022
- 2021How Does Momentum Benefit Deep Neural Networks Architecture Design? A Few Case Studies13 Oct 2021
- 2021Hybrid Random Features8 Oct 2021
- 2021Fast Variational AutoEncoder with Inverted Multi-Index for Collaborative Filtering13 Sep 2021
- 2021FMMformer: Efficient and Flexible Transformer via Decomposed Near-field and Far-field Attention5 Aug 2021
- 2021Choose a Transformer: Fourier or Galerkin31 May 2021
- 2021Sparse Spiking Gradient Descent18 May 2021
- 2021Disentangling Sampling and Labeling Bias for Learning in Large-Output Spaces12 May 2021
- 2021Scalable Personalised Item Ranking through Parametric Density Estimation11 May 2021
- 2021Prototype Memory for Large-scale Face Representation Learning5 May 2021
- 2021Beyond Nystr"omformer -- Approximation of self-attention by Spectral Shifting9 Mar 2021
- 2021Accelerating SLIDE Deep Learning on Modern CPUs: Vectorization, Quantizations, Memory Optimizations, and More6 Mar 2021
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attention7 Feb 2021
- 2021Item Recommendation from Implicit Feedback21 Jan 2021
- 2026X-Rec Technical Reportcited by 0
- 2026X-Rec Technical Report24 Sep 2026
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2021Choose a Transformer: Fourier or Galerkincited by 343
- 2023EGformer: Equirectangular Geometry-biased Transformer for 360 Depth Estimationcited by 43
- 2021Sparse Spiking Gradient Descentcited by 41
- 2021FMMformer: Efficient and Flexible Transformer via Decomposed Near-field and Far-field Attentioncited by 26
- 2021Hybrid Random Featurescited by 25
- 2021Item Recommendation from Implicit Feedbackcited by 18
- 2023On the Theories Behind Hard Negative Sampling for Recommendationcited by 18
- 2021Accelerating SLIDE Deep Learning on Modern CPUs: Vectorization, Quantizations, Memory Optimizations, and Morecited by 15
- 2021How Does Momentum Benefit Deep Neural Networks Architecture Design? A Few Case Studiescited by 10
- 2021Disentangling Sampling and Labeling Bias for Learning in Large-Output Spacescited by 9
- 2021Fast Variational AutoEncoder with Inverted Multi-Index for Collaborative Filteringcited by 8
12 most cited of 36 All 36 (JSON)
- 2026Batch Size or Negatives? A Selection Rule for Memory-Constrained Recommender Training11 Aug 2026
- 2026Interpreting Language Model Hidden States at Scale10 Aug 2026
- 2026Is Softmax Loss All You Need? A Principled Analysis of Softmax-family Loss30 Jan 2026
- 2025Efficient and Programmable Exploration of Synthesizable Chemical Space29 Nov 2025
- 2025GBSK: Skeleton Clustering via Granular-ball Computing and Multi-Sampling for Large-Scale Data28 Sep 2025
- 2025Adaptive Sparse Softmax: An Effective and Efficient Softmax Variant5 Aug 2025
- 2024A Fresh Take on Stale Embeddings: Improving Dense Retriever Training with Corrector Networks3 Sep 2024
- 2024Exact Conversion of In-Context Learning to Model Weights in Linearized-Attention Transformers5 Jun 2024
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networks9 May 2024
- 2024EMC2: Efficient MCMC Negative Sampling for Contrastive Learning with Global Convergence16 Apr 2024
- 2023Dual-Encoders for Extreme Multi-Label Classification16 Oct 2023
- 2023Hierarchical Attention Encoder Decoder1 Jun 2023
12 newest of 36 All 36 (JSON)