G-LIME: Statistical Learning for Local Interpretations of Deep Neural Networks Using Global Priors (Abstract Reprint)

Xuhong Li, Haoyi Xiong, Xingjian Li, Xiao Zhang, Ji Liu, Haiyan Jiang, Zeyu Chen, Dejing Dou

Abstract

Deep Neural Networks (DNNs) are often characterized as "black boxes" due to the complexity of their internal decision-making processes. While local interpretation frameworks like LIME (Local Interpretable Model-agnostic Explanations) have been developed to provide transparency, they frequently suffer from instability—producing inconsistent explanations for the same prediction due to their reliance on random sampling. This paper introduces G-LIME, a framework that addresses these limitations by anchoring local interpretations to "global priors" derived from the entire dataset. By integrating Bayesian linear regression with a modified ElasticNet-style estimator and Least Angle Regression (LARS), G-LIME produces feature importance rankings that are significantly more stable, consistent, and accurate than those generated by vanilla LIME.

Introduction

As Deep Neural Networks are increasingly deployed in critical domains, the need for interpretability has become paramount. Local interpreters attempt to solve this by creating a simple, linear surrogate model to explain a specific prediction. This is typically achieved by perturbing the input and observing the resulting changes in the model's output. However, the standard LIME framework is notoriously unstable; because it relies on random perturbations (interpolations) around a data point, it can yield different explanations across multiple runs for the exact same input. This lack of reproducibility undermines user trust and limits the practical utility of the explanations.

G-LIME (Global-LIME) addresses this flaw by moving away from purely random local sampling. Instead, it incorporates global knowledge about how the model behaves across the entire dataset, treating the local explanation as a refinement of a broader, global truth rather than an isolated event.

Methodology

G-LIME transforms the explanation task into a high-dimensional Bayesian linear regression problem. The methodology is structured into three distinct phases:

1. Global Explanation and Prior Construction

The algorithm begins by analyzing the DNN’s behavior across the entire population (e.g., the training set). This step establishes a "global prior"—a baseline understanding of which features generally influence the model's predictions. This prior acts as a stabilizing force for subsequent local calculations.

2. Modified ElasticNet Refinement

When generating an explanation for a specific data point, G-LIME employs a modified estimator inspired by ElasticNet. This objective function is designed to balance two competing goals:

  • Global Alignment: Ensuring the local explanation remains consistent with the global prior.
  • Sparsity: Maintaining a concise explanation by highlighting only the most critical features.

By using the training set as an informative prior, the algorithm prevents the local surrogate model from being led astray by the inherent noise of the sampling process.

3. Feature Ranking via LARS

To finalize the explanation, G-LIME utilizes Least Angle Regression (LARS). By exploring the "solution path" of the modified ElasticNet under varying levels of regularization, the method can effectively screen and rank features by their importance. This approach provides a robust ranking of feature influence rather than a static set of coefficients, which enhances the reliability of the identified drivers behind a DNN's prediction.

Key Insights

The core innovation of G-LIME lies in the Global-Local Trade-off. The use of an ElasticNet-like objective function allows practitioners to mathematically calibrate how much an explanation should rely on the specific local context versus the general global trend. This statistical grounding ensures that local noise is suppressed by global context, leading to a more coherent interpretation of the model's logic.

Results and Performance

Extensive experiments on real-world tasks demonstrate that G-LIME consistently outperforms the vanilla LIME framework in three critical areas:

  • Stability: Repeated runs on the same data point yield identical or near-identical explanations, solving the primary criticism of LIME.
  • Consistency: The explanations align more closely with the overall logic of the model across different samples, providing a more holistic view of model behavior.
  • Accuracy: The features identified as "important" by G-LIME are more likely to be the actual drivers of the DNN's prediction, as verified by empirical testing.

Conclusion

G-LIME represents a significant advancement in the field of model interpretability. By bridging the gap between global model behavior and local predictions through a Bayesian framework, it provides a stable and trustworthy method for auditing Deep Neural Networks. While the computational overhead of calculating global priors on massive datasets remains a consideration for future optimization, G-LIME offers a robust path forward for making "black box" models more transparent and accountable.

Summary updated

BibTeX
@inproceedings{li2024g,
  author = {Xuhong Li and Haoyi Xiong and Xingjian Li and Xiao Zhang and Ji Liu and Haiyan Jiang and Zeyu Chen and Dejing Dou},
  title = {{G-LIME: Statistical Learning for Local Interpretations of Deep Neural Networks Using Global Priors (Abstract Reprint)}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i20.30605},
}
Figure