Is RoPE just a recency bias? Rotation turns distant keys into noise

BlackHC · x · 2026-11-03

BlackHC examines the intuition that RoPE is essentially a recency bias: rotating a distant key turns its match with the query into "noise", so attention initially favors nearby tokens; attending to an exact dynamic offset would require an MLP to undo the rotation, which seems hard. He says this is partly right, and explains the dephasing mechanism: for q = k each dimension pair adds cos(ωᵢΔ), and pairs rotating at different speeds drift out of phase until the match sits at chance, the ±1/√d cosine of an unrelated key. The fastest 16 pairs die after 4 tokens, the middle 32 after 512, the slowest 16 after 4K.

Related event: Is RoPE just a recency bias? Analysis suggests long-range matching degrades to noise(4 posts)→

Original post →

More from Research

Research channel →