mlsanityData to 14 Oct 2026

Sparse Modular Activation for Efficient Sequence Modeling

arXiv 2306.11197 ↗First posted 19 Jun 2023cs.LG cs.CLcited by 20

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  5. 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  7. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  8. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  10. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  11. 2020Reformer: The Efficient Transformercited by 1,668
  12. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
33 more
  1. 2020Rethinking Attention with Performerscited by 1,601
  2. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  3. 2018Self-Attention with Relative Position Representationscited by 1,120
  4. 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
  5. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
  6. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  7. 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 772
  8. 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 752
  9. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
  10. 2022Mixture-of-Experts with Expert Choice Routingcited by 623
  11. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
  12. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  13. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
  14. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
  15. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
  16. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  17. 2019Recurrent Independent Mechanismscited by 219
  18. 2022Transformer Quality in Linear Timecited by 191
  19. 2022Mega: Moving Average Equipped Gated Attentioncited by 179
  20. 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 164
  21. 2019Adaptive Attention Span in Transformerscited by 149
  22. 2020Implicit Gradient Regularizationcited by 146
  23. 2020Sparse GPU Kernels for Deep Learningcited by 141
  24. 2022Liquid Structural State-Space Modelscited by 136
  25. 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 129
  26. 2018Learning long-range spatial dependencies with horizontal gated-recurrent unitscited by 98
  27. 2021Luna: Linear Unified Nested Attentioncited by 96
  28. 2022Why neural networks find simple solutions: the many regularizers of geometric complexitycited by 39
  29. 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
  30. 2022A Survey on Dynamic Neural Networks for Natural Language Processingcited by 24
  31. 2022Transkimmer: Transformer Learns to Layer-wise Skimcited by 24
  32. 2023State Spaces Aren't Enough: Machine Translation Needs Attentioncited by 9
  33. 2022Language Model Pre-Training with Sparse Latent Typingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 9; 2025: 5; 2026: 4.

20 papers.

Sort:

By area:

  1. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  2. 2024A Survey on Efficient Inference for Large Language Modelscited by 205
  3. 2023Efficient Large Language Models: A Surveycited by 186
  4. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
  5. 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
  6. 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 59
  7. 2024Selective Attention: Enhancing Transformer through Principled Context Controlcited by 16
  8. 2024A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contextscited by 9
  9. 2024Rodimus*: Breaking the Accuracy-Efficiency Trade-Off with Efficient Attentionscited by 6
  10. 2024Investigating Recurrent Transformers with Dynamic Haltcited by 5
  11. 2025Spark Transformer: Reactivating Sparsity in FFN and Attentioncited by 5
  12. 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attentioncited by 5
8 more
  1. 2024The Impact of Geometric Complexity on Neural Collapse in Transfer Learningcited by 4
  2. 2024Exploring Adversarial Robustness of Deep State Space Modelscited by 4
  3. 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Evictioncited by 3
  4. 2025Technologies on Effectiveness and Efficiency: A Survey of State Spaces Modelscited by 2
  5. 2026Learning to Forget Attention: Memory Consolidation for Adaptive Compute Reductioncited by 1
  6. 2026LoGo: Token-Level Dynamic Local-Global Attentioncited by 1
  7. 2026Flux Attention: Context-Aware Hybrid Attention for Efficient LLMs Inferencecited by 0
  8. 2026LoKiFormer: Locality-aware Attention with Decoupled Knowledge Memory for Efficient Large Language Model Pretrainingcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Sequential-Parallel Duality in Prefix Scannable Models
  2. 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba
  3. 2026SpikingBrain2.0: Brain-Inspired Foundation Models for Efficient Long-Context and Cross-Platform Inference
  4. 2025Hardware-aligned Hierarchical Sparse Attention for Efficient Long-term Memory Access
  5. 2026Taking Shortcuts for Categorical VQA Using Super Neurons
  6. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
  7. 2025WINA: Weight Informed Neuron Activation for Accelerating Large Language Model Inference
  8. 2025R-Sparse: Rank-Aware Activation Sparsity for Efficient LLM Inference