[Paper Review] One-shot Empirical Privacy Estimation for Federated Learning
This paper proposes a one-shot empirical privacy estimation method for federated learning that estimates user-level differential privacy (DP) epsilon during a single training run, without requiring retraining or prior knowledge of model architecture, data, or DP algorithm. By inserting multiple canary clients with random updates, the method efficiently estimates privacy loss under the Gaussian mechanism with provable correctness and minimal computational overhead, outperforming prior multi-run approaches in accuracy and efficiency.
Privacy estimation techniques for differentially private (DP) algorithms are useful for comparing against analytical bounds, or to empirically measure privacy loss in settings where known analytical bounds are not tight. However, existing privacy auditing techniques usually make strong assumptions on the adversary (e.g., knowledge of intermediate model iterates or the training data distribution), are tailored to specific tasks, model architectures, or DP algorithm, and/or require retraining the model many times (typically on the order of thousands). These shortcomings make deploying such techniques at scale difficult in practice, especially in federated settings where model training can take days or weeks. In this work, we present a novel "one-shot" approach that can systematically address these challenges, allowing efficient auditing or estimation of the privacy loss of a model during the same, single training run used to fit model parameters, and without requiring any a priori knowledge about the model architecture, task, or DP training algorithm. We show that our method provides provably correct estimates for the privacy loss under the Gaussian mechanism, and we demonstrate its performance on well-established FL benchmark datasets under several adversarial threat models.
Motivation & Objective
- To address the scalability and practicality limitations of existing privacy auditing techniques in federated learning, which often require thousands of retraining runs and strong assumptions about the adversary or model.
- To enable efficient, single-training-run privacy estimation in federated learning without prior knowledge of the model architecture, task, or data distribution.
- To provide a provably correct estimate of privacy loss under the Gaussian mechanism, even in complex, real-world FL settings with non-iid data and limited client participation.
- To offer a general-purpose, model-agnostic method that can be applied across diverse FL applications without customization or expensive canary crafting.
Proposed method
- Insert multiple independent canary clients into the federated training process, each with random model updates designed to simulate client contributions.
- Use the final model's dot product with each canary's update to estimate the likelihood of membership inference, forming a privacy loss proxy.
- Estimate the privacy parameter ε by analyzing the distribution of these dot products across all canaries, leveraging the statistical properties of the Gaussian mechanism.
- Apply a one-shot estimation framework that avoids iterative retraining, enabling privacy auditing during the same training run used for model optimization.
- Use both seen and unseen canaries to validate robustness and consistency of the ε estimate across different training dynamics.
- Ensure minimal computational overhead by avoiding model-specific or data-specific canary crafting, making the method agnostic to task, model, or dataset.
Experimental results
Research questions
- RQ1Can a single training run be used to empirically estimate user-level differential privacy in federated learning without retraining?
- RQ2How does the proposed one-shot method compare in accuracy and efficiency to existing multi-run privacy auditing techniques?
- RQ3To what extent does the method remain robust when the number of canaries varies or when training dynamics deviate from idealized assumptions?
- RQ4Can the method detect privacy leakage due to non-iid data, non-uniform client sampling, or non-isotropic noise, even without analytical bounds?
- RQ5How does the method's estimate of ε relate to the true privacy loss, especially in settings where analytical bounds are loose or unavailable?
Key findings
- The method produces privacy estimates that are significantly closer to the analytical ε bound (e.g., 6.76 vs. 34.5) than the CANIFE method (0.879), demonstrating superior accuracy in a controlled setting.
- Using 1000 canaries in a single run yields privacy estimates nearly identical to those from ten runs with 100 canaries each, showing consistency and robustness across different canary counts.
- The distribution of estimated ε values across 50 experiments is stable and tightly concentrated, with minimal variation across noise multipliers and canary configurations.
- The method achieves provably correct estimates under the Gaussian mechanism, even when the training process deviates from ideal i.i.d. assumptions.
- The approach incurs negligible computational overhead and does not require model-specific or data-specific canary crafting, enabling broad applicability across FL systems.
- Empirical results on StackOverflow and fashion MNIST datasets confirm that the method provides reliable, single-run privacy estimates without degrading model utility.
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.