Abstract
Understanding black-box machine learning models is crucial for their widespread adoption. Learning globally interpretable models is one approach, but achieving high performance with them is challenging. An alternative approach is to explain individual predictions using locally interpretable models. For locally interpretable modeling, various methods have been proposed and indeed commonly used, but they suffer from low fidelity, i.e. their explanations do not approximate the predictions well. In this paper, our goal is to push the state-of-the-art in high-fidelity locally interpretable modeling. We propose a novel framework, Locally Interpretable Modeling using Instance-wise Subsampling (LIMIS). LIMIS utilizes a policy gradient to select a small number of instances and distills the black-box model into a low-capacity locally interpretable model using those selected instances. Training is guided with a reward obtained directly by measuring the fidelity of the locally interpretable models. We show on multiple tabular datasets that LIMIS near-matches the prediction accuracy of black-box models, significantly outperforming state-of-the-art locally interpretable models in terms of fidelity and prediction accuracy.
Introduction
The rapid advancement of machine learning has led to a "performance-interpretability" tug-of-war. High-accuracy "black-box" models, such as Deep Neural Networks (DNNs) and Gradient Boosted Trees (XGBoost), are often too complex for direct human auditing. Conversely, inherently interpretable models like linear regression or shallow decision trees frequently lack the predictive power required for complex tasks.
Locally interpretable modeling offers a middle ground by explaining individual predictions rather than the entire model. However, popular methods like LIME often suffer from low fidelity—the simple local model fails to accurately approximate the complex behavior of the black-box model at the point of interest. This "capacity gap" occurs because a low-capacity model is forced to learn from a neighborhood that may still be too complex for it to represent accurately.
The LIMIS Framework
To address the fidelity gap, we introduce Locally Interpretable Modeling using Instance-wise Subsampling (LIMIS). The core insight of LIMIS is that by carefully selecting a tiny, high-value subset of training data, we can "lower the bar" for a simple model, allowing it to achieve high fidelity within a specific local region. Instead of relying on simple geometric distance, LIMIS learns which specific training instances are most valuable for distilling the black-box's knowledge.
The LIMIS framework operates through a structured four-stage pipeline:
- Stage 0 & 1: Model Training and Distillation. A black-box model is trained on the original dataset. An auxiliary dataset is then constructed where labels are replaced by the black-box's own predictions, facilitating knowledge distillation.
- Stage 2: Instance-wise Weight Estimator Training. This is the critical innovation. LIMIS trains a DNN-based weight estimator using reinforcement learning (the REINFORCE algorithm). The estimator learns to select a small subset of instances from the training set that are most relevant to a specific test point. The "reward" for the RL agent is the fidelity—how closely the resulting simple model's prediction matches the black-box's prediction.
- Stage 3: Interpretable Inference. For a new test point, the weight estimator identifies the optimal training samples. A low-capacity model (e.g., Ridge Regression or a shallow Decision Tree) is then fitted to these samples to provide a high-fidelity explanation, such as feature weights or decision paths.
Key Results and Insights
LIMIS was evaluated across various synthetic and real-world datasets, including the Adult Income and Facebook Comment datasets, demonstrating significant improvements over state-of-the-art baselines.
Superior Fidelity and Accuracy
LIMIS significantly outperforms existing methods like LIME in terms of fidelity. For instance, on the Facebook dataset, LIMIS achieved a Nash-Sutcliffe Efficiency (NSE) of 0.7071, compared to LIME's 0.2205. High NSE indicates that the local model is a strong proxy for the black-box. Furthermore, the predictive accuracy of LIMIS-based local models often near-matches the original black-box. In the Adult classification task, the black-box XGBoost achieved an APR of 0.8096, while the LIMIS explanation model reached 0.8011.
Beyond Geometric Distance
Unlike traditional methods that rely on Euclidean distance to define "locality," LIMIS learns a functional relevance. It identifies training points that are logically important for a prediction, even if they are not geometrically close in high-dimensional feature space. This allows the simple model to focus on the specific local logic of the black-box without being overwhelmed by irrelevant data complexity.
Conclusion
LIMIS provides a robust framework for bridging the fidelity gap in local explanations. By treating data selection as a strategic reinforcement learning problem, it enables low-capacity models to accurately mirror high-capacity black-boxes.
While highly effective, LIMIS does involve a "meta" black-box in the form of the weight estimator, and the RL-based training process carries a higher computational overhead than simpler distance-based methods. Future work will focus on improving the interpretability of the selection process itself and conducting human studies to validate the practical utility of these high-fidelity explanations.
Summary updated