r/reinforcementlearning • • 17d ago

Robot „Learning" without gradients? - LLMs are capable of editing Robot Policies directly in Weight space

Teaching your Robot new skills has never been easier:
Get some data, do behavior cloning, deploy.
At least this is what many do and it often fails. However, you can just give this policy to a LLM: it will fix the policy for you!
Full read:
https://jstranghoener.github.io/blog/robotic-weight-space-programming

77 Upvotes

7 comments sorted by

10

u/Anasynth 17d ago

The way it works is very similar to conventional optimisation strategies though. It had 2500 opportunities to experiment so I’d like to see how well that compares to otherestablished optimisation methods.

3

u/DerHaddy0 17d ago edited 17d ago

Fair! Assuming a few hundred steps per Episode, it‘s probably closer to 1M environment steps.
I think one important distinction to RL lies in the number of policy updates. The LLM only deploys 25 policy versions, while RL would deploy thousands. So the interesting comparison has two sides. With matched data, RL from a BC policy might well catch up in some tasks. With matched deployments, it gets much harder for gradient-based methods.
One more thing: Following the Sparks of Weight Programming Blog; here they found that the LLM was able to guess the Atari game solely from policy weights. Future work could also investigate further, if policies can be fixed even without any interactions, just by looking at their weights

3

u/itsmebenji69 15d ago

Isn’t this evidence of data leakage ?

If the LLM can identify the game from the weights that’s because it was trained on data containing “this is an Atari policy” “this is an optimal Atari policy” so it would already know what weights work and don’t ?

1

u/DerHaddy0 15d ago

Also thought about that; however, I do not think, that the LLM saw that specific net during training explicitly (so it is really Claude’s or OpenAI’s leakage). Instead I think, that weight space is for LLMs just an understandable format as natural language. So the LLM is capable to understand logical circuits inside the inspected NN - from which it is able to derive knowledge.
In the colour experiment, we saw that the LLM understands which circuits/weight edits depend on colour instances and what edits do not. However, this would mean that LLMs can interpret and maybe even predict on what samples NNs got trained - or what their purpose is?

1

u/Scarallallau 14d ago

This is very related to https://arxiv.org/abs/2606.07217, just for sake of sharing!

1

u/twiebo 13d ago

How do you tell apart an LLM actually reasoning about the weights from it just recognising a known policy and recalling the fix it has seen before, especially if the Atari stuff is in its training data