Lune

NeurIPS2025顶会

PaTH Attention: Position Encoding via Accumulating Householder Transformations

Songlin Yang, Yikang Shen, Kaiyue Wen, Shawn Tan, Mayank Mishra, Liliang Ren, Rameswar Panda, Yoon Kim

摘要

The attention mechanism is a core primitive in modern large language models (LLMs) and AI more broadly. Since attention by itself is permutation-invariant, position encoding is essential for modeling structured domains such as language. Rotary position encoding (RoPE) has emerged as the de facto standard approach for position encoding and is part of many modern LLMs. However, in RoPE the key/query transformation between two elements in a sequence is only a function of their relative position and otherwise independent of the actual input. This limits the expressivity of RoPE-based transformers. This paper describes PaTH, a flexible data-dependent position encoding scheme based on accumulated products of Householder(like) transformations, where each transformation is data-dependent, i.e., a function of the input. We derive an efficient parallel algorithm for training through exploiting a compact representation of products of Householder matrices, and implement a FlashAttention-style blockwise algorithm. Across both targeted synthetic benchmarks and moderate-scale real-world language modeling experiments, we find that PaTH improves upon RoPE and other recent baselines. Finally, we show that we can convert pretrained RoPE transformers into PaTH with continued pretraining.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Selective Rotary Position Embedding 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • Selective Rotary Position Embedding 引用了 Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Improving Bilinear RNN with Closed-loop Control 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Improving Bilinear RNN with Closed-loop Control 引用了 Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • RePo: Language Models with Context Re-Positioning 引用了 Selective Rotary Position Embedding
  • RePo: Language Models with Context Re-Positioning 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language ModelsXin Cheng, Wangding Zeng, Damai Dai, Qinyu Chen 等ACL 2026 · 57 次引用
  2. Selective Rotary Position EmbeddingSajad Movahedi, Timur Carstensen, Arshia Afzal, Frank Hutter 等ICLR 2026 · 11 次引用
  3. Improving Bilinear RNN with Closed-loop ControlJiaxi Hu, Yongqi Pan, Jusen Du, Disen Lan 等NeurIPS 2025 · 10 次引用
  4. Group Representational Position EncodingYifan Zhang, Zixiang Chen, Yifeng Liu, Zhen Qin 等ICLR 2026 · 5 次引用
  5. RePo: Language Models with Context Re-PositioningHuayang Li, Tianyu Zhao, Deng Cai, Richard SproatICML 2026 · 3 次引用

它引用的 Paper47

  1. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
  2. WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
  3. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
  4. FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 次引用
  5. Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 次引用

相关 Paper

  1. Round and Round We Go! What makes Rotary Positional Encodings useful?Federico Barbero, Alex Vitvitskyi, Christos Perivolaropoulos, Razvan Pascanu 等ICLR 2025
  2. Rotary Position Encodings for GraphsIsaac Reid, Arijit Sehanobish, Cederik Höfs, Bruno Mlodozeniec 等ICML 2026
  3. HoPE: A Novel Positional Encoding Without Long-Term Decay for Enhanced Context Awareness and ExtrapolationYuhan Chen, Ang Lv, Jian Luan, Bin Wang 等ACL 2025
  4. AdaRoPE: Not All Attention Heads Should Rotate and Scale EquallyShaowen Wang, Yuke Zheng, Tansheng Zhu, Shuang Chen 等ICML 2026
  5. Deconstructing Positional Information: From Attention Logits to Training BiasesZihan Gu, Ruoyu Chen, Han Zhang, Hua Zhang 等ICLR 2026 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖