Log inStart free
LESSON 21.19 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Meta-RL and rapid adaptation

Train a starting policy that one step can tune to a new task.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 21.19 · META-RL BAY10 TASKS · PRIZE ARMS 1, 3, 4 · NEW ARM 4
01
Stage 1 of 5 · Training tasks
Each column is a task with a prize behind one arm. These 10 tasks form the task distribution.
Explain it simply

Each column is one training task, and the filled square marks the prize arm. Pulling that arm earns 1, and every other arm earns 0. Here the prize sits behind arm 1 in 5 tasks, arm 3 in 3 and arm 4 in 2. The outlined column is a new task, with the prize behind arm 4.

A grid of 10 training tasks by 5 arms. The prize arms are 1, 3 and 4. The new task has its prize behind arm 4.

tasks, prize armspolicy chances, rewardsstep size, score changestuck at 0policy before the step
arm 1arm 2arm 3arm 4arm 510 training tasksnew12345678910the training tasksarm 1arm 2arm 3arm 4arm 510 training tasksnew12345678910the training tasks
Toy: a 5-armed bandit, 10 training tasks, exact gradient steps
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Jg(θ)=πθ(g)\sy{j}{out}{J_g(\theta)} = \sy{pi}{out}{\pi_\theta(\sy{g}{data}{g})}
n1=5, n3=3, n4=2n_1 = 5,\ n_3 = 3,\ n_4 = 2

The reward on task g is the chance of pulling arm g.

Common mix-ups

MYTHThe best start is the best policy on all tasks at once.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If the training tasks use all 5 arms, does the meta-learned start differ from fresh?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.