Skip to main content
QUICK REVIEW

[Paper Review] Distilling Localization for Self-Supervised Representation Learning

Nanxuan Zhao, Zhirong Wu|arXiv (Cornell University)|Apr 14, 2020
Visual Attention and Saliency DetectionComputer Science54 references11 citations
TL;DR

This paper proposes DiLo, a data-driven method that improves self-supervised contrastive learning by distilling foreground object localization through background-invariant augmentations. By estimating saliency masks and creating augmentations via foreground copy-paste onto diverse backgrounds, DiLo enhances representation learning, achieving state-of-the-art transfer performance on ImageNet classification and object detection benchmarks like PASCAL VOC and COCO, with gains of up to 6% in accuracy.

ABSTRACT

Recent progress in contrastive learning has revolutionized unsupervised representation learning. Concretely, multiple views (augmentations) from the same image are encouraged to map to the similar embeddings, while views from different images are pulled apart. In this paper, through visualizing and diagnosing classification errors, we observe that current contrastive models are ineffective at localizing the foreground object, limiting their ability to extract discriminative high-level features. This is due to the fact that view generation process considers pixels in an image uniformly. To address this problem, we propose a data-driven approach for learning invariance to backgrounds. It first estimates foreground saliency in images and then creates augmentations by copy-and-pasting the foreground onto a variety of backgrounds. The learning still follows the instance discrimination pretext task, so that the representation is trained to disregard background content and focus on the foreground. We study a variety of saliency estimation methods, and find that most methods lead to improvements for contrastive learning. With this approach (DiLo), significant performance is achieved for self-supervised learning on ImageNet classification, and also for object detection on PASCAL VOC and MSCOCO.

Motivation & Objective

  • To diagnose why self-supervised contrastive models fail to localize foreground objects despite strong performance on classification.
  • To address the limitation that current contrastive learning treats all image regions equally, leading models to rely on background cues.
  • To develop a data-driven augmentation strategy that encourages representations to become invariant to background variations.
  • To improve transfer learning performance on downstream tasks like object detection by enhancing feature discriminability through better localization.
  • To evaluate the effectiveness of various saliency estimation methods in supporting this localization distillation process.

Proposed method

  • The method estimates foreground saliency masks for training images using unsupervised or learned saliency models (e.g., RBD, BasNet).
  • It creates data augmentations by copy-and-pasting the salient foreground object onto diverse background images, preserving object identity while varying context.
  • The augmented views are used in a standard instance discrimination pretext task, encouraging the model to learn representations invariant to background changes.
  • The approach is plug-and-play, compatible with existing contrastive learning frameworks such as MoCo, CMC, and InstDist.
  • Saliency estimation is applied per image, and the resulting augmented pairs are fed into the contrastive learning objective to train the backbone network.
  • The method is evaluated across multiple self-supervised learning baselines and downstream tasks, including ImageNet classification and object detection on VOC and COCO.

Experimental results

Research questions

  • RQ1Why do self-supervised contrastive models fail to localize foreground objects despite strong classification accuracy?
  • RQ2Can improving foreground localization through data augmentation enhance self-supervised representation learning?
  • RQ3How do different saliency estimation methods impact the performance of contrastive learning in terms of localization and transfer accuracy?
  • RQ4Does learning invariance to background content lead to better generalization on downstream detection and classification tasks?
  • RQ5Is the proposed method orthogonal to existing contrastive learning techniques, or does it require architectural changes?

Key findings

  • DiLo achieves consistent improvements of 2% to 6% over baseline contrastive learning methods on ImageNet linear evaluation, with the strongest gains when using learned saliency (BasNet).
  • On PASCAL VOC object detection, DiLo-BasNet achieves 56.9% AP, outperforming the MoCo baseline (55.9%) and surpassing supervised ImageNet pre-training on AP_{75} by 5.3 percentage points.
  • On MSCOCO, DiLo-BasNet achieves 40.1% AP^{bb} and 39.0% AP^{mk}_{75}, exceeding the MoCo baseline (39.4% and 38.0%) with a 0.7% gain on AP^{mk}_{75}.
  • Visualization results confirm that DiLo focuses on discriminative object regions, while baselines are distracted by background content, validating improved localization.
  • The method is effective across multiple contrastive learning frameworks, including MoCo-v1, MoCo-v2, CMC, and InstDist, demonstrating its orthogonality and broad applicability.
  • Failure cases are primarily due to multi-object scenes or fine-grained categories, indicating limitations in saliency estimation and generalization under complex visual conditions.

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.