All lessons in World Models: Learn, Generate, Plan, and Evaluate

Build State from a Sequence

Use finite history and align actions without leaking future observations.

35 minutes · Members lesson · preview

What you will learn

  • Estimate motion from a time-aligned observation history.
  • Explain how observation noise and sample interval affect a finite difference.
  • Prevent future observations and episode resets from leaking into sequence state.

The cart's velocity is hidden, but you have two position measurements and their timestamps. You can estimate motion from the displacement. This is a useful first state estimator because every piece of information is visible and its failure modes are calculable.

A recurrent network can later replace the hand-built estimator, but it still needs the same temporal contract: which observations and actions were available before the current decision?

Choose another lesson