[Paper Review] Contrastive Explanations with Local Foil Trees
This paper proposes a model-agnostic method for contrastive explanations using local foil trees—decision trees trained to distinguish a target class (foil) from all others—to identify minimal, rule-based differences that explain why a data point is classified as the fact (observed output) rather than the foil (alternative output). The method extracts contrastive rules by computing the relative complement of fact-leaf rules in foil-leaf rules, yielding concise, human-interpretable explanations with high fidelity across diverse models and datasets.
ContrastiveExplanation 0.2
Motivation & Objective
- To address the challenge of feature overload in interpretable ML by reducing explanation length through contrastive reasoning.
- To model human-like explanation behavior by answering 'Why this outcome instead of that one?' rather than 'Why this outcome?'
- To develop a method that generates concise, rule-based explanations focused only on features that differentiate the fact from the foil class.
- To ensure model-agnosticity by using locally trained one-versus-all decision trees to extract contrastive rules.
Proposed method
- Train a one-versus-all decision tree (foils tree) to classify data points as the foil class or not.
- Identify the fact-leaf and foil-leaf in the foil tree where the input data point resides.
- Extract the path from the root to the foil-leaf and the path to the fact-leaf, then compute the relative complement of the fact rules within the foil rules.
- Form the contrastive explanation as the set of decision nodes in the foil path that are not in the fact path, representing features that distinguish the foil from the fact.
- Merge overlapping rules to produce a compact, interpretable explanation.
- Use text templates to generate natural language explanations from the extracted rule set.
Experimental results
Research questions
- RQ1Can contrastive explanations reduce explanation length by focusing only on features that differentiate the fact from a specific foil class?
- RQ2How well can local foil trees preserve fidelity and accuracy when explaining diverse machine learning models?
- RQ3Can the method generate human-readable, rule-based explanations that reflect the decision boundaries of the underlying model?
- RQ4How does the performance of the method vary across different model architectures and datasets?
Key findings
- The method achieved a mean explanation length of 1.32 to 1.94 features across the Iris, Diabetes, and Heart Disease datasets, indicating highly concise explanations.
- On the Iris dataset, the method achieved an F1 score of 0.97 with a fidelity of 0.87 using a neural network, demonstrating high accuracy in rule extraction.
- For the Diabetes dataset, all models (including logistic regression and SVM) achieved a perfect F1 score of 1.00, indicating consistent rule extraction across models.
- The method maintained high fidelity (0.86–0.99) and accuracy (0.86–0.99) across all models and datasets, confirming its model-agnostic nature.
- The average explanation time ranged from 0.005 to 0.106 seconds, showing computational efficiency.
- In a dialogue example, the system generated a two-node rule explanation for Iris: 'petal width ≤ 0.8 and sepal width > 3.3' to distinguish Versicolor from Setosa.
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.