paper-with-me

홈 › Papers

Positional Encoding via Token-Aware Phase Attention

2025-09-16 · Yu Wang, Sheng Shen, Rémi Munos, Hongyuan Zhan, Yuandong Tian arxiv

We prove under practical assumptions that Rotary Positional Embedding (RoPE) introduces an intrinsic distance-dependent bias in attention scores that limits RoPE's ability to model long-context. RoPE extension methods may alleviate this issue, but they typically require post-hoc adjustments after pretraining, such as rescaling or hyperparameters retuning. This paper introduces Token-Aware Phase Attention (TAPA), a new positional encoding method that incorporates a learnable phase function into the attention mechanism. TAPA preserves token interactions over long range, extends to longer contexts with direct and light continual pretraining, extrapolates to unseen lengths, and attains substantially lower perplexity and stronger retrieval performance in the long-context regime than RoPE-style baselines.

📄 PDF Abstract BibTeX arXiv:2509.12635

Code (0)

등록된 구현이 없습니다.

Tasks

Continual Pretraining

Similar Papers 제목 키워드 기반

Remember to Forget: Gated Adaptive Positional Encoding

2026-05-11 · Riccardo Ali, Alessio Borgi, Christopher Irwin, Mario Severino 외 arxiv

Rotary Positional Encoding (RoPE) is widely used in modern large language models. However, when sequences are extended beyond the range seen during training, rotary phases can enter out-of-distribution regimes, leading t…

Context-aware Rotary Position Embedding

2025-07-30 · Ali Veisi, Delaram Fartoot, Hamidreza Amirzadeh arxiv

Positional encoding is a vital component of Transformer architectures, enabling models to incorporate sequence order into self-attention mechanisms. Rotary Positional Embeddings (RoPE) have become a widely adopted soluti…

Computational Efficiency

MDLMPE: Distribution Aware Positional Encoding for Masked Diffusion Language Models

2026-08-04 · Tong Ling, Hang Lei, Feng Xiao, Changhui Sun 외 arxiv

Masked diffusion language models (MDLMs) enable parallel generation and bidirectional context modeling, but their positional context differs fundamentally from that of autoregressive (AR) models. Whereas AR decoding expo…

CRePE: Curved Ray Expectation Positional Encoding for Unified-Camera-Controlled Video Generation

2026-05-13 · Seonghyun Jin, Youngmin Kim, Sunwoo Park, Jong Chul Ye arxiv

Camera-conditioned video generation requires positional encoding that remains reliable under changes in camera motion, lens configuration, and scene structure. However, existing attention-level camera encodings either pr…

Video Generation

GTA: A Geometry-Aware Attention Mechanism for Multi-View Transformers

2023-10-16 · Takeru Miyato, Bernhard Jaeger, Max Welling, Andreas Geiger

As transformers are equivariant to the permutation of input tokens, encoding the positional information of tokens is necessary for many tasks. However, since existing positional encoding schemes have been initially desig…

Novel View Synthesis