mlsanityData to 7 Oct 2026

ENA: Efficient N-dimensional Attention

arXiv 2508.11921 ↗First posted 16 Aug 2025cs.LG cs.AI cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Efficient modeling of long sequences of high-order data requires a more efficient architecture than Transformer. In this paper, we investigate two key aspects of extending linear recurrent models, especially those originally designed for language modeling, to high-order data (1D to ND): scanning strategies and attention-hybrid architectures. Empirical results suggest that scanning provides limited benefits, while attention-hybrid models yield promising results. Focusing on the latter, we further evaluate types of attention and find that tiled high-order sliding window attention (SWA) is efficient in both theory and practice. We term the resulting hybrid architecture of linear recurrence and high-order SWA as Efficient N-dimensional Attention (ENA). We then conduct several experiments to demonstrate its effectiveness. The intuition behind ENA is that linear recurrence compresses global information into a state, while SWA complements it by enforcing strict local modeling. Together, they form a simple framework that offers a promising and practical solution for ultra-long high-order data modeling.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 25 of its 32 references that are in the map. First posted on arXiv 16 Aug 2025.

Builds on

25 of 32 references.

References · 25

  1. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  4. 2024CogVideoX: Text-to-Video Diffusion Models with An Expert Transformercited by 2,198
  5. 2025SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Featurescited by 1,127
  6. 2022CogVideo: Large-scale Pretraining for Text-to-Video Generation via Transformerscited by 973
  7. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  8. 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 707
  9. 2024Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Thinkcited by 666
  10. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  11. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  12. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
13 more
  1. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  2. 2024MambaVision: A Hybrid Mamba-Transformer Vision Backbonecited by 222
  3. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 197
  4. 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 180
  5. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 134
  6. 2025Fast Video Generation with Sliding Tile Attentioncited by 123
  7. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
  8. 2025Test-Time Training Done Rightcited by 121
  9. 2025One-Minute Video Generation with Test-Time Trainingcited by 100
  10. 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
  11. 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 69
  12. 2024DiG: Scalable and Efficient Diffusion Models with Gated Linear Attentioncited by 56
  13. 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Upcited by 26

Built on by

Not cited yet.