self-play rl

notes. source: deepmind, alphazero ↗

the question

how do you get past human level when there are no demos to copy?

imitation tops out at the teacher. copy the best human, you get the best human, minus a bit. self-play drops the teacher. the model plays itself, and the only limit is the rules of the game.

the loop

model
vs
copy of itself
→
play a game
→
win / losethe only signal
→
update
→
stronger model
↺
no human datastarts from random moves. learns everything from the rules.
auto curriculumthe opponent is always exactly your level. never too easy, never hopeless.
finds new stuffplays moves no human would. alphago's move 37 looked like a mistake. it won.

how it got here

hover the dots. the big jump is 2017: alphago zero dropped human games completely and beat the version that learned from humans, 100 to 0.

why it works in games

needschess / godrivingrobot hands
a perfect simulatoryes, the rulesclose, sim-to-real gaphard, contact physics
a clear rewardwin / lose"drove well" is fuzzysometimes
millions of triescheaponly in simonly in sim
an opponentyesother driversmostly just physics

games check every box. the real world checks almost none. that's why self-play crushed games years before it touched robots.

where it shows up now

driving in sim
  • fill a simulator with copies of the policy as every car on the road. they learn to drive around each other.
  • apple's gigaflow (2025): ~1.6 billion km of self-play, no human driving data, strong on three driving benchmarks.
  • driving has the one thing robot hands don't: other agents. that's what makes it self-play.
llm reasoning
  • math and code have a checker, like chess has rules. the answer is right or it isn't.
  • so you can let a model try millions of times and reward what works. rl with verifiable rewards.
  • a big part of why reasoning models got good. alphazero's idea, moved to text.

the missing piece: the simulator

alphazerogiven the rules
→
muzerolearns the rules itself
→
world modellearns physics from video
→
self-play inside it

self-play needs a world to play in. for games, someone wrote it. for robots, nobody can. so the bet is to learn the world (a world model, or a frontier llm building digital twins like argon) and then self-play inside that. the sim is the bottleneck, not the algorithm.

links back: foundation model · robotics system design (the data loop)

open questions

← back