Introduction
Panoptic segmentation aims to unify instance segmentation (identifying "things" like people) and semantic segmentation (identifying "stuff" like sky). A critical challenge in this task is resolving conflicts when predicted object masks overlap. Most current models employ a "greedy" heuristic, sorting objects by detection confidence and assigning overlapping pixels to the most confident instance. However, detection confidence is a poor proxy for physical depth; a model might be highly certain of a background object (e.g., a table) while being slightly less certain of a foreground object (e.g., a bowl), leading to incorrect pixel assignments where the background "swallows" the foreground.
The OCFusion Approach
To address this, the authors propose OCFusion, an additional neural network branch integrated into the standard Mask R-CNN architecture. Instead of relying on confidence scores, this module takes two overlapping instance masks and their corresponding features from the Feature Pyramid Network (FPN) to predict a binary occlusion relationship: whether object A is in front of object B, or vice versa.
The occlusion head is trained using ground-truth occlusion relations automatically derived from existing panoptic datasets, requiring no additional manual labeling. During inference, the model queries the OCFusion head when significant overlaps occur, allowing it to override the default confidence-based ordering with a learned physical layout prediction.
Experimental Evaluation
The model was evaluated on the MS-COCO 2018 Panoptic and Cityscapes benchmarks. Cityscapes is particularly relevant as it contains frequent intra-class occlusions (e.g., overlapping cars). OCFusion achieved state-of-the-art results, improving Panoptic Quality (PQ) on COCO by up to +2.0 points, with a significant +3.0 point jump in "Thing" quality ($PQ^{Th}$). On Cityscapes, it reached a PQ of 60.2. The occlusion head itself demonstrated high predictive accuracy, exceeding 91% on COCO and 93% on Cityscapes.
Key Insights
A core contribution of OCFusion is treating occlusion as a pairwise relationship rather than a global pixel property, making the learning task more robust. The method is also highly efficient, adding only 2-5% to total inference time because the head is only queried for significant overlaps. It is particularly effective at resolving conflicts between instances of the same category, where standard Non-Maximum Suppression (NMS) often fails.
Conclusion and Future Work
While OCFusion significantly improves instance resolution, it currently focuses on pairwise "thing-thing" occlusions. Future research could extend this logic to "stuff-thing" interactions (e.g., objects behind semi-transparent fences) or toward amodal segmentation, where the model predicts the full shape of partially hidden objects.
Summary updated