r/MachineLearning • • 25d 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.

204 Upvotes

56 comments sorted by

View all comments

3

u/-xXpurplypunkXx- 25d ago

Am I just like an idiot, isn't this what attention layers do? Like of course you can attention layer the smaller model into updated weights, it's what the architecture does natively? For the zero-shot aspect, this seems related, Harnessing the Universal Geometry of Embeddings

Very cool and creative and useful application of those properties of course.

1

u/Ambitious-Talk2190 20d ago

I see where you're coming from. Attention essentially customizes the weights of each layer according to the inputs. But, if you'll forgive the anthropomorphism, the attention function is a more 'subconscious' or automatic act, whereas what is being done here seems more 'conscious'.