Fast Inference of Removal-Based Node Influence

Weikai Li, Zhiping Xiao, Xiao Luo, Yizhou Sun
3/13/2024
cs.LGcs.AI

Official code: weikai-li/NORA (5 stars, last commit 2024-08-13).

Abstract

Graph neural networks (GNNs) are widely utilized to capture the information spreading patterns in graphs. While remarkable performance has been achieved, there is a new trending topic of evaluating node influence. We propose a new method of evaluating node influence, which measures the prediction change of a trained GNN model caused by removing a node. A real-world application is, "In the task of predicting Twitter accounts' polarity, had a particular account been removed, how would others' polarity change?". We use the GNN as a surrogate model whose prediction could simulate the change of nodes or edges caused by node removal. Our target is to obtain the influence score for every node, and a straightforward way is to alternately remove every node and apply the trained GNN on the modified graph to generate new predictions. It is reliable but time-consuming, so we need an efficient method. The related lines of work, such as graph adversarial attack and counterfactual explanation, cannot directly satisfy our needs, since their problem settings are different. We propose an efficient, intuitive, and effective method, NOde-Removal-based fAst GNN inference (NORA), which uses the gradient information to approximate the node-removal influence. It only costs one forward propagation and one backpropagation to approximate the influence score for all nodes. Extensive experiments on six datasets and six GNN models verify the effectiveness of NORA. Our code is available at https://github.com/weikai-li/NORA.git.

View on arXivView PDF

Code Implementations(1)

weikai-li/NORAOfficial100%

WWW'24 paper: "Fast Inference of Removal-Based Node Influence"

53Shell, PythonOct 13, 20232 years ago

Similar Papers

Cite this paper

@article{li2024fast,
  title  = {Fast Inference of Removal-Based Node Influence},
  author = {Weikai Li and Zhiping Xiao and Xiao Luo and Yizhou Sun},
  year   = {2024},
  eprint = {2403.08333},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.08333v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.08333.svg)](https://codeofpaper.com/paper/2403.08333)

Discussion