-
Mission · Sonu, 10
Learning in Imagination: Policy & Value
Let the agent practise thousands of times in its head, and only occasionally in the real world.
5 idea cards, 3 questions and a recap. About 6 minutes. One idea per card, so read one, then look away and say it back.
Arrow keys or swipe to move.
-
Idea 1 of 5
Think about a basketball player the night before a big game. She lies in bed with her eyes closed. She pictures the ball leaving her hands. She sees it hit the front of the rim and bounce out.
So in her head she pushes a little harder. This time it drops in.
-
Idea 2 of 5
Keep in your head Think about a basketball player the night before a big game.
Athletes really do practise like this. It helps them. They still go to the real court. The real court tells them where their pictures were wrong.
Some computers learn the same way. First they build a picture of how their world works. Then they practise inside that picture thousands of times.
Try this Close the screen. Tell someone at home what this card says, in your own words.
-
Idea 3 of 5
Keep in your head Athletes really do practise like this.
They learn two things from all that practice. One is a habit, what to do next. The other is a feeling for how good things look from here.
A player at the free-throw line with a big lead feels calm. A player who is behind with two seconds left feels the pressure. The computer learns that feeling too, as a number.
-
Idea 4 of 5
Keep in your head They learn two things from all that practice.
Then the computer tries its habit for real. Real life shows where its pictures were wrong. It fixes its pictures and goes back to practising in its head.
The trap is the same one the player faces. If her picture of the ball is wrong, she practises the wrong shot all night. So the computer cannot only dream. It has to keep going back to the real court.
Try this Draw this card as one small picture. Use three lines or fewer.
-
Idea 5 of 5
Keep in your head Then the computer tries its habit for real.
Try this at home. Put a box across the room as a target. Throw a soft ball five times and count the hits.
Now close your eyes and picture ten good throws. Then throw five more. Did the picturing help, or did you need the real throws?
-
Words to keep
Try this Cover the list. Say each word and what it means, then check.
-
Quick check 1 of 3
-
Quick check 2 of 3
-
Quick check 3 of 3
-
Recap
What you just learned
- Think about a basketball player the night before a big game.
- Athletes really do practise like this.
- They learn two things from all that practice.
- Then the computer tries its habit for real.
- Try this at home.
-
Mission · Senior AI Architect
Learning in Imagination: Policy & Value
Let the agent practise thousands of times in its head, and only occasionally in the real world.
6 idea cards, 3 questions and a recap. About 7 minutes. One idea per card, so read one, then look away and say it back.
Arrow keys or swipe to move.
-
Idea 1 of 6
Dreamer (Hafner et al., 2019) trains an actor and a critic inside its latent model. Every training trajectory is imagined. Imagination starts from real states drawn from the replay data. The paper uses a 15-step horizon and tests horizons up to 40.
The actor is a policy π(a | s). The critic is a value V(s). The critic regresses toward λ-returns. These blend a few imagined rewards with bootstrapped values beyond them.
-
Idea 2 of 6
Keep in your head Dreamer (Hafner et al., 2019) trains an actor and a critic inside its latent model.
The value carries the agent past the end of its imagination. That keeps targets stable even when imagination is poor far ahead. Dreamer's own ablation shows it. The value model makes results much less sensitive to horizon length.
Gradients can flow back through the learned dynamics for continuous control. Discrete actions use REINFORCE-style estimators instead. DreamerV2 and DreamerV3 extended the same recipe to Atari and many other domains.
Try this Look away and say this card back in one sentence.
-
Idea 3 of 6
Keep in your head The value carries the agent past the end of its imagination.
The results were strong for the time. On 20 visual control tasks, Dreamer averaged 823 after 5 million environment steps. PlaNet scored 332. The model-free D4PG reached 786 after 100 million steps.
The idea is older than Dreamer. Ha and Schmidhuber (2018) trained a controller entirely inside the dream of their world model. They then moved it back to the real game.
-
Idea 4 of 6
Keep in your head The results were strong for the time.
MuZero (Schrittwieser et al., 2019) takes a different cut. Its model never reconstructs observations. It predicts reward, value and policy at each step. That model plugs into Monte Carlo tree search at decision time.
MuZero matched AlphaZero on Go, chess and shogi without being given the rules. It also set a new state of the art on 57 Atari games.
Try this Name one system you have shipped where this would break first.
-
Idea 5 of 6
Keep in your head MuZero (Schrittwieser et al., 2019) takes a different cut.
The lesson across both lines is practical. A world model has to be accurate on the quantities the decision depends on. Faithful pixels are optional.
Take payment-plan offers in a bill-assistance program. A real trial takes a full billing cycle. A poor offer lands on a real household. A model of customer response lets a policy rehearse many offer sequences overnight.
-
Idea 6 of 6
Keep in your head The lesson across both lines is practical.
The critic learns which account states look recoverable. The actor learns which offer to make next. Neither one ever touches a real account during training.
The danger is the familiar one. The policy will find offers the model loves and customers ignore. A held-out set of real billing cycles is the only honest score. Keep those cycles out of every training run.
Measure on the same start states:
- Imagined return against real return. A widening gap means exploitation. - Critic error on real transitions, tracked over training. - How often the policy visits states that are rare in the replay data.
Try this Find "policy" on this card. Define it in one line without looking.
-
Words to keep
Try this Cover the list. Say each word and what it means, then check.
-
Quick check 1 of 3
-
Quick check 2 of 3
-
Quick check 3 of 3
-
Recap
What you just learned
- Dreamer (Hafner et al., 2019) trains an actor and a critic inside its latent model.
- The value carries the agent past the end of its imagination.
- The results were strong for the time.
- MuZero (Schrittwieser et al., 2019) takes a different cut.
- The lesson across both lines is practical.
- The critic learns which account states look recoverable.
-
Mission · My CIO
Learning in Imagination: Policy & Value
Let the agent practise thousands of times in its head, and only occasionally in the real world.
4 idea cards, 3 questions and a recap. About 5 minutes. One idea per card, so read one, then look away and say it back.
Arrow keys or swipe to move.
-
Idea 1 of 4
This is where world models pay for themselves. An agent that rehearses in its own model needs far fewer real trials. That matters wherever real trials are slow, costly or risky.
Utility work is full of such trials. A new outreach rule for bill assistance takes a billing cycle to show results. A new dispatch rule for crews waits for the next storm. Nobody wants to run a thousand of those to train an agent.
-
Idea 2 of 4
Keep in your head This is where world models pay for themselves.
Imagination changes that math. Compute is cheap next to a field trial. The agent can practise overnight on cases that would take years to collect for real. It can also rehearse rare cases that no pilot would ever see.
The caveat runs through this whole atlas. A policy trained in imagination will exploit the model's blind spots. It learns to please the model. On the cases the model gets wrong, it will be wrong with confidence.
Try this Find "policy" on this card. Define it in one line without looking.
-
Idea 3 of 4
Keep in your head Imagination changes that math.
The fix is a correction loop. Real outcomes flow back. The model is corrected and the policy retrains. That loop is the real cost of the program.
The loop needs data pipelines and a schedule. It also needs one person who owns it. Budget for it from the start. A program that funds the model and skips the loop has bought a confident guesser.
-
Idea 4 of 4
Keep in your head The fix is a correction loop.
The decision is whether the loop is funded and owned. I would recommend to see a named owner first. A monthly schedule should exist before any policy goes near a customer.
Ask the team one question. How often will real outcomes flow back to correct the model?
Try this Say what this card would cost you if a vendor got it wrong.
-
Words to keep
Try this Cover the list. Say each word and what it means, then check.
-
Quick check 1 of 3
-
Quick check 2 of 3
-
Quick check 3 of 3
-
Recap
What you just learned
- This is where world models pay for themselves.
- Imagination changes that math.
- The fix is a correction loop.
- The decision is whether the loop is funded and owned.