Dataset Diffusion: Diffusion-based Synthetic Dataset Generation for Pixel-Level Semantic Segmentation

Q. Nguyen, T. Vu, A. Tran, Kim Dan Nguyen
2/12/2026

No official code found. Best implementation: VinAIResearch/Dataset-Diffusion (131 stars, AGPL-3.0, last commit 2024-09-08).

Abstract

Preparing training data for deep vision models is a labor-intensive task. To address this, generative models have emerged as an effective solution for generating synthetic data. While current generative models produce image-level category labels, we propose a novel method for generating pixel-level semantic segmentation labels using the text-to-image generative model Stable Diffusion (SD). By utilizing the text prompts, cross-attention, and self-attention of SD, we introduce three new techniques: class-prompt appending, class-prompt cross-attention, and self-attention exponentiation. These techniques enable us to generate segmentation maps corresponding to synthetic images. These maps serve as pseudo-labels for training semantic segmenters, eliminating the need for labor-intensive pixel-wise annotation. To account for the imperfections in our pseudo-labels, we incorporate uncertainty regions into the segmentation, allowing us to disregard loss from those regions. We conduct evaluations on two datasets, PASCAL VOC and MSCOCO, and our approach significantly outperforms concurrent work. Our benchmarks and code will be released at https://github.com/VinAIResearch/Dataset-Diffusion

View on arXivView PDF

Code Implementations(1)

AGPL-3.0

Dataset Diffusion: Diffusion-based Synthetic Data Generation for Pixel-Level Semantic Segmentation (NeurIPS2023)

1315CSS, ShellSep 25, 20232 years agoAGPL-3.0
diffusion-modelssemantic-segmentationsynthetic-dataset-generation

Similar Papers

Cite this paper

@article{nguyen2026dataset,
  title  = {Dataset Diffusion: Diffusion-based Synthetic Dataset Generation for Pixel-Level Semantic Segmentation},
  author = {Q. Nguyen and T. Vu and A. Tran and Kim Dan Nguyen},
  year   = {2026},
  eprint = {2309.14303},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2309.14303},
  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/2309.14303.svg)](https://codeofpaper.com/paper/2309.14303)

Discussion