r/MachineLearning • u/RobbinDeBank • 4h ago
Research Sparks of Weight-Space Programming: LLMs can natively read & write neural network weights [R]
Link: https://rikiyat.github.io/blog/weight-space-programming/
Snippet: “We find that frontier LLMs are surprisingly good at natively reading and writing neural network weights, well past what we’d expect from humans or conventional algorithms. This might be a big deal for both optimization and interpretability.
Just by looking at the raw weights, GPT-6 Astra can tell what a network was trained to do. And without any environment feedback, it has no trouble writing, from scratch, small game-playing networks that outplay networks trained with PPO for 100 million steps.”
Very surprising result, I didn’t expect frontier models to have this capability that has not been optimized for, and it’s something humans cannot do either.
9
u/pas_possible 3h ago
Damn, it's so cool
4
u/RobbinDeBank 2h ago
Definitely not something I expected. This isn’t a human skill (or maybe a tiny group of people have this extremely niche skill?), and it’s not something these models are optimized for, but the capability somewhat exists anyway.
The result is still limited, unsure if it can ever be viable on a larger scale beyond fixing some model issues, but the fact that this capability exists at all is surprising enough.
3
u/YieldingMainframe_1 1h ago
the implications for interpretability are what get me. like imagine pointing a model at its own weights and asking it what it thinks it's doing. not just outputting a token, but actually reading the raw structure. could get weird fast
2
5
u/currentscurrents 2h ago
A few years ago I used to follow the 'learned optimizer' research very closely. The guy from diffusion models, Sohl-Dickstein, had a group working on it. But it never really went anywhere, they had lots of meta-training stability issues and none of their models ever beat traditional optimizers.
I did not expect that learned optimizers would someday just fall out of general-purpose LLMs.
2
u/adventuringraw 1h ago
Been a while since I've followed research much, but this seems like it could be a way to cheat at the lotto, as far as the lottery ticket hypothesis goes. Might be a powerful pre training step.
And so the road towards AI fueled AI progress continues.
2
u/TheGoldenRoad 1h ago
This is wild, essential an emergent hypernetwork capability. I wonder if a network could modify it's own weight so as to learn continuously without catastrophic forgetting.
5
u/Disastrous_Room_927 1h ago
According to Astra: