mlsanityData to 7 Oct 2026

Simpler, Faster, Stronger: Breaking The log-K Curse On Contrastive Learners With FlatNCE

arXiv 2107.01152 ↗First posted 2 Jul 2021stat.ML cs.AI cs.CVcited by 22

Not on the map. Why?

Abstract (arXiv)

InfoNCE-based contrastive representation learners, such as SimCLR, have been tremendously successful in recent years. However, these contrastive schemes are notoriously resource demanding, as their effectiveness breaks down with small-batch training (i.e., the log-K curse, whereas K is the batch-size). In this work, we reveal mathematically why contrastive learners fail in the small-batch-size regime, and present a novel simple, non-trivial contrastive objective named FlatNCE, which fixes this issue. Unlike InfoNCE, our FlatNCE no longer explicitly appeals to a discriminative classification goal for contrastive learning. Theoretically, we show FlatNCE is the mathematical dual formulation of InfoNCE, thus bridging the classical literature on energy modeling; and empirically, we demonstrate that, with minimal modification of code, FlatNCE enables immediate performance boost independent of the subject-matter engineering efforts. The significance of this work is furthered by the powerful generalization of contrastive learning techniques, and the introduction of new tools to monitor and diagnose contrastive training. We substantiate our claims with empirical evidence on CIFAR10, ImageNet, and other datasets, where FlatNCE consistently outperforms InfoNCE.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 44 of its 70 references that are in the map. First posted on arXiv 2 Jul 2021.

Builds on

44 of 70 references.

References · 44

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  4. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  5. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  6. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  7. 2021Convex optimizationcited by 2,479
  8. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  9. 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
  10. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
  11. 2014DeepWalk: Online Learning of Social Representationscited by 1,543
  12. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
32 more
  1. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  2. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  3. 2019Contrastive Multiview Codingcited by 1,297
  4. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,265
  5. 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 806
  6. 2015Deep Learning and the Information Bottleneck Principlecited by 793
  7. 2020CURL: Contrastive Unsupervised Representations for Reinforcement Learningcited by 745
  8. 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 733
  9. 2018MINE: Mutual Information Neural Estimationcited by 680
  10. 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 672
  11. 2020Contrastive Learning with Hard Negative Samplescited by 619
  12. 2019On Variational Bounds of Mutual Informationcited by 550
  13. 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
  14. 2015Importance Weighted Autoencoderscited by 454
  15. 2020Hard Negative Mixing for Contrastive Learningcited by 399
  16. 2020Debiased Contrastive Learningcited by 354
  17. 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
  18. 2019On Mutual Information Maximization for Representation Learningcited by 315
  19. 2018Nonlinear ICA Using Auxiliary Variables and Generalized Contrastive Learningcited by 278
  20. 2020CLUB: A Contrastive Log-ratio Upper Bound of Mutual Informationcited by 233
  21. 2018An efficient framework for learning sentence representationscited by 197
  22. 2018Formal Limitations on the Measurement of Mutual Informationcited by 189
  23. 2019Understanding the Limitations of Variational Mutual Information Estimatorscited by 140
  24. 2018Invariant Representations without Adversarial Trainingcited by 111
  25. 2018Noise Contrastive Estimation and Negative Sampling for Conditional Models: Consistency and Statistical Efficiencycited by 103
  26. 2017Unsupervised Learning by Predicting Noisecited by 97
  27. 2018Tighter Variational Bounds are Not Necessarily Bettercited by 76
  28. 2020Generalized Energy Based Modelscited by 73
  29. 2019Wasserstein Dependency Measure for Representation Learningcited by 69
  30. 2021Understanding Negative Samples in Instance Discriminative Self-supervised Representation Learningcited by 47
  31. 2014Efficient Estimation of Mutual Information for Strongly Dependent Variablescited by 46
  32. 2021Controllable Guarantees for Fair Outcomes via Contrastive Information Estimationcited by 45

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 6; 2023: 7; 2024: 3; 2025: 2; 2026: 2.

22 papers.

Sort:

By area:

  1. 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPcited by 88
  2. 2022Exploring Patch-wise Semantic Relation for Contrastive Learning in Image-to-Image Translation Taskscited by 42
  3. 2022Provable Stochastic Optimization for Global Contrastive Learning: Small Batch Does Not Harm Performancecited by 40
  4. 2023Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualizationcited by 25
  5. 2023The Role of Entropy and Reconstruction in Multi-View Self-Supervised Learningcited by 13
  6. 2022Model-Aware Contrastive Learning: Towards Escaping the Dilemmascited by 11
  7. 2025PUMA: Layer-Pruned Language Model for Efficient Unified Multimodal Retrieval with Modality-Adaptive Learningcited by 11
  8. 2022RenyiCL: Contrastive Representation Learning with Skew Renyi Divergencecited by 8
  9. 2023Evaluating Self-Supervised Learning via Risk Decompositioncited by 6
  10. 2024Variational Inference Failures Under Model Symmetries: Permutation Invariant Posteriors for Bayesian Neural Networkscited by 6
  11. 2025Supervised Fine-Tuning or Contrastive Learning? Towards Better Multimodal LLM Rerankingcited by 6
  12. 2023Statistically Efficient Bayesian Sequential Experiment Design via Reinforcement Learning with Cross-Entropy Estimatorscited by 5
10 more
  1. 2023COMICS: End-to-end Bi-grained Contrastive Learning for Multi-face Forgery Detectioncited by 5
  2. 2024PLReMix: Combating Noisy Labels with Pseudo-Label Relaxed Contrastive Representation Learningcited by 5
  3. 2022Multi-Level Contrastive Learning for Cross-Lingual Alignmentcited by 4
  4. 2021Variational Inference with Holder Boundscited by 3
  5. 2023Unsupervised Synthetic Image Refinement via Contrastive Learning and Consistent Semantic-Structural Constraintscited by 2
  6. 2026Temporal Representations for Exploration: Learning Complex Exploratory Behavior without Extrinsic Rewardscited by 1
  7. 2022Deploying self-supervised learning in the wild for hybrid automatic speech recognitioncited by 0
  8. 2023SemST: Semantically Consistent Multi-Scale Image Translation via Structure-Texture Alignmentcited by 0
  9. 2024Skill-aware Mutual Information Optimisation for Generalisation in Reinforcement Learningcited by 0
  10. 2026HARMONY: Bridging the Personalization-Generalization Gap by Mitigating Representation Skew in Heterogeneous Split Federated Learningcited by 0