Abstract
Data imbalance is a pervasive challenge in real-world machine learning, leading to biased models and poor performance on minority classes. This paper presents SYNAuG (Synthetic Augmentation), a data-centric framework that utilizes text-to-image diffusion models to level the playing field. By generating high-quality synthetic data for underrepresented groups and applying a novel last-layer fine-tuning strategy, SYNAuG achieves superior results across recognition, fairness, and robustness tasks compared to traditional algorithmic approaches.
Introduction
In real-world datasets, samples are rarely distributed uniformly. This imbalance typically manifests as long-tailed distributions, where a few "head" classes dominate; model unfairness, where demographic groups are underrepresented; or spurious correlations, where models learn incorrect shortcuts. While existing research often focuses on algorithmic fixes like specialized loss functions, SYNAuG addresses the root cause: the data itself. By using generative AI to manufacture missing data, we can create more robust and equitable models.
The SYNAuG Framework
The proposed SYNAuG pipeline consists of three distinct stages designed to integrate synthetic data effectively while mitigating its inherent limitations.
- Uniformization: Using Stable Diffusion, the framework generates synthetic images for minority classes or attributes until the dataset is balanced. Diversity is ensured by using ChatGPT to produce varied text prompts.
- Training with Mixup: The model is trained on a combination of real and synthetic data. Mixup augmentation—interpolating between real and synthetic samples—is used to help the model bridge the "domain gap."
- Last-layer Fine-tuning: To prevent the model from over-relying on synthetic artifacts, the feature extractor is frozen after initial training. Only the final linear classifier is fine-tuned using a small, balanced subset of real-world data, aligning decision boundaries with the real distribution.
Experimental Setup
SYNAuG was evaluated on three major benchmarks:
- Long-tailed Recognition: CIFAR100-LT and ImageNet100-LT.
- Model Fairness: UTKFace, which includes labels for age, gender, and race.
- Spurious Correlation: Waterbirds, testing reliance on background cues.
Key Insights
Synthetic Data as a Supplement
The study reveals that synthetic data is most effective as a supplement rather than a total replacement. Remarkably, combining just 1% of real data with synthetic samples can match the performance of a dataset containing 50% real data.
The Domain Gap
Despite the high quality of modern generative models, a measurable "domain gap" remains. Experiments showed that a simple classifier could distinguish real from synthetic images with approximately 74% accuracy.
This gap justifies the necessity of the last-layer fine-tuning stage on real data to ensure the model generalizes well to the physical world.
Data-centric vs. Algorithmic Solutions
A significant finding is that balancing data via SYNAuG often outperforms complex, specialized algorithms like LDAM or PaCo. This suggests that improving data quality and quantity can be more impactful than refining mathematical formulations.
Results
- Long-tail Performance: On CIFAR100-LT (imbalance factor 100), SYNAuG reached 58.59% accuracy, surpassing the previous state-of-the-art (53.35%).
- Fairness: On UTKFace, SYNAuG reduced the Equalized Odds (EO) gap from 0.072 to 0.054 while improving overall accuracy.
- Robustness: On the Waterbirds task, "Worst Group Accuracy" improved from 73.7% to 93.2% after fine-tuning.
Conclusion
SYNAuG demonstrates that synthetic data, when used strategically, provides a powerful baseline for solving data imbalance. By focusing on data augmentation through diffusion models and careful fine-tuning, researchers can build models that are not only more accurate but also fairer and more robust. Future work will focus on reducing computational overhead and further narrowing the domain gap.
Summary updated