Perfectly Balanced: Improving Transfer and Robustness of Supervised Contrastive Learning
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
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 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
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2020Supervised Contrastive Learningcited by 2,803
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2016Understanding deep learning requires rethinking generalizationcited by 1,657
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
- 2020What Makes for Good Views for Contrastive Learning?cited by 843
25 more
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
- 2019Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)cited by 657
- 2020Contrastive Learning with Hard Negative Samplescited by 619
- 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
- 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 522
- 2021Understanding Dimensional Collapse in Contrastive Self-supervised Learningcited by 374
- 2019On Mutual Information Maximization for Representation Learningcited by 315
- 2021Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Losscited by 311
- 2021Contrastive Learning Inverts the Data Generating Processcited by 220
- 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 215
- 2020No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problemscited by 208
- 2021Self-supervised Pretraining of Visual Features in the Wildcited by 197
- 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 156
- 2018A Kernel Theory of Modern Data Augmentationcited by 106
- 2021On the Role of Neural Collapse in Transfer Learningcited by 100
- 2021Towards the Generalization of Contrastive Self-Supervised Learningcited by 99
- 2020Model Patching: Closing the Subgroup Performance Gap with Data Augmentationcited by 82
- 2021A Broad Study on the Transferability of Visual Representations with Contrastive Learningcited by 78
- 2021The Spotlight: A General Method for Discovering Systematic Errors in Deep Learning Modelscited by 63
- 2022Limitations of Neural Collapse for Understanding Generalization in Deep Learningcited by 63
- 2020Distributionally Robust Losses for Latent Covariate Mixturescited by 57
- 2020Neural Collapse with Cross-Entropy Losscited by 52
- 2020A Framework For Contrastive Self-Supervised Learning And Designing A New Approachcited by 51
- 2020Fine-grained Angular Contrastive Learning with Coarse Labelscited by 30
- 2019Generalization Bounds For Unsupervised and Semi-Supervised Learning With Autoencoderscited by 11
Built on by
Citing papers per year: 2022: 2; 2023: 17; 2024: 11; 2025: 8; 2026: 2.
40 papers.
Sort:
By area:
- 2023M-FLAG: Medical Vision-Language Pre-training with Frozen Language Models and Latent Space Geometry Optimizationcited by 43
- 2023Learning Generalized Zero-Shot Learners for Open-Domain Image Geolocalizationcited by 41
- 2023Demystifying Structural Disparity in Graph Neural Networks: Can One Size Fit All?cited by 41
- 2023InfoNCE Loss Provably Learns Cluster-Preserving Representationscited by 37
- 2023Which Features are Learnt by Contrastive Learning? On the Role of Simplicity Bias in Class Collapse and Feature Suppressioncited by 30
- 2024OrCo: Towards Better Generalization via Orthogonality and Contrast for Few-Shot Class-Incremental Learningcited by 25
- 2022Understanding and Improving Transfer Learning of Deep Models via Neural Collapsecited by 24
- 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERTcited by 21
- 2023A Survey on the Robustness of Computer Vision Models against Common Corruptionscited by 20
- 2024Investigating the Benefits of Projection Head for Representation Learningcited by 20
- 2023Rethinking Weak Supervision in Helping Contrastive Learningcited by 18
- 2023Contrastive Tuning: A Little Help to Make Masked Autoencoders Forgetcited by 15
28 more
- 2023Neural Collapse in Multi-label Learning with Pick-all-label Losscited by 14
- 2023FALCON: Fairness Learning via Contrastive Attention Approach to Continual Semantic Scene Understandingcited by 13
- 2024CLOSER: Towards Better Representation Learning for Few-Shot Class-Incremental Learningcited by 11
- 2023Quantifying the Variability Collapse of Neural Networkscited by 9
- 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformerscited by 9
- 2024Cell-ontology guided transcriptome foundation modelcited by 7
- 2024Collapse-Proof Non-Contrastive Self-Supervised Learningcited by 7
- 2023SC-Block: Supervised Contrastive Blocking within Entity Resolution Pipelinescited by 6
- 2025A Tale of Two Classes: Adapting Supervised Contrastive Learning to Binary Imbalanced Datasetscited by 5
- 2023Self-Supervised Representation Learning with Cross-Context Learning between Global and Hypercolumn Featurescited by 4
- 2023SINCERE: Supervised Information Noise-Contrastive Estimation REvisitedcited by 3
- 2024On the Effectiveness of Supervision in Asymmetric Non-Contrastive Learningcited by 3
- 2022Continual Contrastive Finetuning Improves Low-Resource Relation Extractioncited by 2
- 2023DualTalker: A Cross-Modal Dual Learning Approach for Speech-Driven 3D Facial Animationcited by 2
- 2025A Theoretical Framework for Preventing Class Collapse in Supervised Contrastive Learningcited by 2
- 2023Balanced Supervised Contrastive Learning for Few-Shot Class-Incremental Learningcited by 1
- 2024Asymptotic Midpoint Mixup for Margin Balancing and Moderate Broadeningcited by 1
- 2024CLOVER: Context-aware Long-term Object Viewpoint- and Environment- Invariant Representation Learningcited by 1
- 2024Exploiting Supervised Poison Vulnerability to Strengthen Self-Supervised Defensecited by 1
- 2025Multi-level Supervised Contrastive Learningcited by 1
- 2025A Generalized Theory of Mixup for Structure-Preserving Synthetic Datacited by 1
- 2025Generalizing Supervised Contrastive learning: A Projection Perspectivecited by 1
- 2025Escaping Plato's Cave: JAM for Aligning Independently Trained Vision and Language Modelscited by 1
- 2023Road Disease Detection based on Latent Domain Background Feature Separation and Suppressioncited by 0
- 2024BioNCERE: Non-Contrastive Enhancement For Relation Extraction In Biomedical Textscited by 0
- 2025Informed Mixing -- Improving Open Set Recognition via Attribution-based Augmentationcited by 0
- 2026Neural Collapse by Design: Learning Class Prototypes on the Hyperspherecited by 0
- 2026When Graph-JEPA Learns the Wrong Thing: Diagnosing and Repairing Category-Conditional Collapsecited by 0
- 2026When Graph-JEPA Learns the Wrong Thing: Diagnosing and Repairing Category-Conditional Collapse20 Aug 2026
- 2026Neural Collapse by Design: Learning Class Prototypes on the Hypersphere19 May 2026
- 2025Escaping Plato's Cave: JAM for Aligning Independently Trained Vision and Language Models1 Jul 2025
- 2025Generalizing Supervised Contrastive learning: A Projection Perspective11 Jun 2025
- 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformers21 May 2025
- 2025Informed Mixing -- Improving Open Set Recognition via Attribution-based Augmentation19 May 2025
- 2025A Tale of Two Classes: Adapting Supervised Contrastive Learning to Binary Imbalanced Datasets21 Mar 2025
- 2025A Theoretical Framework for Preventing Class Collapse in Supervised Contrastive Learning11 Mar 2025
- 2025A Generalized Theory of Mixup for Structure-Preserving Synthetic Data3 Mar 2025
- 2025Multi-level Supervised Contrastive Learning4 Feb 2025
- 2024BioNCERE: Non-Contrastive Enhancement For Relation Extraction In Biomedical Texts31 Oct 2024
- 2024CLOSER: Towards Better Representation Learning for Few-Shot Class-Incremental Learning8 Oct 2024
28 more
- 2024Collapse-Proof Non-Contrastive Self-Supervised Learning7 Oct 2024
- 2024Exploiting Supervised Poison Vulnerability to Strengthen Self-Supervised Defense13 Sep 2024
- 2024Cell-ontology guided transcriptome foundation model22 Aug 2024
- 2024CLOVER: Context-aware Long-term Object Viewpoint- and Environment- Invariant Representation Learning12 Jul 2024
- 2024On the Effectiveness of Supervision in Asymmetric Non-Contrastive Learning16 Jun 2024
- 2024OrCo: Towards Better Generalization via Orthogonality and Contrast for Few-Shot Class-Incremental Learning27 Mar 2024
- 2024Investigating the Benefits of Projection Head for Representation Learning18 Mar 2024
- 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERT12 Feb 2024
- 2024Asymptotic Midpoint Mixup for Margin Balancing and Moderate Broadening26 Jan 2024
- 2023FALCON: Fairness Learning via Contrastive Attention Approach to Continual Semantic Scene Understanding27 Nov 2023
- 2023DualTalker: A Cross-Modal Dual Learning Approach for Speech-Driven 3D Facial Animation8 Nov 2023
- 2023Neural Collapse in Multi-label Learning with Pick-all-label Loss24 Oct 2023
- 2023SINCERE: Supervised Information Noise-Contrastive Estimation REvisited25 Sep 2023
- 2023Road Disease Detection based on Latent Domain Background Feature Separation and Suppression14 Sep 2023
- 2023Self-Supervised Representation Learning with Cross-Context Learning between Global and Hypercolumn Features25 Aug 2023
- 2023M-FLAG: Medical Vision-Language Pre-training with Frozen Language Models and Latent Space Geometry Optimization17 Jul 2023
- 2023Rethinking Weak Supervision in Helping Contrastive Learning7 Jun 2023
- 2023Quantifying the Variability Collapse of Neural Networks6 Jun 2023
- 2023Demystifying Structural Disparity in Graph Neural Networks: Can One Size Fit All?2 Jun 2023
- 2023Balanced Supervised Contrastive Learning for Few-Shot Class-Incremental Learning26 May 2023
- 2023Which Features are Learnt by Contrastive Learning? On the Role of Simplicity Bias in Class Collapse and Feature Suppression25 May 2023
- 2023A Survey on the Robustness of Computer Vision Models against Common Corruptions10 May 2023
- 2023Contrastive Tuning: A Little Help to Make Masked Autoencoders Forget20 Apr 2023
- 2023SC-Block: Supervised Contrastive Blocking within Entity Resolution Pipelines6 Mar 2023
- 2023InfoNCE Loss Provably Learns Cluster-Preserving Representations15 Feb 2023
- 2023Learning Generalized Zero-Shot Learners for Open-Domain Image Geolocalization1 Feb 2023
- 2022Understanding and Improving Transfer Learning of Deep Models via Neural Collapse23 Dec 2022
- 2022Continual Contrastive Finetuning Improves Low-Resource Relation Extraction21 Dec 2022
- 2023Learning Generalized Zero-Shot Learners for Open-Domain Image Geolocalizationcited by 41
- 2023Demystifying Structural Disparity in Graph Neural Networks: Can One Size Fit All?cited by 41
- 2023InfoNCE Loss Provably Learns Cluster-Preserving Representationscited by 37
- 2023Which Features are Learnt by Contrastive Learning? On the Role of Simplicity Bias in Class Collapse and Feature Suppressioncited by 30
- 2024OrCo: Towards Better Generalization via Orthogonality and Contrast for Few-Shot Class-Incremental Learningcited by 25
- 2022Understanding and Improving Transfer Learning of Deep Models via Neural Collapsecited by 24
- 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERTcited by 21
- 2023A Survey on the Robustness of Computer Vision Models against Common Corruptionscited by 20
- 2024Investigating the Benefits of Projection Head for Representation Learningcited by 20
- 2023Rethinking Weak Supervision in Helping Contrastive Learningcited by 18
- 2023Contrastive Tuning: A Little Help to Make Masked Autoencoders Forgetcited by 15
- 2023Neural Collapse in Multi-label Learning with Pick-all-label Losscited by 14
12 most cited of 39 All 39 (JSON)
- 2026When Graph-JEPA Learns the Wrong Thing: Diagnosing and Repairing Category-Conditional Collapse20 Aug 2026
- 2026Neural Collapse by Design: Learning Class Prototypes on the Hypersphere19 May 2026
- 2025Escaping Plato's Cave: JAM for Aligning Independently Trained Vision and Language Models1 Jul 2025
- 2025Generalizing Supervised Contrastive learning: A Projection Perspective11 Jun 2025
- 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformers21 May 2025
- 2025Informed Mixing -- Improving Open Set Recognition via Attribution-based Augmentation19 May 2025
- 2025A Tale of Two Classes: Adapting Supervised Contrastive Learning to Binary Imbalanced Datasets21 Mar 2025
- 2025A Theoretical Framework for Preventing Class Collapse in Supervised Contrastive Learning11 Mar 2025
- 2025A Generalized Theory of Mixup for Structure-Preserving Synthetic Data3 Mar 2025
- 2025Multi-level Supervised Contrastive Learning4 Feb 2025
- 2024BioNCERE: Non-Contrastive Enhancement For Relation Extraction In Biomedical Texts31 Oct 2024
- 2024CLOSER: Towards Better Representation Learning for Few-Shot Class-Incremental Learning8 Oct 2024
12 newest of 39 All 39 (JSON)