arXiv Machine Learning By Petros Karypis, Sean O'Brien, Shreyas Kadekodi, Rui Zhu, Julian McAuley

LeRoPE: Learnable RoPE Frequencies Improve Language Modeling

Read the original on arXiv Machine Learning →

arXiv:2607. 10134v1 Announce Type: new Abstract: Rotary Positional Encodings (RoPE) are currently the most popular positional encodings used in modern language models.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Computation and Language
4d ago

Periodic and Harmonic Periodic RoPE for Length Extrapolation in LLMs

The paper introduces Periodic RoPE (P‑RoPE) and Harmonic Periodic RoPE (HP‑RoPE) as positional encoding methods that repeat a limited set of rotation angles to enable large language models to handle long contexts without position exhaustion. P‑RoPE repeats the first sliding‑window‑size angles, while HP‑RoPE selects frequencies that complete full turns within the window to eliminate wrap errors. Experiments show that both P‑RoPE and HP‑RoPE maintain near‑constant perplexity from 768 to 16k tokens and achieve 99–100% accuracy on a format‑free Passkey test at 16k, outperforming standard RoPE and other interpolation methods.

By Simin Huo, Ning Li
arXiv Computation and Language
Nov 9

Query-Guided RoPE Modulation for Lost-in-the-Middle Mitigation in Long-Context LLMs

The paper introduces Query‑Guided Positional Modulation (QGPM), a training‑free technique that reshapes rotary position embeddings (RoPE) based on query relevance derived from a model’s attention heads. By adjusting the positional mapping differently for low‑relevance and high‑relevance tokens across layers, QGPM mitigates the lost‑in‑the‑middle problem in long‑context language models. Experiments on NoLiMa and RULER datasets show that QGPM outperforms baseline models, especially on retrieval tasks, and works across multiple backbones.

By Peiyu Zhang, Heng Ping, Shinibali Bhattacharyya, Anwesan Pal, Nikos Kanakaris, Kevin Cheang, Shixuan Li, Wei Yang, Paul Bogdan
arXiv Machine Learning
Oct 16

Fractional Rotation, Full Potential? Investigating Performance and Convergence of Partial RoPE

The paper investigates the use of partial Rotary Positional Embedding (RoPE) in transformer models, showing that applying RoPE to only about 10% of hidden dimensions can save up to ten times the memory of full RoPE while achieving comparable final loss. The authors systematically analyze training dynamics and convergence across various architectures, model sizes, sequence lengths, and datasets, finding consistent performance trends. They also note that completely omitting positional encoding (NoPE) can cause loss spikes, which are mitigated by minimal RoPE usage or QK‑Norm application.

By Mohammad Aflah Khan, Krishna P. Gummadi, Manish Gupta, Abhilasha Ravichander
arXiv Machine Learning
Jun 24

Selective Rotary Position Embedding

arXiv:2511. 17388v3 Announce Type: replace-cross Abstract: Position information is essential for language modeling.

By Sajad Movahedi, Timur Carstensen, Arshia Afzal, Frank Hutter, Antonio Orvieto, Volkan Cevher