SMat-Attention: Structured Long-Context Sequence Modeling
Not on the map. Why?
Abstract (arXiv)
Long-context sequence models face a fundamental tradeoff: softmax attention uses flexible token-level interactions at quadratic cost, whereas linear attention obtains linear-time training and constant-time decoding by compressing history into a fixed-size state. In this work, we ask whether we can connect these regimes through a tunable notion of structure. To this end, we introduce Structured Matrix Attention (SMat-Attention) via a family of causal masks with structured long-range routing whose row supports have VC-dimension d. In our construction, d=1 recovers the standard causal mask, and increasing d permits richer subset-routing patterns. We give chunkwise forward and backward algorithms to enable hardware-efficiency. For sequences of length T, the hard-routing construction takes O(T2-3/d+T) work, despite the mask being dense, for our prescribed family. In fixed-horizon streaming, decoding after the distant prefix takes constant time per token using O(T1-1/d) cached states. SMat-Attention therefore makes VC-dimension an explicit knob governing access-pattern complexity, prefill cost, and decoding memory. Empirically, subset-routing and rule-assisted multi-key retrieval experiments illustrate the masks' routing expressiveness. Extensions to Mamba-2 and Gated DeltaNet using learned routing with top-k query reads retain subquadratic prefill, improve recall accuracy over the backbones in several settings, and achieve comparable small-scale language-modeling performance.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 45 of its 52 references that are in the map. First posted on arXiv 28 Sep 2026.
Builds on
45 of 52 references.
References · 45
- 2017Attention Is All You Needcited by 59,932
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
33 more
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2021Random Feature Attentioncited by 350
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 197
- 2022Transformer Quality in Linear Timecited by 189
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 188
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2021Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encodingcited by 50
- 2023GateLoop: Fully Data-Controlled Linear Recurrence for Sequence Modelingcited by 45
- 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 44
- 2021From block-Toeplitz matrices to differential equations on graphs: towards a general theory for scalable masked Transformerscited by 38
- 2023PolySketchFormer: Fast Transformers via Sketching Polynomial Kernelscited by 33
- 2023Laughing Hyena Distillery: Extracting Compact Recurrences From Convolutionscited by 24
- 2025Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernelscited by 12
- 2026Memory Caching: RNNs with Growing Memorycited by 12
- 2025Sequential-Parallel Duality in Prefix Scannable Modelscited by 8
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attentioncited by 5
- 2017Deep Discrete Supervised Hashingcited by 4
- 2025The Structural Complexity of Matrix-Vector Multiplicationcited by 4
- 2025SPECTRE: An FFT-Based Efficient Drop-In Replacement to Self-Attention for Long Contextscited by 3
- 2026Continuous Latent Contexts Enable Efficient Online Learning in Transformerscited by 3
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memorycited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Kwai Summary Attention Technical Report
- 2026Simplified Sparse Attention via Gist Tokens
- 2025Myosotis: structured computation for attention like layer
- 2025On Structured State-Space Duality
- 2026Elastic Threshold Attention: Learned Contextual Sparsity for Long-Context Decoding
- 2026Double-P: Hierarchical Top-P Sparse Attention for Long-Context LLMs
- 2024Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation
- 2026Sessa: Selective State Space Attention