Occlusion-Aware Instance Segmentation Via BiLayer Network Architectures

Lei Ke, Yu-Wing Tai, Chi-Keung Tang · DOI

Abstract

Instance segmentation in crowded environments remains a significant challenge due to overlapping objects and the resulting "mask conflicts." This paper introduces the Bilayer Convolutional Network (BCNet), a novel architecture that explicitly models occlusion by decoupling overlapping objects into two distinct layers: the occluder and the occludee. By treating occlusion as a structured interaction, BCNet achieves state-of-the-art performance across multiple image and video benchmarks, particularly in scenarios with heavy overlap.

Introduction

Standard instance segmentation frameworks, such as Mask R-CNN, typically process images as a single layer. This approach often fails when objects overlap, as the model struggles to distinguish boundaries between the foreground occluder and the background occludee. Such confusion leads to inaccurate masks where parts of one object are incorrectly assigned to another. While amodal segmentation attempts to predict invisible parts, existing methods often lack explicit reasoning about the occluding entity. BCNet addresses this by formalizing the physical process of occlusion within the network architecture itself.

Methodology: Bilayer Decoupling

The core innovation of BCNet is the Bilayer Decoupling mechanism. Instead of a monolithic mask head, BCNet employs a two-stage process that mirrors real-world depth ordering:

  1. Top Layer (Occluder): This branch is dedicated to detecting and segmenting the regions and contours of the object in front.
  2. Bottom Layer (Occludee): This branch predicts the mask of the partially hidden target object, using the shape and position cues distilled from the top layer as explicit guidance.
Bilayer decoupling process: separating the occluder and occludee to infer the complete object shape and the invisible occluded region.

This logic is implemented using either Graph Convolutional Networks (GCNs) to capture non-local pixel relationships or Transformer-based decoders with separate queries for each layer. The GCN-based approach is particularly effective at "bridging the gap" created by an occluder, allowing the model to connect disjoint visible parts of the same background object.

Experimental Evaluation

The effectiveness of BCNet was validated on several large-scale datasets, including COCO, KINS (amodal segmentation), and OVIS (occluded video). To further improve training, the authors introduced the Synthetic Occlusion Dataset (SOD), consisting of 100,000 images with mathematically generated occlusion patterns created by pasting objects onto non-occluded backgrounds.

Key Results

BCNet consistently outperforms existing baselines, especially in complex, crowded scenes.

  • COCO: Achieved 44.6 mask AP with a ResNet-50 backbone, surpassing Mask2Former.
  • Amodal Tasks: Set a new benchmark on the KINS dataset with 28.87 AP for predicting hidden object parts.
  • Video Instance Segmentation: On the OVIS dataset, BCNet boosted the baseline CMTrack RCNN from 15.4 to 17.1 AP.
Qualitative comparison showing BCNet's ability to produce clean, accurate masks in a highly crowded scene with multiple overlapping individuals.

Discussion and Insights

The primary insight of this work is that occlusion should be treated as a useful relationship rather than noise. By identifying the occluder, the model gains a precise constraint on where the occludee's boundary must lie. Furthermore, the bilayer head is "plug-and-play," compatible with various detectors like FCOS, Faster R-CNN, and Mask2Former.

Limitations and Future Work

Despite its success, BCNet faces challenges when encountering "novel occluders"—objects from classes not seen during training. In such cases, the first layer may provide inaccurate cues, causing the system to revert to standard segmentation performance. Additionally, while the model performs well on video, it currently processes frames independently. Incorporating temporal reasoning to track objects moving behind one another could further enhance performance.

Conclusion

BCNet represents a significant step forward in occlusion-aware vision. By decoupling the complex interaction of overlapping objects into a structured bilayer representation, it provides a robust solution for instance segmentation in the real, cluttered world.

Summary updated

BibTeX
@article{ke2023occlusion,
  author = {Lei Ke and Yu-Wing Tai and Chi-Keung Tang},
  title = {{Occlusion-Aware Instance Segmentation Via BiLayer Network Architectures}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2023.3246174},
}
Figure