Pages and contents
Pages
CL1 — Z
The Space
Encoding
Given an environment state , we encode it into dense features using some efficient attention or vision architecture, likely FMA or a variant thereof.
where is the perceptual encoder. For an image or video frame, may be represented as a collection of dense latent vectors
These vectors do not initially have any required semantic interpretation. In particular, we do not require A feature may instead represent some local visual pattern, region, texture, motion cue, object part, complete object, or more abstract property learned by the model. The purpose of is therefore to provide a rich perceptual representation that is
1. Useful for predicting future states (to the extent that sensory features at time t+1 depend on features at time t),
2. Accessible to the gamma space and the reasoning head ,
3. Useful for impulsive action selection.
Explicit segmentation mechanisms are deferred, but are likely to improve unsupervised concept discovery in the .
Predictive Prior
Although is obtained directly from perception, the agent should also learn to predict how its latent perceptual state will evolve. The assumption introduced by this loss term is that a useful encoding of perception preserves information necessary to understand temporal dynamics. Given the current latent state and action,
where is the latent dynamics model. represents the agent's prediction of the next latent state before observing . This can be recursively propagated to predict multiple steps into the future:
Thus represents what is currently perceived while represents what the agent expects to perceive in the future.
World Model Prediction Loss
We want to contain information that makes the future predictable. After observing the future environment
we compare the predicted latent state against the posterior representation produced from the actual observation. A simple JEPA-like objective is
Here measures the prediction error between the predicted future representation and the representation produced after actually observing the future. The stop-gradient prevents the prediction target from simply moving toward the prediction. The outer sum allows the model to learn predictions across multiple future horizons.
For the initial model, can preserve the spatial organization produced by the encoder so that predicts a future dense feature representation of the same general structure. If direct feature-to-feature prediction proves too restrictive because features move spatially through time, more sophisticated prediction, alignment, or grouping mechanisms can be introduced later.
This prediction loss term should propagate
World Model Regularization
To prevent representation collapse, we must include a loss term that regularizes the latent distribution. The VISReg loss is one that handles center, scale, and full projected distributional shape, beating performance of SIGReg and with greater flexibility.
Where represents the centered embedding of a replay buffer
sorts the projected values in each dimension, and represents the fixed quantiles of the standard Gaussian distribution. This has linear time complexity. The VISReg paper mentions that the default works well for high-quality datasets, but increasing the shape loss weight improves performance on low-quality datasets.
Finally, we have the world model loss
Reward Prediction
In addition to predicting future latent states, the world model should predict the reward associated with a transition. We introduce a small reward head
where
The reward head can initially be a small MLP trained with
The complete world-model objective becomes
Keeping reward prediction separate from allows to remain a general perceptual/dynamical representation while learns which predicted transitions are behaviorally valuable. During planning, candidate action sequences can be rolled through and scored using .
Role of
The initial purpose of is intentionally broad. We want
to produce a representation from which both prediction and behavior can emerge. The two primary consumers of are therefore for world-model prediction and for thought and planning. The policy may also access directly so that simple behaviors do not necessarily have to pass through the entire thought process.