S-CLIP: Semi-supervised Vision-Language Learning using Few Specialist Captions

Sangwoo Mo, Minkyu Kim, Kyungmin Lee, Jinwoo Shin

TL;DR

S-CLIP is a new semi-supervised framework that allows CLIP-style models to excel in specialized domains (like remote sensing or fashion) where labeled image-text pairs are scarce. By using two novel pseudo-labeling strategies—one focusing on global caption distributions and another on local keywords—S-CLIP matches the performance of fully supervised models while requiring three times less labeled data.

What Problem Does This Paper Address?

Vision-language models like CLIP are incredibly powerful, but they have a "generalist" problem. Because they are trained on massive crawls of the general internet, they often stumble when faced with specialist domains like satellite imagery, medical scans, or even niche areas like comics and high fashion.

To fix this, you usually need to fine-tune the model on domain-specific image-text pairs. However, writing high-quality captions for 10,000 satellite photos is expensive and requires expert knowledge. While we have plenty of unlabeled images in these domains, standard semi-supervised learning techniques fail here. Because captions are diverse and unique, simply assigning the caption of the "nearest neighbor" image to an unlabeled one (naive pseudo-labeling) often introduces noise that actually hurts the model's performance.

Naive pseudo-labeling often fails because nearest neighbor images can have vastly different captions. S-CLIP overcomes this, significantly boosting zero-shot accuracy over baselines.

Methods: The S-CLIP Approach

The authors introduce S-CLIP, which leverages unlabeled images through two complementary pseudo-labeling strategies:

  1. Caption-level Pseudo-labeling (The Global View): Instead of picking one "best" caption for an unlabeled image, S-CLIP uses Optimal Transport (OT). It looks at a batch of unlabeled images and a batch of labeled captions and solves a mathematical "transportation" problem to find the best global alignment. This results in a "soft" label—a probability distribution over many captions—which prevents the model from overcommitting to a single potentially incorrect description.
  2. Keyword-level Pseudo-labeling (The Local View): Even if two images aren't identical enough to share a full caption, they likely share keywords (e.g., "tennis court" or "meadow"). S-CLIP identifies keywords from the nearest labeled neighbor and treats them as a Partial Label Learning (PLL) problem. The model is told that the true label is one of these keywords, helping it learn to recognize specific local components of an image.

By combining these, the model learns both the broad semantic structure of the domain and the specific vocabulary used to describe it.

Key Insights and Ideas

  • Softness is Strength: The move from "hard" pseudo-labels (assuming an image exactly matches a borrowed caption) to "soft" OT-based labels is the secret sauce. It accounts for the inherent ambiguity in vision-language tasks.
  • Keywords as Anchors: In specialized fields, the "jargon" (keywords) is often more stable than the sentence structure. By supervising at the keyword level, the model gains a more robust understanding of domain-specific concepts.
  • Distribution Shift Resilience: S-CLIP works even when the unlabeled images come from a different source than the labeled ones. The Optimal Transport mechanism naturally balances the "flow" of information, preventing the model from collapsing during training.
  • Complementary Objectives: Caption-level labels are better for image-text retrieval (finding an image based on a description), while keyword-level labels excel at zero-shot classification (identifying what is in an image).

Datasets and Key Results

The researchers evaluated S-CLIP across several "specialist" domains, including Remote Sensing (RSICD, UCM, Sydney), Fashion (Fashion200k, Polyvore), Scientific Figures (SciCap), and Comics (Simpsons).

  • 3x Data Efficiency: On remote sensing benchmarks, S-CLIP matched the performance of a fully supervised CLIP model while using only 1/3 of the labeled image-text pairs.
  • Accuracy Boosts: In the remote sensing domain, S-CLIP improved zero-shot classification accuracy by 10.4% on the WHU-RS19 dataset compared to standard fine-tuning.
  • Comics Retrieval: In the data-starved comics domain, S-CLIP improved text-to-image retrieval (R@1) from 11.8% to 15.8%—a 33% relative gain.
  • Outperforming Baselines: S-CLIP consistently beat other semi-supervised baselines (like Hard-PL and Soft-PL) which often struggled or even degraded the model's performance due to noisy labels.

Limitations and Future Work

While S-CLIP is a powerhouse for classification, it is slightly less effective for fine-grained image-text retrieval, which requires a deeper understanding of complex linguistic nuances. Additionally, the current OT formulation relies on the semantics of the images within a single training batch; future work could involve using a "memory queue" of embeddings to provide a richer set of potential pseudo-labels. Finally, integrating word hierarchies or synonyms could make the keyword-level supervision even more flexible than the current exact-match approach.

Summary updated

BibTeX
@inproceedings{mo2023s,
  author = {Sangwoo Mo and Minkyu Kim and Kyungmin Lee and Jinwoo Shin},
  title = {{S-CLIP: Semi-supervised Vision-Language Learning using Few Specialist Captions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=O1lYncfVOO},
}
Figure