Abstract
Training semantic segmentation models on massive synthetic datasets often encounters a "quality ceiling" due to noisy images and misaligned labels from generative models. This paper introduces Synthetic Data Selection (SDS), a training-free method leveraging CLIP to prune low-quality synthetic samples. By reducing dataset size while improving model performance, SDS demonstrates that data quality is more critical than quantity in synthetic training pipelines.
Introduction
Semantic segmentation requires dense, pixel-level annotations, which are costly to produce manually. While generative models like Stable Diffusion offer a potential solution by creating large-scale synthetic datasets, they often introduce "hallucinations"—images that do not match the prompt or segmentation masks that are misaligned with generated objects. Training on such "noisy" data degrades model accuracy. The challenge lies in identifying high-fidelity samples without human intervention.
The SDS Framework
The proposed SDS method is a two-stage, training-free pipeline designed to filter synthetic data using the pre-trained knowledge of CLIP.
Perturbation-based CLIP Similarity (PCS)
To evaluate image quality, SDS goes beyond standard text-to-image similarity. It employs a "structural integrity" test by shuffling image patches (patch-mixing).
A high-quality image should lose its semantic similarity to the text prompt when its structure is destroyed. If the similarity remains high after shuffling, it indicates that CLIP is responding to textures or background noise rather than a coherent object structure. SDS selects images that exhibit a significant drop in similarity after perturbation, ensuring the training data contains well-structured objects.
Class-balance Annotation Similarity Filter (ASF)
To verify the accuracy of segmentation masks, SDS generates "reference" masks using Class Activation Maps (CAMs) from CLIP. The synthetic mask is compared to this reference using mean Intersection over Union (mIoU). To prevent bias toward "easy" classes (e.g., sky), the filter selects the top-performing percentage within each class and object-count group, ensuring a balanced final dataset.
Experimental Results
The method was evaluated on PASCAL VOC 2012 and MS COCO 2017 benchmarks using various segmenter architectures like DeepLabV3 and Mask2Former.
- PASCAL VOC: SDS reduced the synthetic pool from 40k to 26k samples. Despite the 35% reduction in data, the segmenter's performance improved from 59.6% to 62.5% mIoU.
- MS COCO: On this more complex dataset, SDS improved mIoU from 30.3% to 33.4% while pruning the dataset from 80k to 50k samples.
Conclusion
SDS highlights a shift in AI research from data collection to data curation. By removing the bottom tier of synthetic samples, researchers can achieve higher accuracy with less computational overhead during training. While limited by the inherent biases of the CLIP model used for filtering, SDS provides a robust, plug-and-play solution for improving the utility of synthetic data in computer vision tasks.
Summary updated