Skip to main content
QUICK REVIEW

[Paper Review] GNNLens: A Visual Analytics Approach for Prediction Error Diagnosis of Graph Neural Networks

Zhihua Jin, Yong Wang|arXiv (Cornell University)|Nov 22, 2020
Data Visualization and AnalyticsComputer Science6 citations
TL;DR

GNNLens is a visual analytics system that diagnoses prediction errors in Graph Neural Networks (GNNs) by integrating multiple linked visualizations to reveal error patterns across node features, graph topology, and model behavior. It enables users to identify, explore, and hypothesize about error causes through comparative analysis of GNN, MLP, and GNNWUF models, demonstrating effectiveness via case studies and expert feedback.

ABSTRACT

Graph Neural Networks (GNNs) aim to extend deep learning techniques to graph data and have achieved significant progress in graph analysis tasks (e.g., node classification) in recent years. However, similar to other deep neural networks like Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs), GNNs behave like a black box with their details hidden from model developers and users. It is therefore difficult to diagnose possible errors of GNNs. Despite many visual analytics studies being done on CNNs and RNNs, little research has addressed the challenges for GNNs. This paper fills the research gap with an interactive visual analysis tool, GNNLens, to assist model developers and users in understanding and analyzing GNNs. Specifically, Parallel Sets View and Projection View enable users to quickly identify and validate error patterns in the set of wrong predictions; Graph View and Feature Matrix View offer a detailed analysis of individual nodes to assist users in forming hypotheses about the error patterns. Since GNNs jointly model the graph structure and the node features, we reveal the relative influences of the two types of information by comparing the predictions of three models: GNN, Multi-Layer Perceptron (MLP), and GNN Without Using Features (GNNWUF). Two case studies and interviews with domain experts demonstrate the effectiveness of GNNLens in facilitating the understanding of GNN models and their errors.

Motivation & Objective

  • To address the lack of visual analytics tools for diagnosing GNN prediction errors, especially at scale and across error patterns.
  • To support model developers in understanding why GNNs make specific errors by linking node-level features, graph structure, and model outputs.
  • To enable comparative analysis of GNNs with MLP and GNNWUF models to disentangle the influence of features versus topology on predictions.
  • To provide an interactive, multi-view interface that supports hypothesis formation and error pattern discovery in GNNs.
  • To validate the system’s utility through case studies and expert interviews in real-world GNN analysis tasks.

Proposed method

  • The system integrates five views: Control Panel, Parallel Sets View, Projection View, Graph View, and Feature Matrix View, all linked for interactive exploration.
  • The Parallel Sets View visualizes node property distributions across prediction outcomes, enabling quick identification of error-prone groups.
  • The Projection View uses glyphs to project high-dimensional node metrics into 2D space, supporting cluster detection and lasso-based selection.
  • The Graph View renders local subgraphs around user-selected nodes to analyze topological influences on predictions.
  • The Feature Matrix View displays node feature distributions, allowing comparison of features across correct and incorrect predictions.
  • The system compares predictions from three models—GNN, MLP, and GNNWUF—to isolate the relative contributions of features and topology to prediction errors.

Experimental results

Research questions

  • RQ1How can visual analytics techniques be effectively adapted to diagnose error patterns in GNNs, given their reliance on both graph structure and node features?
  • RQ2What visualization design supports the discovery of common error patterns across groups of nodes in GNN predictions?
  • RQ3How can comparative modeling (GNN vs. MLP vs. GNNWUF) be visually integrated to disentangle the influence of features and topology on GNN errors?
  • RQ4To what extent can interactive visual analytics tools like GNNLens support expert hypothesis formation and model debugging in real GNN workflows?
  • RQ5How do users perceive the usability and effectiveness of such a system in diagnosing GNN prediction failures?

Key findings

  • GNNLens successfully enables users to identify and validate recurring error patterns in GNN predictions through linked visual exploration of features, topology, and model outputs.
  • The comparative analysis with MLP and GNNWUF models revealed that both node features and graph structure significantly influence GNN prediction errors, with varying contributions depending on the dataset.
  • Expert interviews confirmed that GNNLens supports effective hypothesis generation about error causes and provides actionable insights for model refinement.
  • The Projection View, enhanced with hierarchical clustering, improved scalability and allowed users to explore up to 300 nodes effectively despite visual clutter.
  • Users found the Glyph-based Projection View initially challenging but benefited significantly from added legends and linked highlighting across views.
  • The system demonstrated strong usability in two real-world case studies, enabling users to trace error patterns back to specific structural or feature-related anomalies.

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.