Marigold: Affordable Adaptation of Diffusion-Based Image Generators for Image Analysis

Bingxin Ke, Kevin Qu, Tianfu Wang, Nando Metzger, Shengyu Huang +3 more
5/14/2025
cs.CVcs.LG

No official code found. Best implementation: prs-eth/Marigold (3,193 stars, Apache-2.0, last commit 2025-12-10).

Abstract

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

View on arXivView PDF

Code Implementations(1)

prs-eth/MarigoldCommunity100%
Apache-2.0

[CVPR 2024 - Oral, Best Paper Award Candidate] Marigold: Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation

3,193209Shell, PythonNov 27, 202310 months agoApache-2.0
depth-estimationdiffusionin-the-wildmonocular-depth-estimationzero-shot

Similar Papers

Cite this paper

@article{ke2025marigold,
  title  = {Marigold: Affordable Adaptation of Diffusion-Based Image Generators for Image Analysis},
  author = {Bingxin Ke and Kevin Qu and Tianfu Wang and Nando Metzger and Shengyu Huang and Bo Li and Anton Obukhov and Konrad Schindler},
  year   = {2025},
  eprint = {2505.09358},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.09358v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.09358.svg)](https://codeofpaper.com/paper/2505.09358)

Discussion