Reproduce “Bigger Text Encoders Can Hurt CLIP Zero-Shot Performance” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Samir Char, Carles Domingo-Enrich, Randall Balestriero

The authors test how CLIP encoder sizes affect zero-shot performance. They train 30 image–text pairings on CC3M and CC12M, finding that larger text encoders can reduce performance for most tested vision encoders; greater text-side weight decay recovers some losses. On CC12M, smaller pairings score 38.1% and 37.9%, versus 37.7% for Base–Base; findings are limited to this grid.

Key insights

  • Zero-shot performance typically follows an inverted-U pattern as text capacity increases: very small text encoders are insufficient, while oversized ones can overfit captions and reduce transfer performance.
  • Optimal capacity is asymmetric: the best text encoder grows more slowly than the vision encoder, and total parameter count alone explains performance less well than separate modality sizes.
  • Text scaling improves embedding uniformity and linear-probe quality but can worsen image-text alignment, which more directly predicts zero-shot performance.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.