More Than Generation: Unifying Generation and Depth Estimation via Text-to-Image Diffusion Models

Hongkai Lin, Dingkang Liang, Mingyang Du, Xin Zhou, Xiang Bai
10/27/2025
cs.CV

Official code: H-EmbodVis/MERGE (217 stars, Apache-2.0, last commit 2025-10-31).

Abstract

Generative depth estimation methods leverage the rich visual priors stored in pre-trained text-to-image diffusion models, demonstrating astonishing zero-shot capability. However, parameter updates during training lead to catastrophic degradation in the image generation capability of the pre-trained model. We introduce MERGE, a unified model for image generation and depth estimation, starting from a fixed pre-trained text-to-image model. MERGE demonstrates that the pre-trained text-to-image model can do more than image generation, but also expand to depth estimation effortlessly. Specifically, MERGE introduces a play-and-plug framework that enables seamless switching between image generation and depth estimation modes through simple and pluggable converters. Meanwhile, we propose a Group Reuse Mechanism to encourage parameter reuse and improve the utilization of the additional learnable parameters. MERGE unleashes the powerful depth estimation capability of the pre-trained text-to-image model while preserving its original image generation ability. Compared to other unified models for image generation and depth estimation, MERGE achieves state-of-the-art performance across multiple depth estimation benchmarks. The code will be made available at https://github.com/H-EmbodVis/MERGE

View on arXivView PDF

Code Implementations(1)

H-EmbodVis/MERGEOfficial100%
Apache-2.0

[NeurIPS 2025] More Than Generation: Unifying Generation and Depth Estimation via Text-to-Image Diffusion Models

21718Shell, PythonOct 22, 202511 months agoApache-2.0
diffusion-modelsgeometry-estimationimage-generationunified-model

Similar Papers

Cite this paper

@article{lin2025more,
  title  = {More Than Generation: Unifying Generation and Depth Estimation via Text-to-Image Diffusion Models},
  author = {Hongkai Lin and Dingkang Liang and Mingyang Du and Xin Zhou and Xiang Bai},
  year   = {2025},
  eprint = {2510.23574},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.23574v1}
}

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/2510.23574.svg)](https://codeofpaper.com/paper/2510.23574)

Discussion