Optimizing Canaries for Privacy Auditing with Metagradient Descent
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
In this work we study black-box privacy auditing, where the goal is to lower bound the privacy parameter of a differentially private learning algorithm using only the algorithm's outputs (i.e., final trained model). For DP-SGD (the most successful method for training differentially private deep learning models), the canonical auditing approach uses membership inference - an auditor comes with a small set of special "canary" examples, inserts a random subset of them into the training set, and then tries to discern which of their canaries were included in the training set (typically via a membership inference attack). The auditor's success rate then provides a lower bound on the privacy parameters of the learning algorithm. Our main contribution is a method for optimizing the auditor's canary set to improve privacy auditing, leveraging recent work on metagradient optimization (Engstrom et al., 2025). Our empirical evaluation demonstrates that in certain instances, using such optimized canaries can improve empirical lower bounds for differentially private image classification models by several times when compared to canaries proposed in prior work. Furthermore, we demonstrate that our method is DP-SGD agnostic and efficient: canaries optimized for non-private SGD with a small model architecture remain effective when auditing larger models trained with DP-SGD.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 34 of its 45 references that are in the map. First posted on arXiv 21 Jul 2025.
Builds on
34 of 45 references.
Closest ancestors · 3
Same direction, newest first
- 2025Enhancing One-run Privacy Auditing with Quantile Regression-Based Membership Inference18 Jun
- 2025Privacy Auditing of Large Language Models9 Mar
- 2024PANORAMIA: Privacy Auditing of Machine Learning Models without Retraining12 Feb
Other references · 31
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2016Wide Residual Networkscited by 3,070
- 2016Deep Learning with Differential Privacycited by 2,728
- 2018DARTS: Differentiable Architecture Searchcited by 1,798
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
- 2019Meta-Learning with Implicit Gradientscited by 525
- 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 360
- 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 304
- 2017Forward and Reverse Gradient-Based Hyperparameter Optimizationcited by 234
- 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 234
- 2022Unlocking High-Accuracy Differentially Private Image Classification through Scalecited by 224
19 more
- 2020Auditing Differentially Private Machine Learning: How Private is Private SGD?cited by 218
- 2021Adversary Instantiation: Lower Bounds for Differentially Private Machine Learningcited by 199
- 2022If Influence Functions are the Answer, Then What is the Question?cited by 144
- 2023Privacy Auditing with One (1) Training Runcited by 123
- 2020Stabilizing Differentiable Architecture Search via Perturbation-based Regularizationcited by 102
- 2022Debugging Differential Privacy: A Case Study for Privacy Auditingcited by 40
- 2018Detecting Violations of Differential Privacycited by 39
- 2024Auditing f-Differential Privacy in One Runcited by 30
- 2022CANIFE: Crafting Canaries for Empirical Privacy Measurement in Federated Learningcited by 24
- 2025Optimizing ML Training with Metagradient Descentcited by 23
- 2024Nearly Tight Black-Box Auditing of Differentially Private Machine Learningcited by 21
- 2024Tighter Privacy Auditing of DP-SGD in the Hidden State Threat Modelcited by 18
- 2025The Canary's Echo: Auditing Privacy Risks of LLM-Generated Synthetic Textcited by 18
- 2020Gradient-based Hyperparameter Optimization Over Long Horizonscited by 12
- 2024The Last Iterate Advantage: Empirical Auditing and Principled Heuristic Analysis of Differentially Private SGDcited by 11
- 2024It's Our Loss: No Privacy Amplification for Hidden State DP-SGD With Non-Convex Losscited by 10
- 2025How Well Can Differential Privacy Be Audited in One Run?cited by 9
- 2014Automatic Differentiation of Algorithms for Machine Learningcited by 7
- 2024Auditing Differential Privacy Guarantees Using Density Estimationcited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2026Your Privacy Depends on Others: Collusion Vulnerabilities in Individual Differential Privacycited by 1
- 2026On Reliability of Membership Inference Vulnerability Evaluationcited by 1
- 2025Beyond Membership: Limitations of Add/Remove Adjacency in Differential Privacycited by 0
- 2026Detectability in Diversity: Improved Canary Crafting for Privacy Auditing in One Runcited by 0
- 2026Advancing the State-of-the-Art in Empirical Privacy Auditingcited by 0
- 2026Phantoms and Disclosures: A Statistical Framework for Auditing Privacy in Synthetic Datacited by 0
- 2026Phantoms and Disclosures: A Statistical Framework for Auditing Privacy in Synthetic Data15 Jun 2026
- 2026Advancing the State-of-the-Art in Empirical Privacy Auditing9 Jun 2026
- 2026Detectability in Diversity: Improved Canary Crafting for Privacy Auditing in One Run26 May 2026
- 2026On Reliability of Membership Inference Vulnerability Evaluation25 May 2026
- 2026Your Privacy Depends on Others: Collusion Vulnerabilities in Individual Differential Privacy19 Jan 2026
- 2025Beyond Membership: Limitations of Add/Remove Adjacency in Differential Privacy26 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2026Revisiting the Provable-Auditable Privacy Gap of DP-SGD
- 2021Generalization Techniques Empirically Outperform Differential Privacy against Membership Inference
- 2024Too Good to be True? Turn Any Model Differentially Private With DP-Weights
- 2022On the utility and protection of optimization with differential privacy and classic regularization techniques
- 2022Bounding Membership Inference
- 2024Mitigating Privacy Risk in Membership Inference by Convex-Concave Loss
- 2026Privacy Auditing with Zero (0) Training Run ↗
- 2023Discriminative Adversarial Privacy: Balancing Accuracy and Membership Privacy in Neural Networks