[Paper Review] A General Approach to Adding Differential Privacy to Iterative Training Procedures
The paper introduces a modular framework to integrate differential privacy into iterative training by decoupling training procedure, privacy mechanism configuration, and privacy accounting, generalizing the Moments Accountant to heterogeneous vector queries.
In this work we address the practical challenges of training machine learning models on privacy-sensitive datasets by introducing a modular approach that minimizes changes to training algorithms, provides a variety of configuration strategies for the privacy mechanism, and then isolates and simplifies the critical logic that computes the final privacy guarantees. A key challenge is that training algorithms often require estimating many different quantities (vectors) from the same set of examples --- for example, gradients of different layers in a deep learning architecture, as well as metrics and batch normalization parameters. Each of these may have different properties like dimensionality, magnitude, and tolerance to noise. By extending previous work on the Moments Accountant for the subsampled Gaussian mechanism, we can provide privacy for such heterogeneous sets of vectors, while also structuring the approach to minimize software engineering challenges.
Motivation & Objective
- Motivate practical DP integration into iterative training on privacy-sensitive data.
- Decouple training procedure, privacy mechanism configuration, and privacy accounting to reduce errors and engineering effort.
- Generalize DP accounting to heterogeneous groups of vectors collected during training.
- Provide modular mechanisms for grouping vectors and composing privacy guarantees across groups.
- Offer implementation guidance and references to TensorFlow Privacy for real-world usage.
Proposed method
- Represent training updates as Gaussian sum queries with per-group clipping and noise parameters.
- Introduce joint and separate clipping strategies for groups of vectors to manage heterogeneity in scale and dimension.
- Show how to compose privacy guarantees from multiple vector groups into a single equivalent Gaussian sum query for accounting.
- Describe hyperparameter strategies to balance privacy-utility tradeoffs via sampling probability q, clipping S_g, and noise sigma_g.
- Propose a privacy ledger and post-hoc privacy accounting (RDP) that decouples privacy cost calculation from training implementation.
Experimental results
Research questions
- RQ1How can differential privacy be applied to iterative training when multiple heterogeneous vectors (e.g., layer gradients, batch norm stats, metrics) are queried per round?
- RQ2How can we compose privacy guarantees across multiple vector groups with potentially different norms and noise levels?
- RQ3What practical strategies and tooling (e.g., TensorFlow Privacy) support robust, configurable DP training without compromising training code integrity?
- RQ4What hyperparameter strategies (sampling, clipping, noise) yield desirable privacy-utility tradeoffs in large-scale iterative training?
Key findings
- A modular approach enables privacy for heterogeneous sets of vectors by extending the Moments Accountant to multi-vector queries.
- Joint clipping with per-group scales can outperform per-vector clipping in certain scale-diverse scenarios.
- A single Gaussian sum query equivalence allows applying a unified privacy accountant to complex, multi-group DP mechanisms.
- Hyperparameter strategies (q, S_g, sigma_g) provide guidance for achieving target privacy guarantees (ε, δ) while preserving utility.
- TensorFlow Privacy implements these ideas, providing DPQuery abstractions and a privacy ledger for post-hoc accounting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.