PrivacyGuard: A Modular Framework for Privacy Auditing in Machine Learning

Luca Melis, Matthew Grange, Iden Kalemaj, Karan Chadha, Shengyuan Hu +2 more
10/27/2025
cs.LG

Official code: facebookresearch/PrivacyGuard (35 stars, Apache-2.0, last commit 2026-04-24).

Abstract

The increasing deployment of Machine Learning (ML) models in sensitive domains motivates the need for robust, practical privacy assessment tools. PrivacyGuard is a comprehensive tool for empirical differential privacy (DP) analysis, designed to evaluate privacy risks in ML models through state-of-the-art inference attacks and advanced privacy measurement techniques. To this end, PrivacyGuard implements a diverse suite of privacy attack -- including membership inference , extraction, and reconstruction attacks -- enabling both off-the-shelf and highly configurable privacy analyses. Its modular architecture allows for the seamless integration of new attacks, and privacy metrics, supporting rapid adaptation to emerging research advances. We make PrivacyGuard available at https://github.com/facebookresearch/PrivacyGuard.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

PrivacyGuard platform for Privacy Attacks and Analysis. Perform privacy analyses of ML models using Inference Attacks and Extraction Attacks. PrivacyGuard library implements varied, SotA privacy attacks, along with tooling to analyze results. Please see the README and tutorials to get started!

3515Python, Jupyter NotebookMay 15, 20255 months agoApache-2.0

Similar Papers

Cite this paper

@article{melis2025privacyguard,
  title  = {PrivacyGuard: A Modular Framework for Privacy Auditing in Machine Learning},
  author = {Luca Melis and Matthew Grange and Iden Kalemaj and Karan Chadha and Shengyuan Hu and Elena Kashtelyan and Will Bullock},
  year   = {2025},
  eprint = {2510.23427},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.23427v1}
}

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

Discussion