SYNC-CLIP: Synthetic Data Make CLIP Generalize Better in Data-Limited Scenarios

Mushui Liu, Weijie He, Ziqian Lu, Yunlong Yu
12/6/2023
cs.CV

No official code found. Best implementation: XiaoBuL/Synth-CLIP (9 stars, MIT, last commit 2024-12-22).

Abstract

Prompt learning is a powerful technique for transferring Vision-Language Models (VLMs) such as CLIP to downstream tasks. However, the prompt-based methods that are fine-tuned solely with base classes may struggle to generalize to novel classes in open-vocabulary scenarios, especially when data are limited. To address this issue, we propose an innovative approach called SYNC-CLIP that leverages SYNthetiC data for enhancing the generalization capability of CLIP. Based on the observation of the distribution shift between the real and synthetic samples, we treat real and synthetic samples as distinct domains and propose to optimize separate domain prompts to capture domain-specific information, along with the shared visual prompts to preserve the semantic consistency between two domains. By aligning the cross-domain features, the synthetic data from novel classes can provide implicit guidance to rebalance the decision boundaries. Experimental results on three model generalization tasks demonstrate that our method performs very competitively across various benchmarks. Notably, SYNC-CLIP outperforms the state-of-the-art competitor PromptSRC by an average improvement of 3.0% on novel classes across 11 datasets in open-vocabulary scenarios.

View on arXivView PDF

Code Implementations(1)

XiaoBuL/Synth-CLIPCommunity100%
MIT

[Neural Networks 2024] Synth-CLIP: Synthetic Data Make CLIP Generalize Better in Data-Limited Scenarios

90Shell, Python1 years agoMIT

Similar Papers

Cite this paper

@article{liu2023syncclip,
  title  = {SYNC-CLIP: Synthetic Data Make CLIP Generalize Better in Data-Limited Scenarios},
  author = {Mushui Liu and Weijie He and Ziqian Lu and Yunlong Yu},
  year   = {2023},
  eprint = {2312.03805},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.03805v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.03805.svg)](https://codeofpaper.com/paper/2312.03805)

Discussion