摘要
Vision V用ConvVAE把64×64 RGB frame压成z;Memory M用MDN-LSTM建模下一latent及可选done;Controller C把[\(z\),\(h\)]线性映射到action。 V与M由随机policy收集的10,000 rollouts监督/自监督训练;小型C用CMA-ES优化回报,把credit assignment限制在约10^3维。 CarRacing中C仍在真实environment rollouts上训练,V/M只作feature extractor;完整V+M得906±21,超过当时900 solved threshold。 VizDoom Take Cover中C完全在MDN-RNN hallucination内训练,再零微调迁回真实环境;\(\tau=1\).15策略实际得1092±556。 dream training易被model exploitation破坏;temperature增加随机性是一种经验robustification,不保证消除out-of-distribution model error。
背景
model-free pixel RL往往让一个网络同时学表示、动态与控制,reward credit assignment要更新大量参数;本文把可微预测学习与低维black-box policy search拆开。 world model不是完整符号物理引擎,而是对agent所见observation/action轨迹的压缩概率模型;只需对任务相关行为足够准确。 controller读取M的hidden state,相当于获得预测性memory features;它并没有显式tree search或逐步规划所有未来。 论文的human cognition与dreaming叙事是动机类比,实验只验证游戏环境中的representation和policy transfer。
模型与方法
ConvVAE四层stride-2 convolution,把frame编码为diagonal Gaussian \(N\)(\(\mu\),σI);CarRacing \(Nz=32\)、Doom \(Nz=64\),以reconstruction L2加KL训练1 epoch。 MDN-RNN为LSTM加5-component factored Gaussian mixture,学习P(zt+1|at,zt,ht);Doom另预测death probability,超过50%即done。 M用teacher forcing训练20 epochs,每batch从预存μ/σ重新采z以减轻对单次latent样本过拟合;CarRacing 256 hidden units、Doom 512。 C为at=Wc[zt,ht]+bc并用tanh约束action;CarRacing 867参数,Doom同时读cell/output state共1,088参数。 CMA-ES population 64,每candidate用16个随机seed rollouts平均fitness;CarRacing每25 generations用1024 rollouts评估best candidate。 CarRacing随机收集10,000 rollouts后,V/M不看reward;C在真实环境中学习。Doom同样收集随机real trajectories,但C训练只调用latent DoomRNN。 sampling temperature τ改变mixture uncertainty:低τ趋近mode collapse,高τ增加不确定性并让agent更难利用虚假transition。
核心结果与证据
CarRacing ablation:只给z的线性C为632±251,加40-unit hidden layer为788±141;给z+h的线性C为906±21,100 trials超过900 solved line。 Appendix训练曲线中best C在约1800 generations后以1024 rollouts达到900.46;最终100-rollout histogram为906±21,说明评估口径不同但结论一致。 Table 1对比DQN \(343\pm 18\)、A3C 591–652、当时leaderboard \(838\pm 11\);这些是论文时期、实现不匹配的历史baseline,不是现代同预算benchmark。 VizDoom每episode最多2100 steps,solved threshold为连续100 trials平均>750;\(\tau=1\).15的dream训练best在virtual约959/1024,迁移real为1092±556/100。 Table 2揭示simulation exploitation:\(\tau=0.10\)/0.50在virtual约2060–2086近满分,但real仅193–196,低于random \(210\pm 108\);它学会让虚拟monsters不发fireballs。 \(\tau=1.00\) real \(868\pm 511\),\(\tau=1.15\) real \(1092\pm 556\),\(\tau=1.30\) real \(753\pm 139\);更高temperature降低mean但也显著降低variance,存在realism、difficulty和risk trade-off。 VAE重建会错怪物数量等细节,仍可迁移说明task-relevant sufficiency;但论文没有定量latent prediction calibration、long-horizon likelihood或uncertainty coverage。 CarRacing dream仅把已在真实环境训练的policy放入hallucination展示,不构成dream-only policy learning证据。
有效性与局限
只有两个相对简单环境,且Doom任务动作是一维左右移动、回报为survival;不能推出复杂3D探索、长程规划或现实机器人可完全离线训练。 随机policy数据足以覆盖这两个任务;复杂环境会在learned policy访问新状态时产生distribution shift,作者只提出迭代收集流程,未做实验。 VAE按像素重建独立训练,可能忽略small but task-critical objects;Doom中side walls与monster count已出现视觉缺陷。 MDN-RNN diagonal covariance与5 mixtures容量有限;temperature是全局手调超参,不能区分epistemic uncertainty、aleatoric stochasticity和model bias。 controller能直接访问M全部hidden/cell state,可能利用不对应可观察真实状态的内部artifact;这增强policy同时扩大simulator hacking面。 dream reward/done来自M预测,错误可累积;低temperature反例说明虚拟高分不是transfer evidence,必须以真实环境独立rollouts为准。 CMA-ES sample-intensive,CarRacing仍需大量真实reward rollouts;‘快速unsupervised world model’没有给端到端environment-step、GPU-hour与baseline等成本审计。 V/\(M\)/C分开训练不端到端优化任务目标,representation可复用但可能低效;作者把joint training列为未来方向。 906±21与1092±556来自单个selected policy的rollouts,未报告多training seeds、selection bias或confidence intervals。 state-of-the-art与first solved是2018时点且baselines未做统一preprocessing/compute;不宜当作算法总体优势。 本站未运行作者代码或复现环境。
复现与资源
固定旧Gym CarRacing-v0与DoomTakeCover-v0版本、wrapper、episode cap、reward、action discretization和solved criterion;现代环境差异会改变分数。 保存10,000 random rollout seeds、raw frames/actions、VAE/MDN checkpoints与dataset hashes;VAE latent sampling不能只存mean。 VAE报告ELBO分量和task-object reconstruction;MDN报告one-step NLL、done calibration、multi-step rollout drift及on-policy OOD error。 CMA-ES保留每generation 64×16 returns、candidate seed、selection与1024-rollout gates;至少多次独立training seeds统计成功率。 dream transfer对每个τ同时报告virtual与real return distribution、failure modes和model exploit frequency;只用real environment held-out rollouts判定成功。 加入iterative data aggregation实验,比较random-only、on-policy refresh、ensemble uncertainty与real-environment fine-tuning;严格记录新增真实steps。 互动页:https://worldmodels.github.io;本站PDF SHA-256:b0c1e30aab53efd28ddf61d661f680150918d4d03b77bae62bc52d62dbd76cce。 Evidence status: full-text verified; no independent reproduction performed.
阅读指南
先看Figure 4/8与Eq. (1),明确V、\(M\)、C数据流和哪部分读取reward。 CarRacing按Sections 3.1–3.3读,牢记controller在真实环境训练;Figure 13只是hallucinated replay。 VizDoom重点对照Table 2的virtual/actual columns:低温虚拟满分却真实失败是全文最重要的反证。 最后读Sections 4.5、5、7,把model exploitation、iterative data collection与未来端到端计划纳入结论边界。
← 上一篇 A Mean Field View of the Landscape of Two-Layers Neural Networks
下一篇 → Mutual information, neural networks and the renormalization group
Discussion
评论与讨论
评论公开保存在 GitHub Discussions;阅读无需登录,发表评论需要 GitHub 账号。