Curse of High Dimensionality Issue in Transformer for Long-context Modeling
Not on the map. Why?
Abstract (arXiv)
Transformer-based large language models (LLMs) excel in natural language processing tasks by capturing long-range dependencies through self-attention mechanisms. However, long-context modeling faces significant computational inefficiencies due to textitredundant attention computations: while attention weights are often textitsparse, all tokens consume textitequal computational resources. In this paper, we reformulate traditional probabilistic sequence modeling as a textitsupervised learning task, enabling the separation of relevant and irrelevant tokens and providing a clearer understanding of redundancy. Based on this reformulation, we theoretically analyze attention sparsity, revealing that only a few tokens significantly contribute to predictions. Building on this, we formulate attention optimization as a linear coding problem and propose a textitgroup coding strategy, theoretically showing its ability to improve robustness against random noise and enhance learning efficiency. Motivated by this, we propose textitDynamic Group Attention (DGA), which leverages the group coding to explicitly reduce redundancy by aggregating less important tokens during attention computation. Empirical results show that our DGA significantly reduces computational costs while maintaining competitive performance.Code is available at https://github.com/bolixinyu/DynamicGroupAttention.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 44 of its 64 references that are in the map. First posted on arXiv 28 May 2025.
Builds on
44 of 64 references.
References · 44
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
32 more
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,919
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2020Rethinking Attention with Performerscited by 1,601
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
- 2024Emu3: Next-Token Prediction is All You Needcited by 781
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
- 2024Generative Verifiers: Reward Modeling as Next-Token Predictioncited by 480
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
- 2023Effective Long-Context Scaling of Foundation Modelscited by 303
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
- 2018Neural Autoregressive Flowscited by 208
- 2023Continual Pre-training of Language Modelscited by 198
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
- 2021Efficient Large Scale Language Modeling with Mixtures of Expertscited by 175
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2023Scaling Laws of RoPE-based Extrapolationcited by 125
- 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 111
- 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 96
- 2024ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identificationcited by 93
- 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
- 2024Long-Context Language Modeling with Parallel Context Encodingcited by 84
- 2024Training-Free Long-Context Scaling of Large Language Modelscited by 62
- 2024LLM-Inference-Bench: Inference Benchmarking of Large Language Models on AI Acceleratorscited by 32
- 2016Improving Multi-Document Summarization via Text Classificationcited by 14
- 2024Core Context Aware Transformers for Long Context Language Modelingcited by 11
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Long-Context Generalization with Sparse Attentioncited by 21
- 2025Training-free Context-adaptive Attention for Efficient Long Context Modelingcited by 1
- 2026Latent-Condensed Transformer for Efficient Long Context Modelingcited by 0
- 2026Geometry of Semantic Space: Comparative Study of Discrete and Continuous Modelscited by 0
- 2026LoKiFormer: Locality-aware Attention with Decoupled Knowledge Memory for Efficient Large Language Model Pretrainingcited by 0
- 2026LoKiFormer: Locality-aware Attention with Decoupled Knowledge Memory for Efficient Large Language Model Pretraining12 Aug 2026
- 2026Geometry of Semantic Space: Comparative Study of Discrete and Continuous Models5 Jun 2026
- 2026Latent-Condensed Transformer for Efficient Long Context Modeling14 Apr 2026
- 2025Training-free Context-adaptive Attention for Efficient Long Context Modeling10 Dec 2025
- 2025Long-Context Generalization with Sparse Attention19 Jun 2025