Skip to content

Initialization matters: Privacy-utility analysis of overparameterized neural networksInitialization Matters: Privacy-Utility Analysis of Overparameterized Neural Networks

arXiv· arXiv:2310.20579· Jiayuan Ye, Zhenyu Zhu, Fanghui Liu, Reza Shokri, Volkan CevherNational University of Singapore; EPFL; University of WarwickIndexed by this site · 27 days ago· Originally publishedDefenses

Quick read

Analysis and theory

Based on the paper PDF (AI-generated); refer to the original

The authors analyze the KL privacy bound of fully connected networks trained with Langevin diffusion, claiming that under LeCun/Xavier initialization the bound improves as depth increases, while under He/NTK it worsens.

Questions
How does over-parameterization (width, depth) affect the privacy bound of the training algorithm under different initializations? Gradient clipping in DP-SGD makes the privacy bound insensitive to network width, depth and initialization; the authors aim to bypass clipping to analyze this question.
Methods
The authors analyze Langevin diffusion without gradient clipping, prove that the KL privacy loss is determined by the expected squared norm of the gradient difference on adjacent datasets, and give bounds for fully connected ReLU networks and their linearized variants that vary with width, depth, and per-layer initialization variance, then prove an excess empirical risk bound under a fixed KL privacy budget.
Experiments and results
The authors state that increasing width worsens the privacy bound under all initializations; depth improves the bound under LeCun/Xavier initialization and worsens it under He/NTK. In the CIFAR-10 binary classification numerical experiments (6 runs), at 20 epochs under LeCun/Xavier the KL loss decreases with depth after depth exceeds 8, while at 50 epochs it increases with depth under all initializations.
Limitations and future work
The authors state that extending the privacy-utility trade-off results from linearized networks to deep neural networks is an open problem; whether the bound can be improved when the gradient subspace is low-rank is also left as an open problem. The numerical experiments cover only CIFAR-10 car/plane binary classification, noisy GD, width up to 1024, and depth up to 12.
Experimental setupfully connected ReLU network (DNN) · CIFAR-10 · KL privacy loss、excess empirical risk
Evaluated models
fully connected ReLU network (DNN)
Benchmarks
CIFAR-10
Metrics
KL privacy lossexcess empirical risk
AI summaryThe paper derives a privacy bound on the KL divergence between model distributions on worst-case adjacent datasets for overparameterized neural networks, and finds that it is mainly determined by the expected squared norm of the gradient with respect to the parameters during training. In linearized networks, this norm depends on the per-layer variance of the initialization distribution: under LeCun and Xavier initialization the privacy bound improves with depth, while under He and NTK it worsens with depth. Under a fixed KL privacy budget, the authors also give an excess empirical risk bound, and the privacy-utility trade-off with depth is likewise affected by initialization.

The paper derives a privacy bound on the KL divergence between model distributions on worst-case adjacent datasets for overparameterized neural networks, and finds that it is mainly determined by the expected squared norm of the gradient with respect to the parameters during training. In linearized networks, this norm depends on the per-layer variance of the initialization distribution: under LeCun and Xavier initialization the privacy bound improves with depth, while under He and NTK it worsens with depth. Under a fixed KL privacy budget, the authors also give an excess empirical risk bound, and the privacy-utility trade-off with depth is likewise affected by initialization.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors study how overparameterization (width, depth) under different initializations affects the KL privacy bound and the privacy-utility trade-off of the training algorithm.

    Core question: How does over-parameterization of neural networks (under different initializations) affect the privacy bound of the training algorithm on worst-case datasets?

    • Problem setting: Over-parameterized deep networks perform well, but model predictions can easily leak training data information under membership inference and reconstruction attacks; this leakage can be measured by the change in output distribution on adjacent datasets under the DP framework (Section 1).
    • Shortcomings of existing methods: The authors argue that the privacy bound of DP-SGD is too general—gradient clipping artificially ignores network properties (width, depth) and the training scheme (initialization), making the privacy bound insensitive to over-parameterization (Section 1).
    • Core observation: The authors prove that the KL privacy loss of Langevin diffusion is determined by the expected squared norm of the gradient difference on adjacent datasets (Theorem 3.1), and this gradient norm is directly related to the per-layer variance of the initialization distribution, so the privacy bound exhibits different depth dependence under different initialization schemes.
    • Contributions of the paper: The authors prove KL privacy bounds for fully connected ReLU networks and their linearized variants (varying with width, depth and per-layer initialization variance), prove an excess empirical risk bound under a fixed KL privacy budget, and verify with numerical experiments; the authors claim this is the first observation that the privacy bound improves with over-parameterization (increasing depth), and that the privacy-utility trade-off improves with increasing depth (Section 1).
    • Privacy model:
      • Privacy is defined as KL privacy (Definition 2.3): the KL divergence of the output distributions on any adjacent datasets D, D′ does not exceed ε, which the authors claim is a more relaxed notion than (ε, δ)-DP.
      • Adjacent datasets are any pair of datasets differing by only one record in the worst case (Definition 2.1).
      • The object of analysis is an L-layer fully connected ReLU network and its linearized variant trained with Langevin diffusion (no gradient clipping, no Lipschitz assumption).
  2. What related research exists?

    Related work falls into three groups: over-parameterization and NTK theory, membership inference privacy risks under over-parameterization, and high-dimensional differentially private learning.

    Overparameterization and NTK theory

    • Allen-Zhu et al. [3], Du et al. [21], Arora et al. [4], Cao & Gu [16] — theoretical benefits of overparameterization for global convergence and generalization; Jacot et al. [31] proposed the NTK, using kernel functions to describe the training dynamics of overparameterized DNNs.
    • Bubeck & Sellke [15], Zhu et al. [54], Tripuraneni et al. [50] — the pros and cons of overparameterization for topics such as robustness and covariate shift. The paper points out that these works do not address the relationship between overparameterization and privacy (under the differential privacy framework).

    Membership inference privacy risk under overparameterization

    • Tan et al. [47, 48] — study theoretically and empirically how overparameterization affects membership inference advantage and privacy, proving a trade-off between privacy and generalization error. The paper points out that this is a risk upper bound in the average case (randomly sampled training set), whereas the KL privacy bound in this paper is based on the strongest adversarial model in the DP definition, holds for any worst-case adjacent datasets, and differs in model setting and analytical tools.

    High-dimensional differentially private learning

    • Bassily et al. [9], Talwar et al. [46], Bassily et al. [11, 12], Asi et al. [5] — in private ERM and private stochastic convex optimization there is an unavoidable factor depending on the model dimension d.
    • Song et al. [45], Kairouz et al. [32], Li et al. [37] — use the low-rank structure of data features or gradient matrices to prove (approximately) dimension-independent excess risk bounds; Kasiviswanathan [33], Bassily et al. [13] use random projections to strengthen the low-rank property. The paper points out that these works study general high-dimensional problems and do not distinguish network choices by width, depth, and initialization; this paper focuses on fully connected networks and their linearized variants, giving more precise bounds.

    Positioning: The authors state that this paper is closest in goal to Tan et al. [47, 48], but the privacy concepts (worst-case KL vs. average-case membership inference advantage), model settings, and analytical tools all differ; compared with the high-dimensional private learning literature, this paper gives privacy-utility trade-off bounds that vary with width, depth, and initialization for specific network structures (Section 1.1).

  3. How does the paper address this problem?

    The authors use Langevin diffusion to bypass gradient clipping, reduce the KL privacy bound to the expected squared norm of the gradient difference, and then give explicit bounds for DNNs and linearized networks respectively.

    Overall approach: bypass the gradient clipping of DP-SGD and analyze Langevin diffusion without clipping and without a Lipschitz assumption; first prove that the KL privacy loss equals the integral of the expected squared norm of the gradient difference on adjacent datasets during training (Theorem 3.1), then give an explicit upper bound on this gradient difference that depends on width, depth and initialization variance, and finally prove an excess empirical risk bound under a fixed KL privacy budget.

    Problem Setup

    • Learning problem: n-record multiclass supervised learning, empirical risk minimization (Equation (1)), with cross-entropy loss (o ≥ 2) or logistic loss (o = 1).
    • Network: L-layer fully connected ReLU network (Equation (2)), hidden layer widths m1…mL−1, m0 = d, mL = o; a linearized network obtained by first-order Taylor expansion at initialization is also analyzed (Equation (3)).
    • Algorithm: Langevin diffusion (Equation (4)), per-dimension noise variance σ², time T; Appendix E gives an extension to constant-step-size noisy GD (Theorem E.1).
    • Initialization: Per-layer Gaussian initialization (Equation (5)), with variance βl for layer l; different βl recover the four schemes LeCun, He, NTK, Xavier (Table 1).
    • Assumptions: Assumption 2.2 (bounded data ∥x∥₂ ≤ √d); Assumption 2.4 (data i.i.d., E[x]=0, ∥x∥₂=√d, no two samples parallel) is used only for the utility analysis.

    KL Privacy Composition Theorem (Theorem 3.1)

    • Core identity: KL(W[0:T] | W′[0:T]) = 1/(2σ2) ∫0T 𝔼|∇ L(Wt;D) − ∇ L(Wt;D′)|22   dt (Equation (6)), i.e., the KL privacy loss equals the time integral of the expected squared norm of the gradient difference.
    • The authors state that this theorem extends the chain rule for KL divergence to continuous time and to processes whose drift difference may be unbounded, requiring only that the second moment of the drift difference be finite; the proof uses Girsanov's theorem (Appendix B.1).

    Gradient Difference Bound for DNNs (Lemma 3.2)

    • Under a relaxed smoothness assumption (the gradient difference is controlled by max{c, β·distance of parameters on the gradient subspace}, which Remark 3.5 states covers sigmoid and ReLU), the upper bound on the gradient difference integral consists of three terms: the gradient difference at initialization (growing linearly with T), the fluctuation of the gradient difference during training (including rank(MT), growing exponentially with T), and the non-smooth term 2c²T/n².
    • The authors state that for small T the second term is o(T) and does not dominate, related to lazy training; rank(MT) equals the number of parameters in the worst case and can be improved when low-rank or sparse, left as an open problem.

    Explicit Bound for Linearized Networks (Theorem 4.1, Corollary 4.2)

    • Theorem 4.1: For the linearized network, the expected squared gradient difference throughout training is ≤ 4B/n², where B = d · o · ∏i=1L−1 (βi mi)/2 · ∑l=1L (βL)/(βl) (Equation (7)), depending only on d, o, L, width and initialization variance.
    • Corollary 4.2: KL ≤ 2BT/(n²σ²) (Equation (8)). Substituting the four initializations gives Table 1: under LeCun/Xavier, B decays as depth increases (when depth is sufficiently large), while under He/NTK, B grows linearly with width and depth.

    Utility Analysis (Lemma 6.1, 6.3, Corollary 6.4)

    • Lemma 6.1: The excess empirical risk of the linearized network is ≤ α + R/(2T) + σ²rank(M0)/2, where R is the lazy training distance from initialization to a near-optimal solution.
    • Lemma 6.3: Under Assumption 2.4, o = 1, and width m = Ω̃(n), an explicit upper bound on R is given using a lower bound on the minimum eigenvalue of the NTK (Equation (9)).
    • Corollary 6.4: Taking σ² = 2BT/(εn²) and T = √(εnR/(2B)), the excess empirical risk is ≤ Õ(1/n² + √(BR/(εn))) (Equations (10)–(11)); Table 1 summarizes the trade-off bounds under the four initializations.
  4. What experiments did the paper conduct?

    A set of numerical experiments: estimating KL privacy loss with noisy GD on CIFAR-10 binary classification, verifying the dependence of the bound on time, width, depth, and initialization.

    Experimental Setup

    • Tasks and data: All car and plane images in CIFAR-10 are used as the training set D; adjacent datasets are the standard add-or-remove-one: delete one record from D or add one test record (Section 5).
    • Network and algorithm: Fully connected ReLU network, noisy GD, constant step size 0.01, trained for 50 epochs (Section 5 main text; the Figure 1 caption says step-size 0.001, an inconsistency between the two).
    • Estimation method: Following Theorem 3.1, the KL privacy loss is estimated using the empirical average of gradient norms across multiple training runs, taking the worst case over all adjacent datasets.
    • Number of repetitions: 6 training runs, reporting mean and standard deviation (Figure 1, Figure 2 captions).
    • Variables: Figure 1 fixes width 1024 and depth 10, looking at growth with epoch; Figure 2a/2b fix width 1024 and σ = 0.01, with depth 2–12; Figure 2c fixes depth 10 and σ = 0.01, with width up to about 1000.
    • Initialization: Three types: He, Xavier, LeCun (the numerical experiments do not include NTK).

    Main Results

    The paper's quantitative results are the theoretical bounds (Table 1); the numerical experiments are qualitative verification, and the main text and captions give no specific values, only what is readable from the axes in the figures:

    FigureSettingVisible content in the figure
    Figure 1Width 1024, depth 10, 0–50 epochsUnder the three initializations the KL loss curves rise from near 0; at 50 epochs He is highest (around 0.4) and LeCun lowest; vertical axis range 0–0.4
    Figure 2a20 epochs, width 1024, depth 2–12Vertical axis range 0–0.2; the authors state that under LeCun/Xavier the depth first rises for depth ≤ 8 and then falls for ≥ 8, while under He it rises with depth
    Figure 2b50 epochs, width 1024, depth 2–12Vertical axis range 0–0.2; the authors state that under all initializations it rises with depth
    Figure 2c50 epochs, depth 10, width up to about 1000Vertical axis range 0–0.2; the authors state that under all initializations it rises with width
    • The authors state that in Figure 1, for epoch < 10 the growth is nearly linear, verifying the first and third terms of Lemma 3.2; for epoch ≥ 10 the growth is faster than linear, verifying the second term (caption).
    • The authors state that in Figure 1, under LeCun/Xavier the KL loss is near zero for epoch < 10, consistent with the small gradient norm of Theorem 4.1.
    • The authors state that Figure 2 verifies the theoretical predictions that increasing width always worsens privacy, and that depth depends on initialization and training time.

    Other Ablations and Analysis

    • The paper has no other ablations; the theoretical results (B, R and the excess risk bounds for the four initializations in Table 1) are the paper's main quantitative content, and no additional hyperparameters are varied in the experiments.
    • Exception: the authors state that at 50 epochs (late training) the KL privacy worsens with depth under all initializations (Figure 2b), i.e., the improvement with depth under LeCun/Xavier holds only when training time is short.
  5. What are some points that can be further explored?

    The authors point out two open problems: extending the trade-off results to deep networks, and improving the bound using low-rank gradients; the numerical verification covers only one binary classification task.

    Limitations and future directions noted by the authors

    • Generalization to DNNs: The authors state that whether the privacy-utility trade-off results for linearized networks can be generalized to deep neural networks is an important open problem (Section 7 Conclusion).
    • Low-rank gradients: The authors state that if the gradient is low-dimensional or sparse, rank(MT) can be independent of the dimension, thereby improving the gradient fluctuation and the KL privacy bound, and leave this as an open problem (Section 3).
    • Limitations of the linearized analysis: The authors state that they hope the linearized network analysis is a preliminary attempt to understand the relationship between overparameterization and privacy (Section 4), and the utility results (Lemma 6.3, Corollary 6.4) themselves also hold only under o = 1, width m = Ω̃(n), and Assumption 2.4.

    Scope of experiments

    • The numerical experiments cover only one task: car/plane binary classification on CIFAR-10, with the add-or-remove-one adjacency definition (Section 5).
    • The networks tested are fully connected ReLU networks, with width up to about 1024 and depth 2–12; the algorithm is constant-step-size noisy GD, trained for at most 50 epochs, with 6 runs per group (Figure 1, 2).
    • The numerical experiments cover only three initializations: He, Xavier, and LeCun, and do not include the NTK initialization in the theoretical analysis.
    • The paper does not report specific numerical values of the numerical KL loss (only axis ranges), and does not report numerical experiments on utility (excess risk).
    • The step size settings are inconsistent: the Section 5 main text writes 0.01, while the Figure 1 caption writes 0.001.
  6. Summarize the main content of the paper

    Theoretical analysis: the KL privacy bound of Langevin diffusion is determined by initialization, improving with depth under LeCun/Xavier and worsening under He/NTK.

    A differential privacy theory paper studying how over-parameterization (width, depth) under different initializations affects the privacy bound and privacy-utility trade-off of the training algorithm.

    • Problem: Gradient clipping in DP-SGD makes the privacy bound insensitive to network width, depth and initialization; the authors instead analyze Langevin diffusion without clipping, with the privacy notion being KL privacy on worst-case adjacent datasets.
    • Method: Prove that the KL privacy loss equals the time integral of the expected squared norm of the gradient difference on adjacent datasets (Theorem 3.1); give a three-term upper bound for fully connected ReLU networks (Lemma 3.2), and an explicit constant B depending only on width, depth and initialization variance for linearized networks (Theorem 4.1, Corollary 4.2); and prove an excess empirical risk bound Õ(1/n² + √(BR/(εn))) under a fixed KL budget (Corollary 6.4).
    • Main results (Table 1): Increasing width worsens the KL privacy bound under all four initializations LeCun, He, NTK, Xavier; when depth is sufficiently large, the bound improves with depth under LeCun/Xavier and worsens with depth under He/NTK; the excess empirical risk bound likewise improves with depth under LeCun/Xavier. The authors claim this is the first observation that the privacy bound and the privacy-utility trade-off improve with increasing depth.
    • Numerical verification: CIFAR-10 car/plane binary classification, noisy GD, 6 runs; at 20 epochs under LeCun/Xavier the KL loss decreases with depth after depth exceeds 8, while at 50 epochs it increases with depth under all initializations; increasing width always raises the KL loss (Figure 1, 2).
    • Authors' conclusion: There is a complex interaction between privacy and over-parameterization, depending on the initialization distribution and gradient fluctuations during training; whether the trade-off results for linearized networks can be extended to deep networks is an open problem.
Read originalarxiv.org