ConceptDistil: Model-Agnostic Distillation of Concept Explanations

João Bento Sousa, Ricardo Moreira, Vladimir Balayan, Pedro Saleiro, Pedro BizarroarXiv 2022

This paper, presented at the ICLR 2022 PAIR2Struct Workshop, introduces ConceptDistil, a model-agnostic framework designed to provide human-understandable "concept" explanations for any black-box classifier without sacrificing the original model's performance.

TL;DR

ConceptDistil uses knowledge distillation to bridge the gap between high-performing black-box models and human-centric interpretability. By training a surrogate model to simultaneously predict domain-specific concepts and mimic a classifier's output, it provides intuitive explanations (e.g., "Suspicious Payment") for any model type, including those used on tabular data.

What Problem Does This Paper Address?

While technical users often rely on feature-attribution methods like SHAP or LIME, these low-level explanations are frequently unintelligible to non-technical "humans-in-the-loop," such as fraud analysts or medical doctors. These professionals prefer concept-based explanations—high-level semantic ideas like "High Speed Ordering" rather than raw feature weights.

Existing concept-based methods face two major hurdles:

  1. Model Specificity: Many are designed only for neural networks or image data, leaving popular tabular models like Gradient Boosting Machines (GBMs) in the dark.
  2. The Performance Trade-off: "Self-explainable" models that incorporate concepts directly into their architecture often suffer from lower predictive accuracy compared to unconstrained black-boxes.

Methods

ConceptDistil addresses these issues by treating explainability as a distillation task. Instead of changing the original model, the authors build a multi-task surrogate explainer that learns from the black-box's predictions.

The architecture, shown in Figure 2, consists of two main parts:

  • The Concept Model: A neural network that predicts which domain concepts (e.g., $C_1, C_2... C_k$) are present in a given input.
  • The Distillation Model: An attention-based component that assigns weights ($\alpha_i$) to these predicted concepts to reconstruct the black-box's original score.
Figure 2: Diagram of ConceptDistil architecture and its main components.

The authors also tackle "Task Contamination"—a phenomenon where the gradient from the distillation task forces the concept model to become less accurate just to better mimic the black-box. They propose variants like ConceptDistil – No gradient and ConceptDistil – 2-staged to decouple these tasks and maintain high explainability performance.

Datasets

The researchers validated their method using a real-world financial fraud detection dataset from an online retailer:

  • Scale: ~5.5 million transactions (highly unbalanced, 2% fraud).
  • Golden Concept Labels: A small subset of 2,643 transactions was manually annotated by expert fraud analysts with six specific concepts (e.g., "Suspicious Delivery," "Good Customer History").
  • Weak Supervision: To scale training, they used "Concept Teachers" (Random Forests trained on the golden set) to generate probabilistic labels for the larger dataset.

Key Insights and Ideas

  • Model Agnosticism is Key: Because ConceptDistil acts as a post-hoc surrogate, it can explain a LightGBM model just as easily as a Feed-Forward Neural Network (FFNN). This is crucial for tabular data where GBMs typically dominate.
  • Dual Explanations: The system provides two layers of insight: (1) Data Explanations (which concepts are present) and (2) Classifier Explanations (how much each concept contributed to the specific decision).
  • The Fidelity-Explainability Trade-off: The authors use a hyperparameter $\lambda$ to balance how closely the surrogate mimics the black-box (fidelity) versus how accurately it predicts concepts. Figure 3 illustrates this Pareto frontier, showing that a $\lambda$ around 0.5 often yields the best balance.

Key Results

The authors compared ConceptDistil against standard baselines and "self-explainable" models.

  • Performance Preservation: As shown in Table 2 (Figure 4), the original LightGBM model achieved a recall of 68.31% at a 5% False Positive Rate, significantly outperforming the "Self-explainable" concept bottleneck model (60.59%). ConceptDistil allows users to keep that 68.31% performance while gaining the explanations.
  • High Fidelity: The surrogate models achieved up to 91.43% fidelity for LightGBM and 97.10% for FFNN, meaning the explanations are highly representative of the black-box's actual logic.
  • Concept Accuracy: The models maintained a mean ROC AUC of ~76-78% across the six human-defined concepts, proving that the distilled explanations are grounded in real domain knowledge.
Table 1: Performance comparison between different concept-based knowledge distillation explainers.

Limitations and Future Work

  • Requirement for Labeled Concepts: The method relies on a "golden dataset" of human-annotated concepts. While weak supervision helps scale this, the initial manual effort is still a bottleneck.
  • Fixed Concept Vocabulary: The explanations are limited to the concepts defined at the start. If the black-box relies on a pattern not captured by the predefined concepts, the distillation fidelity may suffer.
  • Future Directions: The authors suggest exploring unsupervised concept discovery to remove the need for manual labeling and applying the framework to other high-stakes domains like healthcare.

Summary updated

BibTeX
@misc{sousa2022conceptdistil,
  author = {João Bento Sousa and Ricardo Moreira and Vladimir Balayan and Pedro Saleiro and Pedro Bizarro},
  title = {{ConceptDistil: Model-Agnostic Distillation of Concept Explanations}},
  year = {2022},
  eprint = {2205.03601},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.03601},
}
Figure