BANet: Bidirectional Aggregation Network With Occlusion Handling for Panoptic Segmentation

Yifeng Chen, Guangchen Lin, Songyuan Li, Omar El Farouk Bourahla, Yiming Wu, Fangfang Wang, Junyi Feng, Mingliang Xu, Xi Li

Abstract

Panoptic segmentation aims to provide a comprehensive understanding of a scene by combining instance segmentation (detecting individual "things") and semantic segmentation (labeling background "stuff"). Traditional top-down approaches often treat these tasks as separate or only allow information to flow from instances to the semantic map. We introduce BANet, a Bidirectional Aggregation Network that enables a reciprocal exchange of features between the two tasks. By integrating a novel ROIInlay operator and a learning-free occlusion handling module based on pixel similarity, BANet achieves state-of-the-art results on the MS COCO benchmark, reaching 47.3% Panoptic Quality (PQ).

Introduction

The challenge of panoptic segmentation lies in the "grand unification" of computer vision: identifying discrete objects while simultaneously categorizing amorphous background regions. Current top-down models typically face two significant hurdles:

  1. Unidirectional Information Flow: Most architectures use instance-level information to refine semantic predictions, but rarely leverage semantic context to improve instance localization. This ignores the rich environmental clues that background "stuff" provides for identifying foreground "things."
  2. The Occlusion Problem: When objects overlap, models often struggle to assign pixels correctly. Relying solely on detection confidence scores can lead to errors, especially when a small, distinct object (like a tie) is occluded by or overlaps with a larger, more common category (like a person).

Methods: Bidirectional Aggregation

BANet addresses these limitations through a bidirectional feature exchange mechanism and specialized operators for spatial consistency.

The BANet architecture features bidirectional information flow between semantic and instance heads, utilizing ROIInlay for spatial alignment.

S2I and I2S Modules

  • Semantic-to-Instance (S2I): This module passes context-rich features from the semantic head to the instance head. By incorporating global scene context, the model improves its ability to localize objects in complex environments.
  • Instance-to-Semantic (I2S): Conversely, the I2S module feeds structural information—such as object shapes and boundaries—back into the semantic head. This helps refine the edges of background regions where they meet foreground objects.

The ROIInlay Operator

Standard operations like ROIAlign crop and resize features to a fixed small grid (e.g., 7x7). To effectively feed these instance features back into a full-resolution semantic map without losing spatial fidelity, BANet introduces ROIInlay. This operator uses bilinear interpolation to "un-crop" and restore features to their original spatial positions within the holistic scene, preventing the misalignments or "holes" that occur with simpler methods.

Appearance-Based Occlusion Handling (OH)

To resolve pixel-level conflicts during object overlap, BANet employs a learning-free Occlusion Handling (OH) module. Instead of relying on abstract high-level features that may lose spatial detail during downsampling, the OH module uses raw RGB values. When multiple instances claim the same pixel, the module calculates the cosine similarity between that pixel's color and the average color of the competing instances. The pixel is then assigned to the instance it most closely resembles, effectively using low-level cues to solve high-level assignment problems.

Experimental Results

BANet was evaluated on the MS COCO dataset, which consists of 118k training and 5k validation images across 80 "thing" and 53 "stuff" categories.

Quantitative Performance

BANet achieved a state-of-the-art 47.3% PQ on the COCO test-dev set, outperforming contemporary models like UpsNet and AUNet. Ablation studies confirmed the value of each component:

  • The bidirectional modules (S2I and I2S) provided a nearly 3% PQ boost over the baseline.
  • The learning-free OH module alone improved the "thing" quality ($PQ^{Th}$) by 2%, highlighting its effectiveness in resolving complex overlaps without adding training parameters.

Qualitative Impact

The visual results demonstrate that the bidirectional flow significantly sharpens object boundaries and improves the consistency of background regions.

Qualitative comparison showing the progression from baseline to bidirectional flow and the final addition of Occlusion Handling (OH).

Conclusion

BANet demonstrates that "things" and "stuff" are better understood together. By enabling reciprocal communication between semantic and instance tasks and utilizing simple yet effective appearance-based cues for occlusion, the model achieves a more robust and accurate scene representation. Future work may focus on refining the fusion logic to further reduce the bias toward instance predictions and improving performance in challenging lighting conditions where color similarity is less reliable.

Summary updated

BibTeX
@inproceedings{chen2020banet,
  author = {Yifeng Chen and Guangchen Lin and Songyuan Li and Omar El Farouk Bourahla and Yiming Wu and Fangfang Wang and Junyi Feng and Mingliang Xu and Xi Li},
  title = {{BANet: Bidirectional Aggregation Network With Occlusion Handling for Panoptic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00385},
}
Figure