Enhancing Vision-Language Models Generalization via Diversity-Driven Novel Feature Synthesis
Siyuan Yan, Cheng Luo, Zhen Yu, Zongyuan Ge
TL;DR
This paper tackles the problem of CLIP’s diminished generalization when finetuned on downstream domains by introducing LDFS, a language-guided feature synthesis method. LDFS uses an instance-conditional local adaptation loss, stochastic text feature augmentation, and a pairwise regularizer to generate diverse, high-quality target-domain features from source-domain data, guided by language descriptions; these synthesized features are then used alongside original data to finetune CLIP. The approach is compatible with multiple CLIP finetuning strategies and does not require access to target-domain data, achieving improved generalization on unseen domains across several domain-shift benchmarks. The work demonstrates significant performance gains, robust ablations, and practical gains when integrated with prompting-based adaptation methods, highlighting its potential for real-world deployment where collecting target-domain data is impractical.
Abstract
Vision-language foundation models like CLIP have shown impressive zero-shot generalization, but finetuning on downstream datasets can cause overfitting and loss of its generalization ability on unseen domains. Although collecting additional data from new domains of interest is possible, this method is often impractical due to the challenges in obtaining annotated data. To address this, we propose a plug-and-play feature synthesis method called LDFS (Language-Guided Diverse Feature Synthesis) to synthesize new domain features and improve existing CLIP fine-tuning strategies. LDFS has three main contributions: 1) To synthesize novel domain features and promote diversity, we propose an instance-conditional feature augmentation strategy based on a text-guided feature augmentation loss. 2) To maintain feature quality after augmenting, we introduce a pairwise regularizer to preserve augmented feature coherence within the CLIP feature space. 3) We propose to use stochastic text feature augmentation to reduce the modality gap and further facilitate the process of text-guided feature synthesis. Extensive experiments show LDFS superiority in improving CLIP generalization ability on unseen domains without collecting data from those domains. The code will be made publicly available.
