Bigger Text Encoders Can Hurt CLIP Zero-Shot Performance

📅 2026-09-04
📈 Citations: 0
Influential: 0
📄 PDF
📝 Abstract
Contrastive Language-Image Pretraining (CLIP) is a building block of many machine learning applications. Scaling laws have guided resource allocation for large-scale training, yet prior work treats total CLIP model size as a single variable, without exploring how the capacity split between encoders impacts downstream performance. Here, we train multiple CLIP models with different vision and text encoder sizes, revealing that for most vision encoders, there is an optimal text encoder size beyond which zero-shot performance degrades---even as total parameter count increases. Exploiting this behavior yields efficient configurations that match the zero-shot performance of the standard ViT-B/16 architecture with up to 55% fewer parameters. We further show that this degradation stems from overfitting induced by the oversized text encoder, and that using modality-specific weight decay coefficients not only recovers but improves performance across all degraded configurations. A geometric analysis reveals a trade-off in which scaling the text encoder improves embedding uniformity but worsens cross-modal alignment; we further show that these metrics are predictive of zero-shot performance. We hope these findings motivate CLIP architectures and training methods that counteract this degradation, a prerequisite for scaling CLIP reliably and efficiently.
Problem

Research questions and friction points this paper is trying to address.

CLIP
zero-shot performance
text encoder size
overfitting
cross-modal alignment
Innovation

Methods, ideas, or system contributions that make the work stand out.

optimal text encoder size
zero-shot performance degradation
modality-specific weight decay
embedding uniformity
cross-modal alignment
🔎 Similar Papers
2024-04-30International Conference on Machine LearningCitations: 13