Abstract
Convolutional Neural Networks (CNNs) have achieved remarkable success in visual tasks but remain largely "black boxes." This paper introduces Explanatory Graphs, a novel graphical model designed to disentangle individual object-part patterns from the chaotic activations of pre-trained convolutional filters. By learning a structured, hierarchical dictionary of visual knowledge without manual part annotations, this approach significantly enhances the interpretability and transferability of deep features.
Introduction
Despite their state-of-the-art performance, CNNs are notoriously difficult to interpret. A primary challenge is that individual convolutional filters are often "multi-modal," triggered by a mixture of distinct object parts (e.g., both the head and neck of a horse) or even irrelevant textures. Existing visualization techniques may show what a filter responds to, but they fail to explain how that knowledge is organized or how to isolate specific semantic signals.
The authors address three core questions:
- How many distinct patterns activate a specific filter?
- Which patterns work together to describe a complex object part?
- What are the spatial relationships between these co-activated patterns?
Methodology: Building the Explanatory Graph
The proposed method employs a top-down iterative learning approach to construct an explanatory graph from a pre-trained CNN.
Disentanglement and Graph Structure
The core technique involves "mining" object-part patterns from intermediate convolutional layers. Instead of treating a filter as an atomic unit, the model treats it as a collection of potential part patterns. The resulting multi-layer graph mirrors the CNN's architecture:
- Nodes: Each node represents a specific part pattern.
- Edges: Edges encode co-activation logic (the probability of Part B appearing if Part A is present) and spatial constraints (the typical pixel distance between parts).
Unsupervised Learning
Crucially, the graph is learned without manual part annotations. An Expectation-Maximization (EM)-like algorithm fits the graph to the feature maps of training images, iteratively refining node locations and edge connections. During inference, the graph acts as a semantic dictionary, selecting a sparse subset of nodes to "explain" neural activations and assigning clear meanings to previously ambiguous feature maps.
Experimental Setup
The researchers evaluated the model across four CNN architectures (VGG-16, ResNet-50, ResNet-152, and a VAE-GAN encoder) using three benchmark datasets:
- ILSVRC 2013 DET Animal-Part: Focused on diverse animal categories.
- CUB200-2011: A fine-grained dataset for bird species.
- VOC Part: A standard benchmark for object part localization.
Key Insights
- Filters are Naturally Multi-modal: High-level filters inherently capture multiple concepts. Disentangling them reveals the true "visual vocabulary" learned by the network.
- Semantic Consistency: Despite unsupervised training, graph nodes consistently represent the same object parts across different images (e.g., a specific node reliably identifies a "bird's beak").
- Hierarchical Filtering: The graph uses high-layer patterns (large-scale parts) to filter noise in lower layers, mimicking human perception of objects as compositions of parts and sub-parts.
- Transferability: Clean, semantic part nodes are significantly easier to transfer to new tasks, such as few-shot part localization, compared to raw CNN features.
Results
The explanatory graph demonstrated superior performance in both interpretability and localization tasks:
- Semantic Purity: In human-rated experiments, graph nodes achieved a semantic purity of 95.4% for VGG-16, vastly outperforming raw filter maps (19.8%) and raw filter peaks (43.8%).
- Location Stability: The model showed significantly lower location instability than baselines, indicating consistent part positioning relative to ground-truth landmarks.
- Few-Shot Part Localization: On the CUB200 dataset, the graph achieved a normalized distance of 0.0862 in few-shot localization, significantly outperforming the best unsupervised baseline, CNN-PDD (0.2333).
Conclusion and Future Work
While the explanatory graph provides a structured window into CNN knowledge, it is currently limited by its difficulty in disentangling textural patterns from structural object parts. While the model excels at identifying heads or limbs, it may struggle to separate the underlying textures that trigger the same filters. Future research will focus on refining the graph to handle non-structural features and providing even more granular explanations for individual network decisions.
Summary updated