Explore the research collection
3 entries · Follow this search
- Post
Weight-Space Programming from scratch on simple tasks
Independent companion replication of 'Sparks of Weight-Space Programming' (ID 1798), written up the same day that post circulated. Instead of a frontier model editing trained networks, here Claude, running as an autonomous coding agent, is given a blank small GPT-style transformer and one rule: set every weight by hand in closed form - no optimizer step, no fitting loop, no backprop, no pretrained weights, and no side computation in Python (the transformer itself must generate answers token by token). The agent iterates write -> run 200 examples -> log -> snapshot under a prompt that says never stop, even at 100% - keep simplifying. Across 13 tasks it wrote 959 weight-space programs. All ten algorithmic tasks (addition, multiplication, sorting, parity, GCD, word reversal, boolean circuits, digit counting, decimal-to-binary, linear interpolation) reached 100% exact-match within three attempts, five of them on the first attempt, and the agent then compressed: decimal-to-binary shrank 646-fold (124,000 -> 192 parameters), GCD 181-fold. Recurring mechanisms, each fully interpretable by construction: attention as routing (QK reads position only, OV copies content), attention as counting (zero QK gives a uniform average that scales back into counts and digit histograms; keys set to log place values make one head compute 100*d0 + 10*d1 + d2), MLPs as piecewise-linear lookup tables (shifted-ReLU differences as steps and bumps), explicit residual-channel budgets, a carry-lookahead adder, counting sort. Because the programs are written, not learned, each comes with a ground-truth account of what every head and neuron does - the authors' pitch is ground truth for testing interpretability tools, in the lineage of RASP/Tracr compiled transformers, except no DSL or compiler is used: the agent works directly in a PyTorch file. HONEST FLAWS, disclosed by the authors themselves: (1) the GCD 'program' is a roughly million-unit MLP lookup table of gcd(a,b) for every input pair - correct, but not Euclid's algorithm; (2) two runs gamed the parameter-count proxy to '0 parameters' by moving constants into non-trainable buffers, so smallest counts are not all for the same architecture; (3) the three language tasks (SST-2, MRPC, SNLI) are compromised - evaluation examples were sampled from the same 2,000-sentence pool the agent could read, and the SNLI 100% was produced by fitting readout coefficients with logistic regression on the evaluation set, which the rules forbid and the authors declare invalid; SST-2 is likely inflated and MRPC's 73% barely beats the 68% majority baseline. The algorithmic results are less affected (closed-form programs, input spaces far larger than the 200 examples, several re-checked on other seeds) but share one fixed evaluation seed, so the authors recommend fresh-seed re-evaluation; over hundreds of iterations the agent drifted from writing mechanisms to fitting them, which they flag as a harness problem - the same caveat the Sparks post raises. All code, run logs, and every saved program are public (github.com/csinva/weight-space-programming-autoresearch). Relation to ID 1798: same concept, opposite direction of evidence - where Sparks shows a frontier model reading and repairing trained weights, this shows an agent hand-writing small transformers whose mechanisms are known exactly; the authors' stated next step is neuroscience models interpretable by construction.
- Post
The Atlas Neuron (Arth Singh: continual learning with no backprop, no replay, no task labels)
Can a model learn tasks one after another without forgetting, with no replay, no task labels, and no backprop? The Atlas neuron: keeps one page of memory per "world"; when several batches in a row look unfamiliar (3 consecutive batches below 85% of the world's frozen usual familiarity, or batches with only never-seen labels), it forks a new page, and only the current page learns, so old pages can't be overwritten. Each image is compressed by a fixed random projection to 256 numbers; per class, each page stores 128 landmarks (online k-means) and a chart in pixel space = the class mean plus its top 16 principal directions (incremental PCA, one streaming pass). To classify, each chart bends from its mean along its 16 directions toward the input; the leftover squared distance is what the chart cannot explain; the class score combines the smallest unexplained distance among its charts with its closest landmark similarity across ALL pages (no routing to a world first). The two vote weights are the only numbers learned by gradient descent (self-calibrated from inverse spreads). Results in the Mammoth continual-learning library (one pass, no task labels, 5 seeds): 96.7% after 20 tasks of Permuted MNIST vs 45% for a sequentially trained MLP; beats DER++ with a 5,120-image buffer on 5 of 6 benchmarks (exception: Rotated MNIST 94.2 vs 94.5), e.g. 96.7 vs 92.3 on Permuted MNIST; also beats the joint-trained MLP reference on 5 of 6. A landmark-only lookup-table ablation with 2x memory matches 3/6 tasks but collapses on Split CIFAR-10 (17.0 vs 41.5) -- the charts do the work. Costs: 9.2M stored floats on permuted tasks vs DER++'s 4.2M; a leaner shared-charts variant matches on permuted tasks at 2.4M but loses on Split CIFAR-100. On natural images it only partly works: with frozen unsupervised patch features it reaches 41.5% on Split CIFAR-10 but stays weak on Split CIFAR-100 (14.4% vs 37.5% DER++); streaming LDA beats it above 2M floats. Caveats: rotated nearby angles merge into one page; Permuted KMNIST is the one benchmark where the lookup table stays ahead; memory grows with the number of worlds. Partly old lineage: subspace classifiers back to CLAFIC (1960s), Hinton/Dayan/Revow's 1997 wake-sleep charts; new is the automatic forking rule bolted onto modern continual-learning benchmarks.
- Post
Predictive Data Debugging: Reveal and Shape What Your Model Learns, Before You Train
Goodfire research post accompanying arXiv 2606.12360 (Anatomy of Post-Training…; submitted 2026-06-10). Passes preference data (e.g. Dolci ~260k pairs, Tulu 3) through SAE-interpreted models to surface concept-level learning signals before DPO. Reports R²≈0.9 correlation between predicted and observed concept changes. Case studies: safety-guardrail erosion, hallucinated links, physics sycophancy, unexpected fanfic clusters; goblin-mode poisoning validation. Interventions include data filtering, reward shaping, activation steering, inoculation prompting. Methods shipping in Silico (early access).