Manuscript Offprint

arXiv:2610.34891

Checkpoint Reload Explains Most of the Measured State Gap in Two State Discovery Reproductions

Weijia Han, Lisha Qu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Temporal models that maintain per-sequence latent states during training must reconstruct those states when the stored table is unavailable at inference. This creates a basic consistency question: do the reconstructed states agree with those formed during training? We study this question for State Discovery in World Machine, which updates stored states in parallel each epoch but performs inference by sequential rollout from an all-zero start. On Toy1D, we analyze two paired-checkpoint runs whose decoded-state MSE is 27 to 36 percent above the published value. We compare the stored table with rollouts under the best-validation checkpoint reloaded after training and the last-epoch weights that wrote the table. Matching the rollout to the table-writing weights removes 90 to 91 percent of the mean per-dimension Wasserstein-1 distance. Causal distillation and frozen SD updates do not satisfy their pre-specified criteria under either checkpoint. Overall, checkpoint reload accounts for most of the measured gap in these runs.

1 Introduction

Latent world models compress observation histories into states used for prediction and control, including recurrent state-space models [Hafner et al., 2019, 2025] and recent robust latent control systems [Hansen et al., 2024, Sun et al., 2024]. Related work connects state and history through self-predictive abstractions [Ni et al., 2024] and regularizes latent dynamics to make action effects more systematic [Saanum et al., 2024]. Recent studies examine latent-variable recovery [Zhang et al., 2025], context inferred from interaction [Röder et al., 2025], and horizon-aware or in-context dynamics [Wan et al., 2026, Wang et al., 2026]. These advances make the state-construction procedure itself consequential. When training stores a state for each sequence but inference must reconstruct it from a cold start, evaluating the learned representation requires knowing whether the two states are consistent. World Machine [do Nascimento et al., 2026] is a concrete instance. Its State Discovery (SD) procedure writes the core's output back to a per-sequence state table after each epoch. At inference, the core instead runs sequentially from an all-zero start. The original paper notes the repeated updates and all-zero start but does not name or measure this gap.

Recurrent experience replay provides a close analogue: parameter lag can make stored recurrent states stale, while burn-in recomputes them under newer weights [Kapturowski et al., 2019]. Our setting differs because the state table is written during validation and the mismatch appears after early stopping reloads a different checkpoint.

We ask whether SD guarantees agreement (Section 2), how much of the gap remains under a shared checkpoint (Section 3), and whether causal distillation or frozen refinement can reduce the residual without the table (Sections 4 and 5). Checkpoint reload accounts for nine tenths of the measured gap, while neither procedure meets its pre-specified success criteria.

∗^{*}Equal contribution.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Foundation Models for Temporal Systems.

References (37)

  • An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling
  • Optimizing the latent space of generative networks
  • A classification EM algorithm for clustering and two stochastic versions
  • Inference suboptimality in variational autoencoders
  • Maximum likelihood from incomplete data via the EM algorithm
  • World Machine: Towards generative world modeling for time-series (opens arXiv in a new tab)
  • Learning latent dynamics for planning from pixels
  • Mastering diverse control tasks through world models (opens the publisher in a new tab)
  • TD-MPC2: Scalable, robust world models for continuous control
  • Recurrent experience replay in distributed reinforcement learning
  • Semi-amortized variational autoencoders
  • Iterative amortized inference
  • Bridging state and history representations: Understanding self-predictive RL. In Proceedings of the Twelfth International Conference on Learning Representations (ICLR), 2024
  • DeepSDF: Learning continuous signed distance functions for shape representation
  • Dynamics-aligned latent imagination in contextual world models for zero-shot generalization (opens the publisher in a new tab)
  • Simplifying latent dynamics with softly state-invariant world models (opens the publisher in a new tab)
  • Learning latent dynamic robust representations for world models
  • Learning to be uncertain: Pre-training world models with horizon-calibrated uncertainty
  • Context and diversity matter: The emergence of in-context learning in world models
  • When do neural networks learn world models? In Proceedings of the 42nd International Conference on Machine Learning (ICML), pages 74639–74670, 2025
  • Seed 42 is reported before seed 7 throughout
  • The upstream ShortTimeRecaller is an auxiliary short-horizon decoder whose parameters use the fixed base learning rate rather than the cosine schedule, matching the published training behavior
  • The pre-specified August 24 plan retained these thresholds for frozen updates and designated the $K = 5$ student as primary
  • The paired-analysis runs miss it by 35.7 and 27.3 percent
  • Pooled mean $W_{1}$ uses all 8000 validation items; paired MSE and RMS use the fixed 1600-item analysis subset
  • This window was selected after the primary analysis and is used only for descriptive reporting
  • The matched MSE values are 15 and 14 percent of the reloaded values and 1.7 and 2.4 percent of the random-initialization values of 1.12 and 1.11
  • Dashed: validation MSE; solid: mean $W_{1}$; labels: RF 63, rollout gap, and 50 percent threshold
  • For receptive fields 15, 31, 63, and 127, the changes are -0.0466, -0.0263, -0.0095, and -0.0132, respectively; only receptive field 63 meets the 0.01 slack
  • Its probe $R^{2}$ change from the stored-state probe is -0.0064 for seed 42 and -0.0218 for seed 7
  • The matched-rollout values are 0.14 and 0.16, so the student is 2.5 to 2.6 times farther from the table
  • For transparency, its validation loss was still decreasing at the end of training: its final-20-percent descent is 0.01472, 5 to 9 times the other runs' values
  • The numerical implementation agrees with this identity to six decimal places at every $K$ under both checkpoints and both seeds
  • At K=10, the means across three random replicates are 0.03358 and 0.04566 from the stored table
  • One update from the stored table under $\theta_{\mathrm{best}}$ moves it by 51 and 68 percent of the stored-to-cold-start distance
  • The rollout maximum is at position 1, which every update rewrites, and positions 2 to 15 fall below it by $K = 3$
  • After ten reloaded updates, table versus matched rollout RMS is 0.16 versus 0.14 and 0.19 versus 0.16