CHAIN: Concept-harmonized Hierarchical Inference Interpretation of Deep Convolutional Neural Networks

Dan Wang, Xinrui Cui, Z. Jane WangarXiv 2020

Overview

The CHAIN (Concept-harmonized HierArchical INference) framework introduces a human-interpretable "logic map" for deep convolutional neural networks (CNNs). By aligning internal network features with a hierarchy of visual concepts—ranging from low-level colors and materials to high-level objects and scenes—it transforms the opaque decision-making process of a CNN into a transparent, step-by-step logical deduction.

Introduction: The Black Box Problem

Despite their state-of-the-art performance, deep neural networks remain "black boxes." While we can observe their outputs, the internal reasoning remains largely inaccessible. Existing interpretation methods typically focus on either input-based saliency (identifying influential pixels) or feature-based visualization (identifying what individual neurons detect).

However, these approaches often lack a coherent logical process. Human visual reasoning is inherently hierarchical: we identify a "House" because we recognize a "Roof" and "Walls," which are composed of "Tiles" and "Brick," characterized by specific "Colors" and "Textures." CHAIN addresses this gap by bridging the stratified structure of a CNN (from shallow to deep layers) with the hierarchical nature of human visual logic.

Methodology

The CHAIN framework operates through three sequential stages:

  1. Concept Harmonizing Model: This stage aligns specific network units (neurons or channels) with interpretable visual concepts. It leverages the observation that shallow layers naturally correspond to low-level concepts (color, material), while deeper layers capture high-level semantics (objects, scenes).
  2. Hierarchical Inference Model: This component interprets the network's internal structure by decomposing a concept in a deep layer into a sparse linear combination of units from a shallower layer. A perturbation-based approach is used to quantify how "switching off" specific shallow features impacts high-level concept detection.
  3. Concept-harmonized Hierarchical Inference Model: The final stage integrates the previous two, linking concepts to concepts rather than just neurons to neurons. It infers a deep-layer concept (e.g., "Swimming Pool") from its constituent shallow-layer concepts (e.g., "Water" material and "Blue" color).
The Concept Harmonizing stage aligns network layers with a hierarchy of visual concepts.

Experimental Setup

The framework was evaluated using two primary datasets:

  • Places365: A large-scale scene classification dataset used to train the target ResNet-18 model.
  • Broden Dataset: A comprehensive collection (including ADE20K, Pascal-Part, and OpenSurfaces) providing pixel-level labels for concepts across five semantic levels: scene, object, part, material, and color. This dataset is essential for "harmonizing" network units with human-understandable labels.

Hierarchical Logic and Semantic Stratification

The researchers uncovered several key insights through the CHAIN framework:

  • Semantic Stratification: The study confirms that the physical layers of a CNN align with a semantic hierarchy. Shallow layers are best explained by colors and materials, while deep layers are best explained by objects and scenes.
  • Logical Deduction as Interpretation: By performing inference backward from the highest semantic level to the lowest, CHAIN generates a "sunburst" chart of logic. This allows for a granular view of which sub-concepts (e.g., "dormer" or "shutter") contributed to a final classification (e.g., "House").
  • Explaining Intra-class Variance: CHAIN can distinguish why different images within the same class are processed differently. For instance, it can demonstrate that one "House" was identified primarily via its "Swimming Pool" feature, while another was identified via a "Hedge."
The CHAIN framework provides both instance-level and class-level interpretations of the decision-making process.

Evaluation and Results

The effectiveness of CHAIN was demonstrated through both qualitative and quantitative analysis:

  • Qualitative Results: Sunburst charts and concept-harmonized diagrams provide intuitive "why" paths. For a "Pasture" scene, the model traced logic through "Horse" (object) -> "Torso" (part) -> "Skin" (material) -> "Orange" (color).
  • Quantitative Results: The authors introduced an "Inference Distance" metric to measure consistency in concept identification. They found that for specific sub-types (e.g., houses with swimming pools vs. houses with curbs), the inference weights formed distinct, separable clusters in 3D-PCA space, indicating that the network employs different logical paths for different visual contexts.

Discussion and Future Directions

A primary limitation of CHAIN is its dependency on the Broden dataset. The framework can only interpret concepts explicitly labeled in the reference data. Latent concepts learned by the network that lack human labels in Broden may remain uninterpreted.

Future research could extend CHAIN to non-CNN architectures, such as Transformers, or develop methods for the automatic discovery of unlabeled but interpretable concepts. Furthermore, this hierarchical understanding could potentially be used to regularize network training, encouraging models to adopt more human-like logical structures.

Summary updated

BibTeX
@misc{wang2020chain,
  author = {Dan Wang and Xinrui Cui and Z. Jane Wang},
  title = {{CHAIN: Concept-harmonized Hierarchical Inference Interpretation of Deep Convolutional Neural Networks}},
  year = {2020},
  eprint = {2002.01660},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.01660},
}
Figure