arXiv:2611.07490stat.MENov 2026

Manuscript Offprint

arXiv:2611.07490

Statistical and Privacy Guarantees for Deep M-Regression via Stochastic Gradient Langevin Dynamics

Yeheng Ge, Jian Huang, Shuyuan Wu

Abstract

In this article, we study deep nonparametric regression trained via stochastic gradient Langevin dynamics (SGLD), a variant of stochastic gradient descent that injects carefully calibrated Gaussian noise during optimization. Using a PAC-Bayesian analysis tailored to deep ReLU networks, we establish an excess-risk bound that simultaneously accounts for network approximation error, statistical complexity, and the algorithmic cost accumulated along the SGLD trajectory. Under a Bernstein condition and within a stable SGLD regime, the excess-risk bound contains a stochastic term whose coefficient is inversely proportional to the variance of injected noise, while the estimator retains the optimal rate for nonparametric regression under the Hölder smoothness condition up to logarithmic factors. This result provides an approximation-error-aware, rate-optimal statistical perspective on the widely observed generalization benefits of moderate SGLD noise. For per-sample clipped SGLD, we further establish an exact f-DP guarantee and the corresponding asymptotic μ\mu-GDP guarantee for the proposed estimator. We establish statistical convergence rates and differential privacy guarantees for DNN estimators trained using SGLD, while explicitly accounting for both network approximation error and the effect of injected noise in the excess-risk bound. Extensive simulation studies and analyses of two real datasets examine the finite-sample predictive performance and privacy-utility behavior of the proposed procedure.

Keywords: Deep neural network; Differential privacy; PAC-Bayesian theory; Stochastic gradient Langevin dynamics.

*Corresponding author: Jian Huang, Department of Data Science and Artificial Intelligence, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong, China. Email: j.huang@polyu.edu.hk.

1 Introduction

Classical statistical analysis typically treats noise as a nuisance: additional randomness increases variability and can degrade estimation accuracy. Deep learning presents a different perspective. Deep neural networks are trained over high-dimensional and highly non-convex loss surfaces, where the optimization path can directly affect the fitted model. Carefully injected noise can reshape this path, encourage exploration of low-risk regions, and lead to favorable stability and generalization behavior (Mou et al. 2018; Li et al. 2020; Zhu et al. 2023). Stochastic Gradient Langevin Dynamics (SGLD) is a canonical example. It augments each mini-batch stochastic-gradient update with isotropic Gaussian noise. The method retains the scalability of stochastic gradient descent and induces a distribution over network parameters, which is closely connected to approximate Bayesian posterior sampling (Welling and Teh 2011; Teh et al. 2016; Li et al. 2016). These features make SGLD attractive for deep regression and raise a fundamental statistical question: how does the injected Gaussian noise affect the generalization performance of the resulting estimator?

Answering this question is theoretically challenging. Existing statistical analyses of deep learning largely rely on uniform convergence tools, such as VC-dimension and Rademacher complexity bounds, which characterize the complexity of the entire function class without reference to the optimization path (Schmidt-Hieber 2020; Anthony and Bartlett 2009). Such algorithm-agnostic bounds do not describe how injected noise shapes the trajectory of SGLD. PAC-Bayesian analysis offers a natural alternative. By adopting a Bayesian prior-posterior formulation, it provides generalization guarantees for randomized estimators in terms of their data-dependent parameter distributions, rather than the complexity of the entire function class. Mou et al. (2018) and Li et al. (2020) applied PAC-Bayesian theory to noisy gradient methods in generic non-convex settings and derived data-dependent bounds through the Kullback-Leibler divergence between the algorithmic posterior and a reference prior; see also Zhu et al. (2023) and Dadi and Cevher (2025) for related developments. Alquier and Kengne (2025) developed PAC-Bayesian treatments of neural-network estimators for dependent data.

What remains missing is a unified analysis that combines approximation error and a fast-rate statistical bound with an explicit characterization of the noise-level contribution for deep nonparametric regression.

Beyond its statistical role, Gaussian noise offers an important privacy benefit. Combined with per-sample gradient clipping and randomized mini-batch sampling, it can provide rigorous differential privacy (Abadi et al. 2016; Du et al. 2021; Dong et al. 2022). For convex losses, Chaudhuri et al. (2011) formulated differentially private empirical risk minimization, Bassily et al. (2014) established tight error bounds and efficient algorithms for private convex optimization, and Cai et al. (2021) derived minimax-optimal rates for private estimation in high-dimensional linear models. Privacy-utility trade-offs have further been studied in kernel learning, inference on regression coefficients, multiple testing, and conformal inference (Jain and Thakurta 2013; Xia et al. 2025; Xia and Cai 2023; Zhang et al. 2025). These studies provide a foundation for private statistical learning. For deep neural networks, however, existing algorithm-agnostic learning theory does not directly link the statistical risk of SGLD-trained estimators to the privacy guarantees induced by clipping, subsampling, and Gaussian perturbation. A unified theory is needed wherein privacy-preserving deep learning can be formally understood from the perspectives of statistical risk and privacy protection.

To address the above issues, we study deep nonparametric M-estimation trained by SGLD and establish an excess-risk bound involving the approximation error, stochastic error, and the Kullback–Leibler divergence between the algorithmic posterior of network weights and a data-independent reference prior. Our contributions are summarized as follows.

  • First, we derive a PAC-Bayes oracle inequality for the SGLD posterior. The result is based on the Bernstein condition and leads to the fast statistical rate up to logarithmic factors. It explicitly involves the variance of injected Gaussian noise in the stochastic error term, helping to explain the generalization benefits of moderate SGLD noise.

  • Second, by combining this oracle inequality with ReLU approximation results for Hölder classes, we show that, under the stated conditions, the estimator based on the SGLD

posterior attains the optimal nonparametric regression rate up to logarithmic factors.

  • Third, for per-sample clipped SGLD with randomized mini-batches and heterogeneous step sizes, we obtain an exact finite-sample ff-DP guarantee and the corresponding asymptotic μ\mu-GDP guarantee.

  • Last, we conduct simulation studies and real-data analyses to examine the finite-sample prediction and privacy–utility performance of the proposed procedure.

The remainder of the article is organized as follows. Section 2 introduces deep M-estimation, SGLD, and gradient clipping. Section 3 establishes the excess-risk and privacy guarantees. Section 4 presents the simulation studies, and Section 5 presents real-data applications. Section 6 concludes with a discussion of the main implications and limitations.

References (34)