JME: Continual Moment Estimation under Differential PrivacyContinual Release Moment Estimation with Differential Privacy
The authors propose JME, which jointly differentially privately estimates the first and second moments under continual release; the authors state that second-moment privacy is "free" and that error is lower under high privacy.
- The continual release setting requires differentially private estimation of both the first and second moments; the naive approach must split the privacy budget, which the authors state adds more noise to both estimates.
- The authors propose JME: noise is added separately using a matrix mechanism, but the joint sensitivity is analyzed exactly and the scaling parameter λ is fixed so that the total sensitivity equals the sensitivity of estimating only the first moment.
- Theoretically, the authors give unbiasedness, (ϵ, δ)-DP and error bounds, and state that λ-JME is Pareto-dominant over IME and CS; experimentally, under high privacy, JME's KL and CIFAR-10 accuracy are better than the PP/DP-Adam baselines.
- The authors state that whether postprocessing is optimal in the low-privacy regime remains to be explored, and plan to study problem-specific factorization; the experiments cover only Gaussian density estimation and DP-Adam on CIFAR-10.
- Benchmarks
- CIFAR-10
- Metrics
- Frobenius norm errorKL divergenceAccuracy (%)
The new method JME can continuously estimate the first and second moments of data under differential privacy, with lower noise than naive methods. It uses the matrix mechanism and joint sensitivity analysis so that second-moment estimation incurs no additional privacy cost, improving accuracy while preserving privacy. The paper validates its effectiveness in two applications: estimating running means and covariance matrices for Gaussian density estimation, and training models with DP-Adam on CIFAR-10.
Paper analysis
What problem does this paper attempt to solve?
The authors aim to solve joint differentially private estimation of the first and second moments under continual release, avoiding the extra noise caused by splitting the budget.
Core problem: under continual release, privately estimate the first and second moments of a data stream simultaneously, without increasing noise by splitting the privacy budget as naive methods do.
- Application scenarios: The authors' examples include Adam on sequentially arriving data, real-time systems such as healthcare/finance/recommendation, and Gaussian density estimation.
- Shortcomings of existing approaches: If multiple quantities are to be estimated from the same data, the authors state that the naive approach requires splitting the privacy budget, making both estimates noisier and less accurate.
- Core observation: The authors jointly analyze the sensitivity of the two estimation processes and, with a trade-off parameter, argue that the second moment can be estimated without increasing the noise required for the first moment.
- Proposed approach: They propose Joint Moment Estimation (JME), which estimates the two moments separately based on a matrix factorization mechanism, and give theoretical properties and two application examples.
- Privacy setting:
- The data is a stream of d-dimensional vectors, and each vector's norm has an upper bound ζ.
- Neighboring datasets are defined as differing in only one data point.
- The goal is (ϵ, δ)-differential privacy under continual release.
- The paper has no attacker or defense threat model; it is a privacy estimation method.
What related research exists?
Related work mainly falls into three categories: private moment/covariance estimation, exact sensitivity analysis, and matrix mechanisms and continual release.
Private moment and covariance estimation
- Smith [40], Duchi et al. [11]: The authors mention that optimal results already exist under the central model and the local model.
- Sheffet [39]: Proposes three DP algorithms to approximate the second-moment matrix and guarantee positive definiteness.
- Amin et al. [3], Kapralov & Talwar [30], etc.: The authors state that these covariance estimation works do not directly apply to continual release, and improve over the Gaussian mechanism only in very high privacy regimes.
Precise sensitivity analysis
- Lebeda & Retschmeier [33], Wilkins et al. [43], Joseph et al. [23], Lebeda [32]: The authors summarize these as precise sensitivity analysis used intensively in the literature.
- The paper places its own joint sensitivity analysis in this line of work, but does not point out shortcomings of each paper individually.
Matrix mechanism and continual release
- Li et al. [34]: The matrix mechanism is the foundation this paper directly relies on.
- Choquette-Choo et al. [7, 8, 9], Denisov et al. [10], Dvijotham et al. [12], the Henzinger/Upadhyay series [17, 19, 20, 21], Kalinin & Lampert [26], Kalinin et al. [27]: The authors state that these works advanced matrix factorization mechanisms in continual release / private online optimization.
- Dwork et al. [13]: Proposes differential privacy under continual observation, which is the source of this paper's problem setting.
Baselines directly compared in this paper
- IME: Independent Moment Estimation, which privatizes the two moments separately using the composition theorem.
- CS: Concatenate-and-split, which concatenates the first- and second-order quantities, privatizes them once, then splits them apart.
- PP / debiased PP: First privatize the first-order quantity, then obtain the second-order quantity by post-processing; in the DP-Adam experiments these correspond to DP-Adam and DP-Adam-Debiased, with an additional DP-Adam-Clip baseline.
- Authors' positioning: Compared with these methods, the key difference of JME is the "second moment privacy for free" brought by joint sensitivity analysis.
How does the paper address this problem?
JME estimates the two moments separately using the matrix mechanism, and uses joint sensitivity analysis to reduce the total noise to the level of estimating only the first moment.
The overall idea is to write both the first moment and the second moment in the form of a workload matrix times the data matrix, then use the matrix mechanism with correlated noise; the key design is joint sensitivity analysis and a fixed scaling parameter λ, so that second-moment estimation does not increase the noise required for the first moment.
Problem Formalization
- The input is a stream of vectors x1,…,xn, where the ℓ2 norm of each xi does not exceed ζ.
- The goal is to continually output the weighted first-order sum and second-order sum: Yt=∑i=1t atixi, St=∑i=1t btixixi⊤.
- The authors write this as Y = A1 X, S = A2 (X • X), where A1 and A2 are lower triangular workload matrices.
JME Algorithm
- At each step, private versions of xt and xt ⊗ xt are constructed simultaneously, then weighted and summed to output the two moments.
- The noise comes from the Gaussian mechanism, with the noise structure controlled by C1 and C2; by default C1 = C2 = I.
- The scaling parameter λ is fixed as ∥C1∥²₁→2 / (cd ζ² ∥C2∥²₁→2), where cd = 2 when d ≥ 2.
- The authors state that this choice makes the sensitivity of the joint estimation equal to the sensitivity of estimating only the first moment, thus yielding "privacy for free".
Theoretical Properties
- Theorem 3.1: The authors state that both estimates are unbiased and the noise distribution is symmetric.
- Theorem 3.2: The authors state that Algorithm 1 is (ϵ, δ)-differentially private.
- Theorem 3.3: The authors give expected Frobenius error formulas for the first- and second-moment estimates.
- The paper also gives λ-JME (Appendix Algorithm 3), which treats λ as a free hyperparameter.
Relationship to Other Methods
- IME: Privatizes the two moments separately and splits the budget via composition; the authors state that it does not have privacy-for-free.
- CS: Concatenates and then privatizes once; the authors state that λ-JME Pareto-dominates CS on the first-/second-moment error tradeoff.
- PP: Privatizes the first-order quantity first and then squares it to obtain the second-order quantity; the authors state that it also has privacy-for-free, but the second-moment estimate is not unbiased unless explicitly debiased.
Two Applications
- Gaussian density estimation: Constructs a private Gaussian estimate using the running mean and covariance; the authors state that the covariance estimate will have bias and give a debiased version.
- DP-Adam: Treats Adam's m and v as the first moment and the diagonal of the second moment; the authors adjust JME to estimate only the diagonal to save runtime and memory, and state that the sensitivity is unchanged (Theorem 4.3).
What experiments did the paper conduct?
The experiments mainly verify two points: Gaussian density estimation and DP-Adam on CIFAR-10, with JME performing better in the high-privacy regime.
Experimental Setup
- Methods tested: JME, PP, PP (Debiased); on CIFAR-10, additionally DP-Adam-Clip.
- Tasks/data: Synthetic Gaussian density estimation; CIFAR-10 image training.
- Metrics: Frobenius norm error, KL divergence, Accuracy (%).
- Number of repetitions: 1000 runs for Gaussian density estimation; 3 runs for CIFAR-10.
- Key parameters: Figure 3 uses n = 200; the two CIFAR-10 privacy budgets are ε ≈ 1.7 and ε ≈ 0.16, with δ = 10^-6.
- Other settings: In CIFAR-10, batch size 256 corresponds to ε ≈ 1.7, and batch size 1 corresponds to ε ≈ 0.16; the noise multipliers are 1 and 2, respectively (Table 3).
Main Results
Swipe horizontally to read the table
Setting Method Epoch 10 Accuracy (%) Source ε ≈ 0.16 DP-Adam-JME 30.38 ± 0.62 Table 2 ε ≈ 0.16 DP-Adam-Clip 28.14 ± 0.33 Table 2 ε ≈ 0.16 DP-Adam-Debiased 29.14 ± 0.60 Table 2 ε ≈ 0.16 DP-Adam 10.48 ± 0.83 Table 2 ε ≈ 1.7 DP-Adam-JME 47.94 ± 0.85 Table 2 ε ≈ 1.7 DP-Adam-Clip 44.34 ± 0.28 Table 2 ε ≈ 1.7 DP-Adam-Debiased 48.53 ± 0.99 Table 2 ε ≈ 1.7 DP-Adam 43.07 ± 0.86 Table 2 - The authors state that under the high-privacy setting of ε ≈ 0.16, JME's final accuracy is higher than PP/Debiased/Clip.
- The authors state that under the medium-privacy setting of ε ≈ 1.7, JME outperforms vanilla DP-Adam but is lower than the debiased version.
- The authors also state that vanilla DP-Adam "cannot handle" the required noise under high noise; the corresponding values in the table are close to random level.
Gaussian density estimation
- What was tested: Sampling n=200 from p(x)=N(μ,Σ), comparing the private density estimates of JME and PP.
- Results: Figure 3 shows that under σ=2 (d=5) and σ=4 (d=10), JME's average KL divergence is lower than PP and PP (Debiased); the caption states that this gap appears after about 10 samples.
- Authors' interpretation: The authors state that under the high-privacy regime, JME fits the true distribution better.
Visualization of Theoretical Error Comparison
- What was tested: Figures 2, 5, 6, and 7 compare the expected error of JME and PP under different d, factorization, and workload.
- Results: The authors state that when d=1, JME is consistently better than PP; when d=1000 or d=100, JME is better only in the high-privacy regime.
- Authors' interpretation: Square root matrix factorization improves both methods; under the low-privacy regime, PP may be better.
Other Ablations and Analyses
- Figure 1: In an example with d=10, n=100, C1=C2=I, A=E1, ζ=1, σϵ,δ=1/2, the authors state that λ-JME Pareto-dominates IME and CS.
- Figure 5: In the Adam second-order diagonal estimation with d=10^6 and n=1000, the authors state that JME is better in the mid-to-high privacy regime.
- Figure 7: Under exponential decay (β=0.9) and sliding window (w=10) workloads, the authors state that matrix factorization improves both methods in the high-privacy regime.
- Table 3: JME and joint clipping require an additional scaling hyperparameter; the paper states that these values were selected after optimization.
What are some points that can be further explored?
The authors explicitly propose only two follow-up directions; the experimental coverage is also mainly limited to two application scenarios.
Limitations and follow-up directions noted by the authors
- Whether postprocessing is already optimal in the low-privacy regime: In Summary and Discussion, the authors write that they want to explore whether postprocessing is simply optimal under low privacy, or whether a better privacy-utility trade-off still exists.
- Problem-specific factorization: In the same section, the authors write that they plan to explore problem-specific factorizations and combine them with the method in this paper.
Scope of experimental coverage
- The applications tested are two types: Gaussian density estimation and DP-Adam on CIFAR-10.
- The CIFAR-10 experiments compare four methods: DP-Adam-JME, DP-Adam-Clip, DP-Adam-Debiased, DP-Adam.
- The Gaussian density estimation setting is n = 200, 1000 runs; CIFAR-10 uses 3 runs.
- The paper does not report experiments on other datasets or model architectures beyond these settings.
- The paper does not report human evaluation, attack evaluation or defense evaluation.
Summarize the main content of the paper
The authors propose JME, which uses joint sensitivity analysis to simultaneously privatize the first and second moments under continual release, and achieves lower error under high privacy.
This paper is a differentially private estimation method: the authors address the problem of simultaneously estimating the first and second moments in the continual release setting, and argue that naively splitting the privacy budget sacrifices accuracy on both sides.
- Method: JME estimates the two moments separately based on the matrix mechanism, but fixes λ through joint sensitivity analysis so that the total sensitivity equals the sensitivity of estimating only the first moment; the authors call this "privacy for free" for the second moment.
- Theoretical results: The authors give unbiasedness, (ϵ, δ)-DP and expected error bounds, and state that λ-JME has a Pareto advantage over IME and CS.
- Gaussian density estimation: In Figure 3, at σ=2 (d=5) and σ=4 (d=10), the average KL divergence of JME is lower than that of PP and PP (Debiased).
- CIFAR-10 training: In Table 2, at ε≈0.16, DP-Adam-JME reaches 30.38 ± 0.62 at epoch 10, higher than DP-Adam-Debiased's 29.14 ± 0.60 and DP-Adam's 10.48 ± 0.83; at ε≈1.7, JME is 47.94 ± 0.85, lower than DP-Adam-Debiased's 48.53 ± 0.99.
- Authors' conclusion: The authors believe JME has more advantage in the high-privacy regime; whether postprocessing is optimal in the low-privacy regime remains to be studied.