Compositional Convolutional Neural Networks: A Deep Architecture With Innate Robustness to Partial Occlusion

Adam Kortylewski, Ju He, Qing Liu, Alan L. Yuille

The Challenge of Partial Occlusion

Standard Deep Convolutional Neural Networks (DCNNs) have achieved remarkable success in image recognition, yet they remain surprisingly brittle when faced with partial occlusion. While humans can effortlessly identify a car partially hidden behind a tree or a fence, a standard DCNN's performance often plummets in such scenarios.

A car partially occluded by a tree trunk and a frisbee, representing the type of 'in the wild' noise that confuses standard DCNNs.

The root of this problem lies in the purely discriminative nature of standard DCNN classification heads. These "black box" layers look for patterns but lack an inherent understanding of an object's spatial structure. When an occluder appears, it introduces "noise" into the feature maps that the network hasn't been trained to ignore. Traditional fixes, such as data augmentation with random cutouts, often fail to generalize to the complex and varied occluders encountered in real-world environments.

CompositionalNets: Explaining Away the Noise

To address this, the authors introduce CompositionalNets, an architecture that replaces the standard classification head with a differentiable generative compositional model. This model is designed to "explain away" occluders rather than just trying to see through them.

The architecture follows a structured pipeline:

  1. Feature Extraction: A standard backbone (e.g., VGG-16) extracts initial feature maps.
  2. vMF Kernels: Neural activations are modeled using von-Mises-Fisher (vMF) distributions, which act as "part detectors" by clustering similar activations.
  3. Compositional Layer: This layer encodes the spatial relationships between parts, establishing an internal "map" of where features like wheels or windows should appear relative to one another.
  4. Occlusion Modeling: During inference, the network performs a pixel-wise competition. It asks whether a specific feature belongs to the object or an "occluder model." If a feature doesn't fit the expected spatial map of the object, it is assigned to the occluder model and effectively ignored for classification.

Benchmarking Robustness

The researchers evaluated CompositionalNets against several benchmarks, including a new dataset introduced in this work: Occluded-COCO-Vehicles. This benchmark categorizes vehicle images from MS-COCO into four levels of occlusion, ranging from 0% (L0) to 60-80% (L3).

The results were decisive. On the PASCAL3D+ dataset under heavy occlusion (60-80%), CompositionalNets achieved 95.4% accuracy, significantly outperforming a standard VGG-16, which dropped to 83.6%. This performance gap persisted across all levels of the Occluded-COCO-Vehicles benchmark, with the "CompNet-Mul" variant reaching 79.5% accuracy at the highest occlusion level, compared to just 60.3% for the baseline VGG.

Localization as a Byproduct

One of the most compelling aspects of this generative approach is that it provides localization "for free." Because the model explicitly identifies which pixels do not belong to the object, it can generate accurate maps of occluders.

A heatmap generated by the CompositionalNet, identifying and localizing the occluding tree trunk from the previous image.

Remarkably, the model achieves this localization and maintains its robustness even when only trained on clean, non-occluded images. Its innate understanding of object structure allows it to naturally detect when that structure is interrupted by an external object.

Discussion and Future Directions

CompositionalNets demonstrate that integrating generative principles into deep learning can lead to architectures that are inherently more robust and interpretable. However, challenges remain. The current work focuses primarily on rigid objects like vehicles; extending this to deformable objects (such as animals) where spatial relationships are fluid is a key area for future research. Additionally, scaling the "mixture of models" approach to handle a vast array of 3D poses and refining detectors to handle extremely fine-grained textures will be essential for broader application in complex visual scenes.

Summary updated

BibTeX
@inproceedings{kortylewski2020compositional,
  author = {Adam Kortylewski and Ju He and Qing Liu and Alan L. Yuille},
  title = {{Compositional Convolutional Neural Networks: A Deep Architecture With Innate Robustness to Partial Occlusion}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00896},
}
Figure