aiqbench analysis
This research demonstrates that indiscriminately scaling text encoders in CLIP models can degrade zero-shot performance due to overfitting and poor cross-modal alignment, challenging standard scaling law assumptions. By optimizing the capacity split between vision and text components, researchers achieved equivalent performance with up to 55% fewer parameters while proposing specific training adjustments like modality-specific weight decay to recover efficiency. These findings offer critical architectural guidance for building more resource-efficient multimodal foundation models without sacrificing generalization capabilities.
Bigger Text Encoders Can Hurt CLIP Zero-Shot Performance
From arXiv
Full textContrastive 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.
Full text under the publisher's open licence · 187 words