TL;DR
This paper introduces GLocalX, a novel method that bridges the gap between local, instance-specific explanations and global, model-wide understanding of "black box" AI systems. By hierarchically merging local decision rules, GLocalX generates simple yet accurate global explanations, offering a path towards more trustworthy AI in critical applications.
What Problem Does This Paper Address?
Modern AI models, particularly deep neural networks and ensemble methods, achieve impressive accuracy but often function as "black boxes," making their decision-making processes opaque to humans. This lack of transparency raises significant concerns, especially in sensitive domains like healthcare and finance, and is even addressed by regulations like GDPR, which mandate a "right to explanation." Existing approaches typically fall into two categories: local explanations that detail why a specific decision was made for a single instance, or global explanations that aim to describe the entire model's logic. While local explanations are versatile, they don't provide a holistic view. Global explanations, on the other hand, often require full access to the model and data, and can be overly complex and difficult to interpret. This paper addresses the challenge of deriving a comprehensive, interpretable global explanation from readily available local explanations, even when full access to the model or data is restricted.
Methods
GLocalX employs a "local-first" approach, starting with local explanations expressed as logical decision rules. The core of GLocalX is a hierarchical merging process that iteratively combines these local rules into more general ones. This process is guided by two key principles: fidelity (how well the explanation emulates the black box's predictions) and complexity (how simple and interpretable the explanation is). The algorithm uses a similarity measure to identify pairs of explanation theories to merge and a quality criterion (Bayesian Information Criterion - BIC) to evaluate the merge. Two operators, JOIN and CUT, are introduced to generalize or specialize rules, respectively, balancing fidelity and complexity. The method is model-agnostic, meaning it doesn't require knowledge of the black box's internal workings.
Datasets
The paper evaluates GLocalX on three standard benchmark datasets:
- Adult: A dataset containing demographic and employment information, used for predicting income levels.
- COMPAS: A dataset related to criminal recidivism, used for predicting the likelihood of re-offending.
- German: A dataset for credit scoring, classifying individuals as "good" or "bad" creditors.
Additionally, a proprietary dataset named diva (on fraud evasion) is used. For experiments, these datasets are split into three partitions: $X_{bb}$ for training the black box model, $X_{le}$ for extracting local explanations and training GLocalX, and $X_{ts}$ for validating the fidelity and accuracy of the final explanation.
Key Insights and Ideas
- Bridging the Local-Global Divide: The central idea is that by intelligently aggregating local explanations, we can construct a global explanation that is both accurate and interpretable, overcoming the limitations of purely local or overly complex global methods.
- Hierarchical Merging for Simplicity: The iterative merging process, guided by fidelity and complexity, naturally leads to simpler, more general rules, making the final explanation theory easier to understand.
- Model-Agnosticism is Key: The ability to work with any black box model without internal knowledge makes GLocalX broadly applicable.
- The Power of Logic Rules: Using logical rules as the explanation format provides a structured and human-readable representation of the AI's decision-making process.
- Balancing Fidelity and Complexity: The core challenge is to maintain high accuracy while minimizing the complexity of the explanation, a trade-off GLocalX explicitly addresses.
Key Results
GLocalX demonstrates competitive performance across various datasets and black box models (DNNs, RFs, SVMs).
- High Fidelity: GLocalX achieves high fidelity, comparable to state-of-the-art global explainers, often only slightly lower (less than 0.1 difference).
- Low Complexity: It consistently produces explanation theories with significantly smaller sizes (fewer rules) compared to other global methods like CPAR and Decision Trees, making them more interpretable. For instance, GLocalX's rule sets are often one or two orders of magnitude smaller than CPAR's.
- Replaceability: In experiments where GLocalX was used to directly classify data (replacing the black box), it showed promising accuracy, with a low fidelity-accuracy gap ($\Delta_{acc}$), indicating it can serve as a trustworthy transparent model.
- Effectiveness with Limited Data: GLocalX* demonstrated that even with minimal input (only local rules and data distributions, no direct access to the black box or full dataset), it could achieve comparable fidelity, highlighting the robustness of its merging strategy.
Limitations and Future Work
- Limitations:
- The paper acknowledges that while GLocalX achieves high fidelity, it might be slightly less accurate than the original black box when used for direct classification.
- The performance of GLocalX can be sensitive to the quality and quantity of the initial local explanations.
- The current implementation focuses on logical rules; extending to other explanation types is a future direction.
- Future Work:
- Extending GLocalX to fuzzy logic, non-CNF rules, and other domains like sequences, text, and images.
- Developing more advanced merging functions and stopping criteria.
- Investigating human-guided regularization and incorporating expert knowledge.
- Exploring the generation of more informative causal explanations.
- Applying the method to other families of black boxes, particularly for image and text data.
Summary updated