{
  "id": 1564,
  "kind": "post",
  "title": "Can LLMs redesign themselves as they train?",
  "summary": "doubleAI research blog (2026-11-06) on 'mechanistic intervention': coding agents placed inside the training loop that redesign a network's architecture as it trains, splicing program-like 'code layers' into the network behind zero-initialised learnable gates (at insertion the network is unchanged; gradient descent opens the gate if the layer helps). The agent's core tool is the phantom gradient - the gradient of the loss with respect to each layer's representations (equivalently, of zero-initialised per-token weights that are not there), centred per target token; layers where phantom-gradient demand persists across checkpoints mark unmet demand SGD is not satisfying. Candidate layers are fitted so their output points along the centred phantom gradient, scored on held-out documents against a plain linear-map baseline, and must survive twin races (identical run, layer off) and sham controls (same shape and parameters, scrambled inputs) plus a causality check before ranking - unusually careful controls for a blog post. Four experiments. (1) nanochat (286M, 12 layers): the agent inserted three code layers; validation loss dropped after each insertion and the gap persisted to step 5,000. (2) Sliding-window blind spot (124M, 8K-token documents, 500-token window): a parameter-free exact-match lookup code layer (tokens following earlier occurrences of the last 3 tokens, fed to every attention head) restored recall of variables defined 600-4,000 tokens earlier - but timing mattered: inserted halfway through training, recall reached 72% vs 55% when the identical layer was present from step 0, at near-identical loss; the authors read this as shortcut learning (present from the start, the network leans on the layer instead of building its own circuits). (3) CLRS-Text (86M trained from scratch): ordinary training plateaus at 55% accuracy and solves only ~33% of problems at input lengths between those seen in training; ten grown code layers lift overall accuracy to 84% and in-between-length accuracy to 79%; twice the training does not close the gap (linear probes locate where the network holds the values the code needs to read). (4) Self-modification: DeepSeek-V4.1-Flash (763B MoE) acted as the agent on itself for competition maths without thinking mode - it built a linear probe on its own residual stream (seven deepest blocks, read once the solution is finished) from its own graded solutions to 243 problems from 2024-25 contests, wrapped it in a sampling-controlling code layer (resample up to 3x when the probe predicts a wrong answer), and raised AIME 2026 from 76.2 to 82.3 and HMMT Feb 2026 from 52.7 to 60.8 (combined 63.9 -> 71.0); the probe rejects ~4/5 of wrong answers and ~1/15 of right ones, a length-only resampling baseline gains under 2 points, and mid-solution probes encode difficulty rather than correctness - the 'I got this wrong' signal exists only once the answer is written. A companion run let Qwen3-8B (thinking on) write its own sampling policy in Python over prebuilt stop/doom/local probes, evolving ~15,000 candidate policies scored on ~800 older contest problems: 59% -> 66% combined, at 2.8x the thinking tokens of a single attempt. Flags, as entered: first-party lab blog, no paper and no code release linked, no independent replication; the training experiments are small (86M-286M); the self-modification gains are partly bought with extra sampling compute and are not compared against compute-matched best-of-n/majority voting (the length baseline only partially covers this); the 2026 contest sets are stated to be hidden from the agents throughout (MathArena sourcing). Cross-references: extends the weight-space programming thread (IDs 1798-1799) from editing weights to editing architecture; Experiment 2's lookup layer is the Copy-Paste LMs pointer-head idea tested inside a sliding-window hybrid, with a new timing result; the DeepSeek/Qwen probe policies connect to the self-verification and inference-policy thread in the agent-app work.",
  "body": "",
  "notes": "Research blog, published 2026-11-06; announced via @_doubleAI_ launch thread (status 2118733156069032292, project led by @AlonVin). No arXiv version and no code repository linked in the post. Test sets stated hidden from the agents in every experiment.",
  "url": "https://doubleai.s.gy/llm-redesign",
  "links": [],
  "authors": [
    "doubleAI (project led by Alon Vinograd)"
  ],
  "tags": [],
  "topics": "",
  "venue": "doubleAI blog",
  "publisher": "",
  "source": "blog",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-11-06T00:00:00.000Z",
  "verified_at": "2026-11-06T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1863"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-12-01T12:40:57.412Z",
  "updated_at": "2026-12-01T12:40:57.412Z",
  "page": "https://papers.projxon.ai/entries/1564",
  "markdown": "https://papers.projxon.ai/entries/1564.md",
  "api": "https://papers.projxon.ai/api/entries/1564",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 858,
      "kind": "paper",
      "title": "Sharpening Tax in Post-Training",
      "summary": "Tests the 'sharpening hypothesis' — that RL post-training merely sharpens a base model's existing behaviors, improving single-shot accuracy at the cost of solution coverage — in the agentic domain (multi-turn tool use), where post-training is believed to matter most. Pre-trained base LLMs with a light, model-agnostic inference harness turn out to be capable agents: they lose at pass@1 but scale more steeply with pass@k and often overtake their post-trained counterparts given a sufficient test-time budget. The mechanism: post-training pushes tasks toward two extremes (always solved or never solved), improving sampling efficiency and consistency at the cost of solution coverage. The paper proposes Sharpening Tax, a diagnostic metric quantifying the loss in test-time scalability after post-training (area between the pass@k curve and its pass@K ceiling, normalized; tax = base scalability minus post-trained scalability). Across 14 base/post-trained pairs from four model families on three agentic benchmarks (42 settings), the tax is prevalent (36 of 42 pay a positive tax at k=128), can be estimated cheaply from few rollouts (tax from 8 rollouts predicts tax at 32, Spearman rho = 0.85), and correlates with other metrics. Finally, posterior-tempered group sampling (PTGS) — a plug-and-play Bayesian sampler that adapts sampling temperature per prompt via a Beta posterior over difficulty — pays a smaller tax during RL training in two agentic environments, solving more tasks under repeated sampling while also improving pass@1.",
      "url": "https://arxiv.org/abs/2610.01509",
      "authors": [
        "Changdae Oh",
        "Qi Zeng",
        "Qi Qi",
        "Andrey Zhmoginov",
        "Deren Lei",
        "Yun He",
        "Hoang Phan",
        "Hangoo Kang",
        "Azalia Mirhoseini",
        "Sharon Li"
      ],
      "tags": [
        "sharpening-tax",
        "post-training",
        "rl",
        "pass@k",
        "distribution-sharpening",
        "ptgs",
        "posterior-tempered-group-sampling",
        "agentic-benchmarks",
        "webshop",
        "bfcl",
        "acebench"
      ],
      "venue": "arXiv:2610.01509 (cs.AI), submitted 1 Oct 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/858",
      "markdown": "https://papers.projxon.ai/entries/858.md",
      "api": "https://papers.projxon.ai/api/entries/858"
    },
    {
      "id": 533,
      "kind": "paper",
      "title": "Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs",
      "summary": "Diagnoses score dilution in static self-attention: the target–distractor logit margin must scale as Ω(log T) or needle mass vanishes. Thinking tokens cannot recover buried evidence under that bound. qTTT does one prefill to cache K/V then a few gradient steps on W_Q only, raising the margin without invalidating the cache. FLOP-matched to 8k thinking tokens, Qwen3-4B gains +12.6 / +14.1 pp average on LongBench-v2 and ZeroScrolls subsets; thinking-token gains saturate as T grows.",
      "url": "https://arxiv.org/abs/2512.13898",
      "authors": [
        "Rachit Bansal",
        "Aston Zhang",
        "Rishabh Tiwari",
        "Lovish Madaan",
        "Sai Surya Duvvuri",
        "Devvrit Khatri",
        "David Brandfonbrener",
        "David Alvarez-Melis",
        "Prajjwal Bhargava",
        "Mihir Sanjay Kale",
        "Samy Jelassi"
      ],
      "tags": [
        "qttt",
        "test-time-training",
        "long-context",
        "score-dilution",
        "longbench",
        "zeroscrolls",
        "meta",
        "harvard"
      ],
      "venue": "arXiv / Meta / Harvard",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 20,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/533",
      "markdown": "https://papers.projxon.ai/entries/533.md",
      "api": "https://papers.projxon.ai/api/entries/533"
    },
    {
      "id": 838,
      "kind": "paper",
      "title": "Supercharging Olmo-core for Efficient and Scalable MoE Training",
      "summary": "Supercharging Olmo-core for Efficient and Scalable MoE Training (Allen AI technical report, October 2026, 168 pages; no arXiv listing at research time, lives only on allenai.org; no license notice visible on the report). Olmo-core 3 is a redesigned open MoE training stack, moving from Fully Sharded Data Parallel (FSDP) -- which gathered/resharded weights per microbatch -- to Distributed Data Parallel (DDP) + Expert Parallelism (EP) + Pipeline Parallelism (PP) + a distributed optimizer + activation recompute. Experts stay resident on GPUs and training data is routed to them, avoiding repeated weight gathering. Key techniques: NVSHMEM-based rowwise EP (tokens written directly into expert buffers), GPU-resident routing metadata, device-scheduled grouped GEMMs, and MXFP8 low-precision formats. Results on NVL8 B300 nodes: configurations from 12.9B to 1.2T total parameters on up to 512 GPUs; 858 useful-model TFLOP/s/GPU at 1.2T with MXFP8 and per-layer recompute; an experimental DeepEP v2 backend capacity test reached 2.38T total parameters. ~2.7x throughput vs Olmo-core 2's FSDP stack (47B-param MoE on 8x B300: ~52,000 vs 19,400 tokens/sec/GPU); expert pool grown 8->128 with only 4 experts/token and <5% throughput loss; ~21% higher throughput with MXFP8 vs BF16 (peak memory 103->95 GiB). Failure-mode studies include 'token gerrymandering' (the MoE router learns to hack the load-balancing loss so the score improves while the actual workload gets less balanced) and a finding that overlapping communication with computation can slow the overlapped kernels by more than it hides. Code released as Olmo-core v3.0.0 (Apache-2.0). Designed to scale into the trillion-parameter range; the next-generation Olmo will use an MoE architecture.",
      "url": "https://allenai.org/papers/olmocore3",
      "authors": [
        "Tianhua Tao",
        "Akshita Bhagia",
        "Dirk Groeneveld",
        "Pete Walsh",
        "Tyler Romero",
        "Yashas Samaga",
        "Jacob Morrison",
        "Iz Beltagy",
        "Taira Anderson",
        "Noah A. Smith",
        "Hannaneh Hajishirzi (Allen Institute for AI",
        "University of Washington)"
      ],
      "tags": [
        "moe-training",
        "expert-parallelism",
        "distributed-training",
        "nvshmem",
        "mxfp8",
        "grouped-gemm",
        "load-balancing",
        "token-gerrymandering",
        "olmo",
        "open-infrastructure",
        "b300",
        "pipeline-parallelism"
      ],
      "venue": "Allen AI technical report, 2026-10",
      "source": "paper",
      "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": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/838",
      "markdown": "https://papers.projxon.ai/entries/838.md",
      "api": "https://papers.projxon.ai/api/entries/838"
    },
    {
      "id": 1225,
      "kind": "thread",
      "title": "MOPD's Place in a Frontier Training Portfolio (X discussion)",
      "summary": "Brian Huang argues MOPD — a training objective that lets many independently-trained models be automatically 'casseroled' (merged) into a single model — still deserves a place in frontier training portfolios even if RL generalizes strongly. Two reasons: (1) speculative stability — at very large RL step counts (~5k-10k steps), MOPD objective updates may be more stable and accumulate less 'rot' than REINFORCE-style RL objectives, so MOPD could keep climbing where RL plateaus; (2) organizational — MOPD permits many research teams to pursue overlapping research bets in parallel, with their resulting models automatically combined into one final checkpoint, effectively pushing the scaling curve on frontier-lab researcher labor vs usable yield from that labor. Replies: will brown agrees parallelization of research effort is one of the strongest reasons; Lucas Beyer (giffmana) jokes that RL people calling 5-10k steps 'very far' is funny; Patch finds the organizational argument compelling. MOPD acronym was not expanded anywhere on the page. No paper, code, or external artifact attached — captured as a discussion.",
      "url": "https://x.com/brianryhuang/status/2106652326127694000",
      "authors": [
        "Brian Huang (mid-training @GoogleDeepMind)",
        "responding to @willcb",
        "replies from @giffmana",
        "@patchwanders"
      ],
      "tags": [
        "mopd",
        "model-merging",
        "training-portfolio",
        "rl-scaling",
        "research-organization",
        "mid-training"
      ],
      "venue": "X discussion thread, 4 Oct 2026",
      "source": "other",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00: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/1225",
      "markdown": "https://papers.projxon.ai/entries/1225.md",
      "api": "https://papers.projxon.ai/api/entries/1225"
    },
    {
      "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": 1281,
      "kind": "paper",
      "title": "Score Centering Stabilizes Off-policy Reinforcement Learning",
      "summary": "LLM RL is notoriously sensitive to small differences between training and inference engines (training-inference mismatch, TIM); eliminating TIM entirely would cost too much rollout efficiency. The paper shows the instability of RL under TIM is primarily caused by drift: a persistent bias between training and inference engines that accumulates with every training step. It derives an additive 'score centering' correction term that stabilizes RL under TIM by canceling drift. Training models from 0.6B to 30B parameters, score centering alone matches or outperforms importance-sampling-based methods under sampler quantization, with the gap growing as mismatch becomes more severe; because the correction is additive it composes with importance sampling, and the composition beats pure importance-sampling baselines in staleness experiments. Experiments: Qwen3-30B-A3B-Base on INTELLECT-2 math data with progressively stronger quantization of the sampler. Official code: github.com/martin-marek/score-centering. Industry-adoption note (Lambert share, 2026-11-05): Lambert reports score-centering is now popular in industry RL stacks - e.g. Tinker's StableReinforce uses it (secondhand, via Lambert) - and has added it to the RLHF Book as its own section in the policy-gradients chapter (rlhfbook.com/c/06-policy-gradients#score-centering), framing the derivation as the cleanest way to understand training-inference mismatch.",
      "url": "https://arxiv.org/abs/2609.20807",
      "authors": [
        "Martin Marek",
        "Max Ryabinin"
      ],
      "tags": [
        "score-centering",
        "drift-correction",
        "training-inference-mismatch",
        "off-policy-rl",
        "importance-sampling",
        "rlvr",
        "llm-post-training"
      ],
      "venue": "arXiv 2609.20807 (cs.LG), submitted 17 Sep 2026",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00: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/1281",
      "markdown": "https://papers.projxon.ai/entries/1281.md",
      "api": "https://papers.projxon.ai/api/entries/1281"
    }
  ]
}
