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:
- 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.
- 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.
- 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.
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.
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