All lessons in World Models: Learn, Generate, Plan, and Evaluate
Constrain Predictions and Define Fallbacks
Test model-based constraints and recognize their limits under model error.
40 minutes · Members lesson · preview
What you will learn
- Distinguish a model-predicted constraint from an environment guarantee.
- Define observable fallback behavior when all candidates are rejected.
- Evaluate constraints using actual violation and fallback counts.
The cart should remain between positions -3 and 3. You can penalize excursions in cost, reject predicted excursions, or combine both. These choices have different meanings. A soft penalty can be traded against other objectives; a rejection rule can leave the planner with no candidate.
Design the no-candidate behavior before adding the constraint. Otherwise the most difficult situations become undefined precisely when the controller needs a clear response.