r/MachineLearning • u/jnbrymn • 23d ago
News AI can read neural network weights. I wasn't ready for that. [D]
Give a model a 17,253-parameter net as plain tokenized text and it works out the net plays Pac-Man. Astra, Opus 5.5 and Muse Spark 1.3 all got it, and Astra did it with minimal reasoning.
Nobody writes essays about what specific weights do, so where does this skill come from? Either labs trained it in, or models generalize much further than I expected. I'm leaning toward the second and it's freaking me out a little.
https://arcturus-labs.com/blog/2026/11/03/ai-can-read-neural-network-weights-i-wasnt-ready-for-that/
0
Upvotes
6
u/Beor_The_Old 23d ago
Probably just generalization and training on ML and AI papers. I studied visual NNs compared to human visual learning for my dissertation and I think it’s reasonable to be able to figure out the general structure of the first few layers when they’ve been trained on a specific visual scene like a maze vs something like pong which would focus on the edges for example. It be more impressive if for example it could tell the difference between Pac-Man and Pac-Man 2, but even then if you were given images of the two games and say a heat map of the first layer weights overlaid on top of it, a human could probably tell the difference based on something like the position of the score or some other information being in different locations between the two games. Since LLMs are great at processing that format of information it’s sorta as if they are already reasoning about that kind of visualization instead of how we would think of a human just looking at a bunch of numbers.
4
u/Remote-Telephone-682 23d ago
I have to imagine that this was used as a training objective at the time and that they just didn't publish this. It seems highly unlikely to me that this would be purely emergent and is much more likely to have been an area that they studied during training when searching for an in with recursive self improvement
4
u/IntelArtiGen 23d ago edited 23d ago
For probably more than a year LLMs have been automatically trained to process data. I assume when they receive an input like that they try to see the shape of the input / output and that's probably enough to guess what a model is used for. Here there are even way more information in the prompt https://raw.githubusercontent.com/RikiyaT/lm_understand-logs/refs/heads/main/exp1_which_game/runs/pacman/prompt.txt :
So there's grid, there is a player, there are other moving entities, there are reward targets, there are walls. The player can only move ZQSD. It's safe to assume it's Pacman without even reading the weights.
I extremely doubt this experiment is showing the model "understands" the weights / numerical values he gave. If you really want to prove that you train 3 identical networks on 3 different games, ensuring all weights are used efficiently, and you only give the weights without context on the game, and see if the model can guess the game from there. I assume it still would be possible but it would be 1000x more difficult because the model would need to bruteforce input with autogenerated tools and look at the output to try to guess what it's about.
6
u/yannbouteiller Researcher 23d ago
A blog post about a blog post whose title is so misleading it could have come from OpenAI's marketing department.
2
u/JanBitesTheDust 23d ago
So we are using a transformer to edit weights. Isn’t this sort of a really inefficient second order method? I wonder if there is a relation between say calculating the full hessian which scales quadratically with the weights and a transformer which has the same quadratic scaling complexity because of the attention blocks. I feel like there is something to explore here
1
u/abstractcontrol 23d ago
Amazing, I am actually glad I visited Reddit for once. Thanks for posting this article.
1
u/romano_filippo8429 17d ago
The black box can read other black boxes now. That's a sentence I was happier not understanding.