← Fri, Nov 20 digest

Weight-Space Programming builds neural networks like a 1990s researcher

read article ↗ hn thread ↗

Weight-space programming experiments reveal that LLMs build neural networks not through emergent deep learning, but by systematically implementing 1990s classical algorithms and hand-crafted features.

read it Offers a fascinating, hands-on deconstruction of weight-space programming with concrete examples from MNIST and Go experiments.

summary

The author tests weight-space programming by having Claude construct an MNIST image classifier purely through weight manipulation over fifty feedback steps. Across these iterations, the model systematically builds a classical 1990s computer vision pipeline using hand-drawn templates, line detectors, and naive Bayes log-odds scoring. An analysis of a previously highlighted LLM-built Go network reveals a parallel approach of compiling classical rule-based heuristics into neural weights. These findings suggest that LLMs succeed at weight-space programming by chaining human domain knowledge rather than discovering novel neural representations.

key points

  1. Claude built an MNIST image classifier from scratch by writing weights over 50 iterative feedback steps, achieving around 91% accuracy without standard gradient descent.
  2. The resulting network relied on classical 1990s computer vision techniques like Sobel-style line detectors, corner filters, and naive Bayes log-odds scoring.
  3. A review of a previously built Go network revealed a similar reliance on compiled classical heuristics like liberty counting and eye-avoidance rules.

who should read it

Machine learning engineers and researchers interested in the limits of LLM code generation, neural network initialization, and classical computer vision.

discussion warm

consensus

Commenters are fascinated by how WSP demystifies LLM weight manipulation, noting it relies on structured human domain knowledge rather than magical emergence. This sparks a broader debate about whether raw compute scaling trumps engineered features and invariants.

best comment by program_whiz ↗

Or maybe the bitter lesson is a flawed over simplification. Computer vision is only possible because we used intuition about significant features in vision to make it tractable for GPUs with custom designed kernels. Tossing a generic model with more compute is pointless, it's the invariants and assumptions that make the models effective.

Same for sequence modeling with attention, highly generic RNNs which can in theory model any sequence are just incapable, regardless of compute thrown at it. And a ton of engineered features like tokens are required to make LLMs work (just using the pure …

It argues that engineered features and domain knowledge are essential, pushing back against the absolute interpretation of the bitter lesson.

Generated by an LLM from the article and thread. Check the sources before relying on it.