Paper: 2611.34830 — Not all world models can doubt: how training objective and architecture shape epistemic uncertainty in JEPA and RSSM world models Authors: Simon Baur, Wojciech Samek, Jackie Ma Categories: cs.AI, cs.LG Reading scope: Original arXiv HTML, main sections 1–7 and Appendices A–D, with untruncated extraction. All 15 original figures were visually inspected. Experiments were not reproduced, and external code, datasets, and cited works were not independently audited. Source inconsistencies relevant to interpretation are noted below.

The Problem

A ball suddenly appears somewhere else in the last frame of a Ball-in-cup scene. The paper creates abrupt changes like this in a simulator, then follows their effect through two learned world models. Both image encoders react. Yet the uncertainty readout attached near the end of DreamerV3’s prediction pipeline responds much less than the one attached to LeWM.

A world model is a learned simulator: it predicts what will happen after an action, allowing a planner to compare possible actions before executing them. Its predictions can become unreliable outside familiar conditions. An estimate of uncertainty may help, but that estimate receives a processed representation of the scene. A change already noticed near the input can become faint before the estimate is computed.

The study asks where that happens. It compares LeWM, a joint-embedding predictive architecture or JEPA, with DreamerV3, a recurrent state-space model or RSSM, across ten simulated visual-control environments. The target is an uncertainty estimate added after model training, not a verdict on everything either model knows.

The Explanation

Follow the change to the readout

The authors train or obtain environment-specific checkpoints, freeze them, and fit a last-layer Laplace record. This places uncertainty on the final prediction layer’s weights using the training features. The resulting variance score sees a new observation only through the features supplied to that final layer, called the predictor features (§3; Appendix B).

An alternative fits five small prediction heads on bootstrap samples of the same frozen features and measures their disagreement. These are five heads, rather than five separately trained world models. Both approaches share the same limitation: a change that never reaches their input cannot be detected from that input (Appendix A).

The two models construct that input differently. LeWM predicts the next embedding from the last three encoded frames and actions, without reconstructing the image through a decoder. Dreamer first infers a temporary current-state estimate from the image and its previous memory. A gated recurrent update then blends the new evidence with old memory, and the next-state prediction uses features derived from that updated memory (§3.3).

The important data flow can be summarized as:

Dreamer:
encoded frame + memory -> inferred state
inferred state + action + memory -> new memory -> feature -> score

LeWM:
encoded recent frames + actions -> predictor feature -> score

The current-state estimate in Dreamer is its observation-informed posterior. That is a different object from the uncertainty over the final layer’s weights. The estimate can react to an image change even when the later predictor feature responds weakly.

Original stage trace comparing LeWM and Dreamer responses to controlled state changes

Original Figure 2, rasterized from the source SVG. Teal denotes LeWM and amber Dreamer. The red dashed marker locates the recurrent update; these are normalized response traces, not accuracy scores. Eight environments are shown, with all ten tabulated in Appendix C.

The researchers change a physical state coordinate, such as a position or angle, relative to its training-data standard deviation, re-render the frame, and compare each stage with the unaltered version. They measure relative displacement: how much the representation changes after accounting for the perturbation and the representation’s own scale (§3.3).

For Ball-in-cup, with the change present in one frame, Appendix C’s Table 2 reports these mean responses across the perturbed body and object coordinates:

StageNormalized relative displacement
Dreamer’s current-state posterior1.10
Dreamer’s updated recurrent memory0.15
Dreamer’s predictor feature0.12
LeWM’s predictor feature1.00

The large drop appears after Dreamer’s current-state inference, at the recurrent update. These values describe responsiveness. They do not mean that exactly 12% of the information survived, or that prediction accuracy was 12%.

If the change is held across eight frames, Dreamer’s predictor-feature response in this environment rises to 0.37. A gated update gives a transient change only part of the new memory; repeated evidence can accumulate. LeWM directly reads its three-frame context and does not carry a persistent recurrent state from before that window (§4; Appendix C, Table 2).

Separate a processing effect from a training effect

The authors connect the weaker response with two mechanisms. One is the recurrent mixing just described. The other concerns what the model was trained to represent.

Dreamer’s reconstruction loss adds errors over image pixels. An entity covering a large image area can exert more reconstruction pressure than a small but important ball or cube. The authors measure that pressure using the gradient contributed by an entity’s pixels. Across seven environments containing a separate object, the object-to-body gradient ratio tracks Dreamer’s object-to-body uncertainty sensitivity with a Spearman correlation of 0.93 (§4; Figure 4).

This concerns the training objective. The decoder does not sit between every observation and the uncertainty query. Its loss helps shape the representations and prediction machinery during training.

LeWM has no corresponding pixel-reconstruction term. In the tested configurations, its sensitivity to object and body changes is more similar. A regression combining persistence and entity gradient share has R² = 0.65 for Dreamer’s log sensitivity: about 65% of the measured variation on that scale, rather than 65% of task success. The observations are grouped by environment for statistical inference. Removing the reconstruction loss or changing the gate to test these mechanisms causally is explicitly left for future work (§4; Appendices B and C; §6).

Read earlier and discover what was already available

The most useful control keeps the Dreamer world model frozen and refits the same kind of uncertainty record on its earlier posterior features, before the recurrent update. For the single-frame Ball-in-cup teleport test, Appendix C’s Table 8 reports:

Uncertainty readoutDetection AUROC
LeWM predictor feature1.00
Dreamer prior predictor feature0.61
Dreamer current-frame posterior feature1.00

AUROC measures whether the score ranks altered windows above clean ones. A value of 0.5 means chance-level ranking; 1.0 means perfect ranking. The reported two-decimal values are detection results, not probabilities that a prediction is correct. The protocol uses 60 base states and compares altered and clean windows.

The earlier Dreamer readout becomes much more responsive to this current-frame anomaly. Information was available before the recurrent bottleneck. That narrows the finding: the default prediction-stage uncertainty can miss changes that another representation in the same model registers.

But the posterior feature requires an observed frame. A planner imagining future states has no such frame. The earlier record therefore cannot simply replace the prior-feature record during imagined rollouts (Appendix C, posterior-feature control).

Check several meanings of “uncertain”

The paper also tests recognition of regions omitted when fitting the uncertainty record, ranking of each model’s own prediction errors, consistent environment shifts, and uncertainty-penalized planning.

The region test needs careful wording. A positional quadrant is omitted when recomputing the uncertainty head’s training-feature matrix. The world model itself remains unchanged. This is not a model retrained without that region (Appendix B).

Main Table 1 shows how differently the same model can handle body and object regions:

Fit-withheld regionLeWM AUROCDreamer AUROC
Cube double: body0.760.95
Cube double: object0.970.67
Scene: object0.540.48

Means over the withheld quadrants; the paper reports standard deviations across those quadrants.

Dreamer leads on the body of Cube double, while LeWM leads on the object. Both are weak on Scene’s object. A family-wide claim that one model always detects unfamiliarity better would lose these exceptions.

The other tasks also have limits. Consistent changes in physical properties such as gravity or density are harder for both models, with no consistent leader. Some interpenetrations are not visible in the image, and both models perform at chance. Error ranking asks a different question again: whether a score anticipates the model’s own next-step error (§5).

For planning, both models use an iterative action-search procedure called CEM. The tested penalty uses uncertainty at the end of an imagined trajectory, scaled relative to the goal cost. The reported results select the best of three tried penalty weights against no penalty, with 200 episodes per seed over three seeds. The penalty helps in some rare-start and longer-goal configurations, and can hurt in others; it is not a general planning guarantee (Figure 8; Appendices B and C).

Core Concepts

Lack of knowledge and randomness are different. Epistemic uncertainty concerns what the fitted model or readout has not learned. Aleatoric variability concerns randomness in the modeled process. Dreamer’s stochastic latent state and the post-hoc weight-uncertainty record are different objects. Having a probabilistic latent does not automatically make this particular readout a good warning signal.

Seeing the present and predicting the future use different features. The posterior can use the latest image; the prior prediction has to work from memory during imagination. Moving the readout earlier improves some observed-frame detection tests, while changing what inputs the score requires. It is a diagnostic control, not a ready-made planning replacement.

Sensitivity is necessary evidence, not complete calibration. A record cannot respond to a change absent from its input. Preserving a change does not ensure that uncertainty rises appropriately, predicts every error, or supports a useful decision threshold. Relative response, anomaly-ranking AUROC, and planner success measure different things.

The Insight

Before investing in a more elaborate uncertainty estimator, trace the signal it will receive. A weak warning can begin in the processing and representation choices upstream of the readout.

The Dreamer control gives this engineering judgment substance: the same frozen world model supports better current-frame detection when the record reads earlier. The appropriate location still depends on whether the task is observing an anomaly now or evaluating a future that has not been seen.

A Critical Reading

The comparison uses one representative model per paradigm and one frozen checkpoint per environment. The implementations differ in important ways: LeWM uses a 224×224 ViT encoder, Dreamer a 64×64 CNN, with different feature widths and architecture-specific Laplace calibration. Shared recorded data makes the comparison useful, but does not isolate objective, encoder, resolution, and recurrence as separate causes. The paper proposes the decisive loss and gate interventions as future work.

The “unfamiliar region” experiment changes head fitting, rather than the world model’s training experience. The error-ranking test also uses model-specific errors: embedding residuals for LeWM and posterior–prior divergence for Dreamer. Its fitted ridge probe is a linear-readout reference, not an information-theoretic ceiling over every possible nonlinear estimator.

The planning results use the best of three penalty weights under the reported protocol; a separate held-out weight-selection procedure is not identified. The episode seeds do not provide three independently trained world models. Goal costs also differ between the model families. These conditions support results for the tested configurations, rather than a prospectively fixed penalty with guaranteed gains.

A few source details need reconciliation. Appendix D describes posterior features for the uncertainty landscapes, while the primary analysis reads prior predictor features. The posterior-control region table reports different prior scores from main Table 1 in some environments. The planning prose calls Scene both an exception and a no-gain case, whereas Figure 8 shows a positive Dreamer rare-start bar. I keep the explicit readouts and tables separate and avoid numerical claims from those unresolved comparisons; I have not audited the code or experiment outputs to resolve them.

Finally, this is a simulator-based study of last-layer estimators on environment-specific models. It does not establish the same behavior for large video-pretrained world models, calibrated probabilities of real-world harm, or a complete account of physical understanding (§6).

What You Can Use

In a simulator, choose a task-relevant state change and trace its effect at the image encoding, current-state estimate, recurrent memory, predictor feature, and uncertainty score. Include both short pulses and persistent changes, and inspect small task-relevant entities alongside visually dominant ones. This can identify where a warning loses the evidence it needs.

Then evaluate the score for its intended purpose: current-frame anomaly detection, error ranking, or the actual planner that will consume it. Keep penalty selection separate from the final evaluation. A current-observation detector cannot supply an imagined future observation. The practical lesson is to audit the information path before tuning the alarm, while validating any architecture or loss change separately.

论文: 2611.34830 — Not all world models can doubt: how training objective and architecture shape epistemic uncertainty in JEPA and RSSM world models 作者: Simon Baur, Wojciech Samek, Jackie Ma 分类: cs.AI, cs.LG 阅读范围: 原始 arXiv HTML,完整阅读正文第 1–7 节与附录 A–D,文本提取未截断。 15 张原图均已目视检查。 没有复现实验,也没有独立审计外部代码、数据集或引用文献。 下文交代会影响解读的原文不一致之处。

问题

球入杯的画面里,小球在最后一帧突然换了位置。 论文在模拟器里制造这样的突变,再追踪它经过两个世界模型时留下的反应。 两个图像编码器都作出了反应。 可到了 DreamerV3 预测流程后端的不确定性读出,这个反应比 LeWM 弱得多。

世界模型就是学出来的模拟器:预测执行一个动作之后会发生什么,让规划器先比较几种做法,再决定真正执行哪一种。 遇到不熟悉的条件,预测可能不可靠。 不确定性估计能帮忙,但它收到的是已经处理过的场景表示。 入口处已经注意到的变化,到读出时可能只剩很淡的线索。

这篇研究问的是:线索在哪里变淡了? 作者在十个模拟视觉控制环境里,比较预测未来嵌入表示的 LeWM(JEPA),与带循环状态、通过重建图像训练的 DreamerV3(RSSM)。 研究对象是训练后加上的不确定性估计,没有据此给模型知道的一切下总判决。

翻译

顺着变化,一直找到读出端

作者训练或取得对应环境的模型检查点,再固定它们,拟合一个最后一层拉普拉斯估计。 它利用训练特征,对最终预测层的权重建立不确定性记录。 面对新观测时,得到的方差分数只看最终线性预测层收到的输入,也就是预测器特征,见第 3 节与附录 B。

另一个对照,是在同一批固定特征上,用重采样的数据分别训练五个小预测头,再看它们的分歧。 这是五个读出头,没有重新训练五个完整世界模型。 两种方法都受同一个条件约束:变化没传到输入上,读出就无法仅凭这个输入识别它,见附录 A。

两种世界模型构造这个输入的方式不同。 LeWM 直接用最近三帧的编码和动作预测下一步表示,不经图像解码器重建画面。 Dreamer 则先结合当前图像与旧记忆,推断当前状态,再通过带门控的循环更新,把新证据与旧记忆混合,最后从更新后的记忆形成预测特征,见第 3.3 节。

关键的数据路线,可以缩写成:

Dreamer:
encoded frame + memory -> inferred state
inferred state + action + memory -> new memory -> feature -> score

LeWM:
encoded recent frames + actions -> predictor feature -> score

图中的 inferred state,是 Dreamer 依据当前观测得到的状态估计,论文称它为后验状态。 它和最后一层权重的不确定性,不是同一件东西。 这个状态估计可以已经响应了图像变化,后面的预测特征却只响应一点。

LeWM 与 Dreamer 对受控状态变化的逐阶段反应原图

论文原图 2,由原始 SVG转为位图。 蓝绿色是 LeWM,琥珀色是 Dreamer,红色虚线标出循环更新的位置。 曲线表示归一化的反应,不是准确率。 图中展示八个环境,十个环境的数值都在附录 C。

研究者按训练数据中的标准差,改动一个物理状态坐标,比如位置或角度,重新渲染画面,再和未改动的版本比较。 他们测的是相对位移:考虑输入改动的大小和表示本身的尺度之后,这一层究竟响应了多少,见第 3.3 节。

在 Ball-in-cup(球入杯) 环境里,让变化只出现一帧,附录 C 表 2 报告了以下均值。 它平均的是被改动的身体与物体坐标:

阶段归一化相对位移
Dreamer 当前状态后验1.10
Dreamer 更新后的循环记忆0.15
Dreamer 预测器特征0.12
LeWM 预测器特征1.00

大的下降发生在 Dreamer 已经推断当前状态之后,也就是循环更新处。 这些数说明反应强弱,不能说信息恰好只剩 12%,更不能读成预测准确率只有 12%。

把变化保持八帧,这个环境里 Dreamer 的预测特征反应会升到 0.37。 门控更新只让一次短促的变化进入部分新记忆;同样的证据重复出现,才会逐步累积。 LeWM 则直接读取三帧上下文,没有一个持续携带窗口之前信息的循环状态,见第 4 节与附录 C 表 2。

分清运行时的混合,与训练时的取舍

作者把反应减弱与两个机制联系起来。 一个是刚才说的循环混合,另一个发生在训练阶段:模型主要学着保留什么?

Dreamer 的重建损失,会把图像各处像素的误差加起来。 画面占比大的手臂,可能比小球或小方块带来更大的重建压力,尽管后者对任务很重要。 作者用某个实体的像素贡献的梯度,测量这种压力。 在七个带独立物体的环境里,物体与身体的梯度比值,和 Dreamer 对物体与身体的不确定性敏感度比值,呈现 0.93 的 Spearman 相关,见第 4 节与图 4。

这里说的是训练目标。 不是每次查询不确定性时,图像都要先经过解码器重建。 重建损失是在训练时,参与塑造表示和预测流程。

LeWM 没有对应的像素重建项。 在这些配置里,它对物体与身体变化的敏感度更接近。 把持续时间和实体梯度份额放进回归,在 Dreamer 的对数敏感度上得到 R² = 0.65,约解释这批测量在这个尺度上 65% 的变动。 这个百分比和任务成功率无关。 统计推断按环境分组处理相关性。 真正去掉重建项,或改动循环门控来做因果验证,论文明确留作后续工作,见第 4 节、附录 B–C 与第 6 节。

往前读一点,看看原来已经有什么

最有用的对照,没有重新训练 Dreamer 世界模型。 作者在同一模型更早的当前帧后验特征上,重新拟合同类不确定性记录,绕开后面的循环更新。 球入杯的单帧瞬移检测,附录 C 表 8 给出的结果是:

不确定性读出位置检测 AUROC
LeWM 预测器特征1.00
Dreamer 先验预测器特征0.61
Dreamer 当前帧后验特征1.00

AUROC 衡量分数能不能把改动过的窗口排在正常窗口之前。 0.5 表示随机水平的排序,1.0 表示完全正确的排序。 这里报告的是两位小数的检测结果,不是预测正确的概率。 协议使用 60 个基础状态,比较改动与未改动的窗口。

更早的 Dreamer 读出,对这个当前帧异常的响应明显改善。 线索在循环瓶颈之前已经存在。 因此,结论要收得准确:默认预测阶段的读出,会漏掉同一个模型其他表示已经捕捉到的变化。

但后验特征需要一张实际观测到的图像。 规划器想象未来时,没有那张图像。 所以这个更早的记录,不能直接替代想象轨迹中的先验特征读出,见附录 C 的后验特征对照。

再看“不确定”还包括哪些问题

论文另外测试了识别估计器拟合时排除的区域、给模型自己的预测错误排序、持续环境变化,以及用不确定性惩罚辅助规划。

区域实验尤其要读准。 作者重新累计不确定性头的训练特征矩阵时,排除一个位置象限,世界模型本身不变。 没有把世界模型重新训练成没见过那个区域的版本,见附录 B。

正文表 1 展示了同一个模型,对身体区域和物体区域也会表现不同:

拟合时排除的区域LeWM AUROCDreamer AUROC
Cube double:身体0.760.95
Cube double:物体0.970.67
Scene:物体0.540.48

数值为各排除象限上的均值;论文另外报告了象限之间的标准差。

在 Cube double 的身体上,Dreamer 更高;换成物体,LeWM 更高。 到了 Scene 的物体,两者都弱。 如果总结成一种模型无论什么“不熟悉”都更会识别,就丢掉了这些例外。

其他测试也有边界。 重力、密度等物理性质持续改变,对两者都更难,没有一致的领先者。 有些相互穿透在图像里看不见,两种模型的检测都处于随机水平。 而预测错误排序又是另一个问题:分数能不能提前对应模型下一步的错误,见第 5 节。

规划时,两种模型都用一种反复筛选候选动作的搜索方法,叫 CEM。 测试中的惩罚读取想象轨迹末端的不确定性,再按目标成本尺度调整。 报告结果从三个试过的惩罚权重里选最好者,与不加惩罚比较;每个种子运行 200 个回合,共三个种子。 某些稀疏起点或更远目标的设置有收益,另一些会变差,不能据此保证规划普遍改善,见图 8 与附录 B–C。

核心概念

没学到,与过程本来就随机,不是一回事。 认知不确定性关心模型或读出缺少什么经验;偶然不确定性关心过程自身的随机变化。 Dreamer 的随机隐状态,和后加的权重不确定性记录,是两个不同对象。 有一个概率隐状态,不会自动让这里测的读出成为可靠警报。

观察当下,与预测未来,读的是不同特征。 后验可以用最新图像,先验在想象中只能依靠记忆和预测流程。 把读出前移,可以改善某些当前帧检测,同时也改变了分数需要的输入。 它是诊断性对照,还不是现成的规划替代品。

有响应,是必要线索,不是完整校准。 输入没有的变化,读出无法响应。 保留了变化,也不保证不确定性会恰当上升、能预报所有错误,或者支持一个有用的决策阈值。 相对响应、异常排序 AUROC 和规划成功率,测的是不同事情。

洞见

准备换一种更复杂的不确定性估计器之前,先追踪它将收到的线索。 警报弱,问题可能早在读出之前的处理和表示选择里出现了。

Dreamer 的对照给了这项工程判断一个具体依据。 同一个固定世界模型,更早读取就能改善当前帧异常检测。 但该在哪里读,仍取决于要识别眼前的异常,还是评估尚未看见的未来。

博导审稿

这项比较,每个模型范式选了一个代表,每个环境固定一份检查点。 实现上还有重要差异:LeWM 用 224×224 的 ViT 编码器,Dreamer 用 64×64 的 CNN,特征维度与拉普拉斯校准方式也不同。 共享记录数据让比较有价值,但没有把训练目标、编码器、分辨率和循环结构的原因独立拆开。 论文把去掉损失、改动门控的关键干预留作未来工作。

“不熟悉区域”的实验,改的是读出拟合,没有改世界模型已有的训练经验。 错误排序用的量也因模型而异:LeWM 是嵌入残差,Dreamer 是后验与先验的分歧。 用于参照的岭回归探针,是线性读出类的参照,不能当成所有非线性估计器都突破不了的信息上限。

规划结果按报告的协议,在三个惩罚权重中选最好者;原文没有交代独立的留出权重选择流程。 回合种子也不代表重新训练了三个世界模型。 两类模型的目标成本定义还不同。 因此,这支持已测配置的表现,不是预先固定一个惩罚参数就能保证有收益。

有些原文细节还需要对齐。 附录 D 把不确定性地形图的 Dreamer 特征写成后验,而主分析用的是先验预测特征。 后验对照的区域表,在部分环境里报告的先验分数,也和正文表 1 不同。 规划段落又把 Scene 同时写成例外和无收益案例,图 8 却显示 Dreamer 的稀疏起点有正收益。 本文把具体读出与表格分开,不从这些尚未对齐的比较里推导数值结论;没有审计代码或实验输出来消除这些差异。

最后,研究依赖可控模拟器,考察环境专用模型上的最后一层估计器。 它没有证明大规模视频预训练世界模型也会同样表现,没有校准真实世界损害的概率,也没有给出完整的物理理解能力判决,见第 6 节。

启发

在模拟器里,选一个与任务有关的状态变化,分别看图像编码、当前状态估计、循环记忆、预测特征和不确定性分数有没有响应。 既试短促的变化,也试持续的变化;既看画面占比大的实体,也看很小但关系到任务的物体。 这样可以找到警报在哪一步失去了需要的线索。

接着按真正用途评估分数:当前帧异常检测、错误排序,还是实际接收它的规划器。 把惩罚参数选择和最终评测分开。 一个观察当下的检测器,不能凭空提供未来观测。 能带走的做法,是调警报之前先检查信息路线,再单独验证任何结构或损失改动。