Stable and Verifiable Latent Dynamics
for World Models

A sampling-to-proof gap audit of the DreamerV3 latent transition map: where a large random-sampling audit of a Lyapunov decrease condition finds nothing, but branch-and-bound verification hits a structural wall on the categorical output — and why naive stabilization attempts fail.

the categorical output is a verifier wall · the optimizer is the atlas

Sehaj Randhir Singh
Independent researcher; partial affiliation with NYU Tandon School of Engineering

Abstract

World models of the Dreamer family optimize policies over latent trajectories imagined by a recurrent state-space model, yet nothing in their training constrains those latent dynamics to be stable, and the categorical latent output blocks direct formal certification. We report two measured obstacles and an evaluation standard. First, a sampling-to-proof gap audit of the one-step latent map under a frozen actor: a Lyapunov decrease condition, a large random-sampling baseline, and branch-and-bound verification with a reachability gate. Second, a measured verifier wall: interval bound propagation asserts on the categorical output at any useful width, so every branch-and-bound box is recorded as unknown with its reason — never as a violation and never as certification. Third, a five-mode failure atlas from a controlled latent-space study shows why naive stability constraints fail, from which we derive design rules and an aliveness-gated evaluation standard. All claims name the object, region, and condition that produced them.

TL;DR: DreamerV3's latent map is sampled-clean but not provable (categorical wall), and bolting stability onto it fails five documented ways — here is the audit, the wall, the atlas, and the rules.

The audited object

DreamerV3's world model factorizes the transition into a deterministic recurrent core and a stochastic posterior over discrete classes. The object this project audits is the one-step latent map under a frozen deterministic actor,

\[ \mathbf{z} = (d, s) \;\mapsto\; \mathbf{z}' = \big(d',\; \mathrm{softmax}(\mathrm{logits}')\big), \qquad d' = \mathrm{core}\big(d,\; \pi(\mathbf{z})\big), \]

where the stochastic output is replaced by the mean of the prior categorical, \(\pi(\mathbf{z}) = \tanh(\mathrm{mean}(\mathrm{actor}))\), and the model is audited as trained — only the Lyapunov candidate \(V\) moves. Nothing about the imagined multi-step rollout is certified, and nothing larger than the size-1M configuration (deter 512, hidden 64, stoch \(32 \times 4\)) is considered.

The condition is the Lyapunov decrease \(\mathrm{cond}(\mathbf{z}) = V(\mathbf{z}) - V(\mathbf{z}') > 0\), verified over a region built from the model's own on-policy latent states: the certified region is on-distribution by construction, and the certified map (the prior-mean surrogate) is recorded distinctly from the region's source, never conflated.

The sampling-to-proof gap audit

The audit asks one question: are there latent states where a large random-sampling audit of the decrease condition finds nothing, yet branch-and-bound verification finds a genuine violation that the model's own dynamics actually reach? The pipeline: fit \(V\) on samples from the region; run a sampling baseline (\(N\) i.i.d. draws, worst condition and count); run branch-and-bound over an annulus around the latent fixed point (holed along the \(k\) widest dimensions, so box count scales with \(k\), not with the 640-D latent); apply a reachability gate to every candidate violation — off-distribution counterexamples are discarded, not reported with a caveat.

The verdict is three-way: violation (a counterexample the model demonstrably reaches) · certified (bounds prove the condition on the whole box) · unknown (bounds stayed loose, no counterexample found).

unknown is verifier incompleteness: it is never evidence of safety, and it is never a gap and never a partial finding. gap_demonstrated is true only when sampling found nothing and branch-and-bound found a reachable violation.

The measured verifier wall

The certified graph contains the categorical output \(\mathbf{s}' = \mathrm{softmax}(\mathrm{logits}')\), i.e. an \(\exp / \sum \exp\) with a division by the relaxed sum. Interval bound propagation asserts on this node whenever the relaxed logits interval spans a region where the softmax denominator can be non-positive in the bound computation — at the measured vacuity of intermediate bounds, this happens on the first box (AssertionError in BoundReciprocal), and the same structural failure repeats identically on every box. Because the bound-graph build dominates per-box cost (~4 minutes on a size-1M graph on CPU), running full branch-and-bound without the wall gate wastes hours to rediscover the same assertion.

The audit therefore probes the wall once and records every box as unknown with the reason — never certified, never a violation. The sampling baseline is the empirical result, and a sampling violation is the only thing that can become a finding.

Measured audit record (smoke configuration)
Latent fixed point residual\(2.98 \times 10^{-8}\) (converged)
Region coverage of steady-state latents83.8%
Sampling baseline0 / 12,866 violations
Worst sampling condition\(+2.2 \times 10^{-3}\)
Branch-and-bound boxes4 (k-dim hole)
Wall recordevery box unknown: categorical output
Verdictgap_demonstrated = false

The smoke configuration is a weight-initialized surrogate, not a trained model; its numbers establish that the pipeline is sound and reproducible, which is their only claim. The trained-model audit on dm_control cartpole_balance is the open item (GPU run); on the categorical wall its expected verdict is unknown, which is verifier incompleteness, not a finding.

The failure atlas of latent-space stabilization

The wall says the frozen model cannot be certified directly. The remaining question is whether it can be stabilized — and the atlas is the answer, from a controlled latent-space study: a JEPA predictor with a Hamiltonian / metriplectic structure trained end to end on chaotic Lorenz-63 under a nonlinear coordinate warp, five ablation arms, matched data and steps. Imposing physical or thermodynamic constraints inside a self-supervised latent space does not, by itself, yield physical dynamics: the optimizer routes around each scalar constraint through a geometric exploit.

#ModeMeasured signature
1Representation freezemotion \(\sim 10^{-3}\) vs target \(\sim 0.4\)
2Scale-conditioning paradoxproxy spread \(\sim 0.036\) vs \(\|\partial H/\partial p\| \sim 3.2\)
3Skew loophole + dead R saddle\(\mathrm{tr}(R)/n = 0.00000\) in every naive run
4Sum-vs-\(\lambda_1\) decouplingcontraction \(-12.8\), \(\lambda_1\) blows up to \(+3.5\) (true \(\sim 0.88\))
5Finite-time spectral trapshort-horizon \(\hat\lambda_1 \to -0.17\), true 200-step \(+1.44\)

The headline is failure 4: pinning the divergence pins the sum of the Lyapunov spectrum, but the sum does not pin any individual exponent — confirmed four times, all with the "correct" sum. A scalar volume constraint is structurally incapable of shaping the leading exponent. And the overlap trap: Chamfer/Hausdorff distance to the encoded attractor rewards a frozen predictor, so geometric overlap must be gated on the rollout being alive and chaotic (\(\lambda_1 > 0\), sane motion ratio) — or replaced by a motion-invariant statistic.

Design rules

  1. Certify a verifiable surrogate, not the categorical output. Certification must target the deterministic component of the latent map or a structurally verifiable surrogate; the stochastic output is the documented boundary of the toolchain.
  2. Constrain modes, not sums. Constrain per-mode radii and verify the leading exponent directly, never the aggregate.
  3. Break dead saddles with principled initialization. Factorized dissipation needs a nonzero init and a gradient-path check.
  4. Use shape constraints, not raw magnitudes. Scale-free (z-score / correlation) anchors prevent scale-starvation.
  5. Curriculize the horizon and gate evaluation on aliveness. Long-horizon rollouts, an aliveness gate, a leading-exponent check — never attractor overlap without them.
  6. Report the gap honestly. unknown is verifier incompleteness; only a reachable violation counts, and it must survive the reachability gate.

Status and reproducibility

Verified CPU reproduction (reference: λ₁ = +0.884, div f = −13.667)
Armmratioλ₁contracttr(R)/nChamfer
B unconstrained538.7+26.570−18.370—8923.6
C rigid Hamiltonian0.005+0.001+0.008—3.50
D naive metriplectic0.814+0.711−0.5140.00004.42
E fixed metriplectic1.559+2.244−13.6514.1822.34
F spectral aligned1.928+2.831−13.5574.4524.43

Honest reading of the heavy run: sampling-clean + branch-and-bound unknown on the categorical wall is a null result — verifier incompleteness, not a gap, and not email material on its own. Only a sampling violation that survives the reachability gate counts.

Citation

@article{dreamerv3latentstability2026,
  author = {Singh, Sehaj Randhir},
  title = {Stable and Verifiable Latent Dynamics for World Models},
  year = {2026},
}