How can an AI agent solve a new task without long training? A language model can manually set the internal parameters, or weights, of a small network. This is weight-space programming.
Researchers tested this by giving models the rules for twenty unseen games and asking them to set network weights to play. The same models wrote Python programs for the same games.
The weight-set networks succeeded over half the time, but the programs were nearly perfect. The networks broke completely after a single fine-tuning step. Writing a program is a more effective and robust way to encode known rules into a compact agent.
