Bayesian Attention Modules
Not on the map. Why?
Abstract (arXiv)
Attention modules, as simple and effective tools, have not only enabled deep neural networks to achieve state-of-the-art results in many domains, but also enhanced their interpretability. Most current models use deterministic attention modules due to their simplicity and ease of optimization. Stochastic counterparts, on the other hand, are less popular despite their potential benefits. The main reason is that stochastic attention often introduces optimization issues or requires significant model changes. In this paper, we propose a scalable stochastic version of attention that is easy to implement and optimize. We construct simplex-constrained attention distributions by normalizing reparameterizable distributions, making the training process differentiable. We learn their parameters in a Bayesian framework where a data-dependent prior is introduced for regularization. We apply the proposed stochastic attention modules to various attention-based models, with applications to graph node classification, visual question answering, image captioning, machine translation, and language understanding. Our experiments show the proposed method brings consistent improvements over the corresponding baselines.
Key facts. Cited by 51 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 9; 2022: 10; 2023: 10; 2024: 11; 2025: 6; 2026: 5.
51 papers.
Sort:
By area:
- 2023Bayesian Low-rank Adaptation for Large Language Modelscited by 112
- 2021Adversarially Adaptive Normalization for Single Domain Generalizationcited by 85
- 2024BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Modelscited by 48
- 2022Visual Attention Methods in Deep Learning: An In-Depth Surveycited by 37
- 2024Uncertainty quantification in fine-tuned LLMs using LoRA ensemblescited by 35
- 2023Preference-grounded Token-level Guidance for Language Model Fine-tuningcited by 31
- 2022Attention Mechanism in Neural Networks: Where it Comes and Where it Goescited by 29
- 2023POUF: Prompt-oriented unsupervised fine-tuning for large pre-trained modelscited by 29
- 2023Preserving Pre-trained Features Helps Calibrate Fine-tuned Language Modelscited by 29
- 2021Learning with Different Amounts of Annotation: From Zero to Many Labelscited by 28
- 2021Contextual Dropout: An Efficient Sample-Dependent Dropout Modulecited by 26
- 2021Bayesian Attention Belief Networkscited by 25
38 more
- 2021Sawtooth Factorial Topic Embeddings Guided Gamma Belief Networkcited by 23
- 2022ALLSH: Active Learning Guided by Local Sensitivity and Hardnesscited by 23
- 2022The Neural Process Family: Survey, Applications and Perspectivescited by 23
- 2023Calibrating Transformers via Sparse Gaussian Processescited by 21
- 2023Fantastic Rewards and How to Tame Them: A Case Study on Reward Learning for Task-oriented Dialogue Systemscited by 19
- 2022Neural Processes with Stochastic Attention: Paying more attention to the context datasetcited by 16
- 2021Alignment Attention by Matching Key and Query Distributionscited by 14
- 2022Regularizing a Model-based Policy Stationary Distribution to Stabilize Offline Reinforcement Learningcited by 14
- 2022A Unified Framework for Alternating Offline Model Training and Policy Learningcited by 14
- 2021Pathologies in priors and inference for Bayesian transformerscited by 13
- 2023Patch-Prompt Aligned Bayesian Prompt Tuning for Vision-Language Modelscited by 12
- 2024Training-Free Bayesianization for Low-Rank Adapters of Large Language Modelscited by 10
- 2021TopicNet: Semantic Graph-Guided Topic Discoverycited by 9
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representationcited by 9
- 2023Knowledge-aware Bayesian Co-attention for Multimodal Emotion Recognitioncited by 8
- 2022miCSE: Mutual Information Contrastive Learning for Low-shot Sentence Embeddingscited by 7
- 2022Passage-Mask: A Learnable Regularization Strategy for Retriever-Reader Modelscited by 6
- 2022Knowledge-Aware Bayesian Deep Topic Modelcited by 5
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processescited by 4
- 2024Language Rectified Flow: Advancing Diffusion Language Generation with Probabilistic Flowscited by 4
- 2024Bayesian Sheaf Neural Networkscited by 4
- 2026UAT-LITE: Inference-Time Uncertainty-Aware Attention for Pretrained Transformerscited by 4
- 2025Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Reviewcited by 3
- 2026Variational Routing: A Scalable Bayesian Framework for Calibrated Mixture-of-Experts Transformerscited by 3
- 2024Beyond Spectral Decomposition: Bayesian Contrastive Learning and its Non-negative Formulation via Factor Analysiscited by 2
- 2025Dropouts in Confidence: Moral Uncertainty in Human-LLM Alignmentcited by 2
- 2023Toward Robust Uncertainty Estimation with Random Activation Functionscited by 1
- 2024Scalable Weibull Graph Attention Autoencoder for Modeling Document Networkscited by 1
- 2025TPK: Trustworthy Trajectory Prediction Integrating Prior Knowledge For Interpretability and Kinematic Feasibilitycited by 1
- 2025A Free Probabilistic Framework for Analyzing the Transformer-based Language Modelscited by 1
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problemscited by 1
- 2021Cascaded Head-colliding Attentioncited by 0
- 2023BayesSpeech: A Bayesian Transformer Network for Automatic Speech Recognitioncited by 0
- 2024An Attention-Based Deep Learning Architecture for Real-Time Monocular Visual Odometry: Applications to GPS-free Drone Navigationcited by 0
- 2024Switchable Decision: Dynamic Neural Generation Networkscited by 0
- 2024Bayesian Low-Rank LeArning (Bella): A Practical Approach to Bayesian Neural Networkscited by 0
- 2026Soft Specialists: α-R'enyi Ensembles for Uncertainty-Aware LLM Post-Trainingcited by 0
- 2026Information-Regularized Attention for Visual-Centric Reasoningcited by 0
50 most cited of 51 All 51 (JSON)
- 2026L'evy Attention: Single-Pass Predictive Uncertainty for Continuous-Time Attention19 Aug 2026
- 2026Information-Regularized Attention for Visual-Centric Reasoning1 Jul 2026
- 2026Soft Specialists: α-R'enyi Ensembles for Uncertainty-Aware LLM Post-Training26 May 2026
- 2026Variational Routing: A Scalable Bayesian Framework for Calibrated Mixture-of-Experts Transformers10 Mar 2026
- 2026UAT-LITE: Inference-Time Uncertainty-Aware Attention for Pretrained Transformers3 Feb 2026
- 2025Dropouts in Confidence: Moral Uncertainty in Human-LLM Alignment17 Nov 2025
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems18 Sep 2025
- 2025A Free Probabilistic Framework for Analyzing the Transformer-based Language Models19 Jun 2025
- 2025TPK: Trustworthy Trajectory Prediction Integrating Prior Knowledge For Interpretability and Kinematic Feasibility10 May 2025
- 2025Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Review25 Apr 2025
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representation27 Feb 2025
- 2024Training-Free Bayesianization for Low-Rank Adapters of Large Language Models7 Dec 2024
38 more
- 2024Scalable Weibull Graph Attention Autoencoder for Modeling Document Networks13 Oct 2024
- 2024Bayesian Sheaf Neural Networks12 Oct 2024
- 2024Beyond Spectral Decomposition: Bayesian Contrastive Learning and its Non-negative Formulation via Factor Analysis31 Jul 2024
- 2024Bayesian Low-Rank LeArning (Bella): A Practical Approach to Bayesian Neural Networks30 Jul 2024
- 2024BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Models17 Jun 2024
- 2024Switchable Decision: Dynamic Neural Generation Networks7 May 2024
- 2024An Attention-Based Deep Learning Architecture for Real-Time Monocular Visual Odometry: Applications to GPS-free Drone Navigation27 Apr 2024
- 2024Language Rectified Flow: Advancing Diffusion Language Generation with Probabilistic Flows25 Mar 2024
- 2024Uncertainty quantification in fine-tuned LLMs using LoRA ensembles19 Feb 2024
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processes2 Feb 2024
- 2023Bayesian Low-rank Adaptation for Large Language Models24 Aug 2023
- 2023Preference-grounded Token-level Guidance for Language Model Fine-tuning1 Jun 2023
- 2023Preserving Pre-trained Features Helps Calibrate Fine-tuned Language Models30 May 2023
- 2023POUF: Prompt-oriented unsupervised fine-tuning for large pre-trained models29 Apr 2023
- 2023Patch-Prompt Aligned Bayesian Prompt Tuning for Vision-Language Models16 Mar 2023
- 2023Calibrating Transformers via Sparse Gaussian Processes4 Mar 2023
- 2023Toward Robust Uncertainty Estimation with Random Activation Functions28 Feb 2023
- 2023Fantastic Rewards and How to Tame Them: A Case Study on Reward Learning for Task-oriented Dialogue Systems20 Feb 2023
- 2023Knowledge-aware Bayesian Co-attention for Multimodal Emotion Recognition20 Feb 2023
- 2023BayesSpeech: A Bayesian Transformer Network for Automatic Speech Recognition16 Jan 2023
- 2022miCSE: Mutual Information Contrastive Learning for Low-shot Sentence Embeddings9 Nov 2022
- 2022Passage-Mask: A Learnable Regularization Strategy for Retriever-Reader Models2 Nov 2022
- 2022A Unified Framework for Alternating Offline Model Training and Policy Learning12 Oct 2022
- 2022Knowledge-Aware Bayesian Deep Topic Model20 Sep 2022
- 2022The Neural Process Family: Survey, Applications and Perspectives1 Sep 2022
- 2022Regularizing a Model-based Policy Stationary Distribution to Stabilize Offline Reinforcement Learning14 Jun 2022
- 2022ALLSH: Active Learning Guided by Local Sensitivity and Hardness10 May 2022
- 2022Attention Mechanism in Neural Networks: Where it Comes and Where it Goes27 Apr 2022
- 2022Visual Attention Methods in Deep Learning: An In-Depth Survey16 Apr 2022
- 2022Neural Processes with Stochastic Attention: Paying more attention to the context dataset11 Apr 2022
- 2021TopicNet: Semantic Graph-Guided Topic Discovery27 Oct 2021
- 2021Alignment Attention by Matching Key and Query Distributions25 Oct 2021
- 2021Pathologies in priors and inference for Bayesian transformers8 Oct 2021
- 2021Learning with Different Amounts of Annotation: From Zero to Many Labels9 Sep 2021
- 2021Sawtooth Factorial Topic Embeddings Guided Gamma Belief Network30 Jun 2021
- 2021Bayesian Attention Belief Networks9 Jun 2021
- 2021Adversarially Adaptive Normalization for Single Domain Generalization1 Jun 2021
- 2021Cascaded Head-colliding Attention31 May 2021
50 newest of 51 All 51 (JSON)
- 2023Bayesian Low-rank Adaptation for Large Language Modelscited by 112
- 2021Adversarially Adaptive Normalization for Single Domain Generalizationcited by 85
- 2024BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Modelscited by 48
- 2022Visual Attention Methods in Deep Learning: An In-Depth Surveycited by 37
- 2024Uncertainty quantification in fine-tuned LLMs using LoRA ensemblescited by 35
- 2022Attention Mechanism in Neural Networks: Where it Comes and Where it Goescited by 29
- 2023POUF: Prompt-oriented unsupervised fine-tuning for large pre-trained modelscited by 29
- 2023Preserving Pre-trained Features Helps Calibrate Fine-tuned Language Modelscited by 29
- 2021Learning with Different Amounts of Annotation: From Zero to Many Labelscited by 28
- 2021Contextual Dropout: An Efficient Sample-Dependent Dropout Modulecited by 26
- 2021Bayesian Attention Belief Networkscited by 25
- 2021Sawtooth Factorial Topic Embeddings Guided Gamma Belief Networkcited by 23
12 most cited of 43 All 43 (JSON)
- 2026L'evy Attention: Single-Pass Predictive Uncertainty for Continuous-Time Attention19 Aug 2026
- 2026Soft Specialists: α-R'enyi Ensembles for Uncertainty-Aware LLM Post-Training26 May 2026
- 2026UAT-LITE: Inference-Time Uncertainty-Aware Attention for Pretrained Transformers3 Feb 2026
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems18 Sep 2025
- 2025A Free Probabilistic Framework for Analyzing the Transformer-based Language Models19 Jun 2025
- 2025TPK: Trustworthy Trajectory Prediction Integrating Prior Knowledge For Interpretability and Kinematic Feasibility10 May 2025
- 2025Comparing Uncertainty Measurement and Mitigation Methods for Large Language Models: A Systematic Review25 Apr 2025
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representation27 Feb 2025
- 2024Training-Free Bayesianization for Low-Rank Adapters of Large Language Models7 Dec 2024
- 2024Scalable Weibull Graph Attention Autoencoder for Modeling Document Networks13 Oct 2024
- 2024Bayesian Sheaf Neural Networks12 Oct 2024
- 2024Beyond Spectral Decomposition: Bayesian Contrastive Learning and its Non-negative Formulation via Factor Analysis31 Jul 2024
12 newest of 43 All 43 (JSON)