DatasetDM: Synthesizing Data with Perception Annotations Using Diffusion Models

Wei Wu, Yuzhong Zhao, Hao Chen, Yuchao Gu, Rui Zhao +4 more
2/12/2026

No official code found. Best implementation: showlab/DatasetDM (333 stars, last commit 2023-11-03).

Abstract

Current deep networks are very data-hungry and benefit from training on largescale datasets, which are often time-consuming to collect and annotate. By contrast, synthetic data can be generated infinitely using generative models such as DALL-E and diffusion models, with minimal effort and cost. In this paper, we present DatasetDM, a generic dataset generation model that can produce diverse synthetic images and the corresponding high-quality perception annotations (e.g., segmentation masks, and depth). Our method builds upon the pre-trained diffusion model and extends text-guided image synthesis to perception data generation. We show that the rich latent code of the diffusion model can be effectively decoded as accurate perception annotations using a decoder module. Training the decoder only needs less than 1% (around 100 images) manually labeled images, enabling the generation of an infinitely large annotated dataset. Then these synthetic data can be used for training various perception models for downstream tasks. To showcase the power of the proposed approach, we generate datasets with rich dense pixel-wise labels for a wide range of downstream tasks, including semantic segmentation, instance segmentation, and depth estimation. Notably, it achieves 1) state-of-the-art results on semantic segmentation and instance segmentation; 2) significantly more robust on domain generalization than using the real data alone; and state-of-the-art results in zero-shot segmentation setting; and 3) flexibility for efficient application and novel task composition (e.g., image editing). The project website and code can be found at https://weijiawu.github.io/DatasetDM_page/ and https://github.com/showlab/DatasetDM, respectively

View on arXivView PDF

Code Implementations(1)

showlab/DatasetDMCommunity100%

[NeurIPS2023] DatasetDM:Synthesizing Data with Perception Annotations Using Diffusion Models

33314Shell, PythonAug 11, 20232 years ago

Similar Papers

Cite this paper

@article{wu2026datasetdm,
  title  = {DatasetDM: Synthesizing Data with Perception Annotations Using Diffusion Models},
  author = {Wei Wu and Yuzhong Zhao and Hao Chen and Yuchao Gu and Rui Zhao and Yefei He and Hong Zhou and Mike Zheng Shou and Chunhua Shen},
  year   = {2026},
  eprint = {2308.06160},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2308.06160},
  journal = {NEURIPS 2023 2023}
}

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

Discussion