Model Agnostic Multilevel Explanations

Karthikeyan Natesan Ramamurthy, Bhanukiran Vinzamuri, Yunfeng Zhang, Amit Dhurandhar

Introduction: The Gap in Explainable AI

Explainable AI (XAI) has traditionally focused on two extremes: local explanations, which clarify individual predictions (e.g., "Why was this specific loan denied?"), and global explanations, which summarize model behavior across an entire dataset. However, real-world decision-making often requires a "missing middle"—intermediate levels of granularity that group similar instances together.

Existing approaches to bridge this gap typically rely on clustering independent local explanations. This often results in "noisy" or inconsistent summaries because the underlying explanations were not optimized to be grouped. To address this, we present Model Agnostic Multilevel Explanations (MAME), a novel meta-method that jointly optimizes explanations across a dataset to produce a coherent, hierarchical structure.

The MAME Framework: Bridging Local and Global

MAME operates as a wrapper around existing local explainers (like LIME). Its core innovation is a joint optimization framework that balances three competing objectives:

  1. Fidelity: Ensuring each explanation accurately reflects the black-box model's logic.
  2. Sparsity: Keeping explanations simple and interpretable by limiting the number of features.
  3. Cohesion: Encouraging similar data points to have similar explanations.

By adjusting a regularization parameter ($\beta$), MAME generates a tree structure. At the root, a single global explanation summarizes the entire dataset. At the leaves, individual local explanations provide maximum detail. The intermediate levels represent automatically discovered clusters of data points with shared behaviors, providing controllable granularity for domain experts.

Hierarchical explanation tree generated by MAME for the industrial pump dataset, showing transitions from global trends to specific manufacturer sub-groups.

To handle large-scale datasets, the authors implemented an approximate algorithm based on Algorithmic Regularization (AR), which achieves a 10x speedup over exact mathematical solutions without significant loss in quality.

Insights from Real-World Applications

MAME's utility was demonstrated through an industrial case study involving 2,500 oil wells. While global explanations provided a broad overview of pump failures, MAME identified specific sub-groups of pumps that shared failure modes unique to certain manufacturers. This level of nuance is often lost in global averages but remains too fragmented in thousands of individual local reports.

Furthermore, MAME allows for "controllable cohesion." Domain experts can inject prior knowledge into the system, guiding the tree construction to ensure that the resulting clusters align with known physical or business constraints. This human-centric design ensures that the few high-fidelity summaries produced characterize the whole dataset in a way that is intuitive for users.

Quantitative Performance

The effectiveness of MAME was evaluated against standard benchmarks and baselines like LIME and Two-Step clustering. In a user study with 30 data scientists using the HELOC (Home Equity Line of Credit) dataset, MAME users were significantly more accurate at predicting black-box model behavior, achieving a Mean Squared Error (MSE) of 0.036—far lower than those using standard hierarchical clustering.

Comparison of MAME against LIME and Two-Step baselines across multiple benchmark datasets, highlighting superior fidelity in most cases.

As shown in the table above, MAME consistently achieves higher generalized fidelity ($R^2$) across diverse datasets, including Auto MPG, Retention, and ATIS. This indicates that MAME provides a more accurate summary of the model's underlying logic than existing methods that treat explanations as independent units.

Conclusion and Future Directions

MAME successfully bridges the gap between local and global XAI by providing a structured, hierarchical approach to model explanation. While currently optimized for parametric local explainers (like linear models), future work aims to extend this framework to non-parametric methods, such as counterfactual explanations. Additionally, improving user interface design for navigating these complex trees remains a key challenge for human-computer interaction in AI.

Summary updated

BibTeX
@inproceedings{ramamurthy2020model,
  author = {Karthikeyan Natesan Ramamurthy and Bhanukiran Vinzamuri and Yunfeng Zhang and Amit Dhurandhar},
  title = {{Model Agnostic Multilevel Explanations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure