ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Minor

Accurate and Efficient World Modeling with Masked Latent Transformers

Maxime Burchi, Radu Timofte

ELVIA analysis

Independent review pending

This initial review concerns paper 0110 (I25-43479), the published ICML 2025 version and the acquired public EMERALD source at a fixed commit. The provisional assessment is Minor. A static control-flow counterexample shows that the released temporal model can reuse attention values from a previous episode when the current fragment contains no reset. The release also differs materially from the printed loss and imagination-batch specification. These findings are version-bound; the available source is not established as the historical experiment revision. Arithmetic checks support the public twenty-seed aggregate and the principal reported comparisons. The human reference aggregation and attribution of gains to individual architectural changes require further evidence. No author code or environment was executed. Adjudication is pending and no human review is recorded.

Problem 1. cached episode boundaries can be ignored

Minor
Evidence and reasoning

Problem statement

Location: PDF pp. 5-6 Section 3.1; pinned nnet/modules/emerald/tssm.py lines 341-363 and 459-481; main model env_step and WorldModel.forward; attention_mask.py.

Kind: released temporal-state boundary implementation.

Text: Cached past context should retain same-episode history while excluding earlier trajectories.

All current is_firsts flags zero; cached reset flag is nonzero. Old-episode K/V remain in the finite cache; causal window includes them. Equal attention logits and an old nonzero value component are valid attention parameters/inputs.

Proof

Location and intended behavior. Section 3.1, pp. 5–6, defines temporal states from preceding states/actions and describes cached keys and values across consecutive training fragments. In the pinned source, `nnet/modules/emerald/tssm.py`, both `forward_obs` (lines 341341–363363) and `forward` (lines 459459–481481) apply the episode-separation mask only inside if is_firsts.any():\texttt{if is\_firsts.any():} where `is_firsts` contains current-fragment flags. The separate argument `is_firsts_hidden` can contain a reset inside the cached context. The ordinary causal/context mask does not encode episode identity.

Reachable condition. Suppose all current flags are zero, while cached flags are (0,1):(0,1): one old-episode value followed by the first value of the new episode. With a context limit of 64,64, both cached positions remain visible to the next one-step query. The guard is false, so the release uses the key mask (1,1,1),(1,1,1), although the episode-separation helper would produce (0,1,1).(0,1,1). This situation can occur in online collection after an environment reset. The main model’s `env_step` retains the attention cache, resets the other state fields, constructs cached reset flags, and passes them to TSSM. When no environment has a reset in the current call, the guard skips those flags. The replay buffer also concatenates successive episodes across sequence fragments, so a reset may lie in a prior cached fragment.

Decisive consequence. Choose an attention head with equal logits and value components (2,0,0).(2,0,0). Such logits are obtainable by zero query and positional-score contributions. The released mask gives output component 2/3,2/3, whereas correct episode isolation gives zero. With the full default cache, take 6363 old-episode entries followed by the new episode’s initial entry, put the value 22 in one old entry and zero elsewhere, and use equal logits. The next query gives 2/652/65 rather than zero, so the same failure occurs with the default 64-entry cache. Thus a previous episode can influence the current representation even with identical observations/actions in the current episode. This is a mathematical attention/control-flow check written by the reviewer; the author implementation was not executed.

Counterevidence and boundary. The guard works when a current reset is present. Moreover, `imagine` applies the episode mask whenever cached flags are supplied (lines 251251–255255), and `play` starts each evaluation episode with a fresh state/cache. These paths limit the finding and rule out a claim that every evaluated episode necessarily has cross-episode memory. A fully empty cache also avoids the issue. The source is not bound to the historical five-seed experiments.

Impact and repair. The defect affects episode isolation in released world-model learning/collection and can create a train/evaluation state-distribution difference. Apply the episode-separation mask whenever current or cached reset information is present; keep resetting current states/actions conditional on current resets. Alternatively, explicitly discard prior-episode cache entries per environment. Check a reset at the end of one fragment followed by a fragment with no reset. The supported impact is a localized episode-isolation defect in the inspected release. The direct evaluation path starts each episode with a fresh state, and the release has not been bound to the historical experiments. The available evidence establishes a boundary-condition defect but does not establish material harm to the core scientific conclusions; the supported assessment is Minor, with historical experimental attribution remaining Needs Evidence. No repair was applied to the author’s source.

□\square

Possible revision

Apply episode-separation masking whenever cached/current reset information exists; reset current states/actions separately, or clear old cache per environment.

Problem 2. the released training specification differs from the paper

Minor
Evidence and reasoning

Problem statement

Location: PDF pp. 6-7 Eqs. (2)-(3),(6), Section 3.2; Table 6 p. 15; Table 10 p. 17; pinned nnet/models/emerald.py configuration and WorldModel.forward; decoder_network.py.

Kind: publication-to-release specification differences.

Text: Printed training objective, BT imagined starts and decoder hidden projection describe the reviewed implementation.

Public default configuration; B=16,T=64,B=16,T=64, group count32. Identical full-support per-token KL distributions for the analytic clipping example. Paper and public release are compared as separate fixed versions, not assumed historically identical.

Proof

Locations. Eqs. (2)–(3) and (6), pp. 6–7; Section 3.2, p. 7; Tables 6 and 10, pp. 15 and 17. The corresponding release locations are `nnet/models/emerald.py`, default configuration and `WorldModel.forward`, and `nnet/modules/emerald/decoder_network.py`.

Loss difference with a nontrivial gradient consequence. Eq. (2) states a KL masked-prediction objective and Eq. (6) adds it without an explicit extra coefficient. The release averages KL over masked positions, multiplies by 32,32, clips that quantity from below at one free nat, and applies weight 0.5.0.5. Dynamics/representation KL terms also use a free-nat threshold. For equal per-token divergences κ,\kappa, the released masked contribution reduces to Lmaskrelease=12max⁡(1,32κ).L_{\rm mask}^{\rm release}=\frac12\max(1,32\kappa). Let qq be uniform on 3232 categories, and let pxp_x assign probability x/16x/16 to each of its first 1616 categories and (1−x)/16(1-x)/16 to each remaining category. Then κ(x)=12log⁡1/2x+12log⁡1/21−x.\kappa(x)=\tfrac12\log\frac{1/2}{x} +\tfrac12\log\frac{1/2}{1-x}. At x=0.6,x=0.6, κ=0.0204109973,\kappa=0.0204109973, 32κ=0.6531519123<1,32\kappa=0.6531519123<1, and κ′(x)=5/12≠0,\kappa'(x)=5/12\neq0, whereas the released clipped contribution has derivative zero. A centered finite-difference calculation confirms the flat released loss. Thus the missing operation is not merely an additive constant or notation change. Free-nat regularization can be a reasonable design choice; the issue is the unbound specification, not proof that regularization is intrinsically wrong.

Imagination workload. Section 3.2 says that flattening all batch/time positions produces Bimg=BT.B^{\rm img}=BT. With Table 10’s B=16,T=64,B=16,T=64, this means 1,0241{,}024 starting trajectories. The release defaults to `img_stride=4` and selects time indices 0,4,…,600,4,\ldots,60 when constructing `detached_posts` and their caches. It therefore starts 16⋅16=25616\cdot16=256 trajectories. Both use horizon 15,15, but their sample count per update differs by a factor of four. This matters when reproducing training throughput and the actor/critic data volume.

Decoder channel count. Table 6 projects temporal hidden state to 4×4×2564\times4\times256 before concatenation with 1,0241{,}024 latent channels, giving 1,2801{,}280 channels. The released main model passes `dim_cnn=32` to `DecoderNetwork`; its hidden projection outputs 3232 channels and its concatenation has 1,0561{,}056 channels. This is a concrete version difference, not a claim of a tensor-shape crash: the released projection is internally dimensioned for 1,056.1{,}056.

Interpretation, counterevidence, and repair. The README explicitly describes twenty-seed results from the public repository, while the paper reports five-seed aggregates. Later changes could explain these differences. No historical configuration was acquired, so the findings do not establish which objective, workload, or decoder produced the paper’s numbers. The public results retain strong performance. Supply a historical commit/configuration or a documented release-to-paper change record; state the mask reduction, free-nat clipping, loss weights, imagination stride, and actual channel widths. This is a Minor reproducibility/specification issue for the available version pairing; historical experimental attribution remains Needs Evidence.

□\square

Possible revision

Provide historical commit/configuration or change record and state all reductions, clipping, weights, strides and channel widths.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

We introduce EMERALD (Efficient MaskEd latent tRAnsformer worLD model), a world model using a spatial latent state with MaskGIT predictions to generate accurate trajectories in latent space and improve the agent performance.

Published ICML 2025 proceedings (PMLR 267); Abstract, PDF p. 1

Actual review scope

The recorded inspection concerns these source locations: Claim location: True Source references: papers/0110/0110.pdf Source references: verification/0110/extracted_pages.json#/4 Source references: verification/0110/extracted_pages.json#/5; Claim location: True Source references: papers/0110/0110.pdf Source references: verification/0110/extracted_pages.json#/5 Source references: verification/0110/extracted_pages.json#/6 Source references: verification/0110/extracted_pages.json#/14 Source references: verification/0110/extracted_pages.json#/16.

Submit an author revisionContribute a review