Skip to main content
QUICK REVIEW

[Paper Review] Automatic Shortcut Removal for Self-Supervised Representation Learning

Matthias Minderer, Olivier Bachem|arXiv (Cornell University)|Feb 20, 2020
Domain Adaptation and Few-Shot LearningComputer Science43 references36 citations
TL;DR

The paper introduces an adversarially trained image-to-image lens that removes shortcut features during self-supervised pretraining, improving transferable representations across tasks and datasets. The lens reveals and mitigates dataset/task biases and enhances semantic feature learning.

ABSTRACT

In self-supervised visual representation learning, a feature extractor is trained on a "pretext task" for which labels can be generated cheaply, without human annotation. A central challenge in this approach is that the feature extractor quickly learns to exploit low-level visual features such as color aberrations or watermarks and then fails to learn useful semantic representations. Much work has gone into identifying such "shortcut" features and hand-designing schemes to reduce their effect. Here, we propose a general framework for mitigating the effect shortcut features. Our key assumption is that those features which are the first to be exploited for solving the pretext task may also be the most vulnerable to an adversary trained to make the task harder. We show that this assumption holds across common pretext tasks and datasets by training a "lens" network to make small image changes that maximally reduce performance in the pretext task. Representations learned with the modified images outperform those learned without in all tested cases. Additionally, the modifications made by the lens reveal how the choice of pretext task and dataset affects the features learned by self-supervision.

Motivation & Objective

  • Motivate and formalize the problem of shortcut features in self-supervised learning (SSL).
  • Propose an automated method to remove shortcuts without hand-designing augmentations.
  • Demonstrate that lens-based shortcut removal improves SSL representations across tasks and datasets.
  • Use lens visualizations to analyze dataset and pretext-task biases and guide task design.

Proposed method

  • Introduce a lightweight image-to-image translation network (lens) that adversarially modifies inputs to degrade SSL performance.
  • Train the lens with an adversarial loss to maximize the pretext-task difficulty while maintaining image reconstruction quality.
  • Use an L2 reconstruction loss to regularize the lens and choose hyperparameters (lambda) per task.
  • Combine representations from lensed and unlensed inputs for downstream evaluation to preserve information content.

Experimental results

Research questions

  • RQ1Can an adversarial lens automatically identify and remove shortcuts that help solve pretext tasks in SSL?
  • RQ2Do lens-based modifications improve downstream transfer performance of SSL representations across datasets and pretext tasks?
  • RQ3What visual features do lenses remove, and how do these relate to task/dataset biases?
  • RQ4How does lens-based shortcut removal affect the semantic quality of learned representations?
  • RQ5Can the lens reveal dataset biases and guide augmentation design for SSL?

Key findings

  • Across multiple pretext tasks and datasets, applying the lens yields significant improvements over baseline SSL representations.
  • The lens outperforms standard adversarial training methods like FGSM in improving transfer performance, especially when transferring to Places205.
  • Lens-induced representations show increased semanticity, e.g., a shift toward shape-based decisions on texture-biased cues.
  • Lens visualizations reveal interpretable shortcut features such as watermarks, chromatic aberrations, and dataset-specific biases.
  • On video frames (YouTube1M), the lens recovers a substantial portion of performance lost relative to ImageNet training and reduces biases present in non-curated data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.