Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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

Quang Nguyen, Truong Vu, Anh Tran, Khoi Nguyen• 2023

Related benchmarks

TaskDatasetResultRank
Semantic segmentationPASCAL VOC 2012 (val)
Mean IoU79.9
2040
Semantic segmentationPASCAL VOC 2012 (test)
mIoU79.8
1342
Semantic segmentationCityscapes (test)
mIoU64.4
1145
Semantic segmentationCOCO 2017 (val)
mIoU34.2
55
Dichotomous Image SegmentationDIS5K (DIS-VD)
S_alpha0.826
30
Face ParsingCelebAMask-HQ
Nose Accuracy0.972
28
Semantic segmentationVOC (val)
mIoU64.8
25
Semantic-level object discoveryVOC
mIoU64.8
19
Dichotomous Image SegmentationDIS5K (DIS-TE1)
S_alpha79
16
Dichotomous Image SegmentationDIS5K (DIS-TE2)
S_alpha83.3
16
Showing 10 of 17 rows

Other info

Code

Follow for update