Beyond Visual Fidelity: Comparing Categorical and Continuous World Models
Organizations: Microsoft
Abstract
Visual world models can now generate compelling interactive worlds, but visual realism does not guarantee faithful dynamics. We systematically compare how categorical and continuous prediction shape learned dynamics under both next-token and iterative whole-frame generation. These choices are often bundled in approaches such as autoregressive token models and whole-frame flow matching. We design controlled 2D and 3D environments and evaluate dynamics validity, calibration, and visual quality. In 2D with lossless visual encoding, categorical models achieve higher rollout validity with less training compute, particularly for stochastic entities. Among categorical models, greedy decoding produces the highest rollout validity, while sampling from a next-token model yields the best-calibrated stochastic predictions. Failures in continuous models, such as disappearing game characters, echo those seen in more complex environments. Here, known dynamics let us measure their impact. In 3D, categorical models also achieve stronger long-horizon performance with less training compute. Even models with lossy tokenization remain competitive on semantic accuracy and FVD, despite lower next-frame RGB accuracy. Together, these findings make a strong case for categorical prediction as a compute-efficient route to learning world dynamics.
Figures & tables
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Pixel Pac-Man | 3D Maze |
|---|---|---|
| Trajectories per epoch | 2,048 | 2,048 |
| Frames per trajectory | 16 | 16 |
| Batch size | 128 | 128 |
| Training budget | 10 PFLOPs | 30 PFLOPs |
| Training regime | Teacher forcing | Teacher forcing |
| Optimizer | AdamW | AdamW |
| Model | Training details | Inference details |
|---|---|---|
| Cat-NT | Cross-entropy on the final target frame; visual input embeddings are tied to the output classifier. | Sequential patch generation with greedy decoding ( ) or categorical sampling ( ), without top- truncation. |
| Cont-NT | Conditional flow matching with three residual MLP blocks of hidden width 23; logit-normal time sampling with parameters , , over 1,000 discrete timesteps; training flow shift 3. | Each patch is initialized from Gaussian noise and generated separately before being fed back into the causal sequence. Pac-Man: 50 Euler evaluations per patch, inference shift 1. 3D maze: 20 Euler evaluations per patch, inference shift 3. |
| Cat-Iter | The number of masked target patches is sampled uniformly from , where is the number of patches per image; cross-entropy is evaluated only at masked positions. At least one masked position is enforced per training batch. | reveal iterations for Pac-Man and for the 3D maze, using a linear schedule. Remaining tokens are predicted using greedy decoding ( ) or categorical sampling ( ); the highest-confidence predictions are permanently committed at each iteration. |
| Cont-Iter | Whole-frame conditional flow matching with logit-normal time sampling with parameters , , over 1,000 discrete timesteps; training flow shift 3. | The complete frame is initialized from Gaussian noise and updated jointly. Pac-Man: 50 Euler evaluations per frame. 3D maze: 20 Euler evaluations per frame. Inference shift 3 in both environments. |
| Setting | Value |
|---|---|
| Input | RGB, scaled to |
| Tokens per frame | 64 ( grid) |
| Codebook size | 256 |
| Embedding dimension | 32 |
| Hidden channels | 64 |
| Encoder | Two convolutions, ReLU between layers |
| Method | Random (1) | Random (3) | Random (5) | Flee (1) | Flee (3) | Flee (5) |
|---|---|---|---|---|---|---|
| Cat-NT ( ) | 98.45 | 97.34 | 95.80 | 99.24 | 79.35 | 61.51 |
| Cat-NT ( ) | 92.15 | 73.89 | 52.62 | 98.74 | 71.11 | 47.89 |
| Cat-Iter ( ) | 99.09 | 96.25 | 92.95 | 99.52 | 74.06 | 53.97 |
| Cat-Iter ( ) | 95.16 | 79.97 | 71.40 | 99.04 | 65.39 | 42.08 |
| Cont-NT | 69.63 | 47.40 | 27.53 | 94.60 | 64.52 | 44.98 |
| Cont-Iter | 60.20 | 18.61 | 9.82 | 99.16 | 56.47 | 34.15 |
World Model Learning
World model learning builds predictive models of how environments change under actions to support planning, simulation, and decision-making.
See all 486 papers