Marigold: Affordable Adaptation of Diffusion-Based Image Generators for Image Analysis
Marigold是一种高效的图像分析模型,通过微调预训练的扩散模型,实现了对单目深度估计、表面法线预测和内在图像分解等任务的零样本泛化。
更新于 2025-05-15。作者:Bingxin Ke、Kevin Qu、Tianfu Wang、Nando Metzger、Shengyu Huang、Bo Li、Anton Obukhov、Konrad Schindler。
中文摘要
过去十年中,深度学习在计算机视觉领域的成功依赖于大量标记的数据集和强大的预训练模型。在数据稀缺的环境下,这些预训练模型的质量对于有效的迁移学习变得至关重要。图像分类和自监督学习一直是预训练CNN和基于transformer架构的主要方法。最近,文本到图像生成模型的兴起,特别是那些在潜在空间中使用去噪扩散的模型,引入了一类新的基础模型,这些模型在大量、带标题的图像数据集上进行训练。这些模型生成未见内容真实图像的能力表明,它们对视觉世界有着深刻的理解。在本工作中,我们提出了Marigold,这是一组条件生成模型和微调协议,它从预训练的潜在扩散模型(如Stable Diffusion)中提取知识,并适应密集图像分析任务,包括单目深度估计、表面法线预测和内在分解。Marigold对预训练的潜在扩散模型架构的修改最小,在单个GPU上使用小型合成数据集训练几天,并展示了最先进的零样本泛化能力。项目页面:https://marigoldcomputervision.github.io
英文摘要
The success of deep learning in computer vision over the past decade has hinged on large labeled datasets and strong pretrained models. In data-scarce settings, the quality of these pretrained models becomes crucial for effective transfer learning. Image classification and self-supervised learning have traditionally been the primary methods for pretraining CNNs and transformer-based architectures. Recently, the rise of text-to-image generative models, particularly those using denoising diffusion in a latent space, has introduced a new class of foundational models trained on massive, captioned image datasets. These models' ability to generate realistic images of unseen content suggests they possess a deep understanding of the visual world. In this work, we present Marigold, a family of conditional generative models and a fine-tuning protocol that extracts the knowledge from pretrained latent diffusion models like Stable Diffusion and adapts them for dense image analysis tasks, including monocular depth estimation, surface normals prediction, and intrinsic decomposition. Marigold requires minimal modification of the pre-trained latent diffusion model's architecture, trains with small synthetic datasets on a single GPU over a few days, and demonstrates state-of-the-art zero-shot generalization. Project page: https://marigoldcomputervision.github.io
解读
一句话总结
Marigold是一种高效的图像分析模型,通过微调预训练的扩散模型,实现了对单目深度估计、表面法线预测和内在图像分解等任务的零样本泛化。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:在数据稀缺的环境下,预训练模型的性能对于有效的迁移学习至关重要。传统的图像分类和自监督学习方法在预训练CNN和Transformer架构时效果良好,但无法充分利用大规模、有注释的图像数据集。
- 现有方案不足:现有的基于扩散的图像生成模型在图像分析任务中的应用有限,且缺乏高效的微调协议。
- 研究目标:开发一种高效的微调协议,将预训练的扩散模型应用于图像分析任务,实现零样本泛化。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种基于扩散模型的微调协议,通过将图像和深度信息编码到潜在空间,实现了对图像分析任务的零样本泛化。
- 方法改进:使用合成数据对预训练模型进行微调,提高了模型的泛化能力,并降低了计算成本。
- 优势:与现有方法相比,Marigold具有更高的精度、更快的推理速度和更低的计算成本。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在单目深度估计、表面法线预测和内在图像分解等任务上进行了实验,结果表明Marigold在多个数据集上取得了最先进的性能。
- 性能提升:与基线方法相比,Marigold在多个指标上实现了显著的性能提升,例如绝对平均相对误差(AbsRel)和阈值精度(δ1)。
- 对比结果:与基线方法相比,Marigold在多个数据集上取得了更好的性能。
问题4:这个研究的实际应用价值是什么?
- 应用场景:Marigold可以应用于自动驾驶、机器人视觉、增强现实和虚拟现实等领域。
- 实施建议:Marigold可以使用商用硬件进行训练和推理,并且可以轻松集成到现有的系统中。
- 局限与展望:Marigold的微调过程需要合成数据,未来可以探索使用真实数据来进一步提高模型的性能。
来源
机器可读索引:llms.txt