Stochasticity and Uncertainty › Uncertainty Propagation Through Rollouts
World Models HandbookAll chapters Stochasticity and Uncertainty › Uncertainty Propagation Through RolloutsOne section · Sections in this chapter7 / 11 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
A one-step predictive distribution is a local quantity. Planning and evaluation often need distributions over -step futures. For complex nonlinear, non-Gaussian models, evaluating the required integrals is usually computationally intractable, so practical methods use approximations. Exact propagation remains possible in linear-Gaussian, finite-state, conjugate, and other special systems.
When one unknown dynamics parameter persists across the rollout, the Bayesian -step predictive distribution integrates that shared parameter outside the trajectory integral. The displayed formula assumes continuous-state densities:
For discrete states, replace the intermediate-state integrals with sums; more generally, interpret the composition as integration of transition kernels against the appropriate state-space measure. where:
- : the rollout horizon, the number of transition steps being composed
- : the action sequence applied at steps through
- : one dynamics parameter shared across all transitions in a sampled model
- : the conditional transition under that fixed parameter
- : integration over every intermediate state along the trajectory; only through are integrated out, since is given and is the quantity of interest
- : the posterior over the persistent dynamics parameter, integrated once after the full trajectory likelihood is formed
Read the formula as a process: draw one plausible from its posterior, hold it fixed, sample the state transitions, and then average over both intermediate states and plausible parameters. Redrawing independently at every step would define a different model and would remove cross-time dependence induced by the shared parameter. For nonlinear transitions, later distributions can depend on higher-order or multimodal structure, so early shape errors can propagate or amplify; affine-Gaussian or strongly mixing transitions are important counterexamples.
Outside tractable special cases, three common strategies occupy different accuracy-cost tradeoffs:
- Moment matching: propagate only means and covariances, approximating each transition as Gaussian. For a symmetric two-branch mixture, the matched Gaussian has its mode at the low-density middle while preserving a large variance. Later dynamics can propagate, amplify, or erase that approximation error; they do not necessarily inherit it unchanged.
- Particle methods and sampling: represent the future distribution with simulated trajectories that draw transition noise and, when applicable, ensemble members. Sampling can preserve multimodality but may miss modes with too few particles. Under a fixed particle budget, mode-miss risk can worsen when the effective support, branch count, rare-mode probabilities, proposal mismatch, or weight degeneracy worsens with dimension or horizon. Filtering and forward prediction both marginalize trajectories, but they are not the same integral run in reverse.
- Deterministic member propagation: roll each ensemble member forward without within-member noise. The resulting bundle approximates between-model disagreement, not total predictive spread. PETS instead combines probabilistic ensemble members with trajectory sampling.
Uncertainty can compound when recursive prediction enters locally expanding or unstable dynamics. Each state error then perturbs the next input and can be amplified. Contractive dynamics can instead damp errors, and stable stochastic systems may approach a bounded stationary spread. The worked examples below deliberately use settings in which spread grows; they demonstrate a mechanism, not a universal horizon law.
Before the worked example, we can illustrate the mechanism in isolation with a simple linear system whose one-step noise is constant. The figure below shows percentile bands of sampled rollouts: the band is narrow at step one and widens steadily with horizon, even though nothing changes about the per-step noise.
import matplotlib.pyplot as plt
import numpy as np
## Deterministic Monte Carlo rollout of s_{h+1} = 1.15 * s_h + noise, noise std 0.05.
## Seed fixed; 2000 particles; horizon 30; initial state 0.0.
## Percentile rule: 5th, 25th, 50th, 75th, 95th percentiles per step.
rng_roll = np.random.default_rng(21)
n_particles, horizon_roll = 2000, 30
s_particles = np.zeros(n_particles)
band = np.zeros((horizon_roll + 1, 5))
band[0] = np.percentile(s_particles, [5, 25, 50, 75, 95])
for h in range(1, horizon_roll + 1):
s_particles = 1.15 * s_particles + 0.05 * rng_roll.standard_normal(
n_particles
)
band[h] = np.percentile(s_particles, [5, 25, 50, 75, 95])
steps_roll = np.arange(horizon_roll + 1)
Uncertainty that compounds is not only a problem to mitigate. Several model-based reinforcement-learning methods make planners consume predictive uncertainty:
- Risk-sensitive objectives optimize a risk functional, such as expected utility, an entropic risk, a variance penalty, or a tail statistic. Chance constraints instead bound an estimated failure probability. Their guarantees depend on the predictive distribution, estimator, and optimizer.
- Disagreement penalties discourage candidate plans on which ensemble members disagree. Disagreement is a proxy for model risk, so this heuristic must be validated rather than treated as a trust certificate.
- Trajectory sampling for planning, as in PETS, rolls candidate action sequences through sampled probabilistic dynamics. Sampling represents both uncertainty sources, but robustness also depends on the objective, particle count, model fidelity, and optimization.
Why use a risk functional or chance constraint rather than expectation alone? Two candidate return distributions can have the same expected value while assigning very different probability to a failure tail. An optimizer that sees only expected return treats them as tied; a tail-sensitive objective or explicit failure-probability constraint can distinguish them, provided the predictive distribution and estimator are adequate.
For decisions that depend on branch identity, tails, or constraint violations, held-out one-step mean error is incomplete. A useful world model must represent the aspects of future uncertainty that affect the downstream objective and must be evaluated under that use.