mlsanityData to 7 Oct 2026

Provable Stochastic Optimization for Global Contrastive Learning: Small Batch Does Not Harm Performance

arXiv 2202.12387 ↗First posted 24 Feb 2022cs.LG cs.CV math.OCcited by 40

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  7. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  8. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  9. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  10. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  11. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  12. 2020Exploring Simple Siamese Representation Learningcited by 2,853
24 more
  1. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
  2. 2020Supervised Contrastive Learningcited by 2,803
  3. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  4. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  5. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
  6. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  7. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  8. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  9. 2021Scaling Vision Transformerscited by 993
  10. 2020What Makes for Good Views for Contrastive Learning?cited by 843
  11. 2019Large Scale Incremental Learningcited by 727
  12. 2020Prototypical Contrastive Learning of Unsupervised Representationscited by 636
  13. 2020Contrastive Learning of Medical Visual Representations from Paired Images and Textcited by 636
  14. 2017Large Batch Training of Convolutional Networkscited by 529
  15. 2020Spatiotemporal Contrastive Video Representation Learningcited by 372
  16. 2020Debiased Contrastive Learningcited by 354
  17. 2021With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representationscited by 324
  18. 2020Representation Learning via Invariant Causal Mechanismscited by 197
  19. 2021Efficient Self-supervised Vision Transformers for Representation Learningcited by 149
  20. 2022Pushing the limits of self-supervised ResNets: Can we outperform supervised learning without labels on ImageNet?cited by 67
  21. 2021Stochastic Optimization of Areas Under Precision-Recall Curves with Provable Convergencecited by 34
  22. 2021Simpler, Faster, Stronger: Breaking The log-K Curse On Contrastive Learners With FlatNCEcited by 22
  23. 2013Stochastic Block Mirror Descent Methods for Nonsmooth and Stochastic Optimizationcited by 12
  24. 2020EqCo: Equivalent Rules for Self-supervised Contrastive Learningcited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 7; 2024: 8; 2025: 12; 2026: 10.

40 papers.

Sort:

By area:

  1. 2023Generalization Analysis for Contrastive Representation Learningcited by 25
  2. 2023Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualizationcited by 25
  3. 2022Stochastic Constrained DRO with a Complexity Independent of Sample Sizecited by 16
  4. 2023LibAUC: A Deep Learning Library for X-Risk Optimizationcited by 15
  5. 2023The Role of Entropy and Reconstruction in Multi-View Self-Supervised Learningcited by 13
  6. 2024To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DROcited by 11
  7. 2022FeDXL: Provable Federated Learning for Deep X-Risk Optimizationcited by 10
  8. 2023Non-Smooth Weakly-Convex Finite-sum Coupled Compositional Optimizationcited by 10
  9. 2023Mini-Batch Optimization of Contrastive Losscited by 8
  10. 2022Algorithmic Foundations of Empirical X-risk Minimizationcited by 7
  11. 2024FastCLIP: A Suite of Optimization Techniques to Accelerate CLIP Training with Limited Resourcescited by 7
  12. 2025Single-loop Algorithms for Stochastic Non-convex Optimization with Weakly-Convex Constraintscited by 5
28 more
  1. 2025Self-Supervised Contrastive Learning is Approximately Supervised Contrastive Learningcited by 5
  2. 2025Improved Stochastic Optimization of LogSumExpcited by 4
  3. 2023A Near-Optimal Single-Loop Stochastic Algorithm for Convex Finite-Sum Coupled Compositional Optimizationcited by 3
  4. 2024A Retention-Centric Framework for Continual Learning with Guaranteed Model Developmental Safetycited by 3
  5. 2025Myna: Masking-Based Contrastive Learning of Musical Representationscited by 3
  6. 2025NeuCLIP: Efficient Large-Scale CLIP Training with Neural Normalizer Optimizationcited by 3
  7. 2026Directional Neural Collapse Explains Few-Shot Transfer in Self-Supervised Learningcited by 3
  8. 2024Provable Optimization for Adversarial Fair Self-supervised Contrastive Learningcited by 2
  9. 2024Multi-Output Distributional Fairness via Post-Processingcited by 2
  10. 2024On Discriminative Probabilistic Modeling for Self-Supervised Representation Learningcited by 2
  11. 2024An Efficient Contrastive Unimodal Pretraining Method for EHR Time Series Datacited by 2
  12. 2025AmorLIP: Efficient Language-Image Pretraining via Amortizationcited by 2
  13. 2025On the Similarities of Embeddings in Contrastive Learningcited by 2
  14. 2025On the Alignment Between Supervised and Self-Supervised Contrastive Learningcited by 2
  15. 2024EMC2: Efficient MCMC Negative Sampling for Contrastive Learning with Global Convergencecited by 1
  16. 2025Model Steering: Learning with a Reference Model Improves Generalization Bounds and Scaling Lawscited by 1
  17. 2026Breaking the Limits of Open-Weight CLIP: An Optimization Framework for Self-supervised Fine-tuning of CLIPcited by 1
  18. 2026A Geometry-Aware Efficient Algorithm for Compositional Entropic Risk Minimizationcited by 1
  19. 2026MM-TS: Multi-Modal Temperature and Margin Schedules for Contrastive Learning with Long-Tail Datacited by 1
  20. 2025Towards Efficient Contrastive PAC Learningcited by 0
  21. 2025Discovering Global False Negatives On the Fly for Self-supervised Contrastive Learningcited by 0
  22. 2025Stochastic Momentum Methods for Non-smooth Non-Convex Finite-Sum Coupled Compositional Optimizationcited by 0
  23. 2026Spectral Ghost in Representation Learning: from Component Analysis to Self-Supervised Learningcited by 0
  24. 2026IConE: Batch Independent Collapse Prevention for Self-Supervised Representation Learningcited by 0
  25. 2026Concrete Jungle: Towards Concreteness Paved Contrastive Negative Mining for Compositional Understandingcited by 0
  26. 2026G-Loss: Graph-Guided Fine-Tuning of Language Modelscited by 0
  27. 2026Memory-Efficient Continual Learning with CLIP Modelscited by 0
  28. 2026TeMo: Temperature Modulation for Multimodal Contrastive Learningcited by 0