{
  "id": 1504,
  "kind": "post",
  "title": "Is RoPE Just a Recency Bias?",
  "summary": "A mechanistic explainer (with the author's own simulations) asking whether RoPE is merely a recency bias. Answer: partly - but trained models split the frequency spectrum into two regimes, and RoPE's deepest value may be as a training scaffold. (1) DEPHASING IS REAL: for a matching key (q = k), each 2D pair contributes ||k_i||^2 cos(omega_i * delta), and the pairs rotate at different rates, so the match decays to the chance level of an unrelated key (+-1/sqrt(d)): at head dim 128, base 10K, the fastest 16 pairs dephase by offset ~4, the middle 32 by ~512, the slowest 16 by ~4K (the author's simulations; 20K random keys per band). Past a quarter turn a pair's contribution flips sign and works against the match. (2) CONTENT LIVES IN THE SLOW PAIRS: at base 10K only 9 of 64 pairs stay under a quarter turn across 4K tokens and none at 32K - which is why long-context models raise the base (500K in Llama 3) - and Barbero et al. find Gemma 7B concentrates most Q/K norm in the slowest pairs. Their p-RoPE ablation (Gemma 2B from scratch, Wiki/FlanV2 ppl): unrotating the slowest 25% of pairs is free, marginally better (4.44/6.44 vs full RoPE 4.46/6.44); unrotating the fastest 25% is also nearly free (4.46/6.47); unrotating the slowest 75% hurts (4.53/6.51); NoPE is far worse (4.86/6.64). Partial RoPE (GPT-NeoX, Pythia rotate 25% of dims) and DeepSeek's MLA build the content/position separation in by design. A second threshold is one full turn: pairs completing less than a full turn in training (18 of 64 at 4K) rotate into unseen angles at longer contexts - YaRN interpolates exactly those pairs. (3) WHAT A RECENCY BIAS CANNOT DO: exact-offset heads. With a token-independent carrier on the fast pairs, setting W_Q = W_K rotated by omega_i*delta_0 in each 2D block - a fixed linear map, no MLP - peaks the logit at an exact offset delta_0; the author's toy head puts 0.998 of its weight on offset 3, while ALiBi always peaks at 0. Gemma 7B's previous-token and diagonal heads (the first half of an induction circuit) are built from its highest frequencies. Offset 0 is easy (any symmetric W_Q ~ W_K alignment phases all pairs at delta=0); offset >= 1 needs the per-block rotation in W_Q^T W_K, and because RoPE phases never enter the residual stream, a dynamic content-dependent offset delta(x) genuinely is hard - in practice sidestepped by induction circuits. (4) WHERE RECENCY HOLDS: at 120M / context 512 (Bianchessi et al.), ALiBi matches RoPE within 0.3 ppl (Wiki 18.55 vs 18.36; FineWeb 22.18 vs 22.44; NoPE trails both by 1.3-1.6), so short-context perplexity cannot separate the two explanations. Retrieval beyond the training length can: at 2x context on RULER multi-query/key/value, Gelberg et al.'s 500M models score RoPE 0/0/0, ALiBi 5.2/0/1.1 (its penalty downweights distant semantic matches), NoPE 9.2/36.2/21.4, DroPE 28.0/41.6/23.3. (5) ROPE AS TRAINING SCAFFOLD (Gelberg et al., DroPE, ICLR 2026): their theorem shows a causal NoPE transformer at small-variance init keeps attention near-uniform with gradients too bounded to build positional structure quickly, while RoPE breaks uniformity from step 0. Dropping RoPE mid-run (500M, 16B FineWeb tokens, 16K steps): NoPE throughout 23.77 val ppl; drop at 8K 22.42; drop at 14K 21.73; RoPE throughout 21.72 - free to drop at the end, but the 8K drop leaves a 0.70 gap, so RoPE keeps helping through most of training. Applied to pretrained SmolLM and Llama-2-7B, DroPE recalibration beats zero-shot YaRN/NTK on long-context benchmarks - with the author's own caveat that SmolLM-360M needs 60B recalibration tokens to fully match and there is no baseline spending those tokens on continued RoPE. Recalibration spikes the gradient norm 45x before settling; attention maps stay correlated (r = 0.68), diverging mainly in positional heads. (6) A TELLING ASYMMETRY: from scratch, losing rotation on either quarter of pairs barely matters, but in pretrained models the fast pairs matter more - Ji et al. (MHA2MLA) keeping only the fastest pairs in SmolLM costs -0.85% accuracy vs -6.49% for only the slowest at 135M (-0.76% vs -1.21% at 1.7B). The post closes with four cheap experiments that would separate the recency and offset-head accounts (induction vs skip-k head formation timing under RoPE/ALiBi/NoPE; matched-fraction band removal from scratch vs post-training; dropping ALiBi at 8K/14K as a scaffold control; offset profiles in Pythia's log-spaced early checkpoints). Provenance: a synthesis, not new experiments - the dephasing figures are the author's own simulations and the empirical results are Barbero et al. (ICLR 2025) and Gelberg et al. (ICLR 2026); the author discloses the write-up and figures were produced with Claude and Gemini assistance and edited by him, and he himself rates two external DroPE replication reports cited along the way as weak/suggestive only.",
  "body": "",
  "notes": "Blog post published 1 Nov 2026; shared via the author's X thread (@BlackHC, status 2117296183811215693, 2 Nov 2026). Synthesis/explainer: no new training experiments; figures simulated by the author (make_figures.py linked from the post). AI assistance (Claude, Gemini) disclosed by the author. Main sources: Barbero et al., arXiv 2410.06205 (ICLR 2025); Gelberg et al., DroPE (ICLR 2026). No license stated on the blog - flagged.",
  "url": "https://blog.blackhc.net/2026/11/rope-recency/",
  "links": [],
  "authors": [
    "Andreas Kirsch"
  ],
  "tags": [],
  "topics": "",
  "venue": "Personal research blog (blog.blackhc.net)",
  "publisher": "",
  "source": "blog",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-11-03T00:00:00.000Z",
  "verified_at": "2026-11-03T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1803"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-03T13:29:57.430Z",
  "updated_at": "2026-11-03T13:29:57.430Z",
  "page": "https://papers.projxon.ai/entries/1504",
  "markdown": "https://papers.projxon.ai/entries/1504.md",
  "api": "https://papers.projxon.ai/api/entries/1504",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 855,
      "kind": "paper",
      "title": "Gender bias across LLMs is common and highly heterogeneous",
      "summary": "Studies gender bias across ten LLMs released between April 2025 and June 2026 (nine vendors) with two paradigms: gender attribution to stereotyped phrases (Study 1) and moral judgments about abusing or sacrificing a woman or a man to prevent a catastrophic outcome (Study 2). In Study 1, two of ten models attributed masculine-stereotyped phrases to female writers more often than the reverse, while three showed the opposite pattern. In Study 2, several models converged on a male-disadvantaging asymmetry directionally consistent with a documented human tendency to protect female targets from harm, though the conditions under which it emerged varied by model; three other models showed no variation across conditions. Gender-related biases are common, but their direction and magnitude are highly heterogeneous — some models behave in diametrically opposite ways — so bias auditing should be an ongoing, multi-vendor process rather than a one-time assessment. The authors suspect the heterogeneity reflects heterogeneous post-training fine-tuning rather than pretraining.",
      "url": "https://arxiv.org/abs/2609.38036",
      "authors": [
        "Edoardo Bolzoni",
        "Valerio Capraro"
      ],
      "tags": [
        "gender-bias",
        "llms",
        "stereotypes",
        "moral-dilemmas",
        "alignment",
        "post-training",
        "bias-auditing",
        "claude",
        "gpt",
        "deepseek",
        "llama"
      ],
      "venue": "arXiv:2609.38036 (cs.CL), submitted 29 Sep 2026 (v2 revised 30 Sep 2026)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-02T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/855",
      "markdown": "https://papers.projxon.ai/entries/855.md",
      "api": "https://papers.projxon.ai/api/entries/855"
    },
    {
      "id": 840,
      "kind": "paper",
      "title": "How Local Mixing Encodes Relative Position in Global NoPE Attention",
      "summary": "Explains how hybrid models with local mixing layers (sliding window attention, gated linear attention) and global NoPE attention implicitly encode relative position: local layers induce a recency bias in the residual stream that propagates to and is selected by the global attention logits. Supported by theory and experiments on randomly initialized and trained networks; recency bias persists across long sequences unlike causal-mask-only NoPE, suggesting indefinite length extrapolation.",
      "url": "https://arxiv.org/abs/2609.38109",
      "authors": [
        "Cutter Dawes",
        "Nick Alonso",
        "Tom Figliolia",
        "Beren Millidge"
      ],
      "tags": [
        "nope",
        "positional-encoding",
        "sliding-window-attention",
        "recency-bias",
        "hybrid-models",
        "length-extrapolation",
        "kimi-delta-attention"
      ],
      "venue": "arXiv:2609.38109 (cs.CL), submitted 29 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/840",
      "markdown": "https://papers.projxon.ai/entries/840.md",
      "api": "https://papers.projxon.ai/api/entries/840"
    },
    {
      "id": 1116,
      "kind": "paper",
      "title": "Vision Language Models are Biased",
      "summary": "arXiv 2505.23941 (v1 2025-05-29; revised through 2026-04-19); accepted ICLR 2026. Introduces VLMBias: 7 domains (animals, logos, flags, chess, boards, illusions, patterned grids) with counterfactual images. Five SOTA VLMs score ~100% on unmodified sanity checks but only ~17.05% mean counting accuracy on counterfactuals, with ~75.7% bias-aligned errors. Background removal nearly doubles accuracy (+21.09). Project/code/data: vlmsarebiased.github.io.",
      "url": "https://arxiv.org/abs/2505.23941",
      "authors": [
        "An Vo",
        "Khai-Nguyen Nguyen",
        "Mohammad Reza Taesiri",
        "Vy Tuong Dang",
        "Anh Totti Nguyen",
        "Daeyoung Kim"
      ],
      "tags": [
        "vlm-bias",
        "vlmsarebiased",
        "counterfactual",
        "counting",
        "multimodal",
        "iclr-2026",
        "kaist",
        "arxiv-2505.23941",
        "evaluation"
      ],
      "venue": "arXiv / ICLR 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-02T16:25:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 68,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1116",
      "markdown": "https://papers.projxon.ai/entries/1116.md",
      "api": "https://papers.projxon.ai/api/entries/1116"
    },
    {
      "id": 1565,
      "kind": "post",
      "title": "The bias of on-policy self-distillation",
      "summary": "Base Labs research post (2026-11-06) arguing that on-policy self-distillation (OPSD) - where the teacher is the student model itself given privileged context such as the reference solution, and the student is trained by reverse KL on its own rollouts - trades RLVR's noisy but well-aimed sparse reward for a dense but biased one, and that the bias is the core problem rather than a fixable defect. Their evidence: (1) a training-free per-token log-ratio analysis (log q - log p, Qwen3-1.7B with thinking on, 200 hard MATH-500 problems, 800 rollouts) showing the hinted teacher's disagreements with the student concentrate on style and process tokens - it systematically votes down hedging/checking words ('But', 'Wait', 'Hmm', 'verify') and even equivalent arithmetic forms (24 - 2*3 vs 24 - 6) - not on the maths; the effect shifts with which worked solution is used as the hint. (2) A proposed correction, contrastive OPSD (c-OPSD): three teacher copies (anchor sees question+article+answer; positive sees question+article; null sees the article with the factual sentence removed) reweight each token by how much the fact itself raises its probability, so context-induced tokens cancel; on a factual-acquisition task (Qwen3-4B-Instruct, 400 post-cutoff Wikipedia facts, 800 reworded questions) c-OPSD and OPSD both learn initially but collapse with longer training, the student drifting into grading the 'reference answer' and burying the fact in hedging text. (3) The identifiability argument: the teacher actually implemented is the student averaged over hints, not the ideal success-conditioned teacher (the student's distribution reweighted by its own value function), and no correction recoverable from the student's own distribution can guarantee the remaining signal promotes the ideal reasoning rather than a shortcut to the intended answer or verbiage. Supporting literature synthesis: OPSD's benefit shrinks with scale (3.05 points at Qwen3-1.7B to 0.14 at 8B); thinking models are hurt (five thinking models fall below base with thinking on); on robust held-out coding evals SDPO loses to GRPO (-2.5 on Qwen3-8B, -9.9 on Olmo-3-7B-Instruct); and training with a different problem's solution works at least as well as the correct one, suggesting much of the gain is answer structure, not content. The post catalogues the fix literature (masking/clipping style-token KL, target modification, bias-direction removal) and concludes OPSD's defensible niche is distilling fixed contextual behavior meant to be used universally (a system prompt or constitution), not serving as a general RL algorithm; further effort is better spent on less biased teachers. Flags, as entered: a lab position/replication post arguing a field-level conclusion, not a neutral survey - Base Labs (Baseten) has form for replication-and-puncture posts (see ID 1576); the log-ratio analysis is small (one 1.7B model, one benchmark) and training-free, and the c-OPSD collapse is shown on one factual-acquisition setup; several cited effects are other groups' results. Cross-references: the OPD family entries (ID 913 PivotOPD, ID 1534 MOPD) and the off-policy-correction cluster (IDs 1588-1589); the three founding OPSD papers (arXiv 2601.18734, 2601.19897, 2601.20802) are not themselves cataloged.",
      "url": "https://labs.baseten.co/articles/the-bias-of-on-policy-self-distillation",
      "authors": [
        "Base Labs (Baseten)"
      ],
      "tags": [],
      "venue": "Base Labs blog (labs.baseten.co)",
      "source": "blog",
      "license": "",
      "published_year": null,
      "added_at": "2026-11-07T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1565",
      "markdown": "https://papers.projxon.ai/entries/1565.md",
      "api": "https://papers.projxon.ai/api/entries/1565"
    },
    {
      "id": 1457,
      "kind": "paper",
      "title": "Rethinking Activation Functions: Reducing Bias Can Improve Learning",
      "summary": "ReLU, GELU, Swish, and Sigmoid all produce predominantly positive outputs, so their post-activation mean is nonzero — the paper names this the activation bias, b = E[phi(z)], and asks what it does to learning over the full course of training, not just at initialization. Intervention: subtract a fixed scalar b from the activation output (estimated at initialization: ReLU 0.230, GELU 0.115, Swish 0.077, Sigmoid 0.500), or, at scale, layerwise adaptive shifting (subtracting the running post-activation mean). Controlled evidence (deep residual teacher–student model with pre-norm MLP blocks, identical init/data/optimizer, only the shift differs): the unshifted student learns faster early but its residual-stream hidden state overshoots (~step 100), its parameter trajectory turns sharply within the initial-gradient plane, and its loss landscape is steeper (larger leading Hessian eigenvalues); the shifted student starts slower, moves in nearly orthogonal parameter directions, and ends at a lower final loss — despite the teacher itself using the unshifted activation. The bias component is not inert: in a VGG-style reconstruction task, decoding the bias component alone early in training recovers recognizable coarse image structure, color, and texture — the model transiently exploits information carried in the mean component, then relies on it less; shifting largely suppresses this. Theory: in the simplified settings studied, shifting by the activation mean minimizes or nearly minimizes Hessian / Gauss–Newton sharpness. Scale-up (adaptive shifting, everything else fixed): ViT-Base on ImageNet-1K (300 epochs) — shifted model trails early, finishes with HIGHER training loss but lower test loss and higher top-1 accuracy; DiT-B/2 on ImageNet-256 (400k steps) — comparable or lower training loss throughout and lower FID at every evaluated checkpoint; GPT-2 Small on OpenWebText (300k steps, nanoGPT setup) — consistent but small gain, ~0.01 absolute loss and ~1% relative perplexity. Appendix results extend to ViT-L and OLMo/HyenaDNA-style models, and document hidden-state overshoot in released Pythia-410M, OLMo-2-1B, and Amber-7B checkpoints.",
      "url": "https://arxiv.org/abs/2610.14500",
      "authors": [
        "Zirui Peng (Department of Physics",
        "Peking University)",
        "Heyi Zheng (Department of Mathematics",
        "Ziming Liu (College of AI",
        "Tsinghua University",
        "MetaCircle)"
      ],
      "tags": [],
      "venue": "arXiv preprint",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-31T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1457",
      "markdown": "https://papers.projxon.ai/entries/1457.md",
      "api": "https://papers.projxon.ai/api/entries/1457"
    },
    {
      "id": 447,
      "kind": "paper",
      "title": "The Loss Does Not See the Basis, but Adam Does",
      "summary": "Shows gradient descent on W=UV^T is biased toward low-rank interpolants while Adam is not, tracing the gap to loss gauge symmetry (U,V)->(UQ,VQ). Equivariant methods (GD, momentum, shared-scalar Adam, Muon, Shampoo) can inherit gradient-flow low-rank bias; coordinate-wise Adam/RMSProp/Lion/Adafactor cannot. Sorts nine update rules on underdetermined matrix sensing; a p-dial from coordinate-wise to shared-scalar Adam restores the bias monotonically. In transformers, Adam splits two gauge-equivalent inits at step 1 (per-head W_Q^T W_K 56% apart). On two hyperspectral datasets at matched train loss, GD cuts held-out error 43-44% vs Adam at lowest sampling density.",
      "url": "https://arxiv.org/abs/2608.05136",
      "authors": [
        "Devender Singh"
      ],
      "tags": [
        "adam",
        "muon",
        "shampoo",
        "gauge-equivariance",
        "implicit-bias",
        "factored-models",
        "matrix-sensing",
        "attention"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0",
      "published_year": 2026,
      "added_at": "2026-08-14T16:19:42.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/447",
      "markdown": "https://papers.projxon.ai/entries/447.md",
      "api": "https://papers.projxon.ai/api/entries/447"
    }
  ]
}
