Weight-programming an MNIST MLP with coding agents: near 90% from random init

RobertTLange · x · 2026-11-05

RobertTLange tried the 'weight programming' idea on OG MNIST: have Claude/Codex weight-program an MLP from random initialization. Findings: agents reach 90% test accuracy (vs. 82% nearest-class-mean baseline), with Opus 5.5 at 88.6%, Sonnet 5.5 at 85.5%, GPT-6 Astra at 84.9%, but Haiku 5.5 only 50.3%. Agents first imprint digit templates into activations, then move toward Gabor-like feature maps; implemented functions can change rapidly in semi-coordinated chunks. More data doesn't necessarily help — this 'learning' differs from backprop, likely lacking specificity. He calls it a kind of heuristic learning painting on a neural network canvas, and notes this differs from activation steering since agents start from random init.

Related event: AI Agents Directly Edit Neural Network Weights in MNIST Experiment(2 posts)→

Original post →

More from Models

Models channel →