mlsanityData to 7 Oct 2026

Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlations

arXiv 2203.01517 ↗First posted 3 Mar 2022cs.LGcited by 171

Not on the map. Why?

Abstract (arXiv)

Spurious correlations pose a major challenge for robust machine learning. Models trained with empirical risk minimization (ERM) may learn to rely on correlations between class labels and spurious attributes, leading to poor performance on data groups without these correlations. This is particularly challenging to address when spurious attribute labels are unavailable. To improve worst-group performance on spuriously correlated data without training attribute labels, we propose Correct-N-Contrast (CNC), a contrastive approach to directly learn representations robust to spurious correlations. As ERM models can be good spurious attribute predictors, CNC works by (1) using a trained ERM model's outputs to identify samples with the same class but dissimilar spurious features, and (2) training a robust model with contrastive learning to learn similar representations for same-class samples. To support CNC, we introduce new connections between worst-group error and a representation alignment loss that CNC aims to minimize. We empirically observe that worst-group error closely tracks with alignment loss, and prove that the alignment loss over a class helps upper-bound the class's worst-group vs. average error gap. On popular benchmarks, CNC reduces alignment loss drastically, and achieves state-of-the-art worst-group accuracy by 3.6% average absolute lift. CNC is also competitive with oracle methods that require group labels.

Key facts. Cited by 171 papers in the map (data through 7 Oct 2026). Builds on 52 of its 88 references that are in the map. First posted on arXiv 3 Mar 2022.

Builds on

52 of 88 references.

References · 52

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  2. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  3. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  4. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  5. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  6. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  7. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
  8. 2020Supervised Contrastive Learningcited by 2,803
  9. 2019Invariant Risk Minimizationcited by 1,832
  10. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  11. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  12. 2019Contrastive Multiview Codingcited by 1,297
38 more
  1. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,239
  2. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  3. 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
  4. 2016Deep Variational Information Bottleneckcited by 915
  5. 2020What Makes for Good Views for Contrastive Learning?cited by 843
  6. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
  7. 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 733
  8. 2018Recognition in Terra Incognitacited by 655
  9. 2020Contrastive Multi-View Representation Learning on Graphscited by 651
  10. 2020Contrastive Learning with Hard Negative Samplescited by 619
  11. 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 522
  12. 2017Towards Principled Methods for Training Generative Adversarial Networkscited by 460
  13. 2017Time-Contrastive Networks: Self-Supervised Learning from Videocited by 453
  14. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
  15. 2018Fairness Without Demographics in Repeated Loss Minimizationcited by 363
  16. 2020Debiased Contrastive Learningcited by 354
  17. 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
  18. 2021Self-Supervised Learning with Data Augmentations Provably Isolates Content from Stylecited by 308
  19. 2020Environment Inference for Invariant Learningcited by 306
  20. 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 275
  21. 2020Gradient Starvation: A Learning Proclivity in Neural Networkscited by 262
  22. 2018What is the Effect of Importance Weighting in Deep Learning?cited by 250
  23. 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 215
  24. 2020No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problemscited by 208
  25. 2016Demographic Dialectal Variation in Social Media: A Case Study of African-American Englishcited by 194
  26. 2020Invariant Risk Minimization Gamescited by 188
  27. 2020Large-Scale Methods for Distributionally Robust Optimizationcited by 179
  28. 2021Simple data balancing achieves competitive worst-group-accuracycited by 177
  29. 2016Variance-based regularization with convex objectivescited by 153
  30. 2020Minimax Pareto Fairness: A Multi Objective Perspectivecited by 152
  31. 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
  32. 2019Distributionally Robust Language Modelingcited by 142
  33. 2020Learning explanations that are hard to varycited by 132
  34. 2020Model Patching: Closing the Subgroup Performance Gap with Data Augmentationcited by 82
  35. 2020Conditional Negative Sampling for Contrastive Learning of Visual Representationscited by 57
  36. 2019Adaptive Sampling for Stochastic Risk-Averse Learningcited by 39
  37. 2020Multi-label Contrastive Predictive Codingcited by 32
  38. 2021Robust Representation Learning via Perceptual Similarity Metricscited by 23

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 19; 2023: 40; 2024: 48; 2025: 41; 2026: 23.

171 papers.

Sort:

By area:

  1. 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 412
  2. 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
  3. 2022On Feature Learning in the Presence of Spurious Correlationscited by 145
  4. 2022Spread Spurious Attribute: Improving Worst-group Accuracy with Spurious Attribute Estimationcited by 88
  5. 2023Discover and Cure: Concept-aware Mitigation of Spurious Correlationcited by 71
  6. 2023Simple and Fast Group Robustness by Automatic Feature Reweightingcited by 68
  7. 2022Contrastive Adapters for Foundation Model Group Robustnesscited by 62
  8. 2023Discovering and Mitigating Visual Biases through Keyword Explanationcited by 58
  9. 2023Towards Last-layer Retraining for Group Robustness with Fewer Annotationscited by 54
  10. 2023Explore Spurious Correlations at the Concept Level in Language Models for Text Classificationcited by 48
  11. 2023Identifying Spurious Biases Early in Training through the Lens of Simplicity Biascited by 44
  12. 2023Does Invariant Graph Learning via Environment Augmentation Learn Invariance?cited by 42
38 more
  1. 2023Robust Learning with Progressive Data Expansion Against Spurious Correlationcited by 39
  2. 2024The Clever Hans Mirage: A Comprehensive Survey on Spurious Correlations in Machine Learningcited by 39
  3. 2022Pareto Invariant Risk Minimization: Towards Mitigating the Optimization Dilemma in Out-of-Distribution Generalizationcited by 38
  4. 2023ConDA: Contrastive Domain Adaptation for AI-generated Text Detectioncited by 37
  5. 2023Mind the Label Shift of Augmentation-based Graph OOD Generalizationcited by 34
  6. 2022Avoiding spurious correlations via logit correctioncited by 32
  7. 2023Don't blame Dataset Shift! Shortcut Learning due to Gradients and Cross Entropycited by 30
  8. 2024Calibrating Multi-modal Representations: A Pursuit of Group Robustness without Annotationscited by 30
  9. 2023Joint Learning of Label and Environment Causal Independence for Graph Out-of-Distribution Generalizationcited by 29
  10. 2022Metadata Archaeology: Unearthing Data Subsets by Leveraging Training Dynamicscited by 26
  11. 2023Discovering environments with XRMcited by 26
  12. 2023Seeing is not Believing: Robust Reinforcement Learning against Spurious Correlationcited by 25
  13. 2022Freeze then Train: Towards Provable Representation Learning under Spurious Correlations and Feature Noisecited by 22
  14. 2022Mitigating Dataset Bias by Using Per-sample Gradientcited by 21
  15. 2023Identification of Negative Transfers in Multitask Learning Using Surrogate Modelscited by 20
  16. 2023A Survey on the Robustness of Computer Vision Models against Common Corruptionscited by 20
  17. 2023Learning Invariant Molecular Representation in Latent Discrete Spacecited by 19
  18. 2022CPL: Counterfactual Prompt Learning for Vision and Language Modelscited by 18
  19. 2024Decompose-and-Compose: A Compositional Approach to Mitigating Spurious Correlationcited by 18
  20. 2022Training Debiased Subnetworks with Contrastive Weight Pruningcited by 16
  21. 2023Studying How to Efficiently and Effectively Guide Models with Explanationscited by 16
  22. 2024The Pitfalls of Memorization: When Memorization Hurts Generalizationcited by 16
  23. 2024Improving Group Robustness on Spurious Correlation Requires Preciser Group Inferencecited by 15
  24. 2023Distributionally Robust Optimization with Probabilistic Groupcited by 14
  25. 2025Intermediate Layer Classifiers for OOD generalizationcited by 14
  26. 2022Spuriosity Rankings: Sorting Data to Measure and Mitigate Biasescited by 13
  27. 2024HYPO: Hyperspherical Out-of-Distribution Generalizationcited by 13
  28. 2025Escaping the SpuriVerse: Can Large Vision-Language Models Generalize Beyond Seen Spurious Correlations?cited by 13
  29. 2023Domain Generalization via Nuclear Norm Regularizationcited by 12
  30. 2023SYNAuG: Exploiting Synthetic Data for Data Imbalance Problemscited by 12
  31. 2023From Fake to Real: Pretraining on Balanced Synthetic Images to Prevent Spurious Correlations in Image Recognitioncited by 12
  32. 2024Complexity Matters: Dynamics of Feature Learning in the Presence of Spurious Correlationscited by 12
  33. 2024Unsupervised Concept Discovery Mitigates Spurious Correlationscited by 11
  34. 2022AGRO: Adversarial Discovery of Error-prone groups for Robust Optimizationcited by 10
  35. 2024Controllable Prompt Tuning For Balancing Group Distributional Robustnesscited by 10
  36. 2024Learning Robust Classifiers with Self-Guided Spurious Correlation Mitigationcited by 10
  37. 2024Bridging Multicalibration and Out-of-distribution Generalization Beyond Covariate Shiftcited by 10
  38. 2024Out of Spuriousity: Improving Robustness to Spurious Correlations without Group Annotationscited by 9

50 most cited of 171 All 171 (JSON)