[Paper Review] Learning Global Transparent Models Consistent with Local Contrastive Explanations
This paper proposes a method to train globally interpretable, transparent models (e.g., decision trees, rule lists) that are both accurate and locally consistent with contrastive explanations from a black-box model. By transforming sparse local contrastive explanations into custom boolean features via a novel discretization scheme, the approach achieves significantly higher local consistency than existing methods while maintaining competitive performance.
There is a rich and growing literature on producing local contrastive/counterfactual explanations for black-box models (e.g. neural networks). In these methods, for an input, an explanation is in the form of a contrast point differing in very few features from the original input and lying in a different class. Other works try to build globally interpretable models like decision trees and rule lists based on the data using actual labels or based on the black-box models predictions. Although these interpretable global models can be useful, they may not be consistent with local explanations from a specific black-box of choice. In this work, we explore the question: Can we produce a transparent global model that is simultaneously accurate and consistent with the local (contrastive) explanations of the black-box model? We introduce a natural local consistency metric that quantifies if the local explanations and predictions of the black-box model are also consistent with the proxy global transparent model. Based on a key insight we propose a novel method where we create custom boolean features from sparse local contrastive explanations of the black-box model and then train a globally transparent model on just these, and showcase empirically that such models have higher local consistency compared with other known strategies, while still being close in performance to models that are trained with access to the original data.
Motivation & Objective
- To address the gap between globally interpretable models and local contrastive explanations from black-box models.
- To develop a method that ensures global transparent models replicate the local behavior of a chosen black-box model.
- To create a consistency metric that quantifies alignment between local explanations and global model predictions.
- To train global models using only local contrastive explanations, avoiding reliance on original training data.
- To improve local consistency without sacrificing model accuracy.
Proposed method
- Propose a local consistency metric that evaluates whether a global model agrees with the black-box model’s predictions and local contrastive explanations (PPs and PNs) on a given input.
- Transform each sparse local contrastive explanation (pertinent positive and negative) into a boolean clause using a custom discretization and binning scheme.
- Define feature bounds (upper and lower) for PPs and PNs to ensure local fidelity, using rounding and grid-based discretization.
- Construct a new dataset composed of these boolean clauses derived from local explanations, then train a transparent global model (e.g., decision tree) on this synthetic dataset.
- Use a key insight: local contrastive explanations naturally encode sparse, meaningful feature interactions that can be directly encoded as logical conjunctions.
- Apply the method to train global models that are both accurate and faithful to the local behavior of the black-box model.
Experimental results
Research questions
- RQ1How can we measure the consistency between a global transparent model and the local contrastive explanations of a black-box model?
- RQ2Can we train a globally interpretable model that is both accurate and faithful to the local behavior of a black-box model using only local explanations?
- RQ3What is the impact of using custom boolean features derived from local contrastive explanations on model consistency and performance?
- RQ4How does the proposed method compare to existing approaches in terms of local consistency and accuracy?
- RQ5Can the method generalize across different datasets and black-box models while preserving local faithfulness?
Key findings
- The proposed method achieves significantly higher local consistency with black-box model explanations compared to baseline methods that use original data or standard feature engineering.
- The global models trained on custom boolean features derived from local contrastive explanations outperform models trained on original data in terms of local consistency, even while maintaining comparable accuracy.
- The method successfully captures sparse, meaningful feature interactions from local explanations, which are then preserved in the global model structure.
- Empirical results on the Magic and Wisconsin Breast Cancer datasets show that the top-ranked boolean features in the global model align closely with the local contrastive explanations.
- The approach enables the construction of transparent models that are both locally faithful and globally interpretable, addressing a key limitation in model interpretability.
- The method demonstrates robustness across different black-box models and datasets, maintaining high consistency without requiring access to the original training data.
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.