Weakly-Supervised Amodal Instance Segmentation with Compositional Priors

Yihong Sun, Adam Kortylewski, Alan L. Yuille

Abstract

Amodal segmentation—the task of predicting the complete shape of an object, including its occluded parts—is a significant challenge in computer vision due to the high cost and subjectivity of amodal mask annotations. This paper introduces a Bayesian generative approach that achieves high-performance amodal segmentation using only weak supervision from standard bounding boxes and class labels of non-occluded images. By modeling object features through compositional shape priors and treating occluders as outliers, the proposed system generalizes to partially hidden objects without requiring pixel-level amodal masks during training.

Introduction: The Challenge of Occlusion

In real-world scenes, objects are frequently partially hidden behind other objects. While humans effortlessly infer the complete boundaries of these occluded objects, deep learning models typically struggle without explicit supervision. Standard amodal segmentation methods rely on expensive pixel-level annotations or synthetic data with known occluder classes. This research addresses the problem of weakly-supervised amodal segmentation, aiming to achieve robust performance using only the type of data readily available in standard object detection datasets: bounding boxes and class labels for non-occluded instances.

Methodology: A Bayesian Generative Approach

The core innovation lies in shifting from discriminative neural networks to a Bayesian generative model of neural features. The architecture consists of several key components:

  1. Feature Extraction and Generative Head: A standard CNN backbone (e.g., ResNeXt-50) extracts high-level features. Instead of a standard classifier, the model uses a mixture of von-Mises-Fisher (vMF) distributions to represent the distribution of these features, effectively learning a "vocabulary" of object parts.
  2. Compositional Shape Priors: The model learns 2D spatial maps representing the expected shape of an object across different viewpoints. These priors enable the model to "fill in" missing parts by inferring the most likely complete shape based on visible features.
  3. Occlusion as an Outlier Process: To handle previously unseen occluders, the model incorporates an "outlier process." During inference, features that cannot be explained by the target object model or the background model are attributed to an occluder. This abstraction allows the model to generalize to any occluding object (e.g., a tree, a pole, or another vehicle) without prior training on those specific classes.
Figure 1: The model estimates visible parts (blue), invisible parts (red), and background (green) based on a bounding box input.

The model is initially trained using an Expectation-Maximization (EM) algorithm on clean, non-occluded images and can be fine-tuned end-to-end to adapt the CNN backbone to the generative task.

Experimental Results and Generalization

The model was evaluated on several benchmarks, including KINS (real traffic scenes), COCOA-cls (amodal COCO extension), and OccludedVehicles (synthetic occlusions).

Qualitative Performance

As shown in the qualitative comparisons, the proposed method consistently produces amodal masks that are more faithful to the ground truth (GT) than existing weakly-supervised baselines like BBTP. The model demonstrates a superior ability to "hallucinate" the missing parts of vehicles, bicycles, and airplanes across diverse datasets.

Figure 2: Qualitative comparison of amodal segmentation results across KINS, COCOA-cls, and OccludedVehicles datasets.

Quantitative Highlights

  • Robustness to High Occlusion: On the KINS dataset, at occlusion levels between 60-90%, the proposed model achieved a mean Intersection over Union (mIoU) of 58.5, significantly outperforming the BBTP baseline (53.9).
  • Synthetic-to-Real Transfer: When trained on synthetic data (OccludedVehicles) and tested on real-world data (COCOA-cls), the model outperformed the baseline by over 18% in mIoU, highlighting its strong domain generalization capabilities.
  • Out-of-Distribution Success: The model's ability to treat occluders as outliers allows it to maintain high performance even when 60-80% of an object is hidden, reaching an mIoU of 53.4 on OccludedVehicles compared to 40.2 for the BBTP baseline.

Conclusion and Future Directions

By modeling what an object should look like rather than just searching for visible boundaries, this Bayesian approach provides a robust framework for amodal segmentation under weak supervision. The primary limitation remains the reliance on 2D shape priors, which are effective for rigid objects but less so for highly articulated ones like humans. Future research will explore the integration of 3D shape priors to better handle complex poses and novel viewpoints, as well as integrating the system into full end-to-end object detection pipelines.

Summary updated

Abstract

Amodal segmentation in biological vision refers to the perception of the entire object when only a fraction is visible. This ability of seeing through occluders and reasoning about occlusion is innate to biological vision but not adequately modeled in current machine vision approaches. A key challenge is that ground-truth supervisions of amodal object segmentation are inherently difficult to obtain. In this paper, we present a neural network architecture that is capable of amodal perception, when weakly supervised with standard (modal) bounding box annotations. Our model extends compositional convolutional neural networks (CompositionalNets), which have been shown to be robust to partial occlusion by explicitly representing objects as composition of parts. In particular, we extend CompositionalNets by: 1) Expanding the innate part-voting mechanism in the CompositionalNets to perform instance segmentation; 2) and by exploiting the internal representations of CompositionalNets to enable amodal completion for both bounding box and segmentation mask. Our extensive experiments show that our proposed model can segment amodal masks robustly, with much improved mask prediction qualities compared to state-of-the-art amodal segmentation approaches.
BibTeX
@misc{sun2020weakly,
  author = {Yihong Sun and Adam Kortylewski and Alan L. Yuille},
  title = {{Weakly-Supervised Amodal Instance Segmentation with Compositional Priors}},
  year = {2020},
  url = {https://openreview.net/forum?id=LFk8WNrR4LW},
}
Figure