Refine and Represent: Region-to-Object Representation Learning

Akash Gokul, Konstantinos Kallidromitis, Shufan Li, Yusuke Kato, Kazuki Kozuka, Trevor Darrell, Colorado J. ReedarXiv 2022

Abstract

Recent works in self-supervised learning have demonstrated strong performance on scene-level dense prediction tasks by pretraining with object-centric or region-based correspondence objectives. In this paper, we present Region-to-Object Representation Learning (R2O) which unifies region-based and object-centric pretraining. R2O operates by training an encoder to dynamically refine region-based segments into object-centric masks and then jointly learns representations of the contents within the mask. R2O uses a "region refinement module" to group small image regions, generated using a region-level prior, into larger regions which tend to correspond to objects by clustering region-level features. As pretraining progresses, R2O follows a region-to-object curriculum which encourages learning region-level features early on and gradually progresses to train object-centric representations. Representations learned using R2O lead to state-of-the art performance in semantic segmentation for PASCAL VOC and Cityscapes and instance segmentation on MS COCO. Further, after pretraining on ImageNet, R2O pretrained models are able to surpass existing state-of-the-art in unsupervised object segmentation on the Caltech-UCSD Birds 200-2011 dataset without any further training.

Introduction

Self-supervised learning (SSL) has significantly advanced vision models by enabling training on vast unlabeled datasets. While methods like MoCo and BYOL excel at learning global, image-level features for classification, they often fall short on "dense" tasks such as object detection and semantic segmentation. Recent attempts to bridge this gap have utilized object-centric SSL, often relying on static segmentation heuristics (e.g., SLIC superpixels) to guide pretraining.

However, these static heuristics are limited; they are calculated once and do not improve as the model learns. R2O addresses this by introducing a dynamic framework where the model discovers objects as its feature representations improve. By oscillating between mask prediction and representation learning, R2O creates a feedback loop that progressively refines coarse regions into semantically meaningful objects.

Methodology: The Refine and Represent Loop

R2O employs a Siamese network architecture to enforce feature similarity across different augmented views of an image. The core innovation lies in its two-step dynamic feedback loop:

  1. Mask Prediction & Refinement: The model starts with a simple region-level prior. It computes features for these regions and uses K-means clustering to group small fragments into larger masks.
  2. Representation Learning: Using mask-pooling, the model focuses its loss on these discovered regions, ensuring that the features within a mask are consistent across different views.

The Region-to-Object Curriculum

A critical component of R2O is the scheduler for the number of clusters ($K$). Early in training, $K$ is set high (e.g., 128), forcing the model to learn local, low-level features for many small regions. As training progresses, $K$ is gradually reduced (e.g., to 4), encouraging the model to group local features into large, object-centric representations. This curriculum mimics a natural learning progression from textures and edges to complex objects.

The R2O framework progressively refines masks from initial region-level priors into object-centric representations over the course of training.

Experimental Results

R2O was pretrained on ImageNet-1K and MS COCO and evaluated across several downstream tasks. It consistently outperformed previous state-of-the-art self-supervised methods.

Transfer Learning for Dense Prediction

On MS COCO, R2O achieved 43.0 $AP^{bb}$ for object detection, a significant improvement over previous benchmarks. In semantic segmentation, it reached 77.3 mIOU on PASCAL VOC, outperforming concurrent methods like SlotCon by over 1.1 points. These gains are attributed to R2O's ability to learn from actual mask boundaries rather than simple bounding boxes.

R2O achieves state-of-the-art performance across multiple benchmarks, including MS COCO, PASCAL VOC, and Cityscapes.

Unsupervised Object Segmentation

To test the model's inherent understanding of objects, it was evaluated on the Caltech-UCSD Birds (CUB-200-2011) dataset without any fine-tuning. R2O achieved 71.6 mIOU, surpassing previous unsupervised segmentation methods by +3.3 points. This result demonstrates that the model successfully discovers the concept of a foreground object during its self-supervised pretraining phase.

Conclusion

Region-to-Object Representation Learning (R2O) demonstrates that dynamic mask refinement is a powerful tool for self-supervised learning. By moving beyond static heuristics and employing a region-to-object curriculum, R2O fosters a virtuous cycle where better features lead to better masks, which in turn lead to even more robust representations. While challenges remain in grounding these regions semantically without labels, R2O sets a new standard for unsupervised dense representation learning.

Summary updated

BibTeX
@misc{gokul2022refine,
  author = {Akash Gokul and Konstantinos Kallidromitis and Shufan Li and Yusuke Kato and Kazuki Kozuka and Trevor Darrell and Colorado J. Reed},
  title = {{Refine and Represent: Region-to-Object Representation Learning}},
  year = {2022},
  eprint = {2208.11821},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.11821},
}
Figure