Skip to main content
QUICK REVIEW

[Paper Review] Preserve, Promote, or Attack? GNN Explanation via Topology Perturbation

Yi Sun, Abel N. Valente|arXiv (Cornell University)|Mar 25, 2021
Explainable Artificial Intelligence (XAI)Computer Science45 references5 citations
TL;DR

This paper proposes a unified, interactive GNN explanation framework, GNNViz, that uses sparse topology perturbations to enable three user modes: Preserve (factual explanation), Promote (improving predictions), and Attack (adversarial robustness testing). It introduces a differentiable, topology-aware optimization method to identify critical edges, demonstrating effectiveness in image classification and social network bias detection.

ABSTRACT

Prior works on formalizing explanations of a graph neural network (GNN) focus on a single use case - to preserve the prediction results through identifying important edges and nodes. In this paper, we develop a multi-purpose interpretation framework by acquiring a mask that indicates topology perturbations of the input graphs. We pack the framework into an interactive visualization system (GNNViz) which can fulfill multiple purposes: Preserve,Promote, or Attack GNN's predictions. We illustrate our approach's novelty and effectiveness with three case studies: First, GNNViz can assist non expert users to easily explore the relationship between graph topology and GNN's decision (Preserve), or to manipulate the prediction (Promote or Attack) for an image classification task on MS-COCO; Second, on the Pokec social network dataset, our framework can uncover unfairness and demographic biases; Lastly, it compares with state-of-the-art GNN explainer baseline on a synthetic dataset.

Motivation & Objective

  • Address the lack of multi-purpose GNN explanation tools that support non-expert users in interpreting and manipulating GNN predictions.
  • Overcome the limitation of existing GNN explainers that only support single-use cases like preserving predictions.
  • Develop an interactive visualization system that enables users to explore, modify, and analyze how graph topology influences GNN decisions.
  • Enable both factual and counterfactual explanation use cases by supporting prediction improvement (Promote) and adversarial manipulation (Attack).
  • Demonstrate the framework’s utility in real-world tasks such as image classification and social network bias detection.

Proposed method

  • Formulate GNN explanation as a topology perturbation problem, optimizing for sparse edge additions and deletions to influence model predictions.
  • Design a differentiable optimization framework that computes gradient-based importance scores for edges, enabling efficient search over combinatorial topology changes.
  • Implement a unified objective function that supports three modes: Preserve (maintain prediction), Promote (improve prediction), and Attack (shift prediction away from correct label).
  • Integrate the optimization with an interactive visualization system (GNNViz) using D3.js and force-directed layout for real-time user interaction.
  • Use a graph convolutional network (GCN) as the target GNN model and compute prediction shifts based on perturbed subgraphs.
  • Apply hyperparameter control in GNNViz to allow users to specify the number of edges to add or remove, enabling iterative exploration.

Experimental results

Research questions

  • RQ1Can a unified GNN explanation framework support multiple user goals—Preserve, Promote, and Attack—through topology perturbation?
  • RQ2To what extent does graph topology influence GNN prediction outcomes, and can this be quantitatively measured via edge importance?
  • RQ3Can an interactive visualization system help non-expert users interpret and manipulate GNN decisions effectively?
  • RQ4How does the proposed method compare to state-of-the-art GNN explainers in identifying meaningful topological changes?
  • RQ5Can the framework uncover hidden biases and vulnerabilities in real-world graph data, such as in social networks?

Key findings

  • GNNViz successfully identifies critical edges that influence GNN predictions, such as the Person–Motorcycle link in the MS–COCO dataset, which correlates with misprediction.
  • In Promote mode, the system correctly suggests adding a Chair–Handbag edge to improve prediction accuracy, which the GCN model then correctly classifies as Handbag upon re-evaluation.
  • In Attack mode, the system identifies minimal topology changes—adding a WineGlass–Motorcycle edge and removing a Handbag–Person edge—that successfully shift the GCN prediction to an incorrect label (Wine Glass).
  • The framework effectively uncovers demographic biases in the Pokec social network dataset by revealing how topology perturbations affect prediction fairness.
  • Compared to state-of-the-art GNN explainer baselines, GNNViz demonstrates superior performance in identifying relevant topological changes on a synthetic dataset, particularly in counterfactual and factual explanation tasks.
  • The interactive visualization system enables users to explore and validate prediction shifts in real time, enhancing interpretability and trust in GNN decisions.

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.