Bigger Text Encoders Can Hurt CLIP Zero-Shot Performance
Samir Char, Carles Domingo-Enrich, Randall Balestriero
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Do Words Matter? What Text Contributes to Few and Full-Shot Vision-Language Anomaly DetectionarXiv · 2026
- SPOOK: Sparse Pixel Optimization for Off-Manifold Knowledge in Vision EncodersarXiv · 2026
- On the Few-Shot Adaptation of Vision-Language Models: A Few Gradient Signs Are All You NeedarXiv · 2026
- Text Is Just Another Shot in Vision-Language Models: Simple Probes on Frozen Encoders Do ItarXiv · 2026
- TowerBridge: Bridging the Dual-Encoder Modality Gap via Weight-Space ProgrammingarXiv · 2026
- Training Vision Transformers to Focus: Emergence of Spatial Attention Head SpecializationarXiv · 2026