On Controllable Sparse Alternatives to Softmax
Not on the map. Why?
Abstract (arXiv)
Converting an n-dimensional vector to a probability distribution over n objects is a commonly used component in many machine learning tasks like multiclass classification, multilabel classification, attention mechanisms etc. For this, several probability mapping functions have been proposed and employed in literature such as softmax, sum-normalization, spherical softmax, and sparsemax, but there is very little understanding in terms how they relate with each other. Further, none of the above formulations offer an explicit control over the degree of sparsity. To address this, we develop a unified framework that encompasses all these formulations as special cases. This framework ensures simple closed-form solutions and existence of sub-gradients suitable for learning via backpropagation. Within this framework, we propose two novel sparse formulations, sparsegen-lin and sparsehourglass, that seek to provide a control over the degree of desired sparsity. We further develop novel convex loss functions that help induce the behavior of aforementioned formulations in the multilabel classification setting, showing improved performance. We also demonstrate empirically that the proposed formulations, when used to compute attention weights, achieve better or comparable performance on standard seq2seq tasks like neural machine translation and abstractive summarization.
Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). First posted on arXiv 29 Oct 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 4; 2023: 6; 2024: 2; 2025: 4; 2026: 4.
27 papers.
Sort:
By area:
- 2021Is Sparse Attention more Interpretable?cited by 31
- 2025Softmax is 1/2-Lipschitz: A tight bound across all ℓp normscited by 22
- 2025LD-MoLE: Learnable Dynamic Routing for Mixture of LoRA Expertscited by 13
- 2025Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformerscited by 11
- 2023The Lipschitz-Variance-Margin Tradeoff for Enhanced Randomized Smoothingcited by 8
- 2021Evidential Softmax for Sparse Multimodal Distributions in Deep Generative Modelscited by 6
- 2022On the Interpretability of Attention Networkscited by 5
- 2023Understanding Gaussian Attention Bias of Vision Transformers Using Effective Receptive Fieldscited by 5
- 2024MultiMax: Sparse and Multi-Modal Attention Learningcited by 5
- 2021Discourse-Aware Soft Prompting for Text Generationcited by 4
- 2021Yet Another Representation of Binary Decision Trees: A Mathematical Demonstrationcited by 2
- 2021Sparse Communication via Mixed Distributionscited by 2
15 more
- 2022Beyond the Policy Gradient Theorem for Efficient Policy Updates in Actor-Critic Algorithmscited by 2
- 2023Exploiting Field Dependencies for Learning on Categorical Datacited by 2
- 2022Distance-Ratio-Based Formulation for Metric Learningcited by 1
- 2023Filling out the missing gaps: Time Series Imputation with Semi-Supervised Learningcited by 1
- 2023r-softmax: Generalized Softmax with Controllable Sparsity Ratecited by 1
- 2023Near-Linear Time Projection onto the ℓ1,∞ Ball; Application to Sparse Autoencoderscited by 1
- 2024MixLight: Borrowing the Best of both Spherical Harmonics and Gaussian Modelscited by 1
- 2025Probability Bounding: Post-Hoc Calibration via Box-Constrained Softmaxcited by 1
- 2026When Should Graph Attention Be Sparse? Learning a Per-Edge Tsallis Indexcited by 1
- 2021Decision Machines: Congruent Decision Treescited by 0
- 2021SPMoE: Generate Multiple Pattern-Aware Outputs with Sparse Pattern Mixture of Expertscited by 0
- 2022Explainability of Text Processing and Retrieval Methods: A Surveycited by 0
- 2026Accurate and Efficient Multi-Channel Time Series Forecasting via Sparse Attention Mechanismcited by 0
- 2026ExpertHTR: Unified Handwritten Text Recognition with Multi-Task Learning and Sparse Mixture-of-Expertscited by 0
- 2026Sparse All-Layer Connector for Domain Generalised Semantic Segmentationcited by 0
- 2026Sparse All-Layer Connector for Domain Generalised Semantic Segmentation11 Oct 2026
- 2026ExpertHTR: Unified Handwritten Text Recognition with Multi-Task Learning and Sparse Mixture-of-Experts11 Sep 2026
- 2026When Should Graph Attention Be Sparse? Learning a Per-Edge Tsallis Index3 Aug 2026
- 2026Accurate and Efficient Multi-Channel Time Series Forecasting via Sparse Attention Mechanism19 Mar 2026
- 2025Softmax is 1/2-Lipschitz: A tight bound across all ℓp norms27 Oct 2025
- 2025LD-MoLE: Learnable Dynamic Routing for Mixture of LoRA Experts30 Sep 2025
- 2025Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformers10 Jul 2025
- 2025Probability Bounding: Post-Hoc Calibration via Box-Constrained Softmax12 Jun 2025
- 2024MultiMax: Sparse and Multi-Modal Attention Learning3 Jun 2024
- 2024MixLight: Borrowing the Best of both Spherical Harmonics and Gaussian Models19 Apr 2024
- 2023The Lipschitz-Variance-Margin Tradeoff for Enhanced Randomized Smoothing28 Sep 2023
- 2023Near-Linear Time Projection onto the ℓ1,∞ Ball; Application to Sparse Autoencoders19 Jul 2023
15 more
- 2023Exploiting Field Dependencies for Learning on Categorical Data18 Jul 2023
- 2023Understanding Gaussian Attention Bias of Vision Transformers Using Effective Receptive Fields8 May 2023
- 2023r-softmax: Generalized Softmax with Controllable Sparsity Rate11 Apr 2023
- 2023Filling out the missing gaps: Time Series Imputation with Semi-Supervised Learning9 Apr 2023
- 2022On the Interpretability of Attention Networks30 Dec 2022
- 2022Explainability of Text Processing and Retrieval Methods: A Survey14 Dec 2022
- 2022Beyond the Policy Gradient Theorem for Efficient Policy Updates in Actor-Critic Algorithms15 Feb 2022
- 2022Distance-Ratio-Based Formulation for Metric Learning21 Jan 2022
- 2021Discourse-Aware Soft Prompting for Text Generation10 Dec 2021
- 2021Evidential Softmax for Sparse Multimodal Distributions in Deep Generative Models27 Oct 2021
- 2021SPMoE: Generate Multiple Pattern-Aware Outputs with Sparse Pattern Mixture of Experts17 Aug 2021
- 2021Sparse Communication via Mixed Distributions5 Aug 2021
- 2021Is Sparse Attention more Interpretable?2 Jun 2021
- 2021Decision Machines: Congruent Decision Trees27 Jan 2021
- 2021Yet Another Representation of Binary Decision Trees: A Mathematical Demonstration18 Jan 2021
- 2021Is Sparse Attention more Interpretable?cited by 31
- 2025Softmax is 1/2-Lipschitz: A tight bound across all ℓp normscited by 22
- 2025Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformerscited by 11
- 2023The Lipschitz-Variance-Margin Tradeoff for Enhanced Randomized Smoothingcited by 8
- 2021Evidential Softmax for Sparse Multimodal Distributions in Deep Generative Modelscited by 6
- 2022On the Interpretability of Attention Networkscited by 5
- 2023Understanding Gaussian Attention Bias of Vision Transformers Using Effective Receptive Fieldscited by 5
- 2024MultiMax: Sparse and Multi-Modal Attention Learningcited by 5
- 2021Discourse-Aware Soft Prompting for Text Generationcited by 4
- 2021Yet Another Representation of Binary Decision Trees: A Mathematical Demonstrationcited by 2
- 2021Sparse Communication via Mixed Distributionscited by 2
- 2022Beyond the Policy Gradient Theorem for Efficient Policy Updates in Actor-Critic Algorithmscited by 2
12 most cited of 23 All 23 (JSON)
- 2026Sparse All-Layer Connector for Domain Generalised Semantic Segmentation11 Oct 2026
- 2026When Should Graph Attention Be Sparse? Learning a Per-Edge Tsallis Index3 Aug 2026
- 2026Accurate and Efficient Multi-Channel Time Series Forecasting via Sparse Attention Mechanism19 Mar 2026
- 2025Softmax is 1/2-Lipschitz: A tight bound across all ℓp norms27 Oct 2025
- 2025Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformers10 Jul 2025
- 2025Probability Bounding: Post-Hoc Calibration via Box-Constrained Softmax12 Jun 2025
- 2024MultiMax: Sparse and Multi-Modal Attention Learning3 Jun 2024
- 2024MixLight: Borrowing the Best of both Spherical Harmonics and Gaussian Models19 Apr 2024
- 2023The Lipschitz-Variance-Margin Tradeoff for Enhanced Randomized Smoothing28 Sep 2023
- 2023Exploiting Field Dependencies for Learning on Categorical Data18 Jul 2023
- 2023Understanding Gaussian Attention Bias of Vision Transformers Using Effective Receptive Fields8 May 2023
- 2023r-softmax: Generalized Softmax with Controllable Sparsity Rate11 Apr 2023
12 newest of 23 All 23 (JSON)