Sparse Modular Activation for Efficient Sequence Modeling
Not on the map. Why?
Abstract (arXiv)
Recent hybrid models combining Linear State Space Models (SSMs) with self-attention mechanisms have demonstrated impressive results across a range of sequence modeling tasks. However, current approaches apply attention modules statically and uniformly to all elements in the input sequences, leading to sub-optimal quality-efficiency trade-offs. To address this limitation, we introduce Sparse Modular Activation (SMA), a general mechanism enabling neural networks to sparsely and dynamically activate sub-modules for sequence elements in a differentiable manner. Through allowing each element to skip non-activated sub-modules, SMA reduces computation and memory consumption of neural networks at both training and inference stages. To validate the effectiveness of SMA on sequence modeling, we design a novel neural architecture, SeqBoat, which employs SMA to sparsely activate a Gated Attention Unit (GAU) based on the state representations learned from an SSM. By constraining the GAU to only conduct local attention on the activated inputs, SeqBoat can achieve linear inference complexity with theoretically infinite attention span, and provide substantially better quality-efficiency trade-off than the chunking-based models. With experiments on a wide range of tasks, including long sequence modeling, speech classification and language modeling, SeqBoat brings new state-of-the-art results among hybrid models with linear complexity, and reveals the amount of attention needed for each task through the learned sparse activation patterns. Our code is publicly available at https://github.com/renll/SeqBoat.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 45 of its 56 references that are in the map. First posted on arXiv 19 Jun 2023.
Builds on
45 of 56 references.
References · 45
- 2017Attention Is All You Needcited by 60,361
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Reformer: The Efficient Transformercited by 1,668
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
33 more
- 2020Rethinking Attention with Performerscited by 1,601
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 772
- 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 752
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2022Mixture-of-Experts with Expert Choice Routingcited by 623
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2019Recurrent Independent Mechanismscited by 219
- 2022Transformer Quality in Linear Timecited by 191
- 2022Mega: Moving Average Equipped Gated Attentioncited by 179
- 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 164
- 2019Adaptive Attention Span in Transformerscited by 149
- 2020Implicit Gradient Regularizationcited by 146
- 2020Sparse GPU Kernels for Deep Learningcited by 141
- 2022Liquid Structural State-Space Modelscited by 136
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 129
- 2018Learning long-range spatial dependencies with horizontal gated-recurrent unitscited by 98
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2022Why neural networks find simple solutions: the many regularizers of geometric complexitycited by 39
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
- 2022A Survey on Dynamic Neural Networks for Natural Language Processingcited by 24
- 2022Transkimmer: Transformer Learns to Layer-wise Skimcited by 24
- 2023State Spaces Aren't Enough: Machine Translation Needs Attentioncited by 9
- 2022Language Model Pre-Training with Sparse Latent Typingcited by 2
Built on by
Citing papers per year: 2023: 2; 2024: 9; 2025: 5; 2026: 4.
20 papers.
Sort:
By area:
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2024A Survey on Efficient Inference for Large Language Modelscited by 205
- 2023Efficient Large Language Models: A Surveycited by 186
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
- 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 59
- 2024Selective Attention: Enhancing Transformer through Principled Context Controlcited by 16
- 2024A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contextscited by 9
- 2024Rodimus*: Breaking the Accuracy-Efficiency Trade-Off with Efficient Attentionscited by 6
- 2024Investigating Recurrent Transformers with Dynamic Haltcited by 5
- 2025Spark Transformer: Reactivating Sparsity in FFN and Attentioncited by 5
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attentioncited by 5
8 more
- 2024The Impact of Geometric Complexity on Neural Collapse in Transfer Learningcited by 4
- 2024Exploring Adversarial Robustness of Deep State Space Modelscited by 4
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Evictioncited by 3
- 2025Technologies on Effectiveness and Efficiency: A Survey of State Spaces Modelscited by 2
- 2026Learning to Forget Attention: Memory Consolidation for Adaptive Compute Reductioncited by 1
- 2026LoGo: Token-Level Dynamic Local-Global Attentioncited by 1
- 2026Flux Attention: Context-Aware Hybrid Attention for Efficient LLMs Inferencecited by 0
- 2026LoKiFormer: Locality-aware Attention with Decoupled Knowledge Memory for Efficient Large Language Model Pretrainingcited by 0
- 2026LoGo: Token-Level Dynamic Local-Global Attention30 Aug 2026
- 2026LoKiFormer: Locality-aware Attention with Decoupled Knowledge Memory for Efficient Large Language Model Pretraining12 Aug 2026
- 2026Flux Attention: Context-Aware Hybrid Attention for Efficient LLMs Inference8 Apr 2026
- 2026Learning to Forget Attention: Memory Consolidation for Adaptive Compute Reduction12 Feb 2026
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction23 Oct 2025
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attention1 Jul 2025
- 2025Spark Transformer: Reactivating Sparsity in FFN and Attention7 Jun 2025
- 2025Technologies on Effectiveness and Efficiency: A Survey of State Spaces Models14 Mar 2025
- 2025Test-time regression: a unifying framework for designing sequence models with associative memory21 Jan 2025
- 2024Selective Attention: Enhancing Transformer through Principled Context Control19 Nov 2024
- 2024Rodimus*: Breaking the Accuracy-Efficiency Trade-Off with Efficient Attentions9 Oct 2024
- 2024A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts2 Oct 2024
8 more
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling11 Jun 2024
- 2024Exploring Adversarial Robustness of Deep State Space Models8 Jun 2024
- 2024The Impact of Geometric Complexity on Neural Collapse in Transfer Learning24 May 2024
- 2024A Survey on Efficient Inference for Large Language Models22 Apr 2024
- 2024Mechanistic Design and Scaling of Hybrid Architectures26 Mar 2024
- 2024Investigating Recurrent Transformers with Dynamic Halt1 Feb 2024
- 2023Gated Linear Attention Transformers with Hardware-Efficient Training11 Dec 2023
- 2023Efficient Large Language Models: A Survey6 Dec 2023
- 2024A Survey on Efficient Inference for Large Language Modelscited by 205
- 2024A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contextscited by 9
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Evictioncited by 3
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction23 Oct 2025
- 2024A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts2 Oct 2024
- 2024A Survey on Efficient Inference for Large Language Models22 Apr 2024
- 2023Efficient Large Language Models: A Surveycited by 186
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
- 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 59
- 2024Selective Attention: Enhancing Transformer through Principled Context Controlcited by 16
- 2024Rodimus*: Breaking the Accuracy-Efficiency Trade-Off with Efficient Attentionscited by 6
- 2024Investigating Recurrent Transformers with Dynamic Haltcited by 5
- 2025Spark Transformer: Reactivating Sparsity in FFN and Attentioncited by 5
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attentioncited by 5
- 2024The Impact of Geometric Complexity on Neural Collapse in Transfer Learningcited by 4
- 2024Exploring Adversarial Robustness of Deep State Space Modelscited by 4
- 2025Technologies on Effectiveness and Efficiency: A Survey of State Spaces Modelscited by 2
- 2026Learning to Forget Attention: Memory Consolidation for Adaptive Compute Reductioncited by 1
12 most cited of 14 All 14 (JSON)
- 2026LoGo: Token-Level Dynamic Local-Global Attention30 Aug 2026
- 2026Flux Attention: Context-Aware Hybrid Attention for Efficient LLMs Inference8 Apr 2026
- 2026Learning to Forget Attention: Memory Consolidation for Adaptive Compute Reduction12 Feb 2026
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attention1 Jul 2025
- 2025Spark Transformer: Reactivating Sparsity in FFN and Attention7 Jun 2025
- 2025Technologies on Effectiveness and Efficiency: A Survey of State Spaces Models14 Mar 2025
- 2025Test-time regression: a unifying framework for designing sequence models with associative memory21 Jan 2025
- 2024Selective Attention: Enhancing Transformer through Principled Context Control19 Nov 2024
- 2024Rodimus*: Breaking the Accuracy-Efficiency Trade-Off with Efficient Attentions9 Oct 2024
- 2024Exploring Adversarial Robustness of Deep State Space Models8 Jun 2024
- 2024The Impact of Geometric Complexity on Neural Collapse in Transfer Learning24 May 2024
- 2024Mechanistic Design and Scaling of Hybrid Architectures26 Mar 2024
12 newest of 14 All 14 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Sequential-Parallel Duality in Prefix Scannable Models
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba
- 2026SpikingBrain2.0: Brain-Inspired Foundation Models for Efficient Long-Context and Cross-Platform Inference
- 2025Hardware-aligned Hierarchical Sparse Attention for Efficient Long-term Memory Access
- 2026Taking Shortcuts for Categorical VQA Using Super Neurons
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
- 2025WINA: Weight Informed Neuron Activation for Accelerating Large Language Model Inference
- 2025R-Sparse: Rank-Aware Activation Sparsity for Efficient LLM Inference