NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Axiomatic, Hierarchical, and Symbolic Explanation for Deep Models

Jie Ren, Mingjie Li, Qirui Chen, Huiqi Deng, Quanshi Zhang

Abstract

This paper aims to illustrate the concept-emerging phenomenon in a trained DNN. Specifically, we find that the inference score of a DNN can be disentangled into the effects of a few interactive concepts. These concepts can be understood as causal patterns in a sparse, symbolic causal graph, which explains the DNN. The faithfulness of using such a causal graph to explain the DNN is theoretically guaranteed, because we prove that the causal graph can well mimic the DNN's outputs on an exponential number of different masked samples. Besides, such a causal graph can be further simplified and re-written as an And-Or graph (AOG), without losing much explanation accuracy.

Introduction

Deep Neural Networks (DNNs) are frequently criticized as "black boxes" due to the difficulty in interpreting their internal decision-making processes. While standard attribution methods like heatmaps identify important input features, they often fail to capture the complex interactions between these features—the "interactive concepts" that form the basis of logical reasoning. For instance, in natural language processing, the individual words "take," "it," and "easy" carry distinct meanings, but their interaction forms the specific concept of "calm down." This research addresses the dual challenges of faithfulness—ensuring explanations accurately reflect model logic across scenarios—and conciseness—identifying a manageable number of salient interactions from a theoretically exponential space.

Methodology: From DNNs to Symbolic Causal Graphs

The proposed framework disentangles a DNN’s inference score into a sparse, symbolic causal graph using game-theoretic principles.

Interactive Concepts and Harsanyi Dividends

The authors define a "concept" as an AND relationship between input variables. They utilize Harsanyi dividends to uniquely quantify the contribution ($w_S$) of every possible combination of inputs. This approach allows for a structural representation where the model output is the sum of triggered causal effects.

Faithful Representation and AOG Rewriting

A key theoretical contribution is the proof that a DNN can be represented as a Structural Causal Model (SCM) that perfectly mimics the DNN's output across all $2^n$ possible input maskings. To enhance human readability, the framework employs the Minimum Description Length (MDL) principle to compress the causal graph into a hierarchical And-Or Graph (AOG). This process identifies "coalitions" or shared sub-concepts, creating a symbolic tree of the model's logic.

The process of representing a DNN's inference score as a hierarchical And-Or Graph (AOG) through rewriting and simplification.

Experimental Setup

The method was evaluated across diverse domains:

  • Natural Language Processing: SST-2 (sentiment analysis) and CoLA (linguistic acceptability).
  • Computer Vision: MNIST (handwritten digits) and CelebA (facial attributes).
  • Tabular Data: UCI Census Income, Bike Sharing, and TV News Channel Commercial Detection.
  • Synthetic Benchmarks: "Add-Mul" and "And-Or" datasets were used to verify the AOG's ability to recover ground-truth logic.

Key Insights: Concept Emergence and Sparsity

A central finding is concept emergence: sparse symbolic logic is not explicitly programmed but emerges naturally during DNN training. The model essentially constructs an internal dictionary of multi-part concepts. Furthermore, the study reveals that adversarial training simplifies this internal logic, forcing the model to rely on fewer, more robust causal patterns rather than a multitude of noisy interactions.

Results and Discussion

The AOG explainer demonstrates significant improvements in both logic recovery and faithfulness.

Logic Recovery and Faithfulness

On synthetic datasets, the AOG achieved near-perfect Intersection over Union (IoU) scores (up to 1.00), outperforming traditional metrics like the Shapley Interaction Index. The "unfaithfulness" metric—measuring deviation from the model's actual output—was found to be orders of magnitude lower than existing attribution baselines (e.g., $10^{-12}$ vs. $10^3$).

Conciseness of Explanations

Despite the potential for $2^n$ interactions, the results show that a small number of salient patterns (typically 10 to 100) are sufficient to explain over 90% of the model's output across various tasks.

Distribution of causal effect strengths across various datasets and models, showing the emergence of a few salient patterns amidst noise.

Conclusion and Future Work

While providing a mathematically rigorous and symbolic explanation for DNNs, the framework faces challenges in computational complexity, particularly during the MDL optimization step. Scaling to high-resolution images currently requires manual segmentation. Future research will focus on developing efficient approximation algorithms and automated segmentation techniques to apply the AOG explainer to larger-scale models and more complex datasets.

Summary updated

BibTeX
@inproceedings{ren2021towards,
  author = {Jie Ren and Mingjie Li and Qirui Chen and Huiqi Deng and Quanshi Zhang},
  title = {{Towards Axiomatic, Hierarchical, and Symbolic Explanation for Deep Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.48550/arxiv.2111.06206},
}
Figure