Skip to main content
QUICK REVIEW

[Paper Review] Interpreting CNN Knowledge via an Explanatory Graph

Quanshi Zhang, Ruiming Cao|arXiv (Cornell University)|Aug 5, 2017
Advanced Neural Network ApplicationsComputer Science32 references32 citations
TL;DR

This paper proposes an unsupervised method to learn an explanatory graph that disentangles object part patterns from feature maps of pre-trained CNNs, representing each part as a node and encoding co-activation and spatial relationships via edges. The method achieves state-of-the-art part localization performance without part annotations, outperforming supervised baselines by learning stable, transferable part detectors from CNN feature maps.

ABSTRACT

This paper learns a graphical model, namely an explanatory graph, which reveals the knowledge hierarchy hidden inside a pre-trained CNN. Considering that each filter in a conv-layer of a pre-trained CNN usually represents a mixture of object parts, we propose a simple yet efficient method to automatically disentangles different part patterns from each filter, and construct an explanatory graph. In the explanatory graph, each node represents a part pattern, and each edge encodes co-activation relationships and spatial relationships between patterns. More importantly, we learn the explanatory graph for a pre-trained CNN in an unsupervised manner, i.e., without a need of annotating object parts. Experiments show that each graph node consistently represents the same object part through different images. We transfer part patterns in the explanatory graph to the task of part localization, and our method significantly outperforms other approaches.

Motivation & Objective

  • To uncover the hidden knowledge hierarchy in pre-trained CNNs, particularly the organization of mid-level visual patterns such as object parts.
  • To disentangle multiple object part patterns from a single CNN filter’s feature map without requiring part annotations.
  • To model co-activation and spatial relationships between part patterns across layers using a graphical structure.
  • To create a transferable, interpretable representation of CNN knowledge for downstream tasks like part localization.
  • To evaluate the interpretability, stability, and transferability of the learned part patterns in a fully unsupervised setting.

Proposed method

  • The method learns an explanatory graph by analyzing feature maps from each convolutional layer of a pre-trained CNN, treating each filter’s output as a mixture of part patterns.
  • It applies unsupervised clustering to identify distinct part patterns within each filter’s feature map, assigning each cluster to a graph node.
  • Graph edges are formed between nodes in adjacent layers based on co-activation statistics and spatial proximity of pattern activations across different input images.
  • The method does not fix node locations to specific feature map positions, allowing part patterns to appear flexibly across different image locations.
  • It uses activation patterns of graph nodes to reconstruct image regions, enabling visualization and validation of learned part semantics.
  • Transferability is evaluated by associating graph nodes with part names and using them as detectors in part localization tasks.

Experimental results

Research questions

  • RQ1How can we automatically discover and disentangle multiple object part patterns from a single CNN filter’s feature map in an unsupervised manner?
  • RQ2What is the structure of the knowledge hierarchy encoded in pre-trained CNNs, and how can it be represented as a graph of part patterns?
  • RQ3How stable and consistent are the learned part patterns across different images and object instances?
  • RQ4Can the learned part patterns be effectively transferred to downstream tasks like part localization without using part annotations?
  • RQ5How does the performance of unsupervised part pattern mining compare to supervised methods in part localization?

Key findings

  • The explanatory graph successfully disentangles multiple object part patterns from a single filter’s feature map, with each node consistently representing the same semantic part across diverse images.
  • The method achieves a normalized distance of 0.1250 on the CUB200-2011 dataset, outperforming the supervised baseline supervised-AOG (0.1344) in part localization.
  • On the Pascal VOC Part dataset, the method achieved 0.1765 normalized distance, matching the best-performing supervised baseline.
  • The unsupervised approach even surpassed some supervised methods in part localization, demonstrating strong transferability of learned patterns.
  • The proposed method significantly improves stability and interpretability of CNN feature representations by filtering out noisy activations and organizing them into a coherent graph structure.
  • The explanatory graph enables visualization of part patterns and reconstruction of image regions, confirming the semantic clarity and consistency of the learned nodes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.