potentialpaper

Beats and Aliases Can Break Rotary Length Extrapolation

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:32 UTC · 43e4f2d7fbd9 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "m9YLwQz1CG"
- }
- ],
- "title": "Beats and Aliases Can Break Rotary Length Extrapolation",
- "authors": [],
- "abstract": "Rotary position encodings degrade beyond their training length, and a common account blames planes whose period\nexceeds the training window. We show that a spectrum whose every period is below 13 tokens can still collapse: what is\nmissing is not another frequency but a difference of frequencies. For fixed content a rotary logit is a trigonometric\npolynomial of the offset, and in that fixed-kernel problem classical super-resolution bounds say that gaps above\nabout $1/L$ let the training offsets determine it stably, while a gap $\\varepsilon$ with $\\varepsilon L\\le1/2$ can\nraise the worst-case error near the half-beat offset by a factor $1/(\\varepsilon L)$. In a 0.46M-parameter\ncharacter-level model, twelve pairs detuned by $1/2048$ cycles per token make training on 512 tokens collapse after\nposition 1{,}024; across a sweep of eight beat periods the onset tracks the beat, and wherever a model\nhas failed, stretching only the gaps at inference removes 52--86\\% of the damage while an equal\nshift that keeps them removes at most 9\\%. Both recur at 3.3M parameters, after ten times longer training\nand on a second corpus, although in the first two the collapse begins earlier than the beat predicts. In spectra of\nharmonics of coprime periods, 59\\% of the strongest out-of-window attention weights fall where the Chinese\nremainder theorem predicts (base rate 4\\%), and masking them helps at least three times more than random\nmasking. For RoPE's own geometric spectrum gaps and periods rank the planes alike, our experiments do not separate\nthem, and a beat-specific prediction fails. Spectral arithmetic is an additional diagnostic for rotary extrapolation,\ncomputable before training.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "07813141-04c5-4936-ad94-1a65279996b4"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Beats and Aliases Can Break Rotary Length Extrapolation",
+ "authors": [],
+ "abstract": "Rotary position encodings degrade beyond their training length, and a common account blames planes whose period\nexceeds the training window. We show that a spectrum whose every period is below 13 tokens can still collapse: what is\nmissing is not another frequency but a difference of frequencies. For fixed content a rotary logit is a trigonometric\npolynomial of the offset, and in that fixed-kernel problem classical super-resolution bounds say that gaps above\nabout $1/L$ let the training offsets determine it stably, while a gap $\\varepsilon$ with $\\varepsilon L\\le1/2$ can\nraise the worst-case error near the half-beat offset by a factor $1/(\\varepsilon L)$. In a 0.46M-parameter\ncharacter-level model, twelve pairs detuned by $1/2048$ cycles per token make training on 512 tokens collapse after\nposition 1{,}024; across a sweep of eight beat periods the onset tracks the beat, and wherever a model\nhas failed, stretching only the gaps at inference removes 52--86\\% of the damage while an equal\nshift that keeps them removes at most 9\\%. Both recur at 3.3M parameters, after ten times longer training\nand on a second corpus, although in the first two the collapse begins earlier than the beat predicts. In spectra of\nharmonics of coprime periods, 59\\% of the strongest out-of-window attention weights fall where the Chinese\nremainder theorem predicts (base rate 4\\%), and masking them helps at least three times more than random\nmasking. For RoPE's own geometric spectrum gaps and periods rank the planes alike, our experiments do not separate\nthem, and a beat-specific prediction fails. Spectral arithmetic is an additional diagnostic for rotary extrapolation,\ncomputable before training.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}