SOHES: Self-supervised Open-world Hierarchical Entity Segmentation

Shengcao Cao, Jiuxiang Gu, Jason Kuen, Hao Tan, Ruiyi Zhang, Handong Zhao, Ani Nenkova, Liangyan Gui, Tong Sun, Yu-Xiong Wang

TL;DR

SOHES (Self-supervised Open-world Hierarchical Entity Segmentation) is a novel framework that learns to segment objects and their constituent parts using only raw, unlabeled images. By evolving through a three-phase process—self-exploration, self-instruction, and self-correction—it significantly outperforms previous self-supervised methods and narrows the performance gap with supervised giants like Meta’s Segment Anything Model (SAM).

What Problem Does This Paper Address?

In the world of computer vision, "segmentation" usually means teaching a model to find specific categories like "car" or "person." Open-world entity segmentation is more ambitious: it aims to segment any semantically coherent object, regardless of whether the model has seen that specific class before.

Until now, the gold standard for this task has been the Segment Anything Model (SAM). However, SAM’s brilliance comes at a massive cost: it was trained on over 1.1 billion human-annotated masks. Manually labeling data at this scale is prohibitively expensive and slow. The authors of SOHES ask a compelling question: Can we achieve high-quality open-world segmentation using pure self-supervision from raw images?

Methods

SOHES bridges the gap between raw pixels and complex object boundaries through a three-phase pipeline:

SOHES three-phase pipeline
  1. Self-exploration (Generating Pseudo-labels): The model starts with a pre-trained self-supervised representation (frozen DINO ViT). It uses a "global-to-local" clustering strategy to group image patches into semantically consistent regions. It "zooms in" on small candidate regions to re-cluster them, ensuring that tiny objects aren't missed. These clusters become the initial "pseudo-labels."
  2. Self-instruction (Learning Hierarchy): The authors train a Mask2Former model on these pseudo-labels. Crucially, they introduce a novel ancestor prediction head. This allows the model to learn not just where an object is, but how it relates to others (e.g., a "wheel" is a part of a "car"). This hierarchical understanding helps the model generalize better to unseen concepts.
  3. Self-correction (Refining the Model): To clean up the noise inherent in pseudo-labels, SOHES uses a teacher-student mutual-learning framework. A "teacher" model (an exponential moving average of the student) generates refined labels. A key innovation here is the dynamic threshold: since models are naturally less confident about small objects, SOHES lowers the confidence requirement for small masks, preventing the model from "forgetting" fine-grained details.

Datasets

  • Training: The model was trained on only 2% of the SA-1B dataset (unlabeled images only).
  • Evaluation (Zero-shot): To test generalization, the authors evaluated SOHES on several diverse datasets without any further training:
  • Whole Entities: MS-COCO, LVIS, ADE20K, EntitySeg, and SA-1B.
  • Parts & Hierarchies: PartImageNet and PACO-LVIS.

Key Insights and Ideas

  • The Power of Hierarchy: By explicitly modeling the "ancestor" relationships between masks, the model gains a multi-granularity understanding of scenes. This mimics how humans perceive the world—not just as a flat list of objects, but as a nested structure of parts and wholes.
  • Clustering as a Foundation: The paper demonstrates that self-supervised features (like those from DINO) already contain deep structural information; the challenge is simply "distilling" that information into usable masks.
  • Size-Aware Confidence: The use of a dynamic threshold in the self-correction phase is a subtle but vital "aha moment." It acknowledges that a model's confidence is often correlated with object scale, ensuring that small parts aren't filtered out as "noise."

Key Results

Performance comparison of SOHES vs SOTA
  • State-of-the-Art: SOHES sets a new benchmark for self-supervised segmentation. On the SA-1B dataset, it achieved a 33.3 Average Recall (AR), a significant jump from the previous best of 26.0 (HASSOD).
  • Closing the Gap: While SAM (supervised) hits 60.8 AR on SA-1B, SOHES manages to close the performance gap to SAM by up to 37% (on datasets like EntitySeg) compared to previous unsupervised methods, despite using zero human labels and only 2% of the training images.
  • Superior Part Segmentation: In some cases, SOHES actually outperforms SAM. On the PartImageNet dataset, SOHES achieved 36.0 AR compared to SAM’s 28.3, likely because SOHES is specifically designed to look for hierarchical part-whole relationships.

Limitations and Future Work

The authors identify three main areas where SOHES still struggles:

  • Discontinuous Entities: If an object is split by an obstruction (e.g., a tree trunk blocking a view of the sky), the model sometimes fails to realize the two pieces are the same entity.
  • Text and Characters: The model often produces imprecise boundaries for letters and symbols, sometimes grouping them into larger, blurry blocks.
  • Blurry Backgrounds: Like many vision models, SOHES can be "confused" by out-of-focus areas, leading to missing or inaccurate masks in the background.

Future work will likely focus on improving pseudo-labeling strategies to handle these complex occlusion and texture scenarios.

Summary updated

BibTeX
@inproceedings{cao2024sohes,
  author = {Shengcao Cao and Jiuxiang Gu and Jason Kuen and Hao Tan and Ruiyi Zhang and Handong Zhao and Ani Nenkova and Liangyan Gui and Tong Sun and Yu-Xiong Wang},
  title = {{SOHES: Self-supervised Open-world Hierarchical Entity Segmentation}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=PXNrncg2DF},
}
Figure