Skip to main content
QUICK REVIEW

[Paper Review] Explaining Visual Models by Causal Attribution

Álvaro Parafita, Jordi Vitrià|arXiv (Cornell University)|Sep 19, 2019
Explainable Artificial Intelligence (XAI)Computer Science19 references11 citations
TL;DR

This paper proposes a causal attribution method for explaining visual model predictions by generating counterfactual images through intervened causal models, enabling reliable estimation of feature effects. It demonstrates that only causal interventions—not observational interpolation—can identify true causes of model decisions, such as showing that floor hue was responsible for a misclassification in a 3D Shapes dataset.

ABSTRACT

Model explanations based on pure observational data cannot compute the effects of features reliably, due to their inability to estimate how each factor alteration could affect the rest. We argue that explanations should be based on the causal model of the data and the derived intervened causal models, that represent the data distribution subject to interventions. With these models, we can compute counterfactuals, new samples that will inform us how the model reacts to feature changes on our input. We propose a novel explanation methodology based on Causal Counterfactuals and identify the limitations of current Image Generative Models in their application to counterfactual creation.

Motivation & Objective

  • To address the limitations of saliency maps and post-hoc explanations that rely on pixel-level attribution without semantic grounding.
  • To develop a method that explains model predictions by estimating the causal effect of latent factors—such as hair color or facial hair—on classifier outputs.
  • To identify and correct biases in model predictions by simulating interventions on meaningful latent factors rather than relying on ad hoc image perturbations.
  • To establish a framework where counterfactual explanations are grounded in causal structure, ensuring that generated counterfactuals reflect realistic, intervened data distributions.

Proposed method

  • Constructs a Distributional Causal Graph (DCG) to model the joint distribution of latent factors in image data, with nodes representing variables like type, shape, hue, and scale.
  • Uses differentiable distributions (Bernoulli, Categorical, Truncated Normal) to enable backpropagation and log-likelihood estimation for both observational and intervened models.
  • Applies interventions on specific latent factors (e.g., changing floor hue) to generate new counterfactual samples from the intervened causal model, not from observational data.
  • Employs a Counterfactual Image Generator to synthesize images from the intervened latent factors, ensuring that downstream effects are consistent with causal dependencies.
  • Computes classifier logits on multiple counterfactual samples per intervention to estimate average prediction shifts and confidence intervals.
  • Validates the method on the 3D Shapes dataset, comparing generated distributions to real data and analyzing intervention effects via visualized logits.

Experimental results

Research questions

  • RQ1Can causal counterfactuals generated from intervened causal models provide more reliable and semantically meaningful explanations than saliency or gradient-based methods?
  • RQ2How do interventions on latent factors (e.g., floor hue) affect the classifier’s prediction for a given image, and can this be used to detect causes of misclassification?
  • RQ3What are the limitations of current image generators in producing valid counterfactuals that respect causal dependencies in the data?
  • RQ4To what extent can a Distributional Causal Graph accurately model real-world data distributions, especially when latent factors have non-linear or cyclic properties (e.g., hue)?
  • RQ5Can causal attribution distinguish between true causal factors and spurious correlations, such as brightness being constrained to [0.4,0.6] but not explicitly modeled?

Key findings

  • The method successfully identifies that floor hue in the range [0.2,0.4] was the primary cause of a misclassification in a 3D Shapes image, as interventions to shift it to [0.6,0.9] restored correct prediction.
  • The DCG accurately models Bernoulli and Categorical variables (e.g., Type, Shape), with parameters closely matching the real data distribution.
  • Continuous variables like brightness and scale are approximated reasonably well, though brightness is less accurate due to implicit constraints not modeled in the distribution.
  • Hue, due to its cyclic nature and discrete sampling, is the least well-modeled variable, indicating a need for specialized distributions like Von Mises for better performance.
  • Counterfactuals generated from the intervened causal model produce meaningful prediction shifts, while non-causal generators would fail to reflect true causal effects.
  • The method reveals that only interventions on the true causal factor (floor hue) lead to a correct prediction, validating the causal explanation over spurious correlations.

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.