Claude Fable 5.2 hand-writes neural network weights and rebuilds a 1990s vision pipeline
Weight-Space Programming builds neural networks like a 1990s researcher

Weight-Space Programming has frontier LLMs write a network's weights directly, with no gradient descent. The author gives Claude Fable 5.2 a fixed CNN and asks it to set all 5,994 MNIST weights by hand, allowing only formulas and strokes. Across three runs it rediscovers template matching, naive-Bayes log-odds scoring, and hand-built loop and corner detectors, then rebuilds its classifier from its own measurements, reaching about 91% test accuracy, close to Adam after 50 gradient steps.
Claude starts like a 1990s computer vision engineer. Its first layer is a set of line detectors at four angles, written from formulas.
- noduerme
I love the idea, somehow, that these systems had to be built with domain knowledge integrated into the choices of layers and the order of algorithms, using rather brilliant discoveries for optimizing lines and edges, or whatever was relevant to the problem. That's an order of specificity that's lacking from our modern reliance on "one shot" solutions. Letting a one shot solver grind its brains against creating a custom solution to a specific set of transformations is kind if a closing of the circle when it comes to performance and resources for a certain task.
I'm looking forward to the day we can have an optical device that runs only on light input, that looks like a piece of quartz, that you can place over a handwritten number (0-9) and on the top it displays the number in a clean font. Where the neural network to handle this can be translated into physical transformations once it's discovered, no inference processing power required.
- agnosticmantis
Thanks for putting this together. Very nicely demystifies the weight-space programming phenomenon which I otherwise found quite magical and mysterious.
It's not that the models magically "intuit" meaning from a blob of weights, but they methodically iterate on setting the weights with reasoning similar to a human engineer's reasoning.
- robrenaud
Would PPO learn quickly from the hand engineered solution? Is PPO getting a terrible init?
It's interesting to see how tolerant of tedium the models are.