Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encoding
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Transformers rely on both content-based and position-based addressing mechanisms to make predictions, but existing positional encoding techniques often diminish the effectiveness of position-based addressing. Many current methods enforce rigid patterns in attention maps, limiting the ability to model long-range dependencies and adapt to diverse tasks. Additionally, most positional encodings are learned as general biases, lacking the specialization required for different instances within a dataset. To address this, we propose conTextualized equivariAnt Position Encoding (TAPE), a novel framework that enhances positional embeddings by incorporating sequence content across layers. TAPE introduces dynamic, context-aware positional encodings, overcoming the constraints of traditional fixed patterns. We show that TAPE can provably facilitate LLM reasoning ability by emulating a broader class of algorithms. By enforcing permutation and orthogonal equivariance, TAPE ensures the stability of positional encodings during updates, improving long-context ability. Our method can be easily integrated into pre-trained transformers, offering parameter-efficient fine-tuning with minimal overhead. Extensive experiments show that TAPE achieves superior performance in language modeling, arithmetic reasoning, and long-context retrieval tasks compared to existing positional embedding techniques. Code is available at https://github.com/VITA-Group/TAPE.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 94 of its 111 references that are in the map. First posted on arXiv 1 Jan 2025.
Builds on
94 of 111 references.
Closest ancestors · 1
Same direction, newest first
Other references · 93
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
38 more
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Mistral 7Bcited by 3,065
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Point Transformercited by 1,462
- 2017Deep Setscited by 1,394
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2021E(n) Equivariant Graph Neural Networkscited by 951
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2018Tensor field networks: Rotation- and translation-equivariant neural networks for 3D point cloudscited by 735
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2021E(3)-Equivariant Graph Neural Networks for Data-Efficient and Accurate Interatomic Potentialscited by 701
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2022Equivariant Diffusion for Molecule Generation in 3Dcited by 666
- 2020A Generalization of Transformer Networks to Graphscited by 653
- 2020SE(3)-Transformers: 3D Roto-Translation Equivariant Attention Networkscited by 602
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
- 2019General E(2)-Equivariant Steerable CNNscited by 441
- 2021Equivariant message passing for the prediction of tensorial properties and molecular spectracited by 438
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2019Making Convolutional Networks Shift-Invariant Againcited by 390
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2019Explain Yourself! Leveraging Language Models for Commonsense Reasoningcited by 367
- 2018Invariant and Equivariant Graph Networkscited by 339
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2021Vector Neurons: A General Framework for SO(3)-Equivariant Networkscited by 304
- 2016Harmonic Networks: Deep Translation and Rotation Equivariancecited by 293
- 2019Gauge Equivariant Convolutional Networks and the Icosahedral CNNcited by 262
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 243
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 191
- 2024The Illusion of State in State-Space Modelscited by 181
50 most cited of 93 All 93 (JSON)
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025Context-aware Biases for Length Extrapolationcited by 2
- 2025Why Neural Network Can Discover Symbolic Structures with Gradient-based Training: An Algebraic and Geometric Foundation for Neurosymbolic Reasoningcited by 1
- 2026Twin Worlds: Equivariance-Based Abstention for Evidence-Grounded Reasoningcited by 1
- 2025MapFormer: Self-Supervised Learning of Cognitive Maps with Input-Dependent Positional Embeddingscited by 0
- 2026Twin Worlds: Equivariance-Based Abstention for Evidence-Grounded Reasoning28 Aug 2026
- 2025MapFormer: Self-Supervised Learning of Cognitive Maps with Input-Dependent Positional Embeddings24 Nov 2025
- 2025Why Neural Network Can Discover Symbolic Structures with Gradient-based Training: An Algebraic and Geometric Foundation for Neurosymbolic Reasoning26 Jun 2025
- 2025Context-aware Biases for Length Extrapolation11 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2026ZetaGPT: A Reference Implementation of Positional--Encoding--Free State--Space--Attention Language Models
- 2024Eliminating Position Bias of Language Models: A Mechanistic Approach
- 2026Dynamic Positional Attention Modulation for Parameter-Efficient Fine-Tuning of Large Language Models
- 2026SPOT: Span-level Pause-of-Thought for Efficient and Interpretable Latent Reasoning in Large Language Models
- 2026Attention Degradation, Function Token Anchoring, and the Limits of Attention-Based Intervention in Large Language Models
- 2023Attention Alignment and Flexible Positional Embeddings Improve Transformer Length Extrapolation
- 2024Position IDs Matter: An Enhanced Position Layout for Efficient Context Compression in Large Language Models
- 2026Beyond Position Bias: Shifting Context Compression from Position-Driven to Semantic-Driven