Proceedings

An Out-Of-Distribution Membership Inference Attack Approach for Cross-Domain Graph Attacks

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 3371-3379.

https://doi.org/10.24963/ijcai.2025/375

Abstract

Graph Neural Network-based methods face privacy leakage risks due to the introduction of topological structures about the targets, which allows attackers to bypass the target's prior knowledge of the sensitive attributes and realize membership inference attacks (MIA) by observing and analyzing the topology distribution. As privacy concerns grow, the assumption of MIA, which presumes that attackers can obtain an auxiliary dataset with the same distribution, is increasingly deviating from reality. In this paper, we categorize the distribution diversity issue in real-world MIA scenarios as an Out-Of-Distribution (OOD) problem, and propose a novel Graph OOD Membership Inference Attack (GOOD-MIA) to achieve cross-domain graph attacks. Specifically, we construct shadow subgraphs with distributions from different domains to model the diversity of real-world data. We then explore the stable node representations that remain unchanged under external influences and consider eliminating redundant information from confounding environments and extracting task-relevant key information to more clearly distinguish between the characteristics of training data and unseen data. This OOD-based design makes cross-domain graph attacks possible. Finally, we perform risk extrapolation to optimize the attack's domain adaptability during attack inference to generalize the attack to other domains. Experimental results demonstrate that GOOD-MIA achieves superior attack performance in datasets designed for multiple domains.

  1. [Arjovsky et al., 2019] Martin Arjovsky, Léon Bottou, Ishaan Gulrajani, and David Lopez-Paz. Invariant risk minimization. arXiv preprint arXiv:1907.02893, 2019.
  2. [Beery et al., 2018] Sara Beery, Grant Van Horn, and Pietro Perona. Recognition in terra incognita. In Proceedings of the European conference on computer vision (ECCV), pages 456-473, 2018.
  3. [Boll et al., 2024] Heloísa Oss Boll, Ali Amirahmadi, Mir- farid Musavian Ghazani, Wagner Ourique de Morais, Edi- son Pignaton de Freitas, Amira Soliman, Farzaneh Etmi- nani, Stefan Byttner, and Mariana Recamonde-Mendoza. Graph neural networks for clinical risk prediction based on electronic health records: A survey. J. Biomed. Infor- matics, 151:104616, 2024.
  4. [Fu et al., 2023] Xingcheng Fu, Yuecen Wei, Qingyun Sun, Haonan Yuan, Jia Wu, Hao Peng, and Jianxin Li. Hyperbolic geometric graph representation learning for hierarchy-imbalance node classification. In Proceedings of the ACM Web Conference 2023, pages 460-468, 2023.
  5. [Fu et al., 2024] Xingcheng Fu, Yisen Gao, Yuecen Wei, Qingyun Sun, Hao Peng, Jianxin Li, and Xianxian Li. Hy- perbolic geometric latent diffusion model for graph gener- ation. arXiv preprint arXiv:2405.03188, 2024.
  6. [Fu et al., 2025a] Xingcheng Fu, Yisen Gao, Beining Yang, Yuxuan Wu, Haodong Qian, Qingyun Sun, and Xianxian Li. Bi-directional multi-scale graph dataset condensation via information bottleneck. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 16674-16681, 2025.
  7. [Fu et al., 2025b] Xingcheng Fu, Jian Wang, Yisen Gao, Qingyun Sun, Haonan Yuan, Jianxin Li, and Xianxian Li. Discrete curvature graph information bottleneck. In Pro- ceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 16666-16673, 2025.
  8. [Hayes et al., 2017] Jamie Hayes, Luca Melis, George Danezis, and Emiliano De Cristofaro. Logan: Member- ship inference attacks against generative models. arXiv preprint arXiv:1705.07663, 2017.
  9. [He et al., 2020] Yang He, Shadi Rahimian, Bernt Schiele, and Mario Fritz. Segmentations-leak: Membership in- ference attacks and defenses in semantic image segmen- tation. In Computer Vision-ECCV 2020: 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceed- ings, Part XXIII 16, pages 519-535. Springer, 2020.
  10. [He et al., 2021] Xinlei He, Rui Wen, Yixin Wu, Michael Backes, Yun Shen, and Yang Zhang. Node-level mem- bership inference attacks against graph neural networks. arXiv preprint arXiv:2102.05429, 2021.
  11. [Hintersdorf et al., 2021] Dominik Hintersdorf, Lukas Struppek, and Kristian Kersting. To trust or not to trust prediction scores for membership inference attacks. arXiv preprint arXiv:2111.09076, 2021. IJCAI
  12. [Krueger et al., 2021] David Krueger, Ethan Caballero, Joern-Henrik Jacobsen, Amy Zhang, Jonathan Binas, Dinghuai Zhang, Remi Le Priol, and Aaron Courville. Out-of-distribution generalization via risk extrapolation (rex). In International conference on machine learning, pages 5815-5826. PMLR, 2021.
  13. [Li et al., 2022] Haoyang Li, Ziwei Zhang, Xin Wang, and Wenwu Zhu. Learning invariant graph representations for out-of-distribution generalization. Advances in Neural In- formation Processing Systems, 35:11828-11841, 2022.
  14. [Li et al., 2025] Xianxian Li, Zeming Gan, Qiyu Li, Bin Qu, Jinyan Wang, et al. Rethinking the impact of noisy labels in graph classification: A utility and privacy perspective. Neural Networks, 182:106919, 2025.
  15. [Liu et al., 2021] Jiashuo Liu, Zheyan Shen, Yue He, Xingx- uan Zhang, Renzhe Xu, Han Yu, and Peng Cui. To- wards out-of-distribution generalization: A survey. arXiv preprint arXiv:2108.13624, 2021.
  16. [Liu et al., 2023] Yang Liu, Xiang Ao, Fuli Feng, Yunshan Ma, Kuan Li, Tat-Seng Chua, and Qing He. Flood: A flex- ible invariant learning framework for out-of-distribution generalization on graphs. In Proceedings of the 29th ACM SIGKDD conference on knowledge discovery and data mining, pages 1548-1558, 2023.
  17. [Olatunji et al., 2021] Iyiola E Olatunji, Wolfgang Nejdl, and Megha Khosla. Membership inference attack on graph neural networks. In 2021 Third IEEE International Con- ference on Trust, Privacy and Security in Intelligent Sys- tems and Applications (TPS-ISA), pages 11-20. IEEE, 2021.
  18. [Recht et al., 2019] Benjamin Recht, Rebecca Roelofs, Lud- wig Schmidt, and Vaishaal Shankar. Do imagenet classi- fiers generalize to imagenet? In International conference on machine learning, pages 5389-5400. PMLR, 2019.
  19. [Rozemberczki and Sarkar, 2021] Benedek Rozemberczki and Rik Sarkar. Twitch gamers: a dataset for evaluating proximity preserving and structural role-based node embeddings. arXiv preprint arXiv:2101.03091, 2021.
  20. [Salem et al., 2018] Ahmed Salem, Yang Zhang, Mathias Humbert, Pascal Berrang, Mario Fritz, and Michael Backes. Ml-leaks: Model and data independent member- ship inference attacks and defenses on machine learning models. arXiv preprint arXiv:1806.01246, 2018.
  21. [Sen et al., 2008] Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina Eliassi-Rad. Collective classification in network data. AI magazine, 29(3):93-93, 2008.
  22. [Sharma et al., 2024] Kartik Sharma, Yeon-Chang Lee, Sivagami Nambi, Aditya Salian, Shlok Shah, Sang-Wook Kim, and Srijan Kumar. A survey of graph neural net- works for social recommender systems. ACM Computing Surveys, 56(10):1-34, 2024.
  23. [Shokri et al., 2017] Reza Shokri, Marco Stronati, Con- gzheng Song, and Vitaly Shmatikov. Membership infer- ence attacks against machine learning models. In 2017 IEEE symposium on security and privacy (SP), pages 3- 18. IEEE, 2017.
  24. [Song and Shmatikov, 2019] Congzheng Song and Vitaly Shmatikov. Auditing data provenance in text-generation models. In Proceedings of the 25th ACM SIGKDD In- ternational Conference on Knowledge Discovery & Data Mining, pages 196-206, 2019.
  25. [Traud et al., 2012] Amanda L Traud, Peter J Mucha, and Mason A Porter. Social structure of facebook networks. Physica A: Statistical Mechanics and its Applications, 391(16):4165-4180, 2012.
  26. [Tu et al., 2021] Wenxuan Tu, Sihang Zhou, Xinwang Liu, Xifeng Guo, Zhiping Cai, En Zhu, and Jieren Cheng. Deep fusion clustering network. In Proceedings of the AAAI conference on artificial intelligence, volume 35, pages 9978-9987, 2021.
  27. [Vapnik, 1991] Vladimir Vapnik. Principles of risk mini- mization for learning theory. Advances in neural infor- mation processing systems, 4, 1991.
  28. [Veličković et al., 2017] Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua Bengio. Graph attention networks. arXiv preprint arXiv:1710.10903, 2017.
  29. [Wei et al., 2024] Yuecen Wei, Haonan Yuan, Xingcheng Fu, Qingyun Sun, Hao Peng, Xianxian Li, and Chunming Hu. Poincaré differential privacy for hierarchy-aware graph embedding. In Proceedings of the AAAI Conference on Ar- tificial Intelligence, volume 38, pages 9160-9168, 2024.
  30. [Wei et al., 2025] Yuecen Wei, Xingcheng Fu, Lingyun Liu, Qingyun Sun, Hao Peng, and Chunming Hu. Prompt- based unifying inference attack on graph neural networks. In Proceedings of the AAAI Conference on Artificial Intel- ligence, volume 39, pages 12836-12844, 2025.
  31. [Wu et al., 2019] Felix Wu, Amauri Souza, Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Weinberger. Sim- plifying graph convolutional networks. In International conference on machine learning, pages 6861-6871. Pmlr, 2019.
  32. [Wu et al., 2020a] Tailin Wu, Hongyu Ren, Pan Li, and Jure Leskovec. Graph information bottleneck. Advances in Neural Information Processing Systems, 33:20437-20448, 2020.
  33. [Wu et al., 2020b] Zonghan Wu, Shirui Pan, Fengwen Chen, Guodong Long, Chengqi Zhang, and Philip S Yu. A com- prehensive survey on graph neural networks. IEEE trans- actions on neural networks and learning systems, 32(1):4- 24, 2020.
  34. [Wu et al., 2022] Qitian Wu, Hengrui Zhang, Junchi Yan, and David Wipf. Handling distribution shifts on graphs: An invariance perspective. arXiv preprint arXiv:2202.02466, 2022.
  35. [You et al., 2020] Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, and Yang Shen. Graph con- trastive learning with augmentations. Advances in neural information processing systems, 33:5812-5823, 2020.
  36. [Zhang et al., 2021] Xiao-Meng Zhang, Li Liang, Lin Liu, and Ming-Jing Tang. Graph neural networks and their cur- rent applications in bioinformatics. Frontiers in genetics, 12:690049, 2021.
  37. [Zhang et al., 2024a] Guixian Zhang, Shichao Zhang, and Guan Yuan. Bayesian graph local extrema convolu- tion with long-tail strategy for misinformation detection. ACM Transactions on Knowledge Discovery from Data, 18(4):1-21, 2024.
  38. [Zhang et al., 2024b] Yi Zhang, Yuying Zhao, Zhaoqing Li, Xueqi Cheng, Yu Wang, Olivera Kotevska, S Yu Philip, and Tyler Derr. A survey on privacy in graph neural networks: Attacks, preservation, and applications. IEEE Transactions on Knowledge and Data Engineering, 2024.
  39. [Zhang et al., 2025] Guixian Zhang, Guan Yuan, Debo Cheng, Lin Liu, Jiuyong Li, and Shichao Zhang. Disen- tangled contrastive learning for fair graph representations. Neural Networks, 181:106781, 2025.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards