[Paper Review] Can I trust you more? Model-Agnostic Hierarchical Explanations
Mahé introduces a model-agnostic framework for generating hierarchical, context-dependent and context-free explanations of interactions in black-box models like deep neural networks. By combining local perturbation with neural network fitting for interaction detection and generalizing consistent local interactions to identify global, context-free behaviors, Mahé outperforms state-of-the-art methods in local interaction interpretation and is the first to identify and edit context-free interactions without significant performance degradation.
Interactions such as double negation in sentences and scene interactions in images are common forms of complex dependencies captured by state-of-the-art machine learning models. We propose Mahé, a novel approach to provide Model-agnostic hierarchical éxplanations of how powerful machine learning models, such as deep neural networks, capture these interactions as either dependent on or free of the context of data instances. Specifically, Mahé provides context-dependent explanations by a novel local interpretation algorithm that effectively captures any-order interactions, and obtains context-free explanations through generalizing context-dependent interactions to explain global behaviors. Experimental results show that Mahé obtains improved local interaction interpretations over state-of-the-art methods and successfully explains interactions that are context-free.
Motivation & Objective
- To address the lack of explanation for complex dependencies—especially interactions—captured by state-of-the-art models like deep neural networks.
- To distinguish between context-dependent representations (instance-specific) and context-free representations (global, invariant across instances).
- To develop a method that provides accurate, hierarchical local explanations of feature interactions using perturbation and nonlinear fitting.
- To generalize local interactions into global, context-free explanations to reveal invariant behavioral patterns in models.
- To enable model editing by identifying and modifying context-free interactions with minimal performance impact.
Proposed method
- Mahé uses local perturbations around a data instance to generate surrogate predictions, which are then fitted using a neural network to capture nonlinear decision boundaries and detect interactions.
- It employs a hierarchical interpretation format to represent group-wise feature interactions at multiple levels, with attribution scores visualized per interaction.
- For context-free explanations, Mahé generalizes consistent interaction patterns across multiple data instances to determine whether a local interaction behaves globally.
- The framework uses a differentiable objective to modify model behavior at specific interaction positions, enabling targeted edits with minimal performance loss.
- It applies a modified version of the NID (Nonlinear Interaction Detection) algorithm to identify high-order interactions in feature spaces.
- Mahé leverages attribution scores from the fitted surrogate model to rank and visualize the polarity and magnitude of interactions in hierarchical form.
Experimental results
Research questions
- RQ1Can we improve the accuracy of local interaction interpretation in complex models by using nonlinear surrogate models instead of linear approximations?
- RQ2Can we identify interactions that are invariant across data instances, i.e., context-free, and what is their behavioral consistency?
- RQ3Can context-free interactions be edited in a deep learning model without causing significant performance degradation?
- RQ4How do context-dependent and context-free interactions differ in their contribution to model predictions across diverse data modalities?
- RQ5To what extent can hierarchical explanations reveal complex, multi-level dependencies in NLP, vision, and genomics tasks?
Key findings
- Mahé achieved higher R² fit scores (up to 0.926) on local interaction explanations compared to linear LIME (max R² = 0.621), demonstrating superior modeling of nonlinear interactions.
- In sentiment classification, Mahé correctly identified the context-free interaction 'not bad' as consistently positive, with attribution polarity preserved across instances.
- After editing a Transformer model to reverse the polarity of a context-free 'cet' interaction, BLEU score dropped by only -2.7%, indicating minimal performance degradation.
- For DNA-CNN, all 94 detections of the 6-way CACGTG motif interaction showed positive attribution to DNA-protein affinity, and polarity reversed successfully after editing with cosine distance σ = 0.35 and σ′ = 0.408.
- In ResNet152, context-free interactions were detected with cosine distance σ = 0.4 and σ′ = 0.663, though artifacts from superpixel segmentation reduced interpretability.
- The framework successfully visualized hierarchical interaction attributions in both NLP (Sentiment-LSTM) and vision (ResNet152) tasks, with color-coded polarities indicating positive (cyan) or negative (red) contributions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.