Growing Interpretable Part Graphs on ConvNets via Multi-Shot Learning

Quanshi Zhang, Ruiming Cao, Ying Nian Wu, Song-Chun Zhu

TL;DR

This paper introduces a method to "semanticize" pre-trained Convolutional Neural Networks (CNNs) by growing an interpretable And-Or Graph (AOG) on top of them. By using as few as 3 to 12 annotations (multi-shot learning), the researchers can map specific CNN filter activations to meaningful object parts, significantly improving part localization accuracy while making the "black box" of the CNN more transparent.

What Problem Does This Paper Address?

Despite their success, CNNs face two major hurdles:

  1. Interpretability: CNNs are notoriously opaque. While they can classify an object, it is difficult to pinpoint exactly which internal units correspond to specific semantic parts (like a bird's head or a dog's leg).
  2. Data Hunger: Standard deep learning requires massive amounts of labeled data. In many real-world scenarios—such as teaching a robot to recognize a specific tool handle—we only have a handful of examples.

The authors tackle these by proposing a way to "mine" the latent patterns already present in a pre-trained CNN and organize them into a hierarchical structure that humans can understand and use for precise part localization.

Methods

The core of the approach is the construction of a four-layer And-Or Graph (AOG) that maps semantic parts to specific CNN filter activations.

The hierarchical structure of the And-Or Graph (AOG) integrated with a pre-trained CNN.
  • Layer 1 (OR node): Represents the overall semantic part (e.g., "Head").
  • Layer 2 (AND nodes): Represents different "templates" or poses (e.g., a head seen from the front vs. the side).
  • Layer 3 (OR nodes): Represents "latent patterns" or sub-parts (e.g., a corner of a nose or a contextual region like the neck).
  • Layer 4 (Terminal nodes): These are the actual units (filters) within the CNN's convolutional layers.

The Learning Process: Instead of traditional end-to-end fine-tuning, which requires thousands of images, the authors use multi-shot learning. They take a CNN already trained for object classification and "mine" reliable latent patterns. A pattern is considered reliable if it consistently represents a sub-part across the few annotated samples, appears frequently in unannotated images, and maintains a stable spatial relationship with other patterns.

Crucially, this is incremental learning: they don't change the original CNN weights. They simply build new neural connections to the AOG, preserving the CNN's general knowledge while adding specific semantic understanding.

Datasets

The researchers evaluated their method on three major benchmarks:

  • PASCAL VOC Part Dataset: Focused on six animal categories (bird, cat, cow, dog, horse, sheep).
  • CUB200-2011: A dataset of 200 bird species.
  • ILSVRC 2013 DET (ImageNet): They annotated a subset of 30 animal categories, specifically labeling heads and front legs/feet to test their "on-the-fly" learning capabilities.

Key Insights and Ideas

  • The Knowledge is Already There: The paper posits that pre-trained CNNs already contain implicit representations of parts. We don't need to retrain the network; we just need a "map" (the AOG) to find and organize them.
  • Interpretability as a Structure: By using an AOG, the model moves from a flat feature vector to a hierarchy. This allows for "hierarchical object parsing," where the model can explain its decision by pointing to specific sub-parts and their spatial arrangements.
  • Stability over Strength: The mining process prioritizes "reliable" activations over just "strong" ones. A filter that fires wildly on everything isn't useful; a filter that fires consistently in the same relative position to a "head" template is a goldmine.

Key Results

  • Superior Localization: The method achieved a 13% to 107% improvement in part center prediction compared to strong baselines like Fast-RCNN and DPM (Deformable Part Models) in low-data scenarios.
  • Efficiency: The model performs remarkably well with only 3 to 12 annotations. In their "three-shot" experiment, the AOG significantly outperformed traditional methods that typically require hundreds of labels to converge.
Part detection accuracy as a function of the number of annotations, demonstrating high performance in multi-shot learning scenarios.
  • Visual Interpretability: The authors demonstrated that they could reconstruct the appearance of a part (like a dog's head) using only the latent patterns mined by the AOG, proving that the graph truly captures semantic meaning.

Limitations and Future Work

  • Dependency on Pre-training: The method relies on the CNN having already learned useful features during its initial training on a large dataset. If the base CNN is poor, the AOG mining will likely fail.
  • Fixed Scales: Currently, the method uses a constant bounding box scale for part templates based on the average of the few training samples. This might struggle with objects that have extreme scale variance.
  • Part Scope: The study focused primarily on animal parts, which are non-rigid. Extending this to more rigid man-made objects or highly abstract concepts remains a future direction.

Summary updated

BibTeX
@inproceedings{zhang2017growing,
  author = {Quanshi Zhang and Ruiming Cao and Ying Nian Wu and Song-Chun Zhu},
  title = {{Growing Interpretable Part Graphs on ConvNets via Multi-Shot Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10924},
}
Figure