Skip to main content
QUICK REVIEW

[Paper Review] Concept Gradient: Concept-based Interpretation Without Linear Assumption

Andrew Bai, Chih‐Kuan Yeh|arXiv (Cornell University)|Aug 31, 2022
Data Stream Mining TechniquesComputer Science5 citations
TL;DR

This paper introduces Concept Gradients (CG), a non-linear extension of Concept Activation Vectors (CAV) that computes gradients of model predictions with respect to post-hoc concept functions using the chain rule, enabling more accurate and causally interpretable concept importance estimation. CG outperforms CAV by 7.9% in average local recall@30 and 21.7% in global recall@30 on real-world datasets, while recovering CAV in the linear case.

ABSTRACT

Concept-based interpretations of black-box models are often more intuitive for humans to understand. The most widely adopted approach for concept-based interpretation is Concept Activation Vector (CAV). CAV relies on learning a linear relation between some latent representation of a given model and concepts. The linear separability is usually implicitly assumed but does not hold true in general. In this work, we started from the original intent of concept-based interpretation and proposed Concept Gradient (CG), extending concept-based interpretation beyond linear concept functions. We showed that for a general (potentially non-linear) concept, we can mathematically evaluate how a small change of concept affecting the model's prediction, which leads to an extension of gradient-based interpretation to the concept space. We demonstrated empirically that CG outperforms CAV in both toy examples and real world datasets.

Motivation & Objective

  • To address the limitation of Concept Activation Vectors (CAV), which rely on the restrictive assumption that concepts lie in a linear subspace of model activations.
  • To develop a method that enables gradient-based interpretation in concept space, capturing how small changes in concepts affect model predictions.
  • To provide a causally interpretable measure of concept importance that avoids the correlation-based inner product used in CAV.
  • To demonstrate that non-linear concept functions yield more accurate and robust concept importance scores than linear approximations in real-world datasets.
  • To validate CG on medical image classification, showing alignment with clinical knowledge on myocardial infarction complications.

Proposed method

  • CG computes input gradients of both the model output and the concept function with respect to the input.
  • It applies the chain rule to combine these gradients, effectively estimating the derivative of the model output with respect to the concept, enabling gradient-based concept importance.
  • The method captures the local sensitivity of the model prediction to changes in the concept, even when the concept is non-linearly defined.
  • When the concept function is linear, CG mathematically recovers the CAV method (with a scaling difference), showing consistency with prior work.
  • CG selects the mapping with minimum gradient norm in case of non-unique mappings, preventing overestimation of concept importance.
  • The approach is applied in the layer just before finetuning of the concept model, ensuring compatibility with standard deep learning pipelines.

Experimental results

Research questions

  • RQ1Can gradient-based interpretation be meaningfully extended from input features to post-hoc, non-linearly defined concepts?
  • RQ2Does relaxing the linear subspace assumption of CAV lead to more accurate and reliable concept importance estimation?
  • RQ3How does CG compare to CAV in terms of recall performance on real-world datasets with complex, non-linear concepts?
  • RQ4Can CG produce concept importance scores that align with clinical knowledge in medical image interpretation tasks?
  • RQ5Does CG avoid overestimating concept importance in cases where multiple concept mappings exist?

Key findings

  • CG consistently outperforms CAV in concept importance evaluation, achieving a 7.9% higher average best local recall@30 across datasets.
  • CG achieves a 21.7% higher global recall@30 compared to the best CAV performance, indicating improved retrieval of relevant concepts.
  • On a medical dataset of myocardial infarction complications, CG scores align with clinical literature, e.g., correctly ranking recurrent MI and heart failure as high-risk complications.
  • For rare but fatal complications like myocardial rupture, CG assigns a high importance score (1.62), consistent with clinical reports of high mortality.
  • In cases where CAV produces counterintuitive or misleading scores (e.g., negative values for known risk factors), CG provides more plausible and interpretable results.
  • When the concept function is linear, CG exactly recovers the CAV method, validating its theoretical consistency.

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.