Can contrastive learning avoid shortcut solutions?
Joshua Robinson, Li Sun, Ke Yu, Kayhan Batmanghelich, Stefanie Jegelka, Suvrit Sra
Abstract
The generalization of representations learned via contrastive learning depends crucially on what features of the data are extracted. However, we observe that the contrastive loss does not always sufficiently guide which features are extracted, a behavior that can negatively impact the performance on downstream tasks via "shortcuts", i.e., by inadvertently suppressing important predictive features. We find that feature extraction is influenced by the difficulty of the so-called instance discrimination task (i.e., the task of discriminating pairs of similar points from pairs of dissimilar ones). Although harder pairs improve the representation of some features, the improvement comes at the cost of suppressing previously well represented features. In response, we propose implicit feature modification (IFM), a method for altering positive and negative samples in order to guide contrastive models towards capturing a wider variety of predictive features. Empirically, we observe that IFM reduces feature suppression, and as a result improves performance on vision and medical imaging tasks. The code is available at: https://github. com/joshr17/IFM .
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.
44 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Improving CLIP Training with Language Rewrites cites A Simple Framework for Contrastive Learning of Visual Representations
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere 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
- Robust Contrastive Learning Using Negative Samples with Diminished Semantics cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Robust Contrastive Learning Using Negative Samples with Diminished Semantics cites A Simple Framework for Contrastive Learning of Visual Representations
- Robust Contrastive Learning Using Negative Samples with Diminished Semantics cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Robust Contrastive Learning Using Negative Samples with Diminished Semantics cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
- Robust Contrastive Learning against Noisy Views cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Robust Contrastive Learning against Noisy Views cites A Simple Framework for Contrastive Learning of Visual Representations
- Robust Contrastive Learning against Noisy Views cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Robust Contrastive Learning against Noisy Views cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Understanding Contrastive Learning Requires Incorporating Inductive Biases cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Understanding Contrastive Learning Requires Incorporating Inductive Biases cites A Simple Framework for Contrastive Learning of Visual Representations
- Understanding Contrastive Learning Requires Incorporating Inductive Biases cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- 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
Cited by top-tier papers44
- Improving CLIP Training with Language RewritesLijie Fan, Dilip Krishnan, Phillip Isola, Dina Katabi et al.NeurIPS 2023 · 308 citations
- Understanding Contrastive Learning Requires Incorporating Inductive BiasesNikunj Saunshi, Jordan T. Ash, Surbhi Goel, Dipendra Misra et al.ICML 2022 · 130 citations
- Robust Contrastive Learning Using Negative Samples with Diminished SemanticsSongwei Ge, Shlok Mishra, Chun-Liang Li, Haohan Wang et al.NeurIPS 2021 · 81 citations
- On the Foundations of Shortcut LearningKatherine L. Hermann, Hossein Mobahi, Thomas Fel, Michael Curtis MozerICLR 2024 · 72 citations
- Robust Contrastive Learning against Noisy ViewsChing-Yao Chuang, R. Devon Hjelm, Xin Wang, Vibhav Vineet et al.CVPR 2022 · 67 citations
Builds on29
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- 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
- Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
- Barlow Twins: Self-Supervised Learning via Redundancy ReductionJure Zbontar, Li Jing, Ishan Misra, Yann LeCun et al.ICML 2021 · 2,942 citations
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
Related papers
- Robust Representation Learning via Perceptual Similarity MetricsSaeid Asgari Taghanaki, Kristy Choi, Amir Hosein Khasahmadi, Anirudh GoyalICML 2021 · 29 citations
- Improving Contrastive Learning by Visualizing Feature TransformationRui Zhu, Bingchen Zhao, Jingen Liu, Zhenglong Sun et al.ICCV 2021 · 85 citations
- Contrastive Learning with Hard Negative SamplesJoshua David Robinson, Ching-Yao Chuang, Suvrit Sra, Stefanie JegelkaICLR 2021 · 999 citations
- MetAug: Contrastive Learning via Meta Feature AugmentationJiangmeng Li, Wenwen Qiang, Changwen Zheng, Bing Su et al.ICML 2022 · 32 citations
- C3CMR: Cross-Modality Cross-Instance Contrastive Learning for Cross-Media RetrievalJunsheng Wang, Tiantian Gong, Zhixiong Zeng, Changchang Sun et al.ACM MM 2022 · 12 citations
