Skip to main content
QUICK REVIEW

[Paper Review] Melody: Generating and Visualizing Machine Learning Model Summary to Understand Data and Classifiers Together

Gromit Yeuk-Yin Chan, Enrico Bertini|arXiv (Cornell University)|Jul 21, 2020
Explainable Artificial Intelligence (XAI)Computer Science64 references12 citations
TL;DR

MELODY is a novel interactive visual analytics system that generates global model explanation summaries by clustering local explanations using information theory, enabling holistic understanding of machine learning models across tabular, image, and text data without requiring additional models or user ML expertise. It achieves faster, more compact summaries than baseline methods while supporting end-to-end model debugging and interpretation workflows.

ABSTRACT

With the increasing sophistication of machine learning models, there are growing trends of developing model explanation techniques that focus on only one instance (local explanation) to ensure faithfulness to the original model. While these techniques provide accurate model interpretability on various data primitive (e.g., tabular, image, or text), a holistic Explainable Artificial Intelligence (XAI) experience also requires a global explanation of the model and dataset to enable sensemaking in different granularity. Thus, there is a vast potential in synergizing the model explanation and visual analytics approaches. In this paper, we present MELODY, an interactive algorithm to construct an optimal global overview of the model and data behavior by summarizing the local explanations using information theory. The result (i.e., an explanation summary) does not require additional learning models, restrictions of data primitives, or the knowledge of machine learning from the users. We also design MELODY UI, an interactive visual analytics system to demonstrate how the explanation summary connects the dots in various XAI tasks from a global overview to local inspections. We present three usage scenarios regarding tabular, image, and text classifications to illustrate how to generalize model interpretability of different data. Our experiments show that our approaches: (1) provides a better explanation summary compared to a straightforward information-theoretic summarization and (2) achieves a significant speedup in the end-to-end data modeling pipeline.

Motivation & Objective

  • To address the gap in holistic explainable AI (XAI) by integrating local model explanations into a global, user-friendly overview that supports sensemaking across multiple data types.
  • To develop a scalable, data-agnostic summarization technique that works with any feature importance-based explanation method, regardless of data primitive (tabular, image, text).
  • To design an interactive visual analytics system (MELODY UI) that connects global summaries with local instance-level inspections for improved model understanding and debugging.
  • To demonstrate the utility of the approach across diverse real-world use cases in finance, computer vision, and natural language processing.

Proposed method

  • The method uses information-theoretic clustering to group instances and features based on similarity in their local explanation attributions, minimizing information loss in the summary.
  • It constructs a co-clustered visualization matrix where rows represent groups of similar instances and columns represent groups of similar features, with color intensity indicating attribution strength.
  • The algorithm employs sketching techniques to efficiently scale to large datasets, enabling real-time summarization without retraining or additional model inference.
  • MELODY UI integrates the summary with interactive filtering, brushing, and drill-down capabilities to support multi-granularity analysis from global trends to local counterfactuals.
  • The system supports dynamic querying and subset exploration, allowing users to isolate and inspect specific patterns such as mispredictions or high-impact features.
  • The approach is model-agnostic and works with existing explanation tools (e.g., LIME, Grad-CAM, SHAP) by consuming their output as input.

Experimental results

Research questions

  • RQ1Can a global explanation summary be constructed from local explanations using information theory to preserve model behavior while reducing complexity?
  • RQ2How does the proposed summarization method compare to naive information-theoretic baselines in terms of compactness and interpretability?
  • RQ3Can the MELODY system support effective end-to-end model analysis across diverse data types such as tabular, image, and text?
  • RQ4To what extent does the interactive visual analytics interface improve user understanding of model decisions and data characteristics?

Key findings

  • MELODY produces a more compact and informative explanation summary than a straightforward information-theoretic baseline, reducing redundancy while preserving key decision patterns.
  • The system achieves a significant speedup in the end-to-end data modeling pipeline by enabling rapid global inspection and targeted local analysis.
  • In the tabular use case, the model’s decision logic was revealed to rely primarily on delinquency history and external risk estimates, with over 70% of predictions explained by these two factors.
  • In the image classification task, MELODY uncovered that the model misclassified a yellow-throated vireo due to learned features resembling those of a blue-winged warbler, particularly in yellowish patches.
  • In the text classification use case, the system identified that words like 'auto', 'bmw', and 'ford' were strong predictors of loan-related complaints, with 93% correctness for instances containing these terms.
  • The interactive filtering and brushing features in MELODY UI enabled analysts to isolate and validate high-impact topics, such as vehicle purchases, which were confirmed as central to customer complaints.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.