Beta

Sync to cloud

Uses your current signed-in YoolVi account. A Learn profile is not required.

Upload a snapshot of this browser’s saved lesson work across all subjects, including notes, experiments, journal and review history. Existing guest work is included only when you confirm below. This does not upload account credentials or award XP.

Sync uploads to your private account; it does not automatically merge or replace this device’s work. On another device, download the cloud copy and use My Learning’s backup import. The previous cloud snapshot is retained when a new one replaces it.

Export or import this device’s work

No background uploads. Edits made after a snapshot need another sync. On shared devices, work is bound to the first account observed by cloud sync; another account must use a separate browser profile. Keep your own downloaded backup too.

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Back to Rollouts and planning

Shared AI lesson · Rollouts and planning

Understand planner combinations

Planner combinationsFixed teaching example — not your saved experiment.
  1. Starting information

    A fast proposal and an exact check

  2. Relationship or operation

    Include proposal, refinement and verification work

  3. Consequence

    Accept only a checked route within budget

Combining planners can change total cost. Count refinement and checks rather than comparing only visible planning steps.

The idea in everyday terms

Search explores alternatives. A world model predicts consequences. Repeated refinement changes an internal estimate. A planning system may combine these mechanisms, but each adds work and can introduce errors.

What to watch in the experiment

Compare versions that include or remove a component while keeping the task and total work limit fixed. Count what each method actually uses. If a component improves a route only because it gets more computation, that is a different claim from a more efficient method.

What this does not establish

A better result on a few supplied layouts is bounded development evidence. A more elaborate architecture is not automatically more capable, and approximate-model failure is not exact impossibility.

Full worked explanation, calculations and control definitions

Use this reference for the detailed mechanism and control meanings. Derivations explicitly marked optional are enrichment.

Three operations, three roles

Recurrence refines an internal state. Search explores explicit alternatives. A world model predicts what actions will do. A system can combine them, but they are not interchangeable ways of obtaining intelligence.

For a deterministic puzzle with known rules, a practical design can use exact transitions while neural policy and value estimates guide which alternatives to explore. For unfamiliar physical dynamics, a learned model may support planning. A recurrent core might refine those estimates before the policy or value heads read them—but its contribution must be measured.

The world-model lesson isolates prediction error and corrective observations. This lesson holds transitions exact so that the comparison isolates refinement, its input representation, and its cost. Our refinement rule is programmed. We have not trained a recurrent neural core here.

Search can provide training targets

A policy network can propose move probabilities and a value network can estimate outcomes at search leaves. Search can improve on the initial proposal by exploring alternatives. Its improved action distribution and resulting outcomes can then become targets for later policy/value training.

That cycle connects search to learning, but it still requires meaningful search, reliable feedback, and evaluation of the updated network. A larger search does not automatically produce better targets, and targets generated from an inaccurate world model can inherit its mistakes. This lab compares inference procedures; running the comparison does not update network weights.

Test one component at a time

An ablation removes or changes a component to investigate its contribution. Our zero-pass setting removes refinement while keeping the combined search code. Search-only and zero-pass results should therefore agree. Discarding walls changes the refinement representation while leaving the exact transition simulator in search intact.

The combined method prioritizes frontier states using path cost so far plus a distance estimate. Unknown distance estimates contribute zero, so they do not pretend to supply a useful prediction. A partial refinement can be too costly for the help it provides. Counting its queries before search starts exposes that tradeoff.

The budget covers planning transition queries. Bookkeeping, sorting, and final verification are outside that counter. Equal query allowances are a controlled comparison of one resource, not proof of equal latency, energy, memory, or total computation. A deployment study should measure those separately.

A stronger evaluation than one solved map

The comparison includes two layouts absent from the earlier puzzle selector. These let you check whether the same procedure works under changed obstacles and starting positions. Repeatedly tuning against these fixed layouts makes them familiar; it does not create an untouched test set.

Record verified solve rate, moves, planning cost, and stopping reason. Distinguish a loop, an exhausted finite search, and a budget cutoff. Compare a simple direct rule, search only, and the combined method under the same conditions. A component can help some inputs and hurt others.

A controller could choose direct action for simple states and spend more work on uncertain ones. That decision also needs evaluation: uncertainty estimates can be wrong, and controller overhead costs resources. We return to learned routing in a later module.

Design the source’s Sokoban ablation

Sokoban involves pushing boxes to targets. A policy might learn to avoid pushing a box into a non-goal corner, while exact rules handle legal moves and search verifies a solution. A recurrent representation might try to refine estimates of trapped boxes. Those are proposed roles, not proof that every component is beneficial.

One controlled study design

Reserve puzzle layouts before training. Compare a direct policy, policy-guided exact search, and the same search with recurrent refinement. Keep observations, training data, action limits, and evaluation rules consistent. Count both refinement and search work within the allowance.

Separately remove recurrence, replace learned estimates with a simple baseline, and compare the proposed encoding with a version that preserves box and wall relationships. Report solve rate, invalid moves, deadlocks, and cost, including failures. Test selected combinations because components can interact. Use exact move replay and goal checks; do not infer a gain from a single attractive trajectory.