Abstract
Vision-Language Models (VLMs) like CLIP have revolutionized zero-shot classification, yet their performance often benefits from task-specific fine-tuning. In many real-world scenarios, labeled images are unavailable, necessitating "name-only transfer"—fine-tuning using only class names. While text-to-image generators can provide synthetic training data, the inherent "domain gap" between synthetic and real images often causes models to overfit to generative artifacts, degrading real-world performance. Researchers from KAIST propose a dual-regularization strategy to address this: weight-space ensembling and Variance-Covariance Regularization (VCR). By maintaining feature diversity and blending zero-shot weights with fine-tuned parameters, their method achieves state-of-the-art results across 11 diverse benchmarks, effectively bridging the gap between synthetic training and real-world application.
Introduction: The Rise of Name-Only Transfer
The paradigm of Vision-Language Models (VLMs) has shifted the focus of computer vision from fixed-label classification to flexible, open-vocabulary understanding. Models like CLIP are pre-trained on vast quantities of image-text pairs, allowing them to classify images based on arbitrary text prompts. However, for specialized domains or high-stakes applications, the "out-of-the-box" zero-shot performance is often insufficient.
When real-world data is scarce or non-existent, researchers have turned to "name-only transfer." This approach leverages the generative power of models like Stable Diffusion or DALL-E to synthesize training datasets based solely on class names (e.g., "a photo of a [class name]"). While promising, this technique faces a significant hurdle: the domain gap.
The Challenge: The Synthetic-to-Real Domain Gap
Despite the visual fidelity of modern AI-generated images, they possess distinct statistical properties that differ from natural photographs. When a VLM is fine-tuned on these synthetic images, it tends to overfit to these "generative quirks." This leads to a phenomenon where accuracy on the generated domain increases significantly, but accuracy on the real-world domain—the target of interest—actually decreases compared to the original zero-shot model.
As shown in the figure above, standard fine-tuning on generated data (orange) pushes the model toward high synthetic accuracy at the cost of real-world performance. The proposed method (red star) manages to improve performance in both domains simultaneously by navigating the trade-off between the two domains.
Proposed Methodology: Bridging the Gap
To mitigate the domain gap, the authors introduce two key regularization techniques that operate at different stages of the pipeline.
1. Post-training: Weight-Space Ensembling
Rather than relying solely on the weights of the fine-tuned model ($\theta_{FT}$), the authors employ a weight-space ensemble. They interpolate the weights of the original zero-shot CLIP model ($\theta_{ZS}$) with the fine-tuned weights: $WSE = (1 - \alpha)\theta_{ZS} + \alpha\theta_{FT}$ This simple yet effective technique ensures the model retains the broad, robust features learned during large-scale pre-training while integrating the task-specific nuances extracted from the synthetic data.
2. Train-time: Variance-Covariance Regularization (VCR)
The researchers discovered a strong correlation between a model's feature diversity and its accuracy on real-world data. To encourage this diversity during training, they introduced the VCR loss.
The VCR loss consists of two components:
- Variance: Forces the model to use a wide range of values for each feature, preventing "informational collapse."
- Covariance: Discourages different features from being correlated, essentially forcing the model to learn many independent characteristics rather than just a few domain-specific patterns.
Experimental Results and Insights
The proposed method was evaluated across 11 benchmarks, including general datasets (ImageNet), fine-grained categories (OxfordPets, StanfordCars), and specialized domains (EuroSAT, DTD).
Key Findings:
- State-of-the-Art Performance: The method consistently outperformed existing baselines like CaFo and SuS-X. On average, it provided a +4.65% boost over zero-shot CLIP when using DALL-E generated images.
- Correlation with Feature Diversity: The authors found a strong correlation (PLCC > 0.9) between feature diversity and real-world accuracy. This confirms that maintaining a "broad perspective" is crucial for generalizing from synthetic to real data.
- Scaling with Generative Models: As text-to-image models improve (e.g., moving from DALL-E to Stable Diffusion XL), the performance gains of this method also increase, suggesting it will remain relevant as generative technology advances.
Conclusion
This research demonstrates that name-only transfer is a viable path for adapting VLMs to new tasks without real-world data, provided the domain gap is handled correctly. By combining weight-space ensembling with feature diversity regularization (VCR), the authors provide a robust framework for fine-tuning the entire image encoder. This work paves the way for more accessible model adaptation in data-scarce environments.
Summary updated