R150 · Agent architecture › Self-improvement and learning loops

Weight-space programming: frontier LLMs that read and edit neural network weights

Read the original

Authors DeepLearning.AI

self-improvementsafetyevalsmodel-supply-chainopen-models

Sources:

The original is a blog post with logs, not a peer-reviewed paper.

TL;DR

The MIT team treats a network's weights like source code: something a model can read to understand and edit to change. They hand those weights to GPT-6 Astra, used as is, with no gradients and no training loop. In the harder experiments it gets a Python kernel and a small budget of forward passes. Astra then does three things.

It also writes networks from scratch. A zero-shot Breakout policy scored 517 against 25 for PPO at 500M steps. On Seaquest and Asterix it was below or near PPO at 500M steps. A 1.5M-parameter Go network, given 50 forward passes, beat an equal-size PPO network.

The honest limits: it could not tell a sycophantic Gemma 3 270M from an honest one using weights alone, though attention patterns let it. And it could not improve Gemma's math, because Gemma has no single failure to remove. Editing removed an obstacle that hid an ability. It did not add an ability.

What the replication says

An independent team reran the work in three days, and it partly deflates the result:

How it works, mechanically

READ    weights as text (or numpy in a sandbox) → reason about which input regions,
        heads and output units matter → name the behaviour
FIX     weights + one failed trajectory → explain the failure → graft a small
        side path (a few units per layer) that overrides the policy, then hands back
WRITE   rules + source code → design a program (where will the ball land? move there)
        → hand-compile it into layers
EDIT LM Python kernel + N forward passes on training prompts → find a looping
        direction in MLP outputs → project it out of selected columns → re-test

The Qwen fix is close to known interpretability practice, such as removing a single direction, as in the refusal-direction work. The novelty is that a general-purpose model found and applied it from a plain-language goal.

Why it matters

  1. Interpretability as a model capability. If a frontier model can locate a looping direction or a poisoned adapter from weights, then model audits, such as triage of third-party adapters or checkpoints, become something you can prompt for. The replication shows that is shallow today. It can tell that something is wrong, not what.

  2. Targeted fixes without retraining. A 0.016% edit that removes a known failure mode and generalizes beyond the target task is the kind of change that fine-tuning tends to bundle with forgetting. For small deployed models with a specific defect, this is a cheap experiment to try.

  3. A new optimization path for self-improvement. The authors explicitly frame this as a route to recursive self-improvement: a model debugging its own or a successor's weights. That raises the stakes on who may edit weights, and under what review.

Tradeoffs and failure modes

Review checklist before trusting a weight edit

Cited in field guides

Connections

See R150 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.