BerryBrain /

Guides / An action changes the prediction problem

World model notebook

An action changes the prediction problem

Concept notebook

A passive sequence asks what happens next. An interactive environment also asks what could happen under different actions. Keeping these questions separate helps clarify what a model is intended to represent.

Specify the action space and the transition rules. In a grid, moving into a wall may leave the position unchanged; in another environment the same attempted action could have a cost or a different consequence.

Compare predicted transitions with observed transitions rather than only judging whether an imagined sequence looks plausible. Small errors can compound when predictions are used repeatedly.

The simulator uses exact, hand-written rules. A learned world model would need to estimate relevant dynamics from data, which introduces additional uncertainty.

Put the idea to work.

Move through a small deterministic grid and inspect the state transitions behind each action.

Tiny world simulator

Continue reading

Concept notebook

State is not the same as observation

An environment can contain information that an agent does not observe directly. A camera image, a sensor reading, or a text description is an observation of a situation, not necessarily a complete state.

Read the guide
Concept notebook

An action changes the prediction problem

A passive sequence asks what happens next. An interactive environment also asks what could happen under different actions. Keeping these questions separate helps clarify what a model is intended to represent.

Read the guide