Stealing Training Graphs from Graph Neural Networks

Minhua Lin, Enyan Dai, Junjie Xu, Jinyuan Jia, Xiang Zhang +1 more
11/17/2024
cs.LGcs.CR

No official code found. Best implementation: ventr1c/GraphSteal (4 stars, MIT, last commit 2026-02-10).

Abstract

Graph Neural Networks (GNNs) have shown promising results in modeling graphs in various tasks. The training of GNNs, especially on specialized tasks such as bioinformatics, demands extensive expert annotations, which are expensive and usually contain sensitive information of data providers. The trained GNN models are often shared for deployment in the real world. As neural networks can memorize the training samples, the model parameters of GNNs have a high risk of leaking private training data. Our theoretical analysis shows the strong connections between trained GNN parameters and the training graphs used, confirming the training graph leakage issue. However, explorations into training data leakage from trained GNNs are rather limited. Therefore, we investigate a novel problem of stealing graphs from trained GNNs. To obtain high-quality graphs that resemble the target training set, a graph diffusion model with diffusion noise optimization is deployed as a graph generator. Furthermore, we propose a selection method that effectively leverages GNN model parameters to identify training graphs from samples generated by the graph diffusion model. Extensive experiments on real-world datasets demonstrate the effectiveness of the proposed framework in stealing training graphs from the trained GNN.

View on arXivView PDF

Code Implementations(1)

ventr1c/GraphStealCommunity70%
MIT

PyTorch implementation of "Stealing Training Graphs from Graph Neural Networks" (KDD 2025)

40C++, PythonNov 20, 20248 months agoMIT

Similar Papers

Cite this paper

@article{lin2024stealing,
  title  = {Stealing Training Graphs from Graph Neural Networks},
  author = {Minhua Lin and Enyan Dai and Junjie Xu and Jinyuan Jia and Xiang Zhang and Suhang Wang},
  year   = {2024},
  eprint = {2411.11197},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.11197v2}
}

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/2411.11197.svg)](https://codeofpaper.com/paper/2411.11197)

Discussion