mlsanityData to 14 Oct 2026

Curse of High Dimensionality Issue in Transformer for Long-context Modeling

arXiv 2505.22107 ↗First posted 28 May 2025cs.CL cs.LG stat.MLcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  9. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  10. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  11. 2020Longformer: The Long-Document Transformercited by 3,413
  12. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
32 more
  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  2. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,919
  3. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  4. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  5. 2020Reformer: The Efficient Transformercited by 1,668
  6. 2020Rethinking Attention with Performerscited by 1,601
  7. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  8. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  9. 2024Emu3: Next-Token Prediction is All You Needcited by 781
  10. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  11. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  12. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
  13. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
  14. 2024Generative Verifiers: Reward Modeling as Next-Token Predictioncited by 480
  15. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
  16. 2023Effective Long-Context Scaling of Foundation Modelscited by 303
  17. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
  18. 2018Neural Autoregressive Flowscited by 208
  19. 2023Continual Pre-training of Language Modelscited by 198
  20. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
  21. 2021Efficient Large Scale Language Modeling with Mixtures of Expertscited by 175
  22. 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
  23. 2023Scaling Laws of RoPE-based Extrapolationcited by 125
  24. 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 111
  25. 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 96
  26. 2024ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identificationcited by 93
  27. 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
  28. 2024Long-Context Language Modeling with Parallel Context Encodingcited by 84
  29. 2024Training-Free Long-Context Scaling of Large Language Modelscited by 62
  30. 2024LLM-Inference-Bench: Inference Benchmarking of Large Language Models on AI Acceleratorscited by 32
  31. 2016Improving Multi-Document Summarization via Text Classificationcited by 14
  32. 2024Core Context Aware Transformers for Long Context Language Modelingcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.