Influence Functions for Edge Edits in Non-Convex Graph Neural Networks
Jaeseung Heo, Kyeongheung Yun, Seokwon Yoon, MoonJeong Park, Jungseul Ok, Dongwoo Kim
TL;DR
This work introduces a proximal Bregman-based influence function tailored for edge edits in non-convex graph neural networks, enabling accurate prediction of how single or multiple edge deletions/insertions affect predictions and evaluation metrics. The method decomposes influence into parameter-shift and message-propagation components and uses a generalized Gauss–Newton matrix with LiSSA for scalable inversion, addressing non-convexity and graph-structure changes. Empirical results on multiple real-world datasets demonstrate high concordance between predicted and actual influence (up to ~0.95) and show applicability to adversarial attacks, node-embedding analysis, and graph rewiring. The approach offers a unified, propagation-aware view of edge importance that can guide edge editing for improved validation loss and reveal the roles of homophilic versus heterophilic connections, though scalability to many simultaneous edits and very deep GNNs remains a challenge.
Abstract
Understanding how individual edges influence the behavior of graph neural networks (GNNs) is essential for improving their interpretability and robustness. Graph influence functions have emerged as promising tools to efficiently estimate the effects of edge deletions without retraining. However, existing influence prediction methods rely on strict convexity assumptions, exclusively consider the influence of edge deletions while disregarding edge insertions, and fail to capture changes in message propagation caused by these modifications. In this work, we propose a proximal Bregman response function specifically tailored for GNNs, relaxing the convexity requirement and enabling accurate influence prediction for standard neural network architectures. Furthermore, our method explicitly accounts for message propagation effects and extends influence prediction to both edge deletions and insertions in a principled way. Experiments with real-world datasets demonstrate accurate influence predictions for different characteristics of GNNs. We further demonstrate that the influence function is versatile in applications such as graph rewiring and adversarial attacks.
