Bigger Text Encoders Can Hurt CLIP Zero-Shot Performance
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.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
Back to the Feature: Zero-Shot 6DoF Pose Estimation via Dense Local Features
Shared title terminologycs.CVAli Rafiaei, Michael Greenspan
One MLLM, One Call: Efficient Zero-Shot Vision-and-Language Navigation via Spatial-Aware Waypoints
Shared title terminologycs.CVShiqi Pan, Qi Zheng, Hanqin Sun et al.
NOVA: Normal-Side Modeling for Training-Free Zero-Shot Video Anomaly Detection
Shared title terminologycs.CVWei-Chih Yin, Yun-Ching Kao, Cheng-Kuan Lin et al.
FineHOI: Part-Aware Dense Representations for Zero-Shot Human-Object Interaction Detection
Shared title terminologycs.CVFrancesco Tonini, Lorenzo Vaquero, Mohammad Mahdi Derakhshani et al.
CLON: Cue-Calibrated Linguistic Object Onboarding for Zero-Shot 6D Pose Front-Ends
Shared title terminologycs.CVSeojin Ji, Yoojin Kwon, Hyung-Sin Kim
Zero-Shot Novel Depth Synthesis Using 3D Foundation Models Scene Representations
Shared title terminologycs.CVDenis M. Akola, David F. Fouhey