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 World Models and Predictive Planning

World Models and Predictive Planning · Lesson 3 of 3 in this module

Understand model usefulness

Model usefulnessFixed teaching example — not your saved experiment.
  1. Starting information

    Better prediction score; unchanged task success

  2. Relationship or operation

    Count collection, training and planning work

  3. Consequence

    Prediction gains may not justify the model

A world model helps action only if the complete decision process improves under the stated cost and success criteria.

A prediction needs a purpose

A model can predict the next position accurately yet fail to help a controller reach its goal. The lab keeps one-step error, long-rollout error and actual control outcomes separate. Compare against fixed-gain feedback rather than assuming model-based planning is automatically useful.

Freeze before comparing

Choose training coverage and planner horizon on development cases. Freeze the recipe, then inspect nominal dynamics and changed mass and drag. The model stays fixed; the external simulator executes every action independently. A predicted success cannot change a failed physical trace into success.

Keep the original evidence

Opening reserved outcomes exposes them. Tuning after that is practice on known cases, not a fresh independent test. The temporary lesson remembers exposure only during this visit; the saved project preserves known exposure and the first reserved recipe across reload and import. All cases are public in client-side source.

Explain the decision

Inspect failures, task thresholds and planning-call counts as well as cost. A larger horizon can spend more without meeting the goal. The project asks for a supported choice, separate transfer answers and optional implementation evidence.

Full worked explanation, calculations and control definitions

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

Give the model a job

A useful world model should improve a declared task compared with a relevant alternative. Predicting the next position, preserving a long trajectory and reaching a target are related but distinct. The lab reports them separately instead of combining them into a reassuring single score.

The model fits only the original 96 training transitions. Freeze the collection coverage and planner horizon before comparing outcomes. A later control edit does not relabel an existing result. The fitted affine model and planner receive observed current state, not future simulator states.

Three protocols, three meanings

One-step position error compares a prediction from the true current input with the next independently computed position. Mean absolute error has units of metres. A twelve-step free rollout receives only its initial state and the declared +1/−1 N action schedule; final position discrepancy measures accumulated prediction error.

Control runs twenty exact simulator intervals. Receding-horizon beam search proposes an action using its fitted model; the external evaluator executes that action. A fixed-gain feedback controller supplies a serious comparator. The task succeeds only after all twenty intervals with absolute position below 0.2 m and absolute speed below 0.3 m/s. Low cost, a plausible prediction or an unfinished trace never substitutes for that success rule.

The cost uses squared position, 0.1 times squared speed and a small normalized force penalty. It expresses the stated objective, not physical safety. Model-call totals expose additional planning work. A larger horizon can improve cost while still failing the task threshold or spending substantially more computation.

Change the world without changing the evaluator

Two starts each run nominal and changed dynamics. Nominal mass is 1 kg with linear drag 0.2; changed mass is 1.4 kg with linear drag 0.35. Both retain quadratic drag 0.6 and the same velocity-first interval rule. The model is not refitted on changed outcomes.

The independent evaluator computes v′=v+0.1(u/m−dv−0.6v∣v∣)v'=v+0.1(u/m-dv-0.6v|v|) and x′=x+0.1v′x'=x+0.1v'. Here m is mass and d is linear drag; primes denote the next interval. For example, heavier mass changes how much a fixed force changes speed. The planner’s internal prediction cannot alter this external contract.

Freeze, expose and report honestly

Use development comparisons to choose a recipe. Opening reserved starts supplies a separate comparison, but once viewed they are exposed. Public client-side source is inspectable; reserved is a protocol distinction, not secrecy protection. The temporary lesson remembers exposure only during this visit. The saved project retains known exposure and the first reserved recipe through reload and import.

Keep every failed case and distinguish a report with complete fields from independently assessed reasoning. The cumulative project adds separate numerical transfer cases and an implementation bridge. A supported decision to reject model-based planning is a valid conclusion when the baseline is preferable under the declared conditions.