Practical Bayes-Optimal Membership Inference Attacks

Abstract

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 Sabrayolles et al., 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.

Cite

Text

Lassila et al. "Practical Bayes-Optimal Membership Inference Attacks." Advances in Neural Information Processing Systems, 2025.

Markdown

[Lassila et al. "Practical Bayes-Optimal Membership Inference Attacks." Advances in Neural Information Processing Systems, 2025.](https://mlanthology.org/neurips/2025/lassila2025neurips-practical/)

BibTeX

@inproceedings{lassila2025neurips-practical,
  title     = {{Practical Bayes-Optimal Membership Inference Attacks}},
  author    = {Lassila, Marcus and Östman, Johan and Ngo, Khac-Hoang and Amat, Alexandre Graell i},
  booktitle = {Advances in Neural Information Processing Systems},
  year      = {2025},
  url       = {https://mlanthology.org/neurips/2025/lassila2025neurips-practical/}
}