mlsanityData to 7 Oct 2026

Perfectly Balanced: Improving Transfer and Robustness of Supervised Contrastive Learning

arXiv 2204.07596 ↗First posted 15 Apr 2022stat.ML cs.LGcited by 40

Not on the map. Why?

Abstract (arXiv)

An ideal learned representation should display transferability and robustness. Supervised contrastive learning (SupCon) is a promising method for training accurate models, but produces representations that do not capture these properties due to class collapse -- when all points in a class map to the same representation. Recent work suggests that "spreading out" these representations improves them, but the precise mechanism is poorly understood. We argue that creating spread alone is insufficient for better representations, since spread is invariant to permutations within classes. Instead, both the correct degree of spread and a mechanism for breaking this invariance are necessary. We first prove that adding a weighted class-conditional InfoNCE loss to SupCon controls the degree of spread. Next, we study three mechanisms to break permutation invariance: using a constrained encoder, adding a class-conditional autoencoder, and using data augmentation. We show that the latter two encourage clustering of latent subclasses under more realistic conditions than the former. Using these insights, we show that adding a properly-weighted class-conditional InfoNCE loss and a class-conditional autoencoder to SupCon achieves 11.1 points of lift on coarse-to-fine transfer across 5 standard datasets and 4.7 points on worst-group robustness on 3 datasets, setting state-of-the-art on CelebA by 11.5 points.

Key facts. Cited by 40 papers in the map (data through 7 Oct 2026). Builds on 37 of its 57 references that are in the map. First posted on arXiv 15 Apr 2022.

Builds on

37 of 57 references.

References · 37

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  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. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  6. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
  7. 2020Supervised Contrastive Learningcited by 2,803
  8. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  9. 2016Understanding deep learning requires rethinking generalizationcited by 1,657
  10. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  11. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  12. 2020What Makes for Good Views for Contrastive Learning?cited by 843
25 more
  1. 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
  2. 2019Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)cited by 657
  3. 2020Contrastive Learning with Hard Negative Samplescited by 619
  4. 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
  5. 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 522
  6. 2021Understanding Dimensional Collapse in Contrastive Self-supervised Learningcited by 374
  7. 2019On Mutual Information Maximization for Representation Learningcited by 315
  8. 2021Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Losscited by 311
  9. 2021Contrastive Learning Inverts the Data Generating Processcited by 220
  10. 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 215
  11. 2020No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problemscited by 208
  12. 2021Self-supervised Pretraining of Visual Features in the Wildcited by 197
  13. 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 156
  14. 2018A Kernel Theory of Modern Data Augmentationcited by 106
  15. 2021On the Role of Neural Collapse in Transfer Learningcited by 100
  16. 2021Towards the Generalization of Contrastive Self-Supervised Learningcited by 99
  17. 2020Model Patching: Closing the Subgroup Performance Gap with Data Augmentationcited by 82
  18. 2021A Broad Study on the Transferability of Visual Representations with Contrastive Learningcited by 78
  19. 2021The Spotlight: A General Method for Discovering Systematic Errors in Deep Learning Modelscited by 63
  20. 2022Limitations of Neural Collapse for Understanding Generalization in Deep Learningcited by 63
  21. 2020Distributionally Robust Losses for Latent Covariate Mixturescited by 57
  22. 2020Neural Collapse with Cross-Entropy Losscited by 52
  23. 2020A Framework For Contrastive Self-Supervised Learning And Designing A New Approachcited by 51
  24. 2020Fine-grained Angular Contrastive Learning with Coarse Labelscited by 30
  25. 2019Generalization Bounds For Unsupervised and Semi-Supervised Learning With Autoencoderscited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 17; 2024: 11; 2025: 8; 2026: 2.

40 papers.

Sort:

By area:

  1. 2023M-FLAG: Medical Vision-Language Pre-training with Frozen Language Models and Latent Space Geometry Optimizationcited by 43
  2. 2023Learning Generalized Zero-Shot Learners for Open-Domain Image Geolocalizationcited by 41
  3. 2023Demystifying Structural Disparity in Graph Neural Networks: Can One Size Fit All?cited by 41
  4. 2023InfoNCE Loss Provably Learns Cluster-Preserving Representationscited by 37
  5. 2023Which Features are Learnt by Contrastive Learning? On the Role of Simplicity Bias in Class Collapse and Feature Suppressioncited by 30
  6. 2024OrCo: Towards Better Generalization via Orthogonality and Contrast for Few-Shot Class-Incremental Learningcited by 25
  7. 2022Understanding and Improving Transfer Learning of Deep Models via Neural Collapsecited by 24
  8. 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERTcited by 21
  9. 2023A Survey on the Robustness of Computer Vision Models against Common Corruptionscited by 20
  10. 2024Investigating the Benefits of Projection Head for Representation Learningcited by 20
  11. 2023Rethinking Weak Supervision in Helping Contrastive Learningcited by 18
  12. 2023Contrastive Tuning: A Little Help to Make Masked Autoencoders Forgetcited by 15
28 more
  1. 2023Neural Collapse in Multi-label Learning with Pick-all-label Losscited by 14
  2. 2023FALCON: Fairness Learning via Contrastive Attention Approach to Continual Semantic Scene Understandingcited by 13
  3. 2024CLOSER: Towards Better Representation Learning for Few-Shot Class-Incremental Learningcited by 11
  4. 2023Quantifying the Variability Collapse of Neural Networkscited by 9
  5. 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformerscited by 9
  6. 2024Cell-ontology guided transcriptome foundation modelcited by 7
  7. 2024Collapse-Proof Non-Contrastive Self-Supervised Learningcited by 7
  8. 2023SC-Block: Supervised Contrastive Blocking within Entity Resolution Pipelinescited by 6
  9. 2025A Tale of Two Classes: Adapting Supervised Contrastive Learning to Binary Imbalanced Datasetscited by 5
  10. 2023Self-Supervised Representation Learning with Cross-Context Learning between Global and Hypercolumn Featurescited by 4
  11. 2023SINCERE: Supervised Information Noise-Contrastive Estimation REvisitedcited by 3
  12. 2024On the Effectiveness of Supervision in Asymmetric Non-Contrastive Learningcited by 3
  13. 2022Continual Contrastive Finetuning Improves Low-Resource Relation Extractioncited by 2
  14. 2023DualTalker: A Cross-Modal Dual Learning Approach for Speech-Driven 3D Facial Animationcited by 2
  15. 2025A Theoretical Framework for Preventing Class Collapse in Supervised Contrastive Learningcited by 2
  16. 2023Balanced Supervised Contrastive Learning for Few-Shot Class-Incremental Learningcited by 1
  17. 2024Asymptotic Midpoint Mixup for Margin Balancing and Moderate Broadeningcited by 1
  18. 2024CLOVER: Context-aware Long-term Object Viewpoint- and Environment- Invariant Representation Learningcited by 1
  19. 2024Exploiting Supervised Poison Vulnerability to Strengthen Self-Supervised Defensecited by 1
  20. 2025Multi-level Supervised Contrastive Learningcited by 1
  21. 2025A Generalized Theory of Mixup for Structure-Preserving Synthetic Datacited by 1
  22. 2025Generalizing Supervised Contrastive learning: A Projection Perspectivecited by 1
  23. 2025Escaping Plato's Cave: JAM for Aligning Independently Trained Vision and Language Modelscited by 1
  24. 2023Road Disease Detection based on Latent Domain Background Feature Separation and Suppressioncited by 0
  25. 2024BioNCERE: Non-Contrastive Enhancement For Relation Extraction In Biomedical Textscited by 0
  26. 2025Informed Mixing -- Improving Open Set Recognition via Attribution-based Augmentationcited by 0
  27. 2026Neural Collapse by Design: Learning Class Prototypes on the Hyperspherecited by 0
  28. 2026When Graph-JEPA Learns the Wrong Thing: Diagnosing and Repairing Category-Conditional Collapsecited by 0