# Dreamer（模型家族）

Dreamer 是一族强化学习智能体，它们先学习环境的 world model，再通过在该模型生成的想象轨迹中行动来训练策略，而不是（仅仅）在真实环境中反复试错。该系列由达尼贾尔·哈夫纳及合作者于 2019 年至 2025 年间开发，从 DreamerV1（arXiv，2019 年 12 月）历经 [DreamerV3](https://www.edgepedia.org/zh/dreamerv3)（2023 年 1 月，2025 年发表于《自然》）延续到 Dreamer 4（2025 年 9 月），更早的 PlaNet 智能体是其直接前身。该系列最引人注目的主张异常宽泛：据报道，DreamerV3 用单一超参数配置解决了 150 多个多样化任务，并且是首个从零开始在《[我的世界](https://www.edgepedia.org/zh/minecraft)》中采集钻石的算法；而据报道，Dreamer 4 仅凭离线视频数据就做到了同样的事。几乎所有已发表的数字都来自作者自己的论文；证据基础中没有任何独立复现。

| 事实 | 详情 |
|---|---|
| 创建者 | 达尼贾尔·哈夫纳及合作者；DreamerV1 于 2020 年 3 月通过 Google AI Blog 公布 <sup>[1](https://research.google/blog/introducing-dreamer-scalable-reinforcement-learning-using-world-models/)</sup> |
| 发布版本 | DreamerV1（arXiv 2019 年 12 月）、DreamerV3（arXiv 2023 年 1 月；《自然》2025 年）、Dreamer 4（arXiv 2025 年 9 月）；PlaNet 为前身 <sup>[2](https://ar5iv.labs.arxiv.org/html/1912.01603)</sup><sup> • </sup><sup>[3](https://arxiv.org/pdf/2301.04104)</sup><sup> • </sup><sup>[4](https://www.arxiv.org/pdf/2509.24527)</sup> |
| 核心方法 | 学习潜空间 world model；在想象轨迹上训练 actor-critic 策略 <sup>[5](https://github.com/danijar/dreamerv3/)</sup> |
| 主要主张（V3） | 一套配置适用于 150 多个任务；在 1 亿步内从零开始采集《我的世界》钻石 <sup>[6](https://doi.org/10.1038/s41586-025-08744-2)</sup><sup> • </sup><sup>[3](https://arxiv.org/pdf/2301.04104)</sup> |
| 主要主张（Dreamer 4） | 首个纯粹从标准离线数据集、无需环境交互获得《我的世界》钻石的智能体 <sup>[4](https://www.arxiv.org/pdf/2509.24527)</sup> |
| 可用性 | V1（Google Research）和 V3（作者重新实现）的开源代码 <sup>[5](https://github.com/danijar/dreamerv3/)</sup><sup> • </sup><sup>[7](https://github.com/google-research/dreamer/)</sup> |

## Dreamer 是什么，以及 world model 为何重要

world model 是一个学习得到的模拟器：一个神经网络，给定智能体过去的动作和观测，预测接下来会发生什么。Dreamer 智能体在紧凑的潜空间中学习这样的模型，这意味着模型不是逐帧预测原始像素，而是预测由输入图像计算出的紧凑内部状态。2019 年的前身 PlaNet 已经用这样的模型进行规划：它基于由输入图像计算出的紧凑模型状态序列来预测结果，而不是直接从一张图像预测下一张 <sup>[1](https://research.google/blog/introducing-dreamer-scalable-reinforcement-learning-using-world-models/)</sup>。

Dreamer 的独特之处在于在想象中训练策略。智能体通过在学习到的 world model 的紧凑状态空间中想象的轨迹，反向传播学习到的状态值的解析梯度 <sup>[2](https://ar5iv.labs.arxiv.org/html/1912.01603)</sup>。在实践中，world model 将感官输入编码为分类表示，并在给定动作的情况下预测未来的表示和奖励，然后从这些想象轨迹中训练 actor-critic 策略 <sup>[5](https://github.com/danijar/dreamerv3/)</sup>。

## 发布时间线：从 PlaNet 到 Dreamer 4

- **PlaNet（2019）** 确立了 Dreamer 继承的潜空间 world model 方法；DreamerV1 明确利用了 PlaNet 的 world model <sup>[1](https://research.google/blog/introducing-dreamer-scalable-reinforcement-learning-using-world-models/)</sup>。
- **DreamerV1** 于 2019 年 12 月发布到 arXiv，并于 2020 年 3 月在 Google AI Blog 上公布（论文和公告给出的日期不同；此处两者均引用）<sup>[2](https://ar5iv.labs.arxiv.org/html/1912.01603)</sup><sup> • </sup><sup>[1](https://research.google/blog/introducing-dreamer-scalable-reinforcement-learning-using-world-models/)</sup>。
- **DreamerV3** 于 2023 年 1 月出现在 arXiv，并于 2025 年经同行评审发表在《自然》上 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup><sup> • </sup><sup>[6](https://doi.org/10.1038/s41586-025-08744-2)</sup>。V3 代码库建立在 [DreamerV2](https://www.edgepedia.org/zh/dreamerv2) 代码库之上。<sup>[5](https://github.com/danijar/dreamerv3/)</sup>
- **Dreamer 4** 于 2025 年 9 月推出 <sup>[4](https://www.arxiv.org/pdf/2509.24527)</sup>。

## 工作原理：已发表的架构与训练方法

**DreamerV3 的 world model** 实现为循环状态空间模型（RSSM）：编码器将感官输入映射为随机表示，循环序列模型在给定过去动作的情况下预测这些表示，模型状态还额外预测奖励、延续标志和输入的重建 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup>。这些表示是分类的（离散的）而非连续的 <sup>[5](https://github.com/danijar/dreamerv3/)</sup>。值得注意的是，论文将 DreamerV3 的性能主要归因于其 world model 的无监督重建损失，这与大多数主要依赖奖励和价值预测梯度的先前算法不同 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup>。

**Dreamer 4** 用双组件 transformer 设计取代了 RSSM：一个 tokenizer 将视频帧压缩为连续表示，一个动力学模型在给定交错动作的情况下预测这些表示，两者使用相同的高效 transformer 架构。tokenizer 使用掩码自编码训练，动力学模型使用一种新颖的 shortcut forcing 目标训练，旨在以少量前向传递实现交互式生成，并防止误差随时间累积 <sup>[4](https://www.arxiv.org/pdf/2509.24527)</sup>。训练分三个阶段进行：在视频和动作上预训练 tokenizer 和 world model，通过交错任务嵌入将策略和奖励模型微调到 world model 中，然后通过想象训练对策略进行后训练 <sup>[4](https://www.arxiv.org/pdf/2509.24527)</sup>。一个关键的扩展特性是，Dreamer 4 可以在大量无标签视频上训练，只需要少量与动作配对的视频 <sup>[4](https://www.arxiv.org/pdf/2509.24527)</sup>。

## 数据一览：基准测试与扩展（厂商报告）

本节所有数字均来自作者自己的论文和公告；可用来源中没有出现独立复现。

**DreamerV1（2020）。** 在 20 个视觉控制任务上，Dreamer 在 5×10⁶ 环境步后达到 823 的平均性能，相比之下 PlaNet 为 332，最佳无模型智能体 D4PG 为 786 <sup>[2](https://ar5iv.labs.arxiv.org/html/1912.01603)</sup>。谷歌的公告报告称，Dreamer 在环境交互次数仅为二十分之一的情况下超越了 D4PG：不到 500 万帧（模拟内 28 小时）对比无模型智能体的 1 亿帧（23 天），训练计算分别为 16 小时和 24 小时 <sup>[1](https://research.google/blog/introducing-dreamer-scalable-reinforcement-learning-using-world-models/)</sup>。

**DreamerV3（2023）。** 论文报告称，单一配置在 150 多个多样化任务上超越了专门方法 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup><sup> • </sup><sup>[6](https://doi.org/10.1038/s41586-025-08744-2)</sup>。具体结果包括：

- **《我的世界》：** Dreamer 是首个在没有人类数据或课程的情况下从零开始在《我的世界》中采集钻石的算法；所有训练过的智能体都在 1 亿环境步内发现了钻石 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup><sup> • </sup><sup>[6](https://doi.org/10.1038/s41586-025-08744-2)</sup>。
- **扩展性：** 使用固定超参数训练了从 1200 万到 4 亿参数的六种模型规模；性能随模型规模单调提升，更大的模型既提高了最终性能，又减少了所需的环境交互 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup>。
- **BSuite：** 在 23 个环境、468 种配置上，DreamerV3 创造了新的最先进水平，尤其在规模鲁棒性方面有所改善 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup>。
- **Atari：** 在 57 款游戏的 [Atari 2600](https://www.edgepedia.org/zh/atari-2600) 基准测试中，在粘性动作设置下以 2 亿帧预算运行，Dreamer 超越了 MuZero、[Rainbow](https://www.edgepedia.org/zh/rainbow-dqn-variants) 和 IQN，同时仅使用一小部分计算资源 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup>。

**Dreamer 4（2025）。** 论文报告称，该 world model 在预测《我的世界》中的语义交互方面大幅超越先前的 world model，并且 Dreamer 4 是首个纯粹从标准离线数据集、无需环境交互获得《我的世界》钻石的智能体 <sup>[4](https://www.arxiv.org/pdf/2509.24527)</sup>。

## 与 MuZero 和无模型强化学习的比较

DreamerV3 论文将该系列定位为同时对抗基于规划的方案和无模型方案。PPO 被描述为稳健但数据需求大；SAC 需要熵调优且难以处理高维输入；MuZero 使用价值预测模型进行规划，但其作者未发布实现，且该算法包含多个复杂组件，难以复现；Gato 需要专家演示。相比之下，Dreamer 不需要专家数据且是开源的 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup>。在 Atari 2 亿帧基准上的定量比较——据报道 Dreamer 以一小部分计算量击败了 MuZero、Rainbow 和 IQN——是论文对 MuZero 规划谱系和强无模型方法的直接正面交锋 <sup>[3](https://arxiv.org/pdf/2301.04104)</sup>。在视觉控制上，Dreamer 的环境交互次数仅为 D4PG 的二十分之一，这一结果，在连续任务上提出了同样的样本效率论点 <sup>[1](https://research.google/blog/introducing-dreamer-scalable-reinforcement-learning-using-world-models/)</sup>。

## 可用性、许可与采用

原始版本和当前版本都是开源的。Google Research 发布了 DreamerV1 代码，该代码纯粹通过潜空间想象从图像中学习长时程行为 <sup>[7](https://github.com/google-research/dreamer/)</sup>。DreamerV3 仓库是作者基于开源 DreamerV2 代码库的重新实现，明确与谷歌或 DeepMind 无关，并经过测试可在多种环境上复现官方结果 <sup>[5](https://github.com/danijar/dreamerv3/)</sup>。

## References

1. [Introducing Dreamer: Scalable Reinforcement Learning Using World Models (Google AI Blog, 2020)](https://research.google/blog/introducing-dreamer-scalable-reinforcement-learning-using-world-models/)
2. [Dream to Control: Learning Behaviors by Latent Imagination (DreamerV1, arXiv 1912.01603)](https://ar5iv.labs.arxiv.org/html/1912.01603)
3. [Mastering Diverse Domains through World Models (DreamerV3, arXiv 2301.04104, January 2023)](https://arxiv.org/pdf/2301.04104)
4. [Training Agents Inside of Scalable World Models (Dreamer 4, arXiv 2509.24527, September 2025)](https://www.arxiv.org/pdf/2509.24527)
5. [danijar/dreamerv3 GitHub repository](https://github.com/danijar/dreamerv3/)
6. [Mastering diverse control tasks through world models (DreamerV3, Nature 2025)](https://doi.org/10.1038/s41586-025-08744-2)
7. [google-research/dreamer GitHub repository](https://github.com/google-research/dreamer/)

---
*Initially written Sep 17, 2026 · Edited: Oct 11, 2026; Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Foundation-model methods and training › Reinforcement learning and world models

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/dreamer-model-family

English original: https://www.edgepedia.org/dreamer-model-family
