LGJun 21, 2021

Can contrastive learning avoid shortcut solutions?

arXiv:2106.11230v3170 citationsHas Code
Originality Incremental advance
AI Analysis

This addresses a key limitation in contrastive learning for researchers and practitioners in computer vision and medical imaging, though it is an incremental improvement.

The paper tackles the problem of contrastive learning inadvertently suppressing important predictive features via shortcuts, which harms downstream task performance. The authors propose Implicit Feature Modification (IFM) to guide models towards capturing a wider variety of features, resulting in improved performance on vision and medical imaging tasks.

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: \url{https://github.com/joshr17/IFM}.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes