Not All Attention Is Needed: Gated Attention Network for Sequence Data
Not on the map. Why?
Abstract (arXiv)
Although deep neural networks generally have fixed network structures, the concept of dynamic mechanism has drawn more and more attention in recent years. Attention mechanisms compute input-dependent dynamic attention weights for aggregating a sequence of hidden states. Dynamic network configuration in convolutional neural networks (CNNs) selectively activates only part of the network at a time for different inputs. In this paper, we combine the two dynamic mechanisms for text classification tasks. Traditional attention mechanisms attend to the whole sequence of hidden states for an input sentence, while in most cases not all attention is needed especially for long sequences. We propose a novel method called Gated Attention Network (GA-Net) to dynamically select a subset of elements to attend to using an auxiliary network, and compute attention weights to aggregate the selected elements. It avoids a significant amount of unnecessary computation on unattended elements, and allows the model to pay attention to important parts of the sequence. Experiments in various datasets show that the proposed method achieves better performance compared with all baseline models with global or local attention while requiring less computation and achieving better interpretability. It is also promising to extend the idea to more complex attention-based models, such as transformers and seq-to-seq models.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 1; 2023: 0; 2024: 4; 2025: 4; 2026: 1.
13 papers.
Sort:
By area:
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 266
- 2021GCA-Net : Utilizing Gated Context Attention for Improving Image Forgery Localization and Detectioncited by 11
- 2024Embodied CoT Distillation From LLM To Off-the-shelf Agentscited by 9
- 2021Generating Diversified Comments via Reader-Aware Topic Modeling and Saliency Detectioncited by 5
- 2021Attentive Contextual Carryover for Multi-Turn End-to-End Spoken Language Understandingcited by 5
- 2024Cross-Attention is Not Always Needed: Dynamic Cross-Attention for Audio-Visual Dimensional Emotion Recognitioncited by 3
- 2022Graph-to-Text Generation with Dynamic Structure Pruningcited by 2
- 2025Can "consciousness" be observed from large language model (LLM) internal states? Dissecting LLM representations obtained from Theory of Mind test with Integrated Information Theory and Span Representation analysiscited by 1
- 2024Successive Refinement in Large-Scale Computation: Advancing Model Inference Applicationscited by 0
- 2024On the Generalizability of Iterative Patch Selection for Memory-Efficient High-Resolution Image Classificationcited by 0
- 2025Mamba2 Meets Silence: Robust Vocal Source Separation for Sparse Regionscited by 0
- 2025H-CNN-ViT: A Hierarchical Gated Attention Multi-Branch Model for Bladder Cancer Recurrence Predictioncited by 0
- 2026Discovering Entity-Conditioned Lag Heterogeneity: A Lag-Gated Neural Audit Framework for Panel Time Series20 May 2026
- 2025H-CNN-ViT: A Hierarchical Gated Attention Multi-Branch Model for Bladder Cancer Recurrence Prediction17 Nov 2025
- 2025Mamba2 Meets Silence: Robust Vocal Source Separation for Sparse Regions20 Aug 2025
- 2025Can "consciousness" be observed from large language model (LLM) internal states? Dissecting LLM representations obtained from Theory of Mind test with Integrated Information Theory and Span Representation analysis26 Jun 2025
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free10 May 2025
- 2024Embodied CoT Distillation From LLM To Off-the-shelf Agents16 Dec 2024
- 2024On the Generalizability of Iterative Patch Selection for Memory-Efficient High-Resolution Image Classification15 Dec 2024
- 2024Cross-Attention is Not Always Needed: Dynamic Cross-Attention for Audio-Visual Dimensional Emotion Recognition28 Mar 2024
- 2024Successive Refinement in Large-Scale Computation: Advancing Model Inference Applications11 Feb 2024
- 2022Graph-to-Text Generation with Dynamic Structure Pruning15 Sep 2022
- 2021Attentive Contextual Carryover for Multi-Turn End-to-End Spoken Language Understanding13 Dec 2021
- 2021GCA-Net : Utilizing Gated Context Attention for Improving Image Forgery Localization and Detection8 Dec 2021
- 2024Embodied CoT Distillation From LLM To Off-the-shelf Agents16 Dec 2024
- 2021GCA-Net : Utilizing Gated Context Attention for Improving Image Forgery Localization and Detectioncited by 11
- 2021Generating Diversified Comments via Reader-Aware Topic Modeling and Saliency Detectioncited by 5
- 2021Attentive Contextual Carryover for Multi-Turn End-to-End Spoken Language Understandingcited by 5
- 2024Cross-Attention is Not Always Needed: Dynamic Cross-Attention for Audio-Visual Dimensional Emotion Recognitioncited by 3
- 2022Graph-to-Text Generation with Dynamic Structure Pruningcited by 2
- 2025Can "consciousness" be observed from large language model (LLM) internal states? Dissecting LLM representations obtained from Theory of Mind test with Integrated Information Theory and Span Representation analysiscited by 1
- 2024Successive Refinement in Large-Scale Computation: Advancing Model Inference Applicationscited by 0
- 2024On the Generalizability of Iterative Patch Selection for Memory-Efficient High-Resolution Image Classificationcited by 0
- 2025Mamba2 Meets Silence: Robust Vocal Source Separation for Sparse Regionscited by 0
- 2025H-CNN-ViT: A Hierarchical Gated Attention Multi-Branch Model for Bladder Cancer Recurrence Predictioncited by 0
- 2026Discovering Entity-Conditioned Lag Heterogeneity: A Lag-Gated Neural Audit Framework for Panel Time Seriescited by 0
- 2026Discovering Entity-Conditioned Lag Heterogeneity: A Lag-Gated Neural Audit Framework for Panel Time Series20 May 2026
- 2025H-CNN-ViT: A Hierarchical Gated Attention Multi-Branch Model for Bladder Cancer Recurrence Prediction17 Nov 2025
- 2025Mamba2 Meets Silence: Robust Vocal Source Separation for Sparse Regions20 Aug 2025
- 2025Can "consciousness" be observed from large language model (LLM) internal states? Dissecting LLM representations obtained from Theory of Mind test with Integrated Information Theory and Span Representation analysis26 Jun 2025
- 2024On the Generalizability of Iterative Patch Selection for Memory-Efficient High-Resolution Image Classification15 Dec 2024
- 2024Cross-Attention is Not Always Needed: Dynamic Cross-Attention for Audio-Visual Dimensional Emotion Recognition28 Mar 2024
- 2024Successive Refinement in Large-Scale Computation: Advancing Model Inference Applications11 Feb 2024
- 2022Graph-to-Text Generation with Dynamic Structure Pruning15 Sep 2022
- 2021Attentive Contextual Carryover for Multi-Turn End-to-End Spoken Language Understanding13 Dec 2021
- 2021GCA-Net : Utilizing Gated Context Attention for Improving Image Forgery Localization and Detection8 Dec 2021
- 2021Generating Diversified Comments via Reader-Aware Topic Modeling and Saliency Detection13 Feb 2021