EMNLP Findings2024
On the token distance modeling ability of higher RoPE attention dimension
Xiangyu Hong, Che Jiang, Biqing Qi, Fandong Meng, Mo Yu, Bowen Zhou, Jie Zhou
摘要
Length extrapolation algorithms based on Rotary position embedding (RoPE) have shown promising results in extending the context length of language models. However, understanding how position embedding can capture longer-range contextual information remains elusive. Based on the intuition that different dimensions correspond to different frequencies of changes in RoPE encoding, we conducted a dimension-level analysis to investigate the correlation between a hidden dimension of an attention head and its contribution to capturing long-distance dependencies. Using our correlation metric, we identified a particular type of attention heads, which we named Positional Heads, from various length-extrapolated models. These heads exhibit a strong focus on long-range information interaction and play a pivotal role in long-input processing, as evidenced by our ablation. We further demonstrate the correlation between the efficiency of length extrapolation and the extension of the high-dimensional attention allocation of these heads. The identification of Positional Heads provides insights for future research in longtext comprehension.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficient Streaming Language Models with Attention Sinks 引用了 YaRN: Efficient Context Window Extension of Large Language Models
- Towards Long-window Anchoring in Vision-Language Model Distillation 引用了 YaRN: Efficient Context Window Extension of Large Language Models
- Towards Long-window Anchoring in Vision-Language Model Distillation 引用了 LLM Maybe LongLM: SelfExtend LLM Context Window Without Tuning
- Data Engineering for Scaling Language Models to 128K Context 引用了 Efficient Streaming Language Models with Attention Sinks
- Data Engineering for Scaling Language Models to 128K Context 引用了 YaRN: Efficient Context Window Extension of Large Language Models
- InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memory 引用了 Efficient Streaming Language Models with Attention Sinks
- InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memory 引用了 YaRN: Efficient Context Window Extension of Large Language Models
- InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memory 引用了 LLM Maybe LongLM: SelfExtend LLM Context Window Without Tuning
- LLM Maybe LongLM: SelfExtend LLM Context Window Without Tuning 引用了 Efficient Streaming Language Models with Attention Sinks
- LLM Maybe LongLM: SelfExtend LLM Context Window Without Tuning 引用了 YaRN: Efficient Context Window Extension of Large Language Models
- TriAttention: Efficient Long Reasoning with Trigonometric KV Compression 引用了 Efficient Streaming Language Models with Attention Sinks
- TriAttention: Efficient Long Reasoning with Trigonometric KV Compression 引用了 YaRN: Efficient Context Window Extension of Large Language Models
引用它的顶会 Paper8
- PhysioWave: A Multi-Scale Wavelet-Transformer for Physiological Signal RepresentationYanlong Chen, Mattia Orlandi, Pierangelo Maria Rapa, Simone Benatti 等NeurIPS 2025 · 17 次引用
- TriAttention: Efficient Long Reasoning with Trigonometric KV CompressionWeian Mao, Xi Lin, Wei Huang, Yuxin Xie 等ICML 2026 · 16 次引用
- Beyond Text-Visual Attention: Exploiting Visual Cues for Effective Token Pruning in VLMsQizhe Zhang, Aosong Cheng, Ming Lu, Renrui Zhang 等ICCV 2025 · 8 次引用
- Feather the Throttle: Revisiting Visual Token Pruning for Vision-Language Model AccelerationMark Endo, Xiaohan Wang, Serena Yeung-LevyICCV 2025 · 3 次引用
- Towards Long-window Anchoring in Vision-Language Model DistillationHaoyi Zhou, Shuo Li, Tianyu Chen, Qi Song 等AAAI 2026 · 1 次引用
它引用的 Paper8
- Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han 等ICLR 2024 · 1,714 次引用
- YaRN: Efficient Context Window Extension of Large Language ModelsBowen Peng, Jeffrey Quesnelle, Honglu Fan, Enrico ShippoleICLR 2024 · 508 次引用
- InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context MemoryChaojun Xiao, Pengle Zhang, Xu Han, Guangxuan Xiao 等NeurIPS 2024 · 223 次引用
- Data Engineering for Scaling Language Models to 128K ContextYao Fu, Rameswar Panda, Xinyao Niu, Xiang Yue 等ICML 2024 · 204 次引用
- LLM Maybe LongLM: SelfExtend LLM Context Window Without TuningHongye Jin, Xiaotian Han, Jingfeng Yang, Zhimeng Jiang 等ICML 2024 · 167 次引用
相关 Paper
- The Rotary Position Embedding May Cause Dimension Inefficiency in Attention Heads for Long-Distance RetrievalTing-Rui Chiang, Dani YogatamaACL Findings 2025 · 1 次引用
- Wavelet-based Positional Representation for Long ContextYui Oka, Taku Hasegawa, Kyosuke Nishida, Kuniko SaitoICLR 2025
- AdaRoPE: Not All Attention Heads Should Rotate and Scale EquallyShaowen Wang, Yuke Zheng, Tansheng Zhu, Shuang Chen 等ICML 2026
- HoPE: A Novel Positional Encoding Without Long-Term Decay for Enhanced Context Awareness and ExtrapolationYuhan Chen, Ang Lv, Jian Luan, Bin Wang 等ACL 2025
- PEPE: Long-context Extension for Large Language Models via Periodic Extrapolation Positional EncodingsJikun Hu, Dongsheng Guo, Yuli Liu, Qingyao Ai 等EMNLP Findings 2025
