Practical Bayes-Optimal Membership Inference Attacks
Paper in proceeding, 2025

We develop practical and theoretically grounded membership inference attacks (MIAs) against both independent and identically distributed (i.i.d.) data and graph-structured data. Building on the Bayesian decision-theoretic framework of [1], we derive the Bayes-optimal membership inference rule for node-level MIAs against graph neural networks, addressing key open questions about optimal query strategies in the graph setting. We introduce BASE and G-BASE, tractable approximations of the Bayes-optimal membership inference. G-BASE achieves superior performance compared to previously proposed classifier-based node-level MIA attacks. BASE, which is also applicable to non-graph data, matches or exceeds the performance of prior state-of-the-art MIAs, such as LiRA and RMIA, at a significantly lower computational cost. Finally, we show that BASE and RMIA are equivalent under a specific hyperparameter setting, providing a principled, Bayes-optimal justification for the RMIA attack.

Author

Marcus Lassila

Chalmers, Electrical Engineering, Communication, Antennas and Optical Networks

Johan Östman

AI Sweden

Khac-Hoang Ngo

Linköping University

Alexandre Graell Amat

Chalmers, Electrical Engineering, Communication, Antennas and Optical Networks

Advances in Neural Information Processing Systems

10495258 (ISSN)

Vol. 38 38522-38556
9798331338275 (ISBN)

39th Conference on Neural Information Processing Systems, NeurIPS 2025
San Diego, USA,

Theory for the Privacy and Security of Practical Federated Learning

Swedish Research Council (VR) (2023-05065), 2023-12-01 -- 2027-11-30.

Reliable and Secure Coded Edge Computing

Swedish Research Council (VR) (2020-03687), 2021-01-01 -- 2024-12-31.

Subject Categories (SSIF 2025)

Computer Sciences

Other Computer and Information Science

More information

Latest update

9/8/2026 8