mlsanityData to 14 Oct 2026

Optimizing Canaries for Privacy Auditing with Metagradient Descent

arXiv 2507.15836 ↗First posted 21 Jul 2025cs.LG cs.CRcited by 6

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

  1. 2025Enhancing One-run Privacy Auditing with Quantile Regression-Based Membership Inference18 Jun
  2. 2025Privacy Auditing of Large Language Models9 Mar
  3. 2024PANORAMIA: Privacy Auditing of Machine Learning Models without Retraining12 Feb

Other references · 31

  1. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  2. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
  3. 2016Wide Residual Networkscited by 3,070
  4. 2016Deep Learning with Differential Privacycited by 2,728
  5. 2018DARTS: Differentiable Architecture Searchcited by 1,798
  6. 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
  7. 2019Meta-Learning with Implicit Gradientscited by 525
  8. 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 360
  9. 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 304
  10. 2017Forward and Reverse Gradient-Based Hyperparameter Optimizationcited by 234
  11. 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 234
  12. 2022Unlocking High-Accuracy Differentially Private Image Classification through Scalecited by 224
19 more
  1. 2020Auditing Differentially Private Machine Learning: How Private is Private SGD?cited by 218
  2. 2021Adversary Instantiation: Lower Bounds for Differentially Private Machine Learningcited by 199
  3. 2022If Influence Functions are the Answer, Then What is the Question?cited by 144
  4. 2023Privacy Auditing with One (1) Training Runcited by 123
  5. 2020Stabilizing Differentiable Architecture Search via Perturbation-based Regularizationcited by 102
  6. 2022Debugging Differential Privacy: A Case Study for Privacy Auditingcited by 40
  7. 2018Detecting Violations of Differential Privacycited by 39
  8. 2024Auditing f-Differential Privacy in One Runcited by 30
  9. 2022CANIFE: Crafting Canaries for Empirical Privacy Measurement in Federated Learningcited by 24
  10. 2025Optimizing ML Training with Metagradient Descentcited by 23
  11. 2024Nearly Tight Black-Box Auditing of Differentially Private Machine Learningcited by 21
  12. 2024Tighter Privacy Auditing of DP-SGD in the Hidden State Threat Modelcited by 18
  13. 2025The Canary's Echo: Auditing Privacy Risks of LLM-Generated Synthetic Textcited by 18
  14. 2020Gradient-based Hyperparameter Optimization Over Long Horizonscited by 12
  15. 2024The Last Iterate Advantage: Empirical Auditing and Principled Heuristic Analysis of Differentially Private SGDcited by 11
  16. 2024It's Our Loss: No Privacy Amplification for Hidden State DP-SGD With Non-Convex Losscited by 10
  17. 2025How Well Can Differential Privacy Be Audited in One Run?cited by 9
  18. 2014Automatic Differentiation of Algorithms for Machine Learningcited by 7
  19. 2024Auditing Differential Privacy Guarantees Using Density Estimationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 5.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Revisiting the Provable-Auditable Privacy Gap of DP-SGD
  2. 2021Generalization Techniques Empirically Outperform Differential Privacy against Membership Inference
  3. 2024Too Good to be True? Turn Any Model Differentially Private With DP-Weights
  4. 2022On the utility and protection of optimization with differential privacy and classic regularization techniques
  5. 2022Bounding Membership Inference
  6. 2024Mitigating Privacy Risk in Membership Inference by Convex-Concave Loss
  7. 2026Privacy Auditing with Zero (0) Training Run ↗
  8. 2023Discriminative Adversarial Privacy: Balancing Accuracy and Membership Privacy in Neural Networks