FastCLIP: A Suite of Optimization Techniques to Accelerate CLIP Training with Limited Resources
Not on the map. Why?
Abstract (arXiv)
Existing studies of training state-of-the-art Contrastive Language-Image Pretraining (CLIP) models on large-scale data involve hundreds of or even thousands of GPUs due to the requirement of a large batch size. However, such a large amount of resources is not accessible to most people. While advanced compositional optimization techniques for optimizing global contrastive losses have been demonstrated effective for removing the requirement of large batch size, their performance on large-scale data remains underexplored and not optimized. To bridge the gap, this paper explores several aspects of CLIP training with limited resources (e.g., up to tens of GPUs). First, we introduce FastCLIP, a general CLIP training framework built on advanced compositional optimization techniques while designed and optimized for the distributed setting. Our framework is equipped with an efficient gradient reduction strategy to reduce communication overhead. Second, to further boost training efficiency, we investigate three components of the framework from an optimization perspective: the schedule of the inner learning rate, the update rules of the temperature parameter and the model parameters, respectively. Experiments on different strategies for each component shed light on how to conduct CLIP training more efficiently. Finally, we benchmark the performance of FastCLIP and the state-of-the-art training baseline (OpenCLIP) on different compute scales up to 32 GPUs on 8 nodes, and three data scales ranging from 2.7 million, 9.1 million to 315 million image-text pairs to demonstrate the significant improvement of FastCLIP in the resource-limited setting. We release the code of FastCLIP at https://github.com/Optimization-AI/fast_clip .
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 52 of its 63 references that are in the map. First posted on arXiv 1 Jul 2024.
Builds on
52 of 63 references.
References · 52
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,048
- 2023InternVL: Scaling up Vision Foundation Models and Aligning for Generic Visual-Linguistic Taskscited by 2,534
38 more
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,447
- 2019Natural Adversarial Examplescited by 1,401
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2021Conceptual 12M: Pushing Web-Scale Image-Text Pre-Training To Recognize Long-Tail Visual Conceptscited by 1,209
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2023EVA-CLIP: Improved Training Techniques for CLIP at Scalecited by 786
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2023DataComp: In search of the next generation of multimodal datasetscited by 635
- 2021ClipCap: CLIP Prefix for Image Captioningcited by 557
- 2021SLIP: Self-supervision meets Language-Image Pre-trainingcited by 434
- 2023Symbolic Discovery of Optimization Algorithmscited by 423
- 2022Scaling Language-Image Pre-training via Maskingcited by 317
- 2022VQGAN-CLIP: Open Domain Image Generation and Editing with Natural Language Guidancecited by 285
- 2023Data Filtering Networkscited by 247
- 2022CyCLIP: Cyclic Contrastive Language-Image Pretrainingcited by 127
- 2021LAFITE: Towards Language-Free Training for Text-to-Image Generationcited by 126
- 2024EVA-CLIP-18B: Scaling CLIP to 18 Billion Parameterscited by 99
- 2023TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritancecited by 90
- 2021Compressing Visual-linguistic Model via Knowledge Distillationcited by 85
- 2023An Inverse Scaling Law for CLIP Trainingcited by 76
- 2023Stable and low-precision training for large-scale vision-language modelscited by 74
- 2022UniCLIP: Unified Framework for Contrastive Language-Image Pre-trainingcited by 54
- 2022Dual Temperature Helps Contrastive Learning Without Many Negative Samples: Towards Understanding and Simplifying MoCocited by 52
- 2023Temperature Schedules for Self-Supervised Contrastive Methods on Long-Tail Datacited by 44
- 2022Provable Stochastic Optimization for Global Contrastive Learning: Small Batch Does Not Harm Performancecited by 40
- 2022Democratizing Contrastive Language-Image Pre-training: A CLIP Benchmark of Data, Model, and Supervisioncited by 36
- 2023Distilling Large Vision-Language Model with Out-of-Distribution Generalizabilitycited by 33
- 2023S-CLIP: Semi-supervised Vision-Language Learning using Few Specialist Captionscited by 29
- 2022Finite-Sum Coupled Compositional Stochastic Optimization: Theory and Applicationscited by 27
- 2023Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualizationcited by 25
- 2022NLIP: Noise-robust Language-Image Pre-trainingcited by 20
- 2023DisCo-CLIP: A Distributed Contrastive Loss for Memory Efficient CLIP Trainingcited by 15
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2025: 4; 2026: 3.
7 papers.
- 2025MobileViCLIP: An Efficient Video-Text Model for Mobile Devicescited by 3
- 2025NeuCLIP: Efficient Large-Scale CLIP Training with Neural Normalizer Optimizationcited by 3
- 2025Model Steering: Learning with a Reference Model Improves Generalization Bounds and Scaling Lawscited by 1
- 2026Breaking the Limits of Open-Weight CLIP: An Optimization Framework for Self-supervised Fine-tuning of CLIPcited by 1
- 2026A Geometry-Aware Efficient Algorithm for Compositional Entropic Risk Minimizationcited by 1
- 2025Discovering Global False Negatives On the Fly for Self-supervised Contrastive Learningcited by 0
- 2026Chain-of-Models Pre-Training: Rethinking Training Acceleration of Vision Foundation Modelscited by 0
- 2026Chain-of-Models Pre-Training: Rethinking Training Acceleration of Vision Foundation Models14 Apr 2026
- 2026A Geometry-Aware Efficient Algorithm for Compositional Entropic Risk Minimization2 Feb 2026
- 2026Breaking the Limits of Open-Weight CLIP: An Optimization Framework for Self-supervised Fine-tuning of CLIP14 Jan 2026
- 2025NeuCLIP: Efficient Large-Scale CLIP Training with Neural Normalizer Optimization11 Nov 2025
- 2025MobileViCLIP: An Efficient Video-Text Model for Mobile Devices10 Aug 2025
- 2025Model Steering: Learning with a Reference Model Improves Generalization Bounds and Scaling Laws10 May 2025
- 2025Discovering Global False Negatives On the Fly for Self-supervised Contrastive Learning28 Feb 2025