Improving Transferability of Representations via Augmentation-Aware Self-Supervision

Hankook Lee, Kibok Lee, Kimin Lee, Honglak Lee, Jinwoo Shin

Abstract

Standard self-supervised learning (SSL) paradigms emphasize augmentation invariance, training models to produce identical representations for different transformed versions of the same image. While this approach builds robust general-purpose features, it often discards task-relevant information such as color and spatial layout—a phenomenon we describe as information "bleaching." We introduce AugSelf, an auxiliary self-supervised task that encourages "augmentation awareness" by predicting the relative parameters of transformations between image views. AugSelf can be integrated into existing SSL and supervised frameworks with minimal overhead, significantly enhancing the transferability of representations to specialized downstream tasks like fine-grained classification and object localization.

Introduction: The Invariance Dilemma

In modern computer vision, the gold standard for training robust models is augmentation invariance. Whether using supervised learning or self-supervised methods like SimCLR, MoCo, or SimSiam, the objective is typically to ensure the model ignores "nuisance" transformations like cropping, flipping, or color jittering. However, this invariance is a double-edged sword. By forcing a model to ignore color to identify a general category like "car," the model may lose the ability to distinguish between features critical for other tasks, such as identifying flower species where color is a primary diagnostic feature. This paper addresses this loss of information by proposing a method to retain transformation-related features without sacrificing the benefits of invariant learning.

Methods: Augmentation-Aware Self-Supervision (AugSelf)

The authors propose AugSelf, a simple yet effective architectural add-on. Instead of solely training the model to treat two views of an image as identical, AugSelf introduces a small auxiliary prediction head, $\phi$. This head is tasked with predicting the difference in augmentation parameters (e.g., spatial offset, color intensity changes) between two views.

The AugSelf architecture integrates an auxiliary head $\phi$ that predicts the difference in augmentation parameters ($\omega_{diff}$) between two views, complementing standard augmentation-invariant learning objectives.

As shown in the architecture diagram, the total loss function combines the standard training objective (invariance) with the AugSelf objective (awareness). Because the AugSelf head is a lightweight 3-layer MLP, it can be plugged into frameworks like SimSiam, MoCo, or BYOL with negligible computational cost.

Experimental Results and Key Insights

The researchers evaluated AugSelf across a massive battery of benchmarks, including 11 transfer learning datasets, few-shot learning tasks, and object localization.

The Cost of Invariance

A key insight from the study is that "invariance is lossy." The authors demonstrate a clear correlation: as the strength of color jittering increases during training, the mutual information between the model's representation and the original image's color decreases. This directly leads to degraded performance on color-sensitive downstream tasks.

Analysis of mutual information and transfer performance on Flowers and Food datasets across varying color augmentation strengths. AugSelf consistently maintains higher mutual information and superior classification accuracy compared to the SimSiam baseline.

Performance Gains

AugSelf improved transfer performance in 20 out of 22 tested scenarios. Notable highlights include:

  • Specialized Tasks: On the color-sensitive Oxford Flowers dataset, adding AugSelf to a SimSiam baseline pretrained on STL10 boosted accuracy from 59.19% to 72.18%.
  • Few-Shot Learning: In scenarios with limited data (1 or 5 examples), AugSelf provided gains of up to 6.9% on the CUB200 bird dataset.
  • Spatial Awareness: Models trained with AugSelf showed significantly lower error in object localization tasks, confirming that they retain better spatial and positional information than purely invariant models.

Conclusion and Future Work

AugSelf demonstrates that "awareness" is often superior to "blind invariance" for creating transferable representations. While the current implementation relies on augmentations that can be numerically parameterized (like crops or brightness shifts), it sets the stage for future "augmentation-agnostic" self-supervision. Future research may explore how to apply these principles to more complex, non-linear transformations where the difference between views is not easily quantified.

Summary updated

BibTeX
@inproceedings{lee2021improving,
  author = {Hankook Lee and Kibok Lee and Kimin Lee and Honglak Lee and Jinwoo Shin},
  title = {{Improving Transferability of Representations via Augmentation-Aware Self-Supervision}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure