TL;DR
This paper introduces a novel method to train globally interpretable models (like decision trees) that are not only accurate but also consistent with the local, contrastive explanations generated by complex black-box models. By transforming sparse local explanations into custom boolean features, they create transparent models that better mimic the black-box's local decision-making process.
What Problem Does This Paper Address?
As black-box AI models (like deep neural networks) become more prevalent, understanding their decisions is crucial, especially in high-stakes domains like finance and healthcare. While local explanations (e.g., "if feature X changes, the prediction flips") and global interpretable models (e.g., decision trees) exist, there's a disconnect. Global models, even if accurate, might not align with the specific local explanations a user might get for a particular data point from the black-box. This paper aims to bridge this gap by creating global models that are both accurate and faithful to the local explanations of a given black-box model.
Methods
The core of the proposed method, called Global Boolean Feature Learning (GBFL), involves several steps:
- Obtain Local Explanations: They start by using a model-agnostic method to generate "pertinent positives" (PPs) and "pertinent negatives" (PNs) for each data point. PPs are slight perturbations of an input that keep its predicted class, while PNs are perturbations that flip the predicted class. These are essentially contrastive examples.
- Generate Boolean Features: The key innovation is transforming these sparse PPs and PNs into custom boolean features. For each feature in the original data, they create boolean clauses (e.g., "feature X is greater than value Y"). These clauses are derived from the relationships between the original data point, its PP, its PN, and a set of "grid points" (discretized feature values) generated using Kernel Density Estimation (KDE). This process effectively captures the "local importance" of features as indicated by the contrastive explanations.
- Train Transparent Model: A new dataset is created where each data point is represented by the evaluation of these generated boolean clauses. A simple, interpretable model (like a decision tree) is then trained on this new dataset.
They also introduce a "local consistency metric" to quantitatively measure how well a transparent model aligns with the black-box's local behavior.
Datasets
The paper evaluates their method on six publicly available datasets:
- Sky Survey
- Credit Card
- Magic
- Diabetes
- Waveform
- WDBC
These datasets are standard benchmarks for tabular data. The authors do not introduce new datasets.
Key Insights and Ideas
- Local explanations can be powerful feature generators: The paper's central idea is that sparse local contrastive explanations (PPs and PNs) can be directly translated into meaningful, interpretable boolean features. This is a departure from methods that solely rely on black-box predictions or original data.
- Bridging local and global: By creating boolean features from local explanations, the method inherently links local behavior to global model structure. The resulting transparent model learns patterns that are consistent with how the black-box behaves locally.
- Discretization is key for generalization: Using "grid points" derived from KDE and applying a "skip parameter" helps regularize the boolean clauses, preventing them from being overly specific to individual data points and improving generalization.
- Consistency matters: The proposed local consistency metric provides a principled way to evaluate how well a transparent model mimics the black-box's local decision boundaries, going beyond just matching overall accuracy.
Key Results
- Higher Local Consistency: The proposed GBFL method consistently achieved higher local consistency scores (measured by CTB) compared to other methods like standard decision trees, distillation, and augmentation, especially when considering pertinent negatives (PNs).
- Competitive Accuracy: Despite training on features derived solely from local explanations, the GBFL models achieved accuracy comparable to, and in some cases superior to, standardly trained models and other competing methods.
- Interpretable Features: The generated boolean features, while potentially complex (involving multiple original features), lead to transparent models (like decision trees) that are significantly more interpretable than the original black-box models. Qualitative analysis showed that features derived from the Sky Survey dataset highlighted important original features and their relationships.
Limitations and Future Work
- Dependence on Local Explanations: The quality of the generated boolean features and the resulting transparent model is directly dependent on the quality and availability of the local contrastive explanations. If the explanation method struggles to find PPs/PNs (e.g., for the Magic and Diabetes datasets where PNs were not always available), the consistency gains are reduced.
- Future Work: The authors suggest extending their work to other types of transparent learners (e.g., weighted rule sets) and exploring other data modalities like images and text. They also plan to investigate the theoretical underpinnings of the generalization and local consistency achieved by their method, potentially linking it to stability results in deep learning.
Summary updated