# DreamFusion

**DreamFusion**是谷歌研究院（Google Research）的本·普尔、阿杰·贾恩、乔纳森·T·巴伦和本·米尔登霍尔于2022年9月提出的一种文本到3D生成方法。该方法通过一种名为分数蒸馏采样（Score Distillation Sampling，SDS）的损失函数，利用预训练的2D文本到图像扩散模型Imagen提供的监督，优化[神经辐射场](https://www.edgepedia.org/zh/neural-radiance-field)（Neural Radiance Field，NeRF），从而根据文本描述合成3D模型<sup>[1](https://arxiv.org/abs/2209.14988)</sup><sup> • </sup><sup>[2](https://dreamfusion3d.github.io/)</sup>。该方法不需要3D训练数据，也不需要对图像扩散模型做任何修改，相关论文发表于ICLR 2023<sup>[1](https://arxiv.org/abs/2209.14988)</sup><sup> • </sup><sup>[3](https://openreview.net/pdf?id=FjNys5c7VyY)</sup>。

| 关键事实 | 详情 |
|---|---|
| 完整标题 | 《DreamFusion：利用2D扩散实现文本到3D生成》，arXiv 2022年9月29日，ICLR 2023<sup>[1](https://arxiv.org/abs/2209.14988)</sup><sup> • </sup><sup>[3](https://openreview.net/pdf?id=FjNys5c7VyY)</sup> |
| 作者 | 本·普尔、阿杰·贾恩、乔纳森·T·巴伦、本·米尔登霍尔（谷歌研究院）<sup>[1](https://arxiv.org/abs/2209.14988)</sup> |
| 核心技术 | 分数蒸馏采样（SDS），一种概率密度蒸馏损失，以2D扩散模型作为先验来优化参数化图像生成器<sup>[1](https://arxiv.org/abs/2209.14988)</sup> |
| 3D表示 | 随机初始化的NeRF，通过梯度下降优化，使其从随机角度渲染的2D图像达到低损失<sup>[1](https://arxiv.org/abs/2209.14988)</sup> |
| 扩散先验 | 64 × 64的Imagen基础文本到图像模型，不含超分辨率级联<sup>[4](https://zjj-low-key.github.io/2026/06/10/DreamFusion/)</sup> |
| 数据需求 | 无需3D训练数据；预训练图像扩散模型原样使用<sup>[1](https://arxiv.org/abs/2209.14988)</sup> |
| 报告速度 | 据后续工作Magic3D报告，每个资产平均约需1.5小时优化<sup>[5](https://arxiv.org/abs/2211.10440)</sup> |
| 官方代码 | 未发布，因为Imagen的权重从未公开；现有实现均以Stable Diffusion替代<sup>[6](https://nexgpu.net/en/models/dreamfusion/)</sup> |

## 所解决的问题

文本到图像合成借助在数十亿图文对上训练的扩散模型取得了快速进展。若将该方法直接迁移到3D，则需要大规模带标注的3D资产数据集以及高效的3D数据去噪架构，而这两者此前均不存在。DreamFusion通过将预训练的2D扩散模型视为渲染图像上的先验，并优化3D场景使其渲染结果看起来像是扩散模型认为合理的样本，从而绕过了这两项需求<sup>[1](https://arxiv.org/abs/2209.14988)</sup>。

此前的文本到3D工作，如Dream Fields，通过训练NeRF来最大化渲染图像与描述之间的CLIP相似度分数。DreamFusion及其后续工作则改用扩散模型作为分数生成器，为NeRF权重提供梯度更新<sup>[7](https://www2.eecs.berkeley.edu/Pubs/TechRpts/2023/EECS-2023-132.pdf)</sup>。

## 分数蒸馏采样

SDS是一种通过优化损失函数而非祖先采样来从扩散模型生成样本的方法。它允许在任意参数空间（包括3D）中优化样本，只要参数能够可微地映射回图像<sup>[2](https://dreamfusion3d.github.io/)</sup>。该损失源自概率密度蒸馏：NeRF的渲染结果被视为含噪样本，扩散模型预测去噪方向，由此产生的梯度仅更新NeRF参数，而扩散模型本身保持冻结<sup>[8](https://www.mdpi.com/2220-9964/15/7/293)</sup>。

DreamFusion优化的每次迭代执行四个步骤<sup>[9](https://zhangtemplar.github.io/dreamfusion/)</sup>：

1. 随机采样一个相机位置和一个光源。
2. 从该相机渲染NeRF的图像，并用光源进行着色。
3. 计算SDS损失对NeRF参数的梯度。
4. 用优化器更新NeRF参数。

仅靠SDS就能产生合理的场景外观，因此DreamFusion加入了正则化和优化策略来改善几何形状。训练后的NeRF具有连贯的法线、表面几何和深度，并可用朗伯着色模型重新打光<sup>[2](https://dreamfusion3d.github.io/)</sup>。

## 输出与评估

给定一段描述，DreamFusion生成具有外观、深度和法线的可重新打光的3D物体。所得模型可从任意角度观看、用任意光照重新打光，或合成到3D环境中；NeRF还可通过移动立方体算法导出为网格，用于标准3D渲染器和建模软件<sup>[1](https://arxiv.org/abs/2209.14988)</sup><sup> • </sup><sup>[2](https://dreamfusion3d.github.io/)</sup>。

在论文的自动化评估中，DreamFusion达到了79.7的CLIP L/14颜色R-Precision和58.5的几何R-Precision；Dream Fields的复现版本在几何指标上仅得分1.4<sup>[4](https://zjj-low-key.github.io/2026/06/10/DreamFusion/)</sup>。

## 局限性

论文自身的局限性部分指出了若干问题<sup>[9](https://zhangtemplar.github.io/dreamfusion/)</sup>：

- **损失伪影。** SDS并非图像采样的完美损失，相对于祖先采样，它常常产生过饱和和过度平滑的结果。动态阈值在图像上可部分缓解此问题，但在NeRF场景中未能解决。
- **多样性低。** 与祖先采样相比，SDS的2D样本缺乏多样性，且3D结果在不同随机种子下差异甚微。作者将此归因于损失中使用的反向KL散度，它在变分推断中具有模式寻求的特性。
- **分辨率。** 由于该方法使用64 × 64的Imagen模型，合成的3D模型缺乏精细细节；更高分辨率的扩散模型和更大的NeRF会有所帮助，但会使合成速度慢到不切实际。
- **速度。** 后续工作将NeRF优化描述为极其缓慢，低分辨率的图像空间监督在长时间处理后产生低质量模型<sup>[5](https://arxiv.org/abs/2211.10440)</sup>。
- **雅努斯问题。** 后续工作报告称，DreamFusion存在多头雅努斯问题，即物体的正面视图在不同相机角度下被重复，同时还存在优化缓慢的问题<sup>[10](https://arxiv.org/abs/2406.10000)</sup>。

## 影响与后续工作

DreamFusion被认为是引入SDS损失并证明2D扩散先验可以提升为3D生成能力的工作，这种能力在2022年之前几乎不存在<sup>[7](https://www2.eecs.berkeley.edu/Pubs/TechRpts/2023/EECS-2023-132.pdf)</sup><sup> • </sup><sup>[11](https://www.codesota.com/browse/computer-vision/text-to-3d)</sup>。大量方法直接建立在其基础之上。Magic3D（NVIDIA，2022）通过两阶段框架解决了其速度和分辨率限制，在40分钟内生成带纹理的网格，比DreamFusion报告的平均1.5小时快一倍，且61.7%的用户研究评分者更喜欢Magic3D的输出<sup>[5](https://arxiv.org/abs/2211.10440)</sup>。OrientDream通过相机朝向条件化来应对雅努斯问题<sup>[10](https://arxiv.org/abs/2406.10000)</sup>，而ProlificDreamer、Score Jacobian Chaining、Fantasia3D和Latent-NeRF等则是紧随其后的分数蒸馏方法<sup>[12](https://openaccess.thecvf.com/content/CVPR2024/papers/Zhou_DreamPropeller_Supercharge_Text-to-3D_Generation_with_Parallel_Sampling_CVPR_2024_paper.pdf)</sup>。该领域此后转向了LRM和Instant3D等前馈模型，这些模型能在数秒内从文本生成3D，而无需逐资产优化<sup>[11](https://www.codesota.com/browse/computer-vision/text-to-3d)</sup>。

DreamFusion的技术也传播到了文本到3D之外。DreamBooth3D将[DreamBooth](https://www.edgepedia.org/zh/dreambooth)的主体个性化与DreamFusion相结合，从仅3到6张随手拍摄的图像生成个性化3D<sup>[13](https://arxiv.org/abs/2303.13508)</sup>；谷歌购物的3D产品视图使用DreamFusion提出的分数蒸馏采样来提高新视角的质量<sup>[14](https://www.research.google/blog/bringing-3d-shoppable-products-online-with-generative-ai/)</sup>。

## 可用性

谷歌从未发布Imagen，因此没有官方的DreamFusion代码或检查点；模型托管网站上任何名为DreamFusion的东西都是社区复现<sup>[6](https://nexgpu.net/en/models/dreamfusion/)</sup>。论文发布一周内，就出现了独立的PyTorch实现，以潜在扩散模型[Stable Diffusion](https://www.edgepedia.org/zh/stable-diffusion)替代直接在像素上操作的Imagen<sup>[15](https://github.com/ashawkey/stable-dreamfusion)</sup><sup> • </sup><sup>[16](https://digicoll.lib.berkeley.edu/record/275122/files/EECS-2023-132.pdf)</sup>。[NVIDIA NeMo](https://www.edgepedia.org/zh/nvidia-nemo)框架包含一个DreamFusion实现，其中DMTet变体用基于网格的建模替代纯体渲染，以更好地捕捉表面细节和纹理<sup>[17](https://docs.nvidia.com/nemo-framework/user-guide/24.07/nemotoolkit/multimodal/nerf/dreamfusion.html)</sup>。

## References

1. [Poole, Jain, Barron, Mildenhall (2022). DreamFusion: Text-to-3D using 2D Diffusion. arXiv:2209.14988.](https://arxiv.org/abs/2209.14988)
2. [DreamFusion project page](https://dreamfusion3d.github.io/)
3. [DreamFusion: Text-to-3D using 2D Diffusion, ICLR 2023 (OpenReview)](https://openreview.net/pdf?id=FjNys5c7VyY)
4. [dreamfusion:text-to-3d using 2d diffusion | zhu low key](https://zjj-low-key.github.io/2026/06/10/DreamFusion/)
5. [Lin et al. (2022). Magic3D: High-Resolution Text-to-3D Content Creation. arXiv:2211.10440.](https://arxiv.org/abs/2211.10440)
6. [DreamFusion Local Deployment: Real VRAM Numbers & GPU Picks, NexGPU](https://nexgpu.net/en/models/dreamfusion/)
7. [An Exploration into 3D Generative Models, UC Berkeley EECS-2023-132](https://www2.eecs.berkeley.edu/Pubs/TechRpts/2023/EECS-2023-132.pdf)
8. [A Comprehensive Survey on Diffusion Model-Driven 3D Reconstruction, MDPI IJGI](https://www.mdpi.com/2220-9964/15/7/293)
9. [DreamFusion paper notes, Qiang Zhang](https://zhangtemplar.github.io/dreamfusion/)
10. [Huang et al. (2024). OrientDream: Streamlining Text-to-3D Generation with Explicit Orientation Control. arXiv:2406.10000.](https://arxiv.org/abs/2406.10000)
11. [Text-to-3D Benchmarks, CodeSOTA](https://www.codesota.com/browse/computer-vision/text-to-3d)
12. [Zhou et al. (2024). DreamPropeller: Supercharge Text-to-3D Generation with Parallel Sampling. CVPR 2024.](https://openaccess.thecvf.com/content/CVPR2024/papers/Zhou_DreamPropeller_Supercharge_Text-to-3D_Generation_with_Parallel_Sampling_CVPR_2024_paper.pdf)
13. [DreamBooth3D: Subject-Driven Text-to-3D Generation. arXiv:2303.13508.](https://arxiv.org/abs/2303.13508)
14. [Bringing 3D shoppable products online with generative AI, Google Research blog](https://www.research.google/blog/bringing-3d-shoppable-products-online-with-generative-ai/)
15. [ashawkey/stable-dreamfusion, GitHub](https://github.com/ashawkey/stable-dreamfusion)
16. [UC Berkeley EECS-2023-132 (Dreamfusion implementation chapter)](https://digicoll.lib.berkeley.edu/record/275122/files/EECS-2023-132.pdf)
17. [DreamFusion, NVIDIA NeMo Framework User Guide 24.07](https://docs.nvidia.com/nemo-framework/user-guide/24.07/nemotoolkit/multimodal/nerf/dreamfusion.html)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Foundation-model methods and training › Generative media methods: diffusion, flow, and autoregressive generation

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/dreamfusion

English original: https://www.edgepedia.org/dreamfusion
