Provable Stochastic Optimization for Global Contrastive Learning: Small Batch Does Not Harm Performance
Not on the map. Why?
Abstract (arXiv)
In this paper, we study contrastive learning from an optimization perspective, aiming to analyze and address a fundamental issue of existing contrastive learning methods that either rely on a large batch size or a large dictionary of feature vectors. We consider a global objective for contrastive learning, which contrasts each positive pair with all negative pairs for an anchor point. From the optimization perspective, we explain why existing methods such as SimCLR require a large batch size in order to achieve a satisfactory result. In order to remove such requirement, we propose a memory-efficient Stochastic Optimization algorithm for solving the Global objective of Contrastive Learning of Representations, named SogCLR. We show that its optimization error is negligible under a reasonable condition after a sufficient number of iterations or is diminishing for a slightly different global contrastive objective. Empirically, we demonstrate that SogCLR with small batch size (e.g., 256) can achieve similar performance as SimCLR with large batch size (e.g., 8192) on self-supervised learning task on ImageNet-1K. We also attempt to show that the proposed optimization technique is generic and can be applied to solving other contrastive losses, e.g., two-way contrastive losses for bimodal contrastive learning. The proposed method is implemented in our open-sourced library LibAUC (www.libauc.org).
Key facts. Cited by 40 papers in the map (data through 7 Oct 2026). Builds on 36 of its 46 references that are in the map. First posted on arXiv 24 Feb 2022.
Builds on
36 of 46 references.
References · 36
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 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
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
24 more
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2020Supervised Contrastive Learningcited by 2,803
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2021Scaling Vision Transformerscited by 993
- 2020What Makes for Good Views for Contrastive Learning?cited by 843
- 2019Large Scale Incremental Learningcited by 727
- 2020Prototypical Contrastive Learning of Unsupervised Representationscited by 636
- 2020Contrastive Learning of Medical Visual Representations from Paired Images and Textcited by 636
- 2017Large Batch Training of Convolutional Networkscited by 529
- 2020Spatiotemporal Contrastive Video Representation Learningcited by 372
- 2020Debiased Contrastive Learningcited by 354
- 2021With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representationscited by 324
- 2020Representation Learning via Invariant Causal Mechanismscited by 197
- 2021Efficient Self-supervised Vision Transformers for Representation Learningcited by 149
- 2022Pushing the limits of self-supervised ResNets: Can we outperform supervised learning without labels on ImageNet?cited by 67
- 2021Stochastic Optimization of Areas Under Precision-Recall Curves with Provable Convergencecited by 34
- 2021Simpler, Faster, Stronger: Breaking The log-K Curse On Contrastive Learners With FlatNCEcited by 22
- 2013Stochastic Block Mirror Descent Methods for Nonsmooth and Stochastic Optimizationcited by 12
- 2020EqCo: Equivalent Rules for Self-supervised Contrastive Learningcited by 12
Built on by
Citing papers per year: 2022: 3; 2023: 7; 2024: 8; 2025: 12; 2026: 10.
40 papers.
Sort:
By area:
- 2023Generalization Analysis for Contrastive Representation Learningcited by 25
- 2023Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualizationcited by 25
- 2022Stochastic Constrained DRO with a Complexity Independent of Sample Sizecited by 16
- 2023LibAUC: A Deep Learning Library for X-Risk Optimizationcited by 15
- 2023The Role of Entropy and Reconstruction in Multi-View Self-Supervised Learningcited by 13
- 2024To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DROcited by 11
- 2022FeDXL: Provable Federated Learning for Deep X-Risk Optimizationcited by 10
- 2023Non-Smooth Weakly-Convex Finite-sum Coupled Compositional Optimizationcited by 10
- 2023Mini-Batch Optimization of Contrastive Losscited by 8
- 2022Algorithmic Foundations of Empirical X-risk Minimizationcited by 7
- 2024FastCLIP: A Suite of Optimization Techniques to Accelerate CLIP Training with Limited Resourcescited by 7
- 2025Single-loop Algorithms for Stochastic Non-convex Optimization with Weakly-Convex Constraintscited by 5
28 more
- 2025Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learningcited by 5
- 2025Improved Stochastic Optimization of LogSumExpcited by 4
- 2023A Near-Optimal Single-Loop Stochastic Algorithm for Convex Finite-Sum Coupled Compositional Optimizationcited by 3
- 2024A Retention-Centric Framework for Continual Learning with Guaranteed Model Developmental Safetycited by 3
- 2025Myna: Masking-Based Contrastive Learning of Musical Representationscited by 3
- 2025NeuCLIP: Efficient Large-Scale CLIP Training with Neural Normalizer Optimizationcited by 3
- 2026Directional Neural Collapse Explains Few-Shot Transfer in Self-Supervised Learningcited by 3
- 2024Provable Optimization for Adversarial Fair Self-supervised Contrastive Learningcited by 2
- 2024Multi-Output Distributional Fairness via Post-Processingcited by 2
- 2024On Discriminative Probabilistic Modeling for Self-Supervised Representation Learningcited by 2
- 2024An Efficient Contrastive Unimodal Pretraining Method for EHR Time Series Datacited by 2
- 2025AmorLIP: Efficient Language-Image Pretraining via Amortizationcited by 2
- 2025On the Similarities of Embeddings in Contrastive Learningcited by 2
- 2025On the Alignment Between Supervised and Self-Supervised Contrastive Learningcited by 2
- 2024EMC2: Efficient MCMC Negative Sampling for Contrastive Learning with Global Convergencecited by 1
- 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
- 2026MM-TS: Multi-Modal Temperature and Margin Schedules for Contrastive Learning with Long-Tail Datacited by 1
- 2025Towards Efficient Contrastive PAC Learningcited by 0
- 2025Discovering Global False Negatives On the Fly for Self-supervised Contrastive Learningcited by 0
- 2025Stochastic Momentum Methods for Non-smooth Non-Convex Finite-Sum Coupled Compositional Optimizationcited by 0
- 2026Spectral Ghost in Representation Learning: from Component Analysis to Self-Supervised Learningcited by 0
- 2026IConE: Batch Independent Collapse Prevention for Self-Supervised Representation Learningcited by 0
- 2026Concrete Jungle: Towards Concreteness Paved Contrastive Negative Mining for Compositional Understandingcited by 0
- 2026G-Loss: Graph-Guided Fine-Tuning of Language Modelscited by 0
- 2026Memory-Efficient Continual Learning with CLIP Modelscited by 0
- 2026TeMo: Temperature Modulation for Multimodal Contrastive Learningcited by 0
- 2026TeMo: Temperature Modulation for Multimodal Contrastive Learning7 Sep 2026
- 2026Memory-Efficient Continual Learning with CLIP Models5 May 2026
- 2026G-Loss: Graph-Guided Fine-Tuning of Language Models28 Apr 2026
- 2026Concrete Jungle: Towards Concreteness Paved Contrastive Negative Mining for Compositional Understanding14 Apr 2026
- 2026IConE: Batch Independent Collapse Prevention for Self-Supervised Representation Learning16 Mar 2026
- 2026MM-TS: Multi-Modal Temperature and Margin Schedules for Contrastive Learning with Long-Tail Data9 Mar 2026
- 2026Directional Neural Collapse Explains Few-Shot Transfer in Self-Supervised Learning3 Mar 2026
- 2026A Geometry-Aware Efficient Algorithm for Compositional Entropic Risk Minimization2 Feb 2026
- 2026Spectral Ghost in Representation Learning: from Component Analysis to Self-Supervised Learning28 Jan 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
- 2025On the Alignment Between Supervised and Self-Supervised Contrastive Learning9 Oct 2025
28 more
- 2025Improved Stochastic Optimization of LogSumExp29 Sep 2025
- 2025On the Similarities of Embeddings in Contrastive Learning11 Jun 2025
- 2025Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learning4 Jun 2025
- 2025Stochastic Momentum Methods for Non-smooth Non-Convex Finite-Sum Coupled Compositional Optimization3 Jun 2025
- 2025AmorLIP: Efficient Language-Image Pretraining via Amortization25 May 2025
- 2025Model Steering: Learning with a Reference Model Improves Generalization Bounds and Scaling Laws10 May 2025
- 2025Single-loop Algorithms for Stochastic Non-convex Optimization with Weakly-Convex Constraints21 Apr 2025
- 2025Discovering Global False Negatives On the Fly for Self-supervised Contrastive Learning28 Feb 2025
- 2025Towards Efficient Contrastive PAC Learning21 Feb 2025
- 2025Myna: Masking-Based Contrastive Learning of Musical Representations18 Feb 2025
- 2024An Efficient Contrastive Unimodal Pretraining Method for EHR Time Series Data11 Oct 2024
- 2024On Discriminative Probabilistic Modeling for Self-Supervised Representation Learning11 Oct 2024
- 2024A Retention-Centric Framework for Continual Learning with Guaranteed Model Developmental Safety4 Oct 2024
- 2024Multi-Output Distributional Fairness via Post-Processing31 Aug 2024
- 2024FastCLIP: A Suite of Optimization Techniques to Accelerate CLIP Training with Limited Resources1 Jul 2024
- 2024Provable Optimization for Adversarial Fair Self-supervised Contrastive Learning9 Jun 2024
- 2024EMC2: Efficient MCMC Negative Sampling for Contrastive Learning with Global Convergence16 Apr 2024
- 2024To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DRO6 Apr 2024
- 2023A Near-Optimal Single-Loop Stochastic Algorithm for Convex Finite-Sum Coupled Compositional Optimization4 Dec 2023
- 2023Non-Smooth Weakly-Convex Finite-sum Coupled Compositional Optimization5 Oct 2023
- 2023The Role of Entropy and Reconstruction in Multi-View Self-Supervised Learning20 Jul 2023
- 2023Mini-Batch Optimization of Contrastive Loss12 Jul 2023
- 2023LibAUC: A Deep Learning Library for X-Risk Optimization5 Jun 2023
- 2023Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualization19 May 2023
- 2023Generalization Analysis for Contrastive Representation Learning24 Feb 2023
- 2022FeDXL: Provable Federated Learning for Deep X-Risk Optimization26 Oct 2022
- 2022Stochastic Constrained DRO with a Complexity Independent of Sample Size11 Oct 2022
- 2022Algorithmic Foundations of Empirical X-risk Minimization1 Jun 2022
- 2023Generalization Analysis for Contrastive Representation Learningcited by 25
- 2023Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualizationcited by 25
- 2022Stochastic Constrained DRO with a Complexity Independent of Sample Sizecited by 16
- 2023LibAUC: A Deep Learning Library for X-Risk Optimizationcited by 15
- 2023The Role of Entropy and Reconstruction in Multi-View Self-Supervised Learningcited by 13
- 2024To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DROcited by 11
- 2022FeDXL: Provable Federated Learning for Deep X-Risk Optimizationcited by 10
- 2023Non-Smooth Weakly-Convex Finite-sum Coupled Compositional Optimizationcited by 10
- 2023Mini-Batch Optimization of Contrastive Losscited by 8
- 2022Algorithmic Foundations of Empirical X-risk Minimizationcited by 7
- 2024FastCLIP: A Suite of Optimization Techniques to Accelerate CLIP Training with Limited Resourcescited by 7
- 2025Single-loop Algorithms for Stochastic Non-convex Optimization with Weakly-Convex Constraintscited by 5
12 most cited of 39 All 39 (JSON)
- 2026TeMo: Temperature Modulation for Multimodal Contrastive Learning7 Sep 2026
- 2026Memory-Efficient Continual Learning with CLIP Models5 May 2026
- 2026G-Loss: Graph-Guided Fine-Tuning of Language Models28 Apr 2026
- 2026IConE: Batch Independent Collapse Prevention for Self-Supervised Representation Learning16 Mar 2026
- 2026MM-TS: Multi-Modal Temperature and Margin Schedules for Contrastive Learning with Long-Tail Data9 Mar 2026
- 2026Directional Neural Collapse Explains Few-Shot Transfer in Self-Supervised Learning3 Mar 2026
- 2026A Geometry-Aware Efficient Algorithm for Compositional Entropic Risk Minimization2 Feb 2026
- 2026Spectral Ghost in Representation Learning: from Component Analysis to Self-Supervised Learning28 Jan 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
- 2025On the Alignment Between Supervised and Self-Supervised Contrastive Learning9 Oct 2025
- 2025Improved Stochastic Optimization of LogSumExp29 Sep 2025
12 newest of 39 All 39 (JSON)