Amodal Segmentation through Out-of-Task and Out-of-Distribution Generalization with a Bayesian Model

Yihong Sun, Adam Kortylewski, Alan L. Yuille

Introduction

Amodal segmentation is the task of predicting the complete shape of an object, including portions hidden behind occluders. While humans naturally perceive the full structure of a partially blocked object—such as a car behind a wall—this remains a significant challenge for computer vision systems. Standard deep learning models typically require extensive, manually annotated "invisible" masks, which are both subjective and costly to produce. This paper introduces a Bayesian generative approach that overcomes these limitations by treating occlusion as an outlier process, allowing the model to "hallucinate" hidden boundaries using only minimal supervision from bounding boxes and class labels.

Problem Statement: The Unseen Occluder

The primary bottleneck in amodal perception is data. Most existing methods rely on synthetic datasets or assume the model has prior knowledge of the occluder's identity. This research addresses the "unseen occluder" problem: how can a model accurately segment an object when it is blocked by an unfamiliar entity? By moving away from discriminative classifiers that map features directly to labels, the authors propose a model that must "explain" the features it sees, making it more robust to unexpected occlusions.

Amodal segmentation examples showing the model's ability to predict full object shapes (e.g., a car, bicycle, or airplane) even when partially obscured by unfamiliar occluders.

Methodology

The proposed framework utilizes a Bayesian Generative Model built upon neural network features. The process involves several key components:

  1. Feature Extraction: A standard CNN backbone (e.g., ResNeXt-50) extracts high-level features from the input image.
  2. Generative Part-Based Modeling: Instead of traditional fully connected layers, the model represents feature distributions using a mixture of von-Mises-Fisher (vMF) distributions. This effectively creates a "vocabulary" of object parts and their spatial relationships.
  3. Latent Variables: The model employs binary latent variables to determine if a pixel belongs to the foreground ($w_a$) and whether it is currently visible or occluded ($z_a$).
  4. Outlier Process: Occlusions are treated as out-of-distribution data. When the model encounters features that do not align with its internal representation of a "clean" object, it triggers an outlier process to label those regions as occluded.
  5. Shape Priors: By learning 2D spatial maps of category-specific geometries (e.g., the typical shape of a car from various viewpoints), the model can "fill in the blanks" for occluded regions.

Experimental Results

The model was evaluated on several benchmarks, including KINS (real-world traffic scenes), COCOA-cls (class-level amodal COCO), and OccludedVehicles (synthetic data with varying occlusion levels).

Qualitative comparison of the proposed Bayesian model (Ours) against baselines like BBTP and PCNet-M across different datasets. The model demonstrates superior alignment with Ground Truth (GT) masks, especially in complex occlusion scenarios.

Key Findings

  • Performance in High Occlusion: On the KINS dataset, the Bayesian model (Ours-E2E) achieved a 66.7 mean IoU, surpassing the weakly supervised BBTP baseline (64.5). Notably, in scenarios with 60-90% occlusion, this weakly supervised approach outperformed PCNet-M, a model that utilizes full amodal masks during training.
  • Robust Generalization: One of the most significant insights is that training exclusively on "clean" (non-occluded) images allows the model to develop a stronger sense of pure object geometry. This leads to better transferability; when trained on synthetic vehicles and tested on real-world COCO images, the model maintained high performance where discriminative models typically fail.
  • Agnostic to Occluders: Because the model treats occluders as generic outliers, it successfully segments objects regardless of whether the occluding entity is a tree, a pedestrian, or an arbitrary shape.

Conclusion and Future Work

This research demonstrates that a generative Bayesian framework can effectively perform amodal segmentation with minimal supervision. By treating occlusion as an outlier detection problem, the model achieves state-of-the-art results in high-occlusion scenarios and shows remarkable generalization across datasets.

However, the current reliance on 2D shape priors presents challenges for highly non-rigid objects, such as humans or animals in diverse poses. Future work will explore the integration of 3D shape priors, which could provide a more efficient representation of complex poses and further improve the model's ability to generalize to unseen viewpoints.

Summary updated

BibTeX
@inproceedings{sun2020amodal,
  author = {Yihong Sun and Adam Kortylewski and Alan L. Yuille},
  title = {{Amodal Segmentation through Out-of-Task and Out-of-Distribution Generalization with a Bayesian Model}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=JMqWloptIBE},
}
Figure