One Diffusion to Generate Them All

Duong H. Le, Tuan Pham, Sangho Lee, Christopher Clark, Aniruddha Kembhavi, Stephan Mandt, Ranjay Krishna, Jiasen Lu · DOI

Introduction

In the current artificial intelligence landscape, Large Language Models (LLMs) are celebrated for their universality—a single model can write code, summarize text, and solve logic puzzles. In contrast, diffusion models have remained largely specialized, with separate architectures for text-to-image synthesis (e.g., SDXL), depth estimation (e.g., Marigold), and multi-view synthesis (e.g., Zero123). Unifying these tasks typically involves "Frankenstein" architectures that rely on external adapters like ControlNet or specialized encoders, which often compromise the model's original capabilities.

OneDiffusion addresses this fragmentation by introducing a unified, 2.8-billion parameter transformer-based diffusion model. It treats every task—from generating an image from a prompt to predicting a depth map from a photo—as a sequence of "views" within a single scalable framework.

Overview of OneDiffusion's multi-task capabilities across synthesis and understanding.

Methodology: A Unified View of Vision

The core innovation of OneDiffusion is its treatment of all tasks as sequential modeling of "views." This approach allows the model to handle bidirectional tasks natively.

Flow Matching and Next-DiT

Instead of standard Gaussian denoising, OneDiffusion utilizes a flow-matching objective. This provides a more direct and stable path for transforming noise into data. The model is built on the Next-DiT (Diffusion Transformer) architecture, which naturally handles a variable number of input "frames" or views.

Unified Sequence Representation

Whether the input is a text prompt, a depth map, or a set of multi-view images, the model processes them as a sequence of $N$ views. For standard text-to-image (T2I) tasks, $N=1$; for image-to-depth, $N=2$; and for multi-view synthesis, $N$ can scale up to 12.

The OneDiffusion inference pipeline utilizing a VAE and a unified transformer.

Flexible Inference and Task Tokens

During inference, any view can serve as a "condition" (noise level 0) or a "target" (initialized as Gaussian noise). This flexibility allows the model to perform "reverse" tasks, such as generating an edge map from a photo, using the same weights employed for the "forward" task of generating a photo from an edge map. Special task tokens (e.g., [[text2image]], [[faceid]]) steer the transformer toward the specific logic required for a given domain.

Data and Training

The model was trained on the One-Gen dataset, a massive multi-task collection curated by the authors:

  • Synthesis: 10M internal synthetic images and various public datasets for T2I.
  • Understanding: 1M synthetic samples for deblurring/upscaling, 350K triplets for segmentation/detection, and 500K images for depth estimation.
  • ID Customization: 1.3M images covering 60K subjects.
  • Multi-view: Data from DL3DV-10K, Objaverse, and CO3D.

Key Results and Insights

OneDiffusion demonstrates that simplicity scales. By removing specialized modules, a sufficiently large transformer can internalize controls directly through its attention layers.

  • Text-to-Image: On the GenEval benchmark, OneDiffusion scored 0.65, significantly outperforming SDXL (0.55) and approaching DALL-E 3 (0.67).
  • Multi-view Synthesis: It surpassed Zero123-XL in 1-view PSNR (19.01 vs 18.93) and showed superior consistency in 3D view generation.
  • Depth Estimation: The model achieved a competitive 6.8 AbsRel on NYUv2, showing particular robustness on "out-of-distribution" images like paintings.
  • Identity Preservation: By attending to reference images within the sequence rather than using a frozen CLIP encoder, OneDiffusion generalizes identity to non-human characters where traditional face encoders often fail.

Conclusion

OneDiffusion represents a significant step toward a "GPT moment" for computer vision. By moving away from a toolbox of specialized scripts and toward a single, versatile engine, it demonstrates that visual understanding and creation can be unified within a single, scalable transformer architecture.

Summary updated

BibTeX
@inproceedings{le2025one,
  author = {Duong H. Le and Tuan Pham and Sangho Lee and Christopher Clark and Aniruddha Kembhavi and Stephan Mandt and Ranjay Krishna and Jiasen Lu},
  title = {{One Diffusion to Generate Them All}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00255},
}
Figure