DreamerV3 是首个用单一固定超参数配置在 150+ 个不同领域任务上全面超越专用调参算法的通用强化学习方法。通过学习一个紧凑的世界模型,在想象空间中训练 actor-critic,并引入 symlog 压缩与收益归一化等鲁棒性技术,DreamerV3 实现了跨域泛化——并成为首个从零(无人类数据)在 Minecraft 中收集到钻石的算法。DreamerV3 is the first general reinforcement learning method that, with a single fixed hyperparameter configuration, outperforms specialized tuned algorithms across 150+ tasks from diverse domains. By learning a compact world model, training an actor-critic inside imagination, and introducing robustness techniques such as symlog compression and return normalization, DreamerV3 achieves cross-domain generalization — and becomes the first algorithm to collect diamonds in Minecraft from scratch, without any human data.
强化学习已在围棋、电子游戏等单一领域取得突破,但每换一个新任务就需要重新调参——这严重限制了 RL 的实用价值。作者提出的核心问题是:Reinforcement learning has produced breakthroughs in individual domains such as Go and video games, but every new task requires retuning the hyperparameters — which severely limits the practical value of RL. The core question the authors raise is:
"Developing a general algorithm that learns to solve tasks across a wide range of applications has been a fundamental challenge in artificial intelligence."
现有专用算法(MuZero、PPG、IMPALA 等)在各自领域表现优异,却无法直接迁移:不同任务的奖励量纲、观测模态(图像/本体感知/向量)、回报范围差异极大,导致相同的损失函数和归一化假设在跨域时崩溃。DreamerV3 的目标是用一套固定超参数覆盖连续控制、离散游戏、3D 导航、开放世界等所有场景。Existing specialized algorithms (MuZero, PPG, IMPALA and others) excel in their own domains yet cannot transfer directly: tasks differ enormously in reward scale, observation modality (images / proprioception / vectors) and return range, so identical loss functions and normalization assumptions collapse across domains. The goal of DreamerV3 is to cover continuous control, discrete games, 3D navigation and open worlds with one fixed set of hyperparameters.
DreamerV3 由三个模块组成:世界模型(World Model)将真实轨迹压缩为紧凑表征;Actor 在想象轨迹中学习策略;Critic 估计状态价值。三者联合训练,但 actor 与 critic 仅在想象空间更新,大幅提升样本效率。DreamerV3 consists of three modules: the World Model compresses real trajectories into compact representations; the Actor learns a policy inside imagined trajectories; the Critic estimates state values. The three are trained jointly, but actor and critic are updated purely in imagination, which greatly improves sample efficiency.
世界模型基于 Recurrent State Space Model (RSSM),包含以下组件:The world model builds on the Recurrent State Space Model (RSSM) and comprises the following components:
世界模型损失:L(φ) = β_pred · L_pred + β_dyn · L_dyn + β_rep · L_rep,权重分别为 1、1、0.1。动态损失和表征损失均通过 KL 散度(free bits 剪裁至 1 nat)相互约束,让序列模型与编码器共同进步。World model loss: L(φ) = β_pred · L_pred + β_dyn · L_dyn + β_rep · L_rep, with weights 1, 1 and 0.1 respectively. The dynamics loss and the representation loss constrain each other through the KL divergence (clipped by free bits at 1 nat), letting the sequence model and the encoder improve together.
跨域适用性的核心在于对不同量纲目标的统一处理:Cross-domain applicability rests on handling objectives of very different scales uniformly:
symlog(x) = sign(x) · ln(|x|+1),对大正负值对称压缩,用于重建损失和 critic 目标;避免了截断大目标、引入非平稳性等替代方案的缺陷。SymLog Transformation: symlog(x) = sign(x) · ln(|x|+1) compresses large positive and negative values symmetrically and is used for the reconstruction loss and the critic targets; it avoids the flaws of alternatives such as clipping large targets or introducing non-stationarity.DreamerV3 在 7 大基准、150+ 任务上用同一套固定超参数进行评测,对比方法包括各基准的专用 SOTA 算法及高质量 PPO 实现。所有实验均在单张 A100 GPU 上完成。DreamerV3 is evaluated with one and the same fixed set of hyperparameters across 7 benchmark suites and 150+ tasks, against the specialized SOTA algorithm of each benchmark as well as a high-quality PPO implementation. All experiments run on a single A100 GPU.
| 基准Benchmark | 数据量Data | 主要对比方法Main baselines | 结果Result |
|---|---|---|---|
| Atari 57(200M frames) | 200M 帧200M frames | MuZero, Rainbow, IQN | 超越 MuZero(使用更少算力)Outperforms MuZero while using less compute |
| Atari 100k(26 games, 400K frames) | 400K 帧400K frames | IRIS, TWM, SPR, SimPLe | 超越所有方法(EfficientZero 用重置不公平)Outperforms every method (EfficientZero's resets make it an unfair comparison) |
| ProcGen(16 games, 50M frames) | 50M 帧50M frames | PPG(调参专用), RainbowPPG (tuned per task), Rainbow | 匹敌调参 PPG,超越 RainbowMatches tuned PPG, outperforms Rainbow |
| DMLab(30 tasks, 100M frames) | 100M 帧100M frames | IMPALA, R2D2+(1B 步)IMPALA, R2D2+ (1B steps) | 数据效率提升超过 1000%Data efficiency improved by over 1000% |
| 本体感知控制(18 tasks, 500K steps)Proprioceptive control (18 tasks, 500K steps) | 500K 步500K steps | D4PG, DMPO, MPO | 新 SOTANew SOTA |
| 视觉控制(20 tasks, 1M steps)Visual control (20 tasks, 1M steps) | 1M 步1M steps | DrQ-v2, CURL | 新 SOTANew SOTA |
| BSuite(468 configurations) | — | Boot DQN | 新 SOTANew SOTA |
消融实验表明:"The performance of Dreamer predominantly rests on the unsupervised reconstruction loss of its world model, unlike most prior algorithms that rely predominantly on reward and value prediction gradients." 其中 KL 目标(世界模型动态损失与表征损失)是最关键的学习信号;收益归一化和 symexp twohot 损失次之。The ablations show that "The performance of Dreamer predominantly rests on the unsupervised reconstruction loss of its world model, unlike most prior algorithms that rely predominantly on reward and value prediction gradients." Among the components, the KL objective (the dynamics loss and the representation loss of the world model) is the most critical learning signal, followed by return normalization and the symexp twohot loss.
Minecraft 实验需要单张 A100 GPU 训练 9 天。尽管与 VPT 的 720 GPU × 9 天相比已大幅降低,但对于普通研究者仍是不小的成本。模型规模从 12M 到 400M 参数的实验也需要相应算力支撑。The Minecraft experiment needs 9 days of training on a single A100 GPU. Although far cheaper than the 720 GPUs × 9 days of VPT, it is still a considerable cost for an ordinary researcher. The experiments scaling model size from 12M to 400M parameters also demand corresponding compute.
论文声称"固定超参数"跨域使用,但这套超参数本身是在广泛实验后选定的。作者在附录中指出,某些超参数(如折扣因子 γ = 0.997)在一些任务上并非最优,只是在所有任务上"足够好"。The paper claims that "fixed hyperparameters" work across domains, but that very set was chosen after extensive experimentation. In the appendix the authors note that some hyperparameters (such as the discount factor γ = 0.997) are not optimal on certain tasks, merely "good enough" on all of them.
DreamerV3 在两种动作空间均有评测,但 actor 的梯度估计方式不同(连续用重参数化,离散用 straight-through estimator),可能在某些任务上引入额外方差。论文未针对这一差异做专项分析。DreamerV3 is evaluated on both kinds of action space, but the actor gradient is estimated differently in each (reparameterization for continuous actions, a straight-through estimator for discrete ones), which may introduce extra variance on some tasks. The paper offers no dedicated analysis of this difference.
RSSM 的离散表征(32×32 one-hot)和固定预测 horizon(T=16 步)在极长时序依赖或高度随机环境中可能成为瓶颈。论文在 DMLab(需要空间+时序推理)上已体现出世界模型的优势,但更长期规划的场景未被深入分析。The discrete representation of RSSM (32×32 one-hot) and the fixed prediction horizon (T=16 steps) may become bottlenecks in environments with extremely long temporal dependencies or high stochasticity. The paper already shows the advantage of the world model on DMLab (which requires spatial and temporal reasoning), but scenarios demanding longer-horizon planning are not analyzed in depth.