NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Occlusion-Ordered Semantic Instance Segmentation

Soroosh Baselizadeh, Cheuk-To Yu, Olga Veksler, Yuri BoykovarXiv 2025

TL;DR

This paper introduces Occlusion-Ordered Semantic Instance Segmentation (OOSIS), a novel framework that simultaneously segments objects and determines their relative depth ordering from a single image. By leveraging a clean Conditional Random Field (CRF) labeling formulation driven by a state-of-the-art oriented occlusion boundary detector, the method provides robust, cycle-free 3D spatial relationships without relying on error-prone absolute monocular depth estimation.

What Problem Does This Paper Address?

Standard semantic instance segmentation operates strictly in 2D, providing object masks but leaving their spatial arrangement in 3D ambiguous. To recover 3D structure from a single image, researchers traditionally combine instance segmentation with monocular absolute depth estimation. However, predicting continuous, real-valued pixel depth is incredibly difficult: accuracy degrades rapidly with distance, and the network often fails to distinguish depth differences for close, thin objects (like a poster on a wall).

Instead of chasing absolute depth numbers, this paper focuses on a simpler, more reliable cue: occlusions. If Object A occludes Object B, Object A must be closer to the camera. By focusing on relative depth ordering derived from these boundaries, we can obtain a robust, discrete topological map of the scene that doesn't degrade with distance.

Methods

The authors propose a two-stage pipeline to solve the joint OOSIS task:

Fig. 2: Overview of our approach.
  1. Joint CNN for Boundaries and Semantics: The first stage uses a modified PSPNet architecture to simultaneously predict semantic classes and oriented occlusion boundaries. Crucially, the network disentangles boundary detection (is there an edge?) from conditional orientation (which side is the occluder?). Unlike prior works that use regression for edge angles, this method treats orientation as a discrete classification problem across four directional bins (left, right, top, bottom), leading to significantly cleaner edge predictions.
  2. CRF Occlusion-Order Labeling: The second stage formulates instance extraction and depth ordering as a discrete optimization problem using a Conditional Random Field (CRF). Pixels are assigned integer labels representing their relative depth layer (higher numbers mean closer to the camera). The energy function uses a "repulsive" pairwise cost that forces labels to change exactly where occlusion boundaries are detected.

Because the smoothness terms in the CRF are non-submodular, the authors employ the jump move algorithm combined with a submodular upper bound to efficiently minimize the energy via graph-cuts. This optimization naturally enforces unambiguous, non-overlapping instance masks and guarantees a globally consistent, cycle-free depth ordering.

A New Evaluation Metric

To properly evaluate this joint task, the authors introduce the OAIR (Occlusion accuracy vs. Instance Recall) curve. It matches predicted instances to ground truth using standard Intersection-over-Union (IoU) thresholds, constructs an occlusion graph, and measures how many true occlusion pairs are successfully recovered and correctly ordered.

Fig. 6: Occlusion graphs and matched regions for joint OOSIS metric computation: (a) and (b) show ground truth and predicted masks. Matched masks between the ground truth and the prediction are shown with the same color, unmatched masks (5, C, F) are in gray; (c) and (d) are the ground truth and the predicted occlusion graphs.

Datasets

The model was trained and evaluated on two primary datasets containing modal instance masks and occlusion order annotations:

  • KINS: A large-scale dataset consisting of 14,991 driving scenes (derived from KITTI).
  • COCOA: A dataset containing 5,073 natural and indoor scenes with complex, multi-object occlusions.

Key Insights and Ideas

  • Direct Training Fails: The authors discovered that directly training a CNN to output pixel-level relative depth labels yields terrible results. This is because absolute label values (e.g., "layer 2") have no stable meaning across different images. The CRF formulation elegantly bypasses this by focusing purely on local, relative relationships at boundaries.
  • Classification > Regression for Edges: Disentangling edge presence from orientation and treating the latter as a classification task yields a massive performance boost, setting a new state-of-the-art for oriented occlusion boundary detection.
  • Cycle-Free by Design: Pairwise object-relation classifiers often suffer from logical contradictions (e.g., A occludes B, B occludes C, C occludes A). The global CRF labeling approach completely prevents these impossible depth loops.

Key Results

  • Occlusion Boundary Accuracy: The proposed boundary detector significantly outperformed the previous state-of-the-art (P2ORM), boosting the Average Precision (AP) on the KINS dataset from 79.4 to 88.3.
  • OOSIS Performance: On the joint OAIR metric, the proposed method outperformed strong baselines (combinations of advanced segmenters like PanopticMask2Former and relation predictors like OrderNet) by a margin of ~10% in accuracy for recall values above 40% on KINS.
  • Mask Quality: Even when ignoring the depth order and evaluating purely on 2D instance segmentation quality, the method outperformed PanopticMask2Former on both KINS and COCOA datasets under the Weighted Coverage Score (WCS), proving that occlusion cues actively help define sharper object boundaries.

Limitations and Future Work

While powerful, the OOSIS framework has two notable limitations:

  1. Partial Ordering Only: Occlusions only reveal depth relationships between adjacent, overlapping objects. The relative depth between two completely separated objects remains unknown.
  2. No Mutual Occlusion: The current CRF formulation assumes a strict hierarchical ordering and cannot handle complex scenarios where two objects mutually occlude each other (e.g., interlocking rings or a person hugging a tree trunk).

Future work will likely target extending the framework to handle these complex topological relationships and integrating partial orders into broader 3D scene reconstruction pipelines.

Summary updated

BibTeX
@misc{baselizadeh2025occlusion,
  author = {Soroosh Baselizadeh and Cheuk-To Yu and Olga Veksler and Yuri Boykov},
  title = {{Occlusion-Ordered Semantic Instance Segmentation}},
  year = {2025},
  eprint = {2504.14054},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.14054},
}
Figure