Robust Object Detection Under Occlusion With Context-Aware CompositionalNets

Angtian Wang, Yihong Sun, Adam Kortylewski, Alan L. Yuille

Standard deep learning models like Faster R-CNN often fail when objects are partially hidden, largely because they over-rely on surrounding context and struggle to propose accurate bounding boxes for obscured targets. This paper introduces Context-Aware CompositionalNets, a generative part-based model that explicitly separates an object from its background and uses a robust "corner-voting" mechanism to accurately detect objects even under severe occlusion.

The Challenge of Occlusion

Object detection has seen massive leaps in performance, but robustness remains a major hurdle. When an object is partially covered (occluded), standard Deep Convolutional Neural Networks (DCNNs) fail for two primary reasons:

  1. Context Bias: DCNNs often learn to recognize objects based on their surroundings (e.g., an airplane is usually in a blue sky). Under heavy occlusion, the model might "see" an airplane in any patch of blue sky simply because the actual object features are missing.
  2. Localization Failure: Region Proposal Networks (RPNs), the "eyes" of most detectors, struggle to draw a box around an object they can only see 20% of.

The authors argue that while humans are great at identifying a bicycle even if only the handlebars are visible, current AI models lack the "compositional" understanding—the knowledge that an object is a collection of parts—needed to perform this feat.

Context-Aware CompositionalNets

The researchers build upon CompositionalNets, which represent objects as a spatial map of "parts" (modeled using von Mises-Fisher distributions of neural activations). They introduce three key innovations:

1. Context-Awareness

Instead of a single representation for an image patch, the model decomposes it into a mixture of "object" and "context." During training, bounding boxes segment the background to learn a dictionary of context features. At test time, the influence of the context can be adjusted using a parameter $\omega$ to prevent the model from being misled by the background.

The context parameter $\omega$ allows the model to adjust the influence of background features on the likelihood map.

2. Robust Bounding Box Voting

Standard models try to predict the whole box at once via regression. In this architecture, the visible parts of the object "vote" for the locations of the object's center and its corners (top-left and bottom-right). Even if the bottom-right of a car is hidden, the visible front grille and windshield can still vote for where that corner should be based on the learned spatial geometry.

The corner-voting mechanism allows the model to localize an occluded bicycle by aggregating votes from visible parts for the center and corners.

3. Detection Layer

They generalize the original classification-only CompositionalNet into a detector by scanning the image and creating a spatial likelihood map, allowing it to localize multiple objects simultaneously.

Experimental Results

The authors evaluated their model on two main fronts: OccludedVehiclesDetection (a synthetic dataset with nine levels of occlusion severity) and OccludedCOCO (a real-world subset of MS-COCO manually curated into "light" and "heavy" occlusion categories).

The results are striking, particularly in "heavy occlusion" scenarios:

  • Performance Gains: On the synthetic dataset, CA-CompositionalNets outperformed Faster R-CNN by 41% in absolute mean Average Precision (mAP) for strongly occluded vehicles.
  • Real-World Robustness: On the OccludedCOCO dataset, the model showed a 35% improvement over Faster R-CNN in heavy occlusion cases.
  • Qualitative Success: The model successfully avoided "hallucinating" objects in the background and could accurately box vehicles even when only a small fraction of the object was visible.

Conclusion and Future Work

By moving from discriminative patterns to generative part-based modeling, Context-Aware CompositionalNets treat the bounding box as a geometric consensus rather than a single regression target. This makes them inherently more stable when data is missing.

While robust, the model is currently slower than standard DCNNs, with an inference time of roughly 0.3 seconds per image. Future research will focus on extending this approach to non-rigid objects (like humans) and integrating it with more efficient backbone architectures to bridge the gap between robustness and real-time performance.

Summary updated

BibTeX
@inproceedings{wang2020robust,
  author = {Angtian Wang and Yihong Sun and Adam Kortylewski and Alan L. Yuille},
  title = {{Robust Object Detection Under Occlusion With Context-Aware CompositionalNets}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01266},
}
Figure