Mega: Moving Average Equipped Gated Attention
Not on the map. Why?
Cited by 27 in State-space sequence models (S4, Mamba), but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
The design choices in the Transformer attention mechanism, including weak inductive bias and quadratic computational complexity, have limited its application for modeling long sequences. In this paper, we introduce Mega, a simple, theoretically grounded, single-head gated attention mechanism equipped with (exponential) moving average to incorporate inductive bias of position-aware local dependencies into the position-agnostic attention mechanism. We further propose a variant of Mega that offers linear time and space complexity yet yields only minimal quality loss, by efficiently splitting the whole sequence into multiple chunks with fixed length. Extensive experiments on a wide range of sequence modeling benchmarks, including the Long Range Arena, neural machine translation, auto-regressive language modeling, and image and speech classification, show that Mega achieves significant improvements over other sequence models, including variants of Transformers and recent state space models.
Key facts. Cited by 178 papers in the map (data through 7 Oct 2026). Builds on 62 of its 81 references that are in the map. First posted on arXiv 21 Sep 2022.
Builds on
62 of 81 references.
References · 62
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
38 more
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2017Random Erasing Data Augmentationcited by 1,235
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2016Deep Networks with Stochastic Depthcited by 973
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 935
- 2020Efficient Transformers: A Surveycited by 784
- 2018Image Transformercited by 770
- 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
- 2016Error bounds for approximations with deep ReLU networkscited by 567
- 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 566
- 2017Convolutional Sequence to Sequence Learningcited by 550
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
- 2021Pay Attention to MLPscited by 367
- 2021Random Feature Attentioncited by 350
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2019Stabilizing Transformers for Reinforcement Learningcited by 262
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2018Scaling Neural Machine Translationcited by 204
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2022Transformer Quality in Linear Timecited by 189
- 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 162
- 2017Searching for Activation Functionscited by 158
- 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2022: 6; 2023: 48; 2024: 72; 2025: 35; 2026: 17.
178 papers.
Sort:
By area:
- 2024VMamba: Visual State Space Modelcited by 955
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2023Adapting Language Models to Compress Contextscited by 350
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
- 2024How to Train Long-Context Language Models (Effectively)cited by 141
- 2022A Length-Extrapolatable Transformercited by 123
38 more
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2025Test-Time Training Done Rightcited by 121
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2024The Hidden Attention of Mamba Modelscited by 88
- 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 86
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time seriescited by 81
- 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 77
- 2023Diffusion Models Without Attentioncited by 75
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Modelscited by 71
- 2024Point Mamba: A Novel Point Cloud Backbone Based on State Space Model with Octree-Based Ordering Strategycited by 71
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2023Simple Hardware-Efficient Long Convolutions for Sequence Modelingcited by 62
- 2024MoE-Mamba: Efficient Selective State Space Models with Mixture of Expertscited by 60
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Surveycited by 59
- 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 57
- 2023CARD: Channel Aligned Robust Blend Transformer for Time Series Forecastingcited by 55
- 2022Pretraining Without Attentioncited by 51
- 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 50
- 2024MambaTalk: Efficient Holistic Gesture Synthesis with Selective State Space Modelscited by 46
- 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
- 2025Rope to Nope and Back Again: A New Hybrid Attention Strategycited by 46
- 2024Scalable Diffusion Models with State Space Backbonecited by 45
- 2024A Survey on Transformer Compressioncited by 44
- 2024KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approachescited by 43
- 2024Diffusion-RWKV: Scaling RWKV-Like Architectures for Diffusion Modelscited by 41
- 2022Efficient Long Sequence Modeling via State Space Augmented Transformercited by 37
- 2024VMRNN: Integrating Vision Mamba and LSTM for Efficient and Accurate Spatiotemporal Forecastingcited by 35
- 2023Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priorscited by 33
- 2023FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Corescited by 32
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 32
- 2024MambaLRP: Explaining Selective State Space Sequence Modelscited by 31
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26
- 2023Findings of the WMT 2023 Shared Task on Discourse-Level Literary Translation: A Fresh Orb in the Cosmos of LLMscited by 25
- 2024Learning Enriched Features via Selective State Spaces Model for Efficient Image Deblurringcited by 25
- 2023Block-State Transformerscited by 24
- 2024Matten: Video Generation with Mamba-Attentioncited by 24
- 2022Simplifying and Understanding State Space Models with Diagonal Linear RNNscited by 23
50 most cited of 178 All 178 (JSON)
- 2026TANGO: Treating Tokens as Operators22 Aug 2026
- 2026MG-RWKV: Multi-Grained Context-Aware RWKV for Temporal Forgery Localization1 Jul 2026
- 2026MuonSSM: Orthogonalizing State Space Models for Sequence Modeling29 Jun 2026
- 2026Warranted Attention: Learning What to Pass from Attention to Prediction29 Jun 2026
- 2026Boosting ECG Classification Performance by Pre-training with Synthesized Data9 Jun 2026
- 2026Enhancing Multi-Agent Communication through Attention Steering with Context Relevance28 May 2026
- 2026Gated Graph Attention Networks with Learnable Temperature28 May 2026
- 2026Flash PD-SSM: Memory-Optimized Structured Sparse State-Space Models18 May 2026
- 2026The Impossibility Triangle of Long-Context Modeling6 May 2026
- 2026Focus Session: Hardware and Software Techniques for Accelerating Multimodal Foundation Models23 Apr 2026
- 2026DA-Mamba: Learning Domain-Aware State Space Model for Global-Local Alignment in Domain Adaptive Object Detection19 Mar 2026
- 2026EMA Is Not All You Need: Mapping the Boundary Between Structure and Content in Recurrent Context17 Mar 2026
38 more
- 2026MemRoPE: Training-Free Infinite Video Generation via Evolving Memory Tokens12 Mar 2026
- 2026WaveSSM: Multiscale State-Space Models for Non-stationary Signal Attention25 Feb 2026
- 2026Memory-Conditioned Flow-Matching for Stable Autoregressive PDE Rollouts6 Feb 2026
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Models4 Feb 2026
- 2026Gecko: An Efficient Neural Architecture Inherently Processing Sequences with Arbitrary Lengths10 Jan 2026
- 2025MS-SSM: A Multi-Scale State Space Model for Efficient Sequence Modeling29 Dec 2025
- 2025Exact Flow Linear Attention: Exact Solution from Continuous-Time Dynamics14 Dec 2025
- 2025MindFuse: Towards GenAI Explainability in Marketing Strategy Co-Creation1 Dec 2025
- 2025Hierarchical Memorization in Large Language Models: Evidence from Citation Generation12 Nov 2025
- 2025FlashEVA: Accelerating LLM inference via Efficient Attention1 Nov 2025
- 2025Hallucinations in Bibliographic Recommendation: Citation Frequency as a Proxy for Training Data Redundancy29 Oct 2025
- 2025Cortical-SSM: A Deep State Space Model for Motor Imagery Decoding from EEG Signals17 Oct 2025
- 2025Structured Sparse Transition Matrices to Enable State Tracking in State-Space Models26 Sep 2025
- 2025Beyond Token Limits: Assessing Language Model Performance on Long Text Classification12 Sep 2025
- 2025Elucidating the Design Space of Decay in Linear Attention5 Sep 2025
- 2025Uncovering the Spectral Bias in Diagonal State Space Models28 Aug 2025
- 2025FLARE: Fast Low-rank Attention Routing Engine18 Aug 2025
- 2025Block-based Symmetric Pruning and Fusion for Efficient Vision Transformers16 Jul 2025
- 2025Scaling Attention to Very Long Sequences in Linear Time with Wavelet-Enhanced Random Spectral Attention (WERSA)11 Jul 2025
- 2025Decoder-Hybrid-Decoder Architecture for Efficient Reasoning with Long Generation9 Jul 2025
- 2025RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modeling6 Jul 2025
- 2025A unified framework for establishing the universal approximation of transformer-type architectures30 Jun 2025
- 2025Don't Pay Attention12 Jun 2025
- 2025Test-Time Training Done Right29 May 2025
- 2025Tropical Attention: Neural Algorithmic Reasoning for Combinatorial Algorithms22 May 2025
- 2025Revisiting Reset Mechanisms in Spiking Neural Networks for Sequential Modeling: Specialized Discretization for Binary Activated RNN24 Apr 2025
- 2025CacheFormer: High Attention-Based Segment Caching18 Apr 2025
- 2025Hadamard product in deep learning: Introduction, Advances and Challenges17 Apr 2025
- 2025Audio-visual Controlled Video Diffusion with Masked Selective State Spaces Modeling for Natural Talking Head Generation3 Apr 2025
- 2025Fast Training of Recurrent Neural Networks with Stationary State Feedbacks29 Mar 2025
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba22 Mar 2025
- 2025MaTVLM: Hybrid Mamba-Transformer for Efficient Vision-Language Modeling17 Mar 2025
- 2025Forgetting Transformer: Softmax Attention with a Forget Gate3 Mar 2025
- 2025HREB-CRF: Hierarchical Reduced-bias EMA for Chinese Named Entity Recognition3 Mar 2025
- 2025SPECTRE: An FFT-Based Efficient Drop-In Replacement to Self-Attention for Long Contexts25 Feb 2025
- 2025Linear Attention for Efficient Bidirectional Sequence Modeling22 Feb 2025
- 2025Linear Transformers as VAR Models: Aligning Autoregressive Attention Mechanisms with Autoregressive Forecasting11 Feb 2025
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach4 Feb 2025
50 newest of 178 All 178 (JSON)
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
- 2024The Hidden Attention of Mamba Modelscited by 88
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time seriescited by 81
- 2024Point Mamba: A Novel Point Cloud Backbone Based on State Space Model with Octree-Based Ordering Strategycited by 71
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024MambaTalk: Efficient Holistic Gesture Synthesis with Selective State Space Modelscited by 46
- 2024VMRNN: Integrating Vision Mamba and LSTM for Efficient and Accurate Spatiotemporal Forecastingcited by 35
- 2024MambaLRP: Explaining Selective State Space Sequence Modelscited by 31
- 2024Learning Enriched Features via Selective State Spaces Model for Efficient Image Deblurringcited by 25
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothingcited by 17
- 2024Hierarchical State Space Models for Continuous Sequence-to-Sequence Modelingcited by 15
12 most cited of 23 All 23 (JSON)
- 2026MuonSSM: Orthogonalizing State Space Models for Sequence Modeling29 Jun 2026
- 2026DA-Mamba: Learning Domain-Aware State Space Model for Global-Local Alignment in Domain Adaptive Object Detection19 Mar 2026
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba22 Mar 2025
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach4 Feb 2025
- 2024Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing31 Dec 2024
- 2024TinyViM: Frequency Decoupling for Tiny Hybrid Vision Mamba26 Nov 2024
- 2024Revealing and Mitigating the Local Pattern Shortcuts of Mamba21 Oct 2024
- 2024SITSMamba for Crop Classification based on Satellite Image Time Series15 Sep 2024
- 2024MambaLRP: Explaining Selective State Space Sequence Models11 Jun 2024
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling11 Jun 2024
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation26 May 2024
- 2024GMSR:Gradient-Guided Mamba for Spectral Reconstruction from RGB Images13 May 2024
12 newest of 23 All 23 (JSON)
- 2025Test-Time Training Done Rightcited by 121
- 2023Diffusion Models Without Attentioncited by 75
- 2024Scalable Diffusion Models with State Space Backbonecited by 45
- 2024Diffusion-RWKV: Scaling RWKV-Like Architectures for Diffusion Modelscited by 41
- 2024Matten: Video Generation with Mamba-Attentioncited by 24
- 2025Audio-visual Controlled Video Diffusion with Masked Selective State Spaces Modeling for Natural Talking Head Generationcited by 17
- 2026Memory-Conditioned Flow-Matching for Stable Autoregressive PDE Rolloutscited by 2
- 2026Memory-Conditioned Flow-Matching for Stable Autoregressive PDE Rollouts6 Feb 2026
- 2025Test-Time Training Done Right29 May 2025
- 2025Audio-visual Controlled Video Diffusion with Masked Selective State Spaces Modeling for Natural Talking Head Generation3 Apr 2025
- 2024Matten: Video Generation with Mamba-Attention5 May 2024
- 2024Diffusion-RWKV: Scaling RWKV-Like Architectures for Diffusion Models6 Apr 2024
- 2024Scalable Diffusion Models with State Space Backbone8 Feb 2024
- 2023Diffusion Models Without Attention30 Nov 2023
- 2024From Efficient Multimodal Models to World Models: A Surveycited by 13
- 2024From Efficient Multimodal Models to World Models: A Survey27 Jun 2024
- 2024VMamba: Visual State Space Modelcited by 955
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2023Adapting Language Models to Compress Contextscited by 350
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
- 2024How to Train Long-Context Language Models (Effectively)cited by 141
- 2022A Length-Extrapolatable Transformercited by 123
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
12 most cited of 139 All 139 (JSON)
- 2026TANGO: Treating Tokens as Operators22 Aug 2026
- 2026MG-RWKV: Multi-Grained Context-Aware RWKV for Temporal Forgery Localization1 Jul 2026
- 2026Warranted Attention: Learning What to Pass from Attention to Prediction29 Jun 2026
- 2026Boosting ECG Classification Performance by Pre-training with Synthesized Data9 Jun 2026
- 2026Gated Graph Attention Networks with Learnable Temperature28 May 2026
- 2026Flash PD-SSM: Memory-Optimized Structured Sparse State-Space Models18 May 2026
- 2026The Impossibility Triangle of Long-Context Modeling6 May 2026
- 2026Focus Session: Hardware and Software Techniques for Accelerating Multimodal Foundation Models23 Apr 2026
- 2026EMA Is Not All You Need: Mapping the Boundary Between Structure and Content in Recurrent Context17 Mar 2026
- 2026MemRoPE: Training-Free Infinite Video Generation via Evolving Memory Tokens12 Mar 2026
- 2026WaveSSM: Multiscale State-Space Models for Non-stationary Signal Attention25 Feb 2026
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Models4 Feb 2026
12 newest of 139 All 139 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Sliding Window Attention Training for Efficient Large Language Models
- 2025InfLLM-V2: Dense-Sparse Switchable Attention for Seamless Short-to-Long Adaptation
- 2025Is Random Attention Sufficient for Sequence Modeling? Disentangling Trainable Components in the Transformer
- 2023Attention Alignment and Flexible Positional Embeddings Improve Transformer Length Extrapolation
- 2026Blurry Window Attention
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
- 2025GatedFWA: Linear Flash Windowed Attention with Gated Associative Memory