Lune

NeurIPS2021Top-tier venue

Robust Contrastive Learning Using Negative Samples with Diminished Semantics

Songwei Ge, Shlok Mishra, Chun-Liang Li, Haohan Wang, David Jacobs

Abstract

Unsupervised learning has recently made exceptional progress because of the development of more effective contrastive learning methods. However, CNNs are prone to depend on low-level features that humans deem non-semantic. This dependency has been conjectured to induce a lack of robustness to image perturbations or domain shift. In this paper, we show that by generating carefully designed negative samples, contrastive learning can learn more robust representations with less dependence on such features. Contrastive learning utilizes positive pairs that preserve semantic information while perturbing superficial features in the training images. Similarly, we propose to generate negative samples in a reversed way, where only the superfluous instead of the semantic features are preserved. We develop two methods, texture-based and patch-based augmentations, to generate negative samples. These samples achieve better generalization, especially under out-of-domain settings. We also analyze our method and the generated texture-based samples, showing that texture features are indispensable in classifying particular ImageNet classes and especially finer classes. We also show that model bias favors texture and shape features differently under different test settings. Our code, trained models, and ImageNet-Texture dataset can be found at https://github.com/ SongweiGe/Contrastive-Learning-with-Non-Semantic-Negatives .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

23 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Why do We Need Large Batchsizes in Contrastive Learning? A Gradient-Bias Perspective cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
  • Why do We Need Large Batchsizes in Contrastive Learning? A Gradient-Bias Perspective cites A Simple Framework for Contrastive Learning of Visual Representations
  • Why do We Need Large Batchsizes in Contrastive Learning? A Gradient-Bias Perspective cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Why do We Need Large Batchsizes in Contrastive Learning? A Gradient-Bias Perspective cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
  • Contrastive Adapters for Foundation Model Group Robustness cites A Simple Framework for Contrastive Learning of Visual Representations
  • Unsupervised Learning of Visual Features by Contrasting Cluster Assignments cites A Simple Framework for Contrastive Learning of Visual Representations
  • Self-Supervised Learning with an Information Maximization Criterion cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
  • Self-Supervised Learning with an Information Maximization Criterion cites A Simple Framework for Contrastive Learning of Visual Representations
  • Self-Supervised Learning with an Information Maximization Criterion cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Self-Supervised Learning with an Information Maximization Criterion cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
  • Finding Order in Chaos: A Novel Data Augmentation Method for Time Series in Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Finding Order in Chaos: A Novel Data Augmentation Method for Time Series in Contrastive Learning cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • COCOA: Cross Modality Contrastive Learning for Sensor Data cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
  • COCOA: Cross Modality Contrastive Learning for Sensor Data cites A Simple Framework for Contrastive Learning of Visual Representations
  • COCOA: Cross Modality Contrastive Learning for Sensor Data cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • COCOA: Cross Modality Contrastive Learning for Sensor Data cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites A Simple Framework for Contrastive Learning of Visual Representations
  • Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers23

  1. Contrastive Adapters for Foundation Model Group RobustnessMichael Zhang, Christopher RéNeurIPS 2022 · 94 citations
  2. COCOA: Cross Modality Contrastive Learning for Sensor DataShohreh Deldari, Hao Xue, Aaqib Saeed, Daniel V. Smith et al.UbiComp 2022 · 88 citations
  3. Why do We Need Large Batchsizes in Contrastive Learning? A Gradient-Bias PerspectiveChangyou Chen, Jianyi Zhang, Yi Xu, Liqun Chen et al.NeurIPS 2022 · 61 citations
  4. Self-Supervised Learning with an Information Maximization CriterionSerdar Ozsoy, Shadi Hamdan, Sercan Ö. Arik, Deniz Yuret et al.NeurIPS 2022 · 54 citations
  5. Finding Order in Chaos: A Novel Data Augmentation Method for Time Series in Contrastive LearningBerken Utku Demirel, Christian HolzNeurIPS 2023 · 48 citations

Builds on26

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  3. Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
  4. Barlow Twins: Self-Supervised Learning via Redundancy ReductionJure Zbontar, Li Jing, Ishan Misra, Yann LeCun et al.ICML 2021 · 2,942 citations
  5. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations

Related papers

  1. SelfReg: Self-supervised Contrastive Regularization for Domain GeneralizationDaehee Kim, Youngjun Yoo, Seunghyun Park, Jinkyu Kim et al.ICCV 2021 · 338 citations
  2. The Origins and Prevalence of Texture Bias in Convolutional Neural NetworksKatherine L. Hermann, Ting Chen, Simon KornblithNeurIPS 2020 · 369 citations
  3. Understanding and Improving Robustness of Vision Transformers through Patch-based Negative AugmentationYao Qin, Chiyuan Zhang, Ting Chen, Balaji Lakshminarayanan et al.NeurIPS 2022 · 68 citations
  4. Does enhanced shape bias improve neural network robustness to common corruptions?Chaithanya Kumar Mummadi, Ranjitha Subramaniam, Robin Hutmacher, Julien Vitay et al.ICLR 2021 · 47 citations
  5. Informative Dropout for Robust Representation Learning: A Shape-bias PerspectiveBaifeng Shi, Dinghuai Zhang, Qi Dai, Zhanxing Zhu et al.ICML 2020 · 122 citations
Dusk over the sea between two cliffs drawn in fine vertical lines