Efficient softmax approximation for GPUs
Not on the map. Why?
Abstract (arXiv)
We propose an approximate strategy to efficiently train neural network based language models over very large vocabularies. Our approach, called adaptive softmax, circumvents the linear dependency on the vocabulary size by exploiting the unbalanced word distribution to form clusters that explicitly minimize the expectation of computation time. Our approach further reduces the computational time by exploiting the specificities of modern architectures and matrix-matrix vector operations, making it particularly suited for graphical processing units. Our experiments carried out on standard benchmarks, such as EuroParl and One Billion Word, show that our approach brings a large gain in efficiency over standard approximations while achieving an accuracy close to that of the full softmax. The code of our method is available at https://github.com/facebookresearch/adaptive-softmax.
Key facts. Cited by 67 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Sep 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 11; 2023: 8; 2024: 11; 2025: 12; 2026: 11.
67 papers.
Sort:
By area:
- 2021Hash Layers For Large Sparse Modelscited by 236
- 2021How much do language models copy from their training data? Evaluating linguistic novelty in text generation using RAVENcited by 124
- 2023XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Modelscited by 88
- 2021Do Transformer Modifications Transfer Across Implementations and Applications?cited by 87
- 2021Adaptive Semiparametric Language Modelscited by 83
- 2021Fast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text Classificationcited by 66
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
- 2022Nonparametric Masked Language Modelingcited by 39
- 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 35
- 2021When Attention Meets Fast Recurrence: Training Language Models with Reduced Computecited by 34
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
- 2023Why do Nearest Neighbor Language Models Work?cited by 29
38 more
- 2021Optimization with Constraint Learning: A Framework and Surveycited by 28
- 2022Relational Memory Augmented Language Modelscited by 24
- 2022Meta-Learning Fast Weight Language Modelscited by 20
- 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Samplingcited by 20
- 2025Scaling Embedding Layers in Language Modelscited by 19
- 2023Massively Scaling Heteroscedastic Classifierscited by 11
- 2024Large Vocabulary Size Improves Large Language Modelscited by 11
- 2021Revisiting Simple Neural Probabilistic Language Modelscited by 10
- 2021Distantly Supervised Relation Extraction with Sentence Reconstruction and Knowledge Base Priorscited by 8
- 2024An Analysis of BPE Vocabulary Trimming in Neural Machine Translationcited by 7
- 2025CSV-Decode: Certifiable Sub-Vocabulary Decoding for Efficient Large Language Model Inferencecited by 7
- 2022Better Language Model with Hypernym Class Predictioncited by 5
- 2025v-PuNNs: van der Put Neural Networks for Transparent Ultrametric Representation Learningcited by 5
- 2021Autoencoders as Tools for Program Synthesiscited by 4
- 2022Implicit N-grams Induced by Recurrencecited by 4
- 2022Stable Invariant Models via Koopman Spectracited by 4
- 2023The Information Pathways Hypothesis: Transformers are Dynamic Self-Ensemblescited by 4
- 2024A Walsh Hadamard Derived Linear Vector Symbolic Architecturecited by 4
- 2025Rectified SpaAttn: Revisiting Attention Sparsity for Efficient Video Generationcited by 4
- 2026Threshold Differential Attention for Sink-Free, Ultra-Sparse, and Non-Dispersive Language Modelingcited by 4
- 2021Prototype Memory for Large-scale Face Representation Learningcited by 3
- 2021Bag of Tricks for Optimizing Transformer Efficiencycited by 3
- 2022Online Trajectory Prediction for Metropolitan Scale Mobility Digital Twincited by 3
- 2023ViR: Towards Efficient Vision Retention Backbonescited by 2
- 2024Less is KEN: a Universal and Simple Non-Parametric Pruning Algorithm for Large Language Modelscited by 2
- 2024NLP-enabled Trajectory Map-matching in Urban Road Networks using a Transformer-based Encoder-decodercited by 2
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networkscited by 2
- 2024Scaling the Vocabulary of Non-autoregressive Models for Efficient Generative Retrievalcited by 2
- 2024Optimized Speculative Sampling for GPU Hardware Acceleratorscited by 2
- 2025Scalable Trajectory-User Linking with Dual-Stream Representation Networkscited by 2
- 2025VQ-Logits: Compressing the Output Bottleneck of Large Language Models via Vector Quantized Logitscited by 2
- 2025Multimodal Regression for Enzyme Turnover Rates Predictioncited by 2
- 2026BrahmicTokenizer-131K: An Indic-Capable Drop-In Replacement for o200k_basecited by 2
- 2021Regularized Training of Nearest Neighbor Language Modelscited by 1
- 2022Fast Vocabulary Projection Method via Clustering for Multilingual Machine Translation on GPUcited by 1
- 2022SPOT: Knowledge-Enhanced Language Representations for Information Extractioncited by 1
- 2022Trajectory-User Linking Is Easier Than You Thinkcited by 1
- 2023MobileNMT: Enabling Translation in 15MB and 30mscited by 1
50 most cited of 67 All 67 (JSON)
- 2026Softmax Reparameterization for Output-Head Quantization25 Sep 2026
- 2026To Each Language Its Tokenizer: Modular Tokenizers for Efficient Multilingual LLMs14 Sep 2026
- 2026Keeping the Index Open: The Recommendation-Side Cost of Shared Search and Recommendation25 Aug 2026
- 2026Z-Loss Backward Geometry in Dense Output Heads and Sparse Routers31 Jul 2026
- 2026Accelerating LLM Inference via Vector Index Based Output Embeddings1 Jul 2026
- 2026Techniques for Peak Memory Reduction for LoRA Fine-tuning of LLMs on Edge Devices17 Jun 2026
- 2026BrahmicTokenizer-131K: An Indic-Capable Drop-In Replacement for o200k_base28 May 2026
- 2026SlimSpec: Low-Rank Draft LM-Head for Accelerated Speculative Decoding11 May 2026
- 2026Language Models Without a Trainable Input Embedding Table: Learning from Fixed Minimal Binary Token Codes10 May 2026
- 2026Rethinking Token Prediction: Tree-Structured Diffusion Language Model4 Apr 2026
- 2026Threshold Differential Attention for Sink-Free, Ultra-Sparse, and Non-Dispersive Language Modeling17 Jan 2026
- 2025Rectified SpaAttn: Revisiting Attention Sparsity for Efficient Video Generation25 Nov 2025
38 more
- 2025CSV-Decode: Certifiable Sub-Vocabulary Decoding for Efficient Large Language Model Inference16 Nov 2025
- 2025Multimodal Regression for Enzyme Turnover Rates Prediction15 Sep 2025
- 2025v-PuNNs: van der Put Neural Networks for Transparent Ultrametric Representation Learning1 Aug 2025
- 2025SpeLLM: Character-Level Multi-Head Decoding22 Jul 2025
- 2025VQ-Logits: Compressing the Output Bottleneck of Large Language Models via Vector Quantized Logits15 May 2025
- 2025Compact Recurrent Transformer with Persistent Memory2 May 2025
- 2025Dynamic Embedded Topic Models: properties and recommendations based on diverse corpora27 Apr 2025
- 2025Scalable Trajectory-User Linking with Dual-Stream Representation Networks19 Mar 2025
- 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Sampling20 Feb 2025
- 2025Scaling Embedding Layers in Language Models3 Feb 2025
- 2025Efficient Language Modeling for Low-Resource Settings with Hybrid RNN-Transformer Architectures2 Feb 2025
- 2024Cut Your Losses in Large-Vocabulary Language Models13 Nov 2024
- 2024LLM Vocabulary Compression for Low-Compute Environments10 Nov 2024
- 2024A Walsh Hadamard Derived Linear Vector Symbolic Architecture30 Oct 2024
- 2024Large Vocabulary Size Improves Large Language Models24 Jun 2024
- 2024Optimized Speculative Sampling for GPU Hardware Accelerators16 Jun 2024
- 2024Scaling the Vocabulary of Non-autoregressive Models for Efficient Generative Retrieval10 Jun 2024
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networks9 May 2024
- 2024NLP-enabled Trajectory Map-matching in Urban Road Networks using a Transformer-based Encoder-decoder18 Apr 2024
- 2024An Analysis of BPE Vocabulary Trimming in Neural Machine Translation30 Mar 2024
- 2024How to Understand Named Entities: Using Common Sense for News Captioning11 Mar 2024
- 2024Less is KEN: a Universal and Simple Non-Parametric Pruning Algorithm for Large Language Models5 Feb 2024
- 2023Memory-efficient Stochastic methods for Memory-based Transformers14 Nov 2023
- 2023ViR: Towards Efficient Vision Retention Backbones30 Oct 2023
- 2023MobileNMT: Enabling Translation in 15MB and 30ms7 Jun 2023
- 2023The Information Pathways Hypothesis: Transformers are Dynamic Self-Ensembles2 Jun 2023
- 2023Extending Memory for Language Modelling19 May 2023
- 2023Massively Scaling Heteroscedastic Classifiers30 Jan 2023
- 2023XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Models25 Jan 2023
- 2023Why do Nearest Neighbor Language Models Work?7 Jan 2023
- 2022Trajectory-User Linking Is Easier Than You Think14 Dec 2022
- 2022Meta-Learning Fast Weight Language Models5 Dec 2022
- 2022Nonparametric Masked Language Modeling2 Dec 2022
- 2022SPOT: Knowledge-Enhanced Language Representations for Information Extraction20 Aug 2022
- 2022Fast Vocabulary Projection Method via Clustering for Multilingual Machine Translation on GPU14 Aug 2022
- 2022Stable Invariant Models via Koopman Spectra15 Jul 2022
- 2022Online Trajectory Prediction for Metropolitan Scale Mobility Digital Twin21 Jun 2022
- 2022Implicit N-grams Induced by Recurrence5 May 2022
50 newest of 67 All 67 (JSON)
- 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Samplingcited by 20
- 2025CSV-Decode: Certifiable Sub-Vocabulary Decoding for Efficient Large Language Model Inferencecited by 7
- 2024Optimized Speculative Sampling for GPU Hardware Acceleratorscited by 2
- 2026SlimSpec: Low-Rank Draft LM-Head for Accelerated Speculative Decodingcited by 0
- 2026SlimSpec: Low-Rank Draft LM-Head for Accelerated Speculative Decoding11 May 2026
- 2025CSV-Decode: Certifiable Sub-Vocabulary Decoding for Efficient Large Language Model Inference16 Nov 2025
- 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Sampling20 Feb 2025
- 2024Optimized Speculative Sampling for GPU Hardware Accelerators16 Jun 2024
- 2023Why do Nearest Neighbor Language Models Work?cited by 29
- 2023Why do Nearest Neighbor Language Models Work?7 Jan 2023
- 2021Hash Layers For Large Sparse Modelscited by 236
- 2021How much do language models copy from their training data? Evaluating linguistic novelty in text generation using RAVENcited by 124
- 2023XLM-V: Overcoming the Vocabulary Bottleneck in Multilingual Masked Language Modelscited by 88
- 2021Do Transformer Modifications Transfer Across Implementations and Applications?cited by 87
- 2021Adaptive Semiparametric Language Modelscited by 83
- 2021Fast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text Classificationcited by 66
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
- 2022Nonparametric Masked Language Modelingcited by 39
- 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 35
- 2021When Attention Meets Fast Recurrence: Training Language Models with Reduced Computecited by 34
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
- 2021Optimization with Constraint Learning: A Framework and Surveycited by 28
12 most cited of 59 All 59 (JSON)
- 2026Softmax Reparameterization for Output-Head Quantization25 Sep 2026
- 2026To Each Language Its Tokenizer: Modular Tokenizers for Efficient Multilingual LLMs14 Sep 2026
- 2026Keeping the Index Open: The Recommendation-Side Cost of Shared Search and Recommendation25 Aug 2026
- 2026Accelerating LLM Inference via Vector Index Based Output Embeddings1 Jul 2026
- 2026Techniques for Peak Memory Reduction for LoRA Fine-tuning of LLMs on Edge Devices17 Jun 2026
- 2026BrahmicTokenizer-131K: An Indic-Capable Drop-In Replacement for o200k_base28 May 2026
- 2026Language Models Without a Trainable Input Embedding Table: Learning from Fixed Minimal Binary Token Codes10 May 2026
- 2026Threshold Differential Attention for Sink-Free, Ultra-Sparse, and Non-Dispersive Language Modeling17 Jan 2026
- 2025Multimodal Regression for Enzyme Turnover Rates Prediction15 Sep 2025
- 2025v-PuNNs: van der Put Neural Networks for Transparent Ultrametric Representation Learning1 Aug 2025
- 2025SpeLLM: Character-Level Multi-Head Decoding22 Jul 2025
- 2025VQ-Logits: Compressing the Output Bottleneck of Large Language Models via Vector Quantized Logits15 May 2025
12 newest of 59 All 59 (JSON)