MEND: Label-free detection, localization, and correction of latent hallucinations in world modelsMEND: Label-Free Detection, Localisation, and Correction of Latent Hallucination in World Models
The authors propose MEND, which uses a single conditional score network on a frozen world model to detect, localize, and correct latent hallucinations without labels, achieving a detection AUROC of 0.801 on WALL.
- When latent world models imagine autoregressively, they may predict scenes that, after decoding, never occurred (latent hallucination); the error is covert and accumulates with rollout depth, whereas prior evaluation mostly focused on downstream task performance and rarely checked whether the imagined trajectory itself deviates from reality.
- The authors propose a three-stage detect–localise–correct loop and instantiate it with MEND: a conditional score network trained on real transitions with denoising score matching, whose magnitude performs detection, whose per-token field performs localization, and whose Tweedie displacement performs inference-time correction, all without error labels.
- On the two navigation environments WALL and PointMaze, MEND detection AUROC is up to 0.801, exceeding the single-Gaussian density baseline; localization per-token AUPRC is up to 0.874; single-step correction reduces latent error in the two environments by 6.4% and 3.0% relative, respectively, and 98.5% and 99.5% of predictions are improved.
- The authors note that the method assumes hallucinations lie off the data manifold, which may not hold under stochastic dynamics; correction is validated only at the representation level, and whether it benefits downstream controllers is left for future work. Experiments cover only the frozen DINO-WM backbone and two deterministic navigation environments.
- Evaluated models
- DINO-WMMEND
- Benchmarks
- WALLPointMaze
- Metrics
- AUROCAUPRC∆ error% improved
The study proposes MEND (Masked Empirical-Bayes Neural Denoising), a method that detects, localizes, and corrects latent hallucinations at inference time on frozen self-supervised world models without requiring ground-truth error labels. The method trains a single conditional score network on real state transitions using denoising score matching, and its score field serves three roles simultaneously: detection, token-level localization, and correction direction. In two navigation environments, MEND achieves an AUROC of up to 0.80 without using actions, a token-level AUPRC of up to 0.87, and reliably reduces single-step latent errors and improves predictions; the authors note that some errors are tangential to the data manifold, so the focus is on detection and localization, and correction still requires further validation.
Related events and news
1 events · 0 news mentions
- This event's paper
MEND:世界模型潜在幻觉的无标注检测、定位与纠正
Paper analysis
What problem does this paper attempt to solve?
Studies hallucination in latent world models: whether it can be detected, localized, and corrected at inference time with a frozen model and no error labels.
Core question: latent world models, when imagining the future, produce predictions that, after decoding, never occurred (which the authors call latent hallucination); can this be detected, localized, and corrected at inference time without ground-truth error labels?
- Problem setting and importance: World models autoregressively roll out in the latent space of a frozen visual encoder; hallucinated states are fed back as context for the next step, and error accumulates with imagination depth (Figure 1); moreover, the predictions look statistically normal, and the authors call this distortion "silent," with no surface signal.
- Shortcomings of existing evaluation: The authors point out that evaluation of world models focuses mainly on downstream task performance (e.g., planning success rate, reward) and rarely checks whether the imagined trajectory itself deviates from reality; hallucination research, meanwhile, focuses mainly on LLMs.
- Core observation: The authors find that prediction error is spatially sparse—the most suspicious fifth of tokens in single-step prediction accounts for about one third of the total error, and in deep rollouts the same proportion exceeds 80%, so per-token localization and masked correction suit this problem.
- What the paper proposes: A general three-stage detect–localise–correct loop and its instantiation MEND (Masked Empirical-Bayes Neural Denoising): a single conditional score network serves simultaneously as detector, localizer, and corrector; the paper also gives a definition of latent hallucination and two categories (type S unreachable states, type A incorrect action outcomes).
- Setting: The object of study is a frozen self-supervised world model (DINO-WM), using no actions and no hallucination or accuracy labels; this is not an attack/defense paper and has no adversarial threat model.
What related research exists?
Related work falls into four groups: latent world models, hallucination and uncertainty, OOD detection, and score/diffusion-based repair.
Latent world models
- DINO-WM [1] predicts in the frozen DINOv2 [5] patch-token space; the joint-embedding predictive architecture [2], the end-to-end latent world model LeWM [6], and the categorical model Dreamer [3] belong to the same paradigm.
- Earlier work plans from pixels or recurrent latent states [7], [8], and diffusion-based world models [9] have recently appeared. The paper notes that these models all rely on iterative latent prediction for planning, and errors accumulate over rollouts and may lead to hallucination.
Hallucination and uncertainty
- There is extensive work on hallucination detection and mitigation in LLMs and large vision-language models [4], [10], [11]; diffusion-based image and video generation models [12], [13] also produce plausible but incorrect content.
- C3 [14] trains supervised probes on internal features of a video-generation world model to estimate per-patch confidence. The paper explicitly contrasts: MEND targets latent world models, requires no accuracy labels, and computes confidence directly from the predicted latent state, is differentiable with respect to the prediction, and can be used for both detection and guiding correction.
OOD detection
- Detecting untrustworthy predictions can be viewed as out-of-distribution detection, with density-based and score-based criteria [15]–[17]; the density method [15] is the motivation for this paper's Gaussian baseline.
Score and diffusion-based repair
- The correction step follows the score/diffusion-based repair line: using a learned data prior score to guide inverse-problem solving [18]–[20].
Baselines and benchmarks: the detection baseline is a single diagonal Gaussian density fitted to legitimate states (the unimodal special case of [15]), plus an inverse-model detector (D2), a score model directly conditioned on actions, and a cross-attention variant (Table II); the experimental environments are WALL and PointMaze, with the public frozen DINO-WM checkpoint as the backbone.
The authors position the paper as: extending hallucination research to latent world models, using a single differentiable score field to unify detection, localization, and correction, rather than addressing only one of these.
How does the paper address this problem?
A Bayes decomposition derives a family of detectors, and denoising score matching trains a single conditional score network that serves detection, localization, and correction.
Overall idea: write "whether a prediction is legitimate" as a differentiable score, so that a single forward pass simultaneously gives a detection score, a per-token localization map, and a correction direction; the method is named MEND.
Problem Setup and Hallucination Definition
- A frozen encoder maps observations to latent states zt, and a frozen predictor gives ẑt+1 = g(zt, at); the latent state is a token grid, each token corresponds to an image patch, and errors can be attributed to image regions.
- A prediction ẑt+1 is a hallucination if its probability under real transitions is negligible (it is not in the reachable set R(zt, at)), independent of the magnitude of the prediction error; there are two types: type S (unreachable under any action) and type A (reachable but not reachable under the executed action).
- The environments studied are deterministic, so R(zt, at) degenerates to a single point.
The detect–localise–correct loop
- The detector assigns a legitimacy score to a prediction; the authors deliberately do not specify the detector form, but for it to also serve localization and correction, the score must be differentiable with respect to the prediction.
- Each iteration: evaluate the detector → select the most suspicious tokens from the score gradient → apply masked correction only to those tokens → re-evaluate, until sufficiently legitimate or the iteration budget is reached (Figure 2, Algorithm 1).
MEND: Bayes decomposition and conditional score network
- By Bayes' rule, p(ẑt+1 ∣ zt, at) ∝ p(ẑt+1 ∣ zt) p(at ∣ zt, ẑt+1): D1 is the reachability term (sensitive to type S), D2 is the action-consistency term (sensitive to type A), and both can be trained self-supervised on real transitions without hallucination labels.
- In deterministic simulators D1 is already sufficient; the authors instantiate only D1, and derive and evaluate D2 as an ablation.
- A conditional score network sθ(z̃ | zt, σ) is trained with denoising score matching: Gaussian noise of scale σ is added to real next states, the regression target is −ε/σ, and σ is drawn from a geometric noise schedule; its population optimum is the conditional score of the smoothed density of legitimate next states. Training uses only real transitions and never touches the world model's predictions.
One field, three roles
- Detection: the scalar D = ∥sθ∥2 measures how far the prediction is from the reachable set, then is standardized against statistics of known-correct predictions, D̃ = (D − µacc)/σacc.
- Localization: the per-token field ∥sθ(ẑt+1 | zt)n∥ directly gives the distance each token needs to move, with no backpropagation.
- Correction: by the Tweedie formula, the posterior mean of the clean state is ẑt+1 + σ²sθ, so the score is the correction direction; correction runs K iterations with a small σ, includes an anchoring term that pulls the modification back toward the original prediction, and returns the iteration point with the lowest D̃.
Implementation and Evaluation
- The score network is a four-layer token Transformer (6 attention heads, feed-forward width 1536, AdaLN noise conditioning, 10.3M parameters), trained on about 500 held-out trajectories.
- Detection uses a single large noise scale σ = 0.39; correction uses a small scale σ = 0.05, step size η = 0.3, anchoring weight ρ = 0.1, K = 10 steps (the paper notes that σ > 0.08 is destructive).
- Label proxy: predictions are divided into correct/incorrect by the median per-token error (in deterministic environments this proxy is close to the reachable-set definition); metrics are detection AUROC, localization per-token AUPRC (random baseline 0.50), and the latent error reduction and improvement proportion of correction.
What experiments did the paper conduct?
Detection, localization, and correction were tested on two navigation environments: WALL detection AUROC 0.801, localization AUPRC up to 0.874.
Experimental Setup
- System under test: the public frozen DINO-WM checkpoint (DINOv2 ViT-S/14 encoder, N = 196 tokens, D = 384, plus a small predictor).
- Environments: WALL (Markov predictor, single-frame history) and PointMaze (three-frame history), both deterministic navigation environments.
- Labels and calibration: on held-out trajectories, predictions are divided into correct/incorrect by the median per-token error, yielding a balanced set; all detectors and thresholds are defined on this organic error set, and synthetic perturbations are not used for headline metrics.
- Baselines: single diagonal Gaussian density (the unimodal special case of [15]); ablations include an inverse-model detector (D2), directly action-conditioned score (AdaLN), cross-attention action injection (15M), and a directly conditioned score without actions.
- Metrics: detection AUROC; localization per-token AUPRC (random 0.50); correction as relative change in latent error and improvement proportion.
- Training data: the score network is trained on about 500 held-out trajectories; the paper does not report the number of repetitions.
Main Results
According to Table I (detection AUROC; the last two columns are per-token AUPRC for detection and localization, random 0.50):
Swipe horizontally to read the table
Environment MEND AUROC Gaussian baseline AUROC Det. AUPRC Loc. AUPRC WALL 0.801 0.648 0.802 0.712 PointMaze 0.691 0.631 0.687 0.874 - The authors state that detection is stronger on WALL, whose dynamics approach determinism; in PointMaze the agent occupies only a small region of the image and the future position is itself uncertain, making legitimate and hallucinated predictions harder to separate, so detection AUROC is lower.
- The authors note that detection and localization are related but distinct capabilities and need not improve together: PointMaze detection is weaker but localization AUPRC reaches 0.874, because errors are still concentrated in a few tokens.
- The authors state that the Gaussian baseline provides only a detection score and cannot support unified localization and correction, so the last two columns have no baseline.
Detector Variant Ablation (Table II, WALL)
- No gain from action conditioning: directly conditioned score (+action, AdaLN) AUROC 0.799, cross-attention (15M) 0.782, neither exceeding the 0.801 without actions.
- D2 near random: inverse model (D2 action factor) AUROC 0.490; the authors explain that the world model itself is conditioned on actions, hallucinated predictions are usually still consistent with the action, and the inverse-dynamics residual is essentially unrelated to whether a prediction is hallucinated.
- Shortcut evidence: the directly conditioned score without actions drops to 0.507; the authors state this shows the network can partly rely on actions as a shortcut, and that this phenomenon is specific to deterministic environments, with D2 expected to become useful in stochastic or multimodal environments.
Correction Results (Table III, Table IV)
- Single-step correction: WALL relative error change −6.4%, 98.5% of predictions improved; PointMaze −3.0%, 99.5% improved (Table III). The authors state that explicit masking is redundant, so the entire latent state is edited.
- Step-by-step correction (WALL, Table IV): at depths 1/5/9 the uncorrected errors are 1.770/2.370/2.830, and MEND gives 1.626/2.237/2.732, relative reductions of −8.2%/−5.6%/−3.5%; the authors state that a single-step correction is immediately washed out and must be reapplied at every step.
- Boundaries of correction: the authors decompose the error into a manifold-normal component (recoverable) and a tangential component (unrecoverable, forming an aleatoric floor), stating that this explains the consistent but limited reductions, with small near-manifold errors corrected the most, and therefore position correction as a feasibility result rather than a solved problem.
Other Ablations and Analyses
- Deep rollout localization: Figure 3 shows a free rollout of PointMaze at step 17; the authors state that the total error more than doubles while per-token AUPRC barely moves, so localization is robust to depth (the figure annotates per-token AUPRC, with cyan circles marking the 9 tokens with the largest errors).
- Error sparsity: in single-step prediction the most suspicious fifth of tokens accounts for about one third of the total error, and in deep rollouts more than 80% (Section III).
- Robustness: the authors state that detection is stable as the labeling threshold varies from lenient to strict, and saturates after a few hundred training trajectories (see supplementary material; no numbers are given in the main text).
- Noise scale: correction requires a small σ; the paper notes that σ > 0.08 is destructive.
What are some points that can be further explored?
The authors list two open directions: applicability under stochastic dynamics and whether correction gains transfer to downstream controllers.
Limitations and Future Directions Noted by the Authors
- Off-manifold assumption: the method assumes hallucinations lie off the data manifold, which holds in the navigation environments studied but may not hold when prediction errors are close to the manifold; the authors state that extending to stochastic dynamics is a natural next step (Section VIII).
- Correction validated only at the representation level: whether correction gains transfer to downstream controllers is left for future work (Section VIII).
- Correction limited by tangential error: the component of error tangential to the manifold is unrecoverable for any corrector and forms an aleatoric floor, so the authors position correction as a preliminary but promising feasibility result (Section VII-A, VIII).
- Data-driven repair route: the authors note that detection and localization signals could be used to collect data in a targeted way and directly repair the world model, calling this a natural extension (Section VIII).
- Scope of D2: the action-consistency factor is near random in deterministic environments, and the authors state it is expected to be informative in stochastic or multimodal environments (Section VII).
Scope of Experiments
- The world model under test is a single system, the frozen DINO-WM (DINOv2 ViT-S/14 backbone), and the environments are two deterministic navigation environments, WALL and PointMaze (Section V).
- The detection baseline includes only a single diagonal Gaussian density; action-related variants (D2, AdaLN, cross-attention) are evaluated as ablations on WALL (Table II).
- The score network is trained on about 500 held-out trajectories; labels are divided by the median per-token error (Section V).
- Correction experiments report single-step (both environments) and step-by-step (WALL, depths 1/5/9) settings (Table III, Table IV).
- The paper does not report the number of experimental repetitions or confidence intervals; the per-depth error curves for deep rollouts and the WALL localization example are in the supplementary material, with no numbers given in the main text.
Summarize the main content of the paper
MEND uses a single conditional score field to detect, localize, and correct latent hallucinations without labels on a frozen world model.
An analysis paper on the reliability of latent world models: the authors define "latent hallucination"—a predicted next latent state that decodes into a scene that never occurred—and note that it accumulates covertly over autoregressive rollouts.
- Problem: world model evaluation mostly focuses on downstream tasks and rarely examines imagined trajectories themselves; hallucination research, meanwhile, is concentrated in LLMs.
- Method: they propose a detect–localise–correct loop, instantiated with MEND—a conditional score network trained with denoising score matching on real transitions, using the score magnitude for detection, the per-token field for localization, and the Tweedie displacement for inference-time correction, without error labels and without touching the world model.
- Detection: AUROC 0.801 on WALL and 0.691 on PointMaze, both exceeding the single-Gaussian density baselines of 0.648 and 0.631 (Table I).
- Localization: per-token AUPRC is 0.712 on WALL and 0.874 on PointMaze (random 0.50, Table I); the authors state that localization barely degrades with depth in deep rollouts.
- Correction: single-step correction reduces latent error by 6.4% and 3.0% on WALL and PointMaze respectively, improving 98.5% and 99.5% of predictions (Table III); step-by-step correction maintains reductions from −8.2% to −3.5% at WALL depths 1–9 (Table IV).
- Authors' conclusion: detection and localization are reliable and require no labels; correction is limited by manifold-tangential error, which the authors position as a feasibility result, and they list stochastic dynamics and transfer to downstream controllers as open directions.