HASSOD: Hierarchical Adaptive Self-Supervised Object Detection

Shengcao Cao, Dhiraj Joshi, Liangyan Gui, Yu-Xiong Wang

While foundation models like the Segment Anything Model (SAM) have revolutionized computer vision, they typically rely on massive amounts of human-annotated data—sometimes requiring billions of labeled masks. Self-supervised object detection aims to remove this bottleneck by learning to identify and segment objects using only raw, unlabeled images.

However, previous self-supervised methods have struggled with three major limitations:

  1. Narrow Coverage: They often focus only on the most prominent object in an image, missing dozens of other valid objects in complex scenes.
  2. Lack of Composition: They treat objects as monolithic blobs, failing to understand "part-to-whole" relationships (e.g., a "car" is composed of "wheels," which have "rims").
  3. Training Inefficiency: They rely on "multi-round self-training," a computationally expensive process where a model is trained, used to generate new labels, and then retrained from scratch multiple times.

To address these issues, researchers introduce Hierarchical Adaptive Self-Supervised Object Detection (HASSOD). By combining adaptive clustering with a "Mean Teacher" training strategy, HASSOD learns to detect objects and understand their compositions without a single human-provided label.

Qualitative comparison showing HASSOD's ability to detect hierarchical object structures (whole, part, subpart) compared to the baseline CutLER.

The Two-Stage "Discover-and-Learn" Pipeline

HASSOD abandons the clunky multi-round retraining of the past in favor of a streamlined, two-stage pipeline.

The two-stage HASSOD pipeline: Initial Pseudo-Label Discovery followed by Object Detector Learning using a Mean Teacher framework.

Stage 1: Hierarchical Adaptive Discovery

The first stage focuses on generating high-quality pseudo-labels. The authors use a frozen, self-supervised vision transformer (DINO ViT) to extract features from unlabeled images. They then apply a Hierarchical Adaptive Clustering strategy, which groups image patches into masks based on semantic similarity.

Unlike prior work, HASSOD uses multiple similarity thresholds to catch objects of all sizes and complexities. It analyzes the spatial "coverage" between these masks to build a tree structure, automatically categorizing masks into hierarchical levels: whole, part, or subpart.

Stage 2: Efficient Learning with Mean Teacher

Instead of traditional multi-round retraining, HASSOD adopts the Mean Teacher framework from semi-supervised learning. A "Student" model learns from two distinct sources: the initial noisy pseudo-labels generated in Stage 1, and the "Teacher" model’s own predictions (which is a moving average of the Student's weights).

Crucially, the system uses an adaptive loss weight. As training progresses, the model dynamically shifts its trust—relying less on the initial noisy pseudo-labels and more on the evolving, refined predictions of the Teacher model. This continuous loop avoids the "jagged" optimization paths of previous methods, leading to better generalization with significantly less compute.

Key Insights and Results

HASSOD was trained primarily on the unlabeled version of MS-COCO (~240k images) and evaluated in a "zero-shot" manner across three major benchmarks: Objects365, LVIS, and Meta's massive SA-1B dataset.

  • Hierarchy as a Signal: The authors demonstrate that understanding object composition is a powerful self-supervised signal. Forcing the model to predict whether a mask is a "whole" or a "part" directly improves its overall ability to localize objects.
  • State-of-the-Art Performance: HASSOD significantly outperforms the previous leading method, CutLER. On the SA-1B dataset, it improved Mask Average Recall (AR) from 17.0 to 26.0—a massive 53% relative gain. On the highly diverse LVIS dataset, Mask AR improved from 20.2 to 22.5.
  • Extreme Efficiency: HASSOD achieves these superior results using only 1/5 of the training images and 1/12 of the training iterations required by CutLER.
  • Qualitative Superiority: Visualizations confirm that HASSOD successfully identifies fine-grained details—like the eyes of a cat or the buttons on a cabinet—that previous self-supervised models ignored as mere "background."

Limitations and Future Work

While HASSOD marks a significant leap forward, it is not without limitations. Because the object hierarchy is learned purely from geometry (mask coverage), it can sometimes suffer from a "perceptual mismatch," over-segmenting objects into arbitrary color-based parts rather than functional, human-logical parts (like "arms" or "legs"). Additionally, the model still struggles with ambiguity in crowds, occasionally failing to distinguish between overlapping objects of the same class.

Moving forward, the authors suggest scaling up HASSOD by training on even larger unlabeled web-scale datasets, such as LAION-5B, to see if its part-whole logic continues to scale and refine itself.

Summary updated

BibTeX
@inproceedings{cao2023hassod,
  author = {Shengcao Cao and Dhiraj Joshi and Liangyan Gui and Yu-Xiong Wang},
  title = {{HASSOD: Hierarchical Adaptive Self-Supervised Object Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=sqkGJjIRfG},
}
Figure