From Obstacles to Resources: Semi-supervised Learning Faces Synthetic Data Contamination
Zerun Wang, Jiafeng Mao, Liuyu Xiang, Toshihiko Yamasaki
TL;DR
This work addresses the problem of semi-supervised learning when unlabeled data are contaminated with synthetic images produced by diffusion models. It introduces Real-Synthetic Hybrid SSL (RS-SSL) and a benchmarking setup that reveals current SSL methods struggle or even degrade in the presence of synthetic data. To tackle this, the authors propose RSMatch, which first identifies synthetic data via a lightweight detector and a class-wise queue, then uses a dummy head to exploit synthetic samples for SSL while preserving the original classifier behavior. Experiments across CIFAR-10/100, TinyImageNet, and ImageNet show RSMatch yields consistent gains from synthetic unlabeled data and demonstrates practical benefits for learning from publicly sourced unlabeled data.
Abstract
Semi-supervised learning (SSL) can improve model performance by leveraging unlabeled images, which can be collected from public image sources with low costs. In recent years, synthetic images have become increasingly common in public image sources due to rapid advances in generative models. Therefore, it is becoming inevitable to include existing synthetic images in the unlabeled data for SSL. How this kind of contamination will affect SSL remains unexplored. In this paper, we introduce a new task, Real-Synthetic Hybrid SSL (RS-SSL), to investigate the impact of unlabeled data contaminated by synthetic images for SSL. First, we set up a new RS-SSL benchmark to evaluate current SSL methods and found they struggled to improve by unlabeled synthetic images, sometimes even negatively affected. To this end, we propose RSMatch, a novel SSL method specifically designed to handle the challenges of RS-SSL. RSMatch effectively identifies unlabeled synthetic data and further utilizes them for improvement. Extensive experimental results show that RSMatch can transfer synthetic unlabeled data from `obstacles' to `resources.' The effectiveness is further verified through ablation studies and visualization.
