mlsanityData to 7 Oct 2026

Supervised Contrastive Learning with Heterogeneous Similarity for Distribution Shifts

arXiv 2304.03440 ↗First posted 7 Apr 2023cs.LG stat.MLcited by 0

Not on the map. Why?

Abstract (arXiv)

Distribution shifts are problems where the distribution of data changes between training and testing, which can significantly degrade the performance of a model deployed in the real world. Recent studies suggest that one reason for the degradation is a type of overfitting, and that proper regularization can mitigate the degradation, especially when using highly representative models such as neural networks. In this paper, we propose a new regularization using the supervised contrastive learning to prevent such overfitting and to train models that do not degrade their performance under the distribution shifts. We extend the cosine similarity in contrastive loss to a more general similarity measure and propose to use different parameters in the measure when comparing a sample to a positive or negative example, which is analytically shown to act as a kind of margin in contrastive loss. Experiments on benchmark datasets that emulate distribution shifts, including subpopulation shift and domain generalization, demonstrate the advantage of the proposed method over existing regularization methods.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 39 references that are in the map. First posted on arXiv 7 Apr 2023.

Builds on

31 of 39 references.

References · 31

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  4. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  5. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  6. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  7. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  8. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  9. 2020Exploring Simple Siamese Representation Learningcited by 2,853
  10. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  11. 2020Supervised Contrastive Learningcited by 2,803
  12. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
19 more
  1. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  2. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  3. 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
  4. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
  5. 2016Deep Networks with Stochastic Depthcited by 973
  6. 2021Domain Generalization: A Surveycited by 760
  7. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
  8. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  9. 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 522
  10. 2019Domain Generalization by Solving Jigsaw Puzzlescited by 449
  11. 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 405
  12. 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
  13. 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
  14. 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 171
  15. 2019Distributionally Robust Language Modelingcited by 142
  16. 2017Machine learning methods for histopathological image analysiscited by 79
  17. 2021Examining and Combating Spurious Features under Distribution Shiftcited by 64
  18. 2016Does Distributionally Robust Supervised Learning Give Robust Classifiers?cited by 38
  19. 2021Predict then Interpolate: A Simple Algorithm to Learn Stable Classifierscited by 16

Built on by

Not cited yet.