[Paper Review] Causal Learning and Explanation of Deep Neural Networks via Autoencoded Activations
The paper proposes a causal explainability framework for CNNs by extracting human-interpretable concepts with autoencoders, then building a Bayesian network to quantify and visualize each concept's causal influence on DNN outputs.
Deep neural networks are complex and opaque. As they enter application in a variety of important and safety critical domains, users seek methods to explain their output predictions. We develop an approach to explaining deep neural networks by constructing causal models on salient concepts contained in a CNN. We develop methods to extract salient concepts throughout a target network by using autoencoders trained to extract human-understandable representations of network activations. We then build a bayesian causal model using these extracted concepts as variables in order to explain image classification. Finally, we use this causal model to identify and visualize features with significant causal influence on final classification.
Motivation & Objective
- Motivate the need for causal explanations in DNNs, especially in safety-critical domains.
- Propose a human-interpretable causal model of a DNN that relates inputs, concepts, and outputs.
- Develop an unsupervised method to extract low-dimensional, interpretable concepts from activations.
- Construct a Bayesian network to quantify causal effects of concepts on classifications.
- Demonstrate visualization and interrogation of concepts with high causal impact on outputs.
Proposed method
- Train autoencoders at multiple CNN layers to extract low-dimensional, interpretable concepts from activations using a loss combining shallow reconstruction, deep reconstruction (KL-divergence on downstream outputs), and interpretability terms (sparsity, cross-entropy, total variation).
- Insert trained autoencoders into the network to enable interventions on coded concepts rather than raw activations, preserving statistical relationships.
- Construct a causal model P(O, P, C) where concepts C are obtained from activations and relate inputs P to outputs O via interventions on coded concepts.
- Intervene by zeroing out concept feature images and gather data to fit a Bayesian network that captures causal dependencies across layers.
- Define and compute the expected causal effect of interventions on concepts or inputs on the output predictions (Equation 6).
- Visualize top concepts by their expected causal effect and provide nearest-neighbor context to aid interpretation.
Experimental results
Research questions
- RQ1How can a DNN be modeled causally using human-understandable concepts rather than raw neurons?
- RQ2Can autoencoded activations yield interpretable concepts that, when intervened upon, reveal causal influences on outputs?
- RQ3How to quantify and visualize the causal impact of concepts on DNN classifications?
- RQ4Does building a Bayesian network over concepts enable robust explanations and debugging of misclassifications?
Key findings
- A causal model of a DNN operating on human-understandable concepts is feasible and informative for explainability.
- An unsupervised autoencoder-based concept extraction method yields low-dimensional, interpretable features spanning multiple network layers.
- Interventions on autoencoded concepts allow estimation of their causal effects on outputs via a Bayesian network.
- Top concepts by expected causal effect on outputs can be identified and visualized to explain classifications.
- The approach was demonstrated on VGG16/19 architectures with Birds200 and Inria Pedestrian datasets, revealing interpretable causal factors such as head outlines and body features.
- The paper provides quantitative ranking of concept features by their average causal impact across datasets (examples shown in Figure 9).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.