Learning Global Transparent Models from Local Contrastive Explanations

Tejaswini Pedapati, Avinash Balakrishnan, Karthikeyan Shanmugam, Amit DhurandhararXiv 2020

Introduction

Black-box models, such as deep neural networks, offer high predictive accuracy but lack transparency, making them difficult to trust in critical domains. Explainable AI (XAI) typically addresses this through two distinct lenses: local explanations, which clarify individual predictions, and global explanations, which provide an interpretable proxy (e.g., a decision tree) for the entire model. However, a significant gap remains: global proxies often fail to capture the specific local reasoning of the black-box model. This paper introduces Global Boolean Feature Learning (GBFL), a framework designed to bridge this gap by constructing global transparent models that are strictly consistent with local contrastive explanations.

Methodology: Global Boolean Feature Learning (GBFL)

The GBFL pipeline transforms local insights into a global interpretable structure through a four-step process.

The GBFL pipeline: from black-box model to a transparent decision tree via local explanation discretization and boolean clause generation.

1. Extracting Local Explanations

The process begins by querying the black-box model for Pertinent Positives (PPs) and Pertinent Negatives (PNs). PPs represent the minimal features required to maintain a classification, while PNs identify the minimal changes needed to flip the prediction to a different class.

2. Discretization and Feature Engineering

To move from local instances to global rules, continuous features are discretized using Kernel Density Estimation (KDE) to identify statistically significant grid points. These grid points serve as anchors for regularizing local behaviors.

Detailed view of the discretization process using KDE to create a Bin Matrix and the subsequent generation of Boolean clauses for new data points.

3. Boolean Clause Generation

Local PPs and PNs are translated into Boolean clauses (e.g., Feature A > X AND Feature B < Y). By rounding these explanations to the nearest KDE grid points, the model creates reusable global features. A key mathematical advantage is that $k$-sparse local explanations result in $2k$-sparse Boolean clauses, ensuring the complexity of the generated features remains low and human-readable.

4. Training the Transparent Learner

Finally, a standard interpretable model, such as a CART Decision Tree, is trained exclusively on these newly generated Boolean features. This ensures the final model's decision logic is grounded in the contrastive explanations of the original black-box.

Experimental Evaluation

The authors evaluated GBFL across six diverse tabular datasets, including Sky Survey, Credit Card, and WDBC. To measure success, they introduced the Local Consistency Metric ($C_{TB}$), which penalizes the transparent model if its decisions on a data point, its PP, or its PN disagree with the black-box model.

Key Results

  • Superior Consistency: GBFL significantly outperformed traditional distillation and standard decision trees in local consistency. On the WDBC dataset, GBFL achieved 50.12% consistency, more than double that of standard distillation (22.47%).
  • Competitive Accuracy: Despite the constraint of using only Boolean features, GBFL maintained high accuracy. For the Sky Survey dataset, it achieved 97.68% accuracy, closely trailing the black-box's 99.68%.
  • Interpretability: The resulting models utilize readable logic, such as redshift >= 0.0 & ra >= 137.26, facilitating expert audit.

Discussion and Future Work

While GBFL shows great promise, it is dependent on the quality of the local explainer. In some datasets, like Magic and Diabetes, the explainer struggled to find PNs, limiting the mapping of class boundaries. Future research will focus on extending this methodology to non-tabular data (images and text) and exploring alternative classifiers like weighted rule sets. By grounding global models in local contrastive logic, GBFL provides a robust path toward truly trustworthy AI.

Summary updated

BibTeX
@misc{pedapati2020learning,
  author = {Tejaswini Pedapati and Avinash Balakrishnan and Karthikeyan Shanmugam and Amit Dhurandhar},
  title = {{Learning Global Transparent Models from Local Contrastive Explanations}},
  year = {2020},
  eprint = {2002.08247},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.08247},
}
Figure