ScribbleGen: Generative Data Augmentation Improves Scribble-supervised Semantic Segmentation
Jacob Schnell, Jieke Wang, Lu Qi, Vincent Tao Hu, Meng Tang
TL;DR
Addressing the data bottleneck in scribble-supervised semantic segmentation, the paper introduces ScribbleGen, a diffusion-based data augmentation framework conditioned on scribbles. It uses a ControlNet diffusion model with classifier-free guidance and an encode ratio to generate a spectrum of synthetic images with controllable realism and diversity, and combines them with real data via fixed or adaptive schedules using a guidance scale $w$ and encode ratio $\lambda$. The approach yields state-of-the-art results on Pascal VOC for scribble-supervised methods (RLoss and AGMM), substantially narrowing the gap to fully-supervised segmentation and sometimes surpassing it in low-data regimes. This work demonstrates a practical pathway to data-efficient segmentation and opens avenues for open-vocabulary conditioning and semi-supervised extensions.
Abstract
Recent advances in generative models, such as diffusion models, have made generating high-quality synthetic images widely accessible. Prior works have shown that training on synthetic images improves many perception tasks, such as image classification, object detection, and semantic segmentation. We are the first to explore generative data augmentations for scribble-supervised semantic segmentation. We propose ScribbleGen, a generative data augmentation method that leverages a ControlNet diffusion model conditioned on semantic scribbles to produce high-quality training data. However, naive implementations of generative data augmentations may inadvertently harm the performance of the downstream segmentor rather than improve it. We leverage classifier-free diffusion guidance to enforce class consistency and introduce encode ratios to trade off data diversity for data realism. Using the guidance scale and encode ratio, we can generate a spectrum of high-quality training images. We propose multiple augmentation schemes and find that these schemes significantly impact model performance, especially in the low-data regime. Our framework further reduces the gap between the performance of scribble-supervised segmentation and that of fully-supervised segmentation. We also show that our framework significantly improves segmentation performance on small datasets, even surpassing fully-supervised segmentation. The code is available at https://github.com/mengtang-lab/scribblegen.
