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

Options and semi-Markov decision processes

Watch hallway options plan across four rooms in a few long steps.


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 · 20.08 · RL BAYSTART 0 · GOAL 26 · 8 MOVES
01
Stage 1 of 5 · One move each
In an MDP, each decision is one move. The route from the start takes 8 moves.
Explain it simply

You see four rooms joined by four hallways. The agent starts in the top left corner. In a plain decision process, it picks one move at a time. The route to the goal takes 8 decisions, one for each move.

A grid of four rooms. A teal route goes from cell 0 to the goal in cell 26. It has 8 moves.

start set, movesoption policy, optionsgoal, subgoal, values
Gfour roomsone move per decision01245678910111213141516181920222628293032333435363738394041424344464748NWES→→↓→→→↓↓decisions, one per move8 decisions · 8 moves · V(0) = 0.48the goal is 8 moves away: γ⁷ = 0.48Gfour roomsone move per decision01245678910111213141516181920222628293032333435363738394041424344464748NWES→→↓→→→↓↓decisions, one per move8 decisions · 8 moves · V(0) = 0.48the goal is 8 moves away: γ⁷ = 0.48
Toy: a 7 × 7 grid of four rooms, 8 hallway options, γ = 0.9, no randomness
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
V∗(s0)=γ d−1\sy{v}{out}{V^*(s_0)} = \sy{g}{param}{\gamma}^{\,\sy{d}{data}{d}-1}
V∗(0)=0.97=0.48V^*(0) = 0.9^{7} = 0.48

Each move before the goal scales its reward by γ once.

Common mix-ups

MYTHOptions can replace the primitive moves.

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

Predict, then reveal
3 CHECKS · PRO
Q01With moves only and the goal on the east hallway, how many sweeps does the start cell need?

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.