Papers
Topics
Authors
Recent
Search
2000 character limit reached

Sketched Gaussian Mechanism (SGM)

Updated 10 July 2026
  • SGM is a family of mechanisms that combine random subsampling or sketching with Gaussian perturbation to ensure differential privacy in various machine learning applications.
  • Its variants achieve privacy amplification through different routes—random inclusion probability, projection geometry, or noise correlation—tailoring the approach for DP-SGD, private regression, and federated learning.
  • Rigorous RDP and tCDP analyses provide nearly tight privacy bounds with quadratic amplification effects and dimension-dependent trade-offs, enabling effective continual observation and federated model training.

Searching arXiv for recent and foundational papers on “Sketched Gaussian Mechanism” and related usage. Sketched Gaussian Mechanism (SGM) is an overloaded term in differential privacy and private machine learning. In one line of work, SGM denotes the Sampled Gaussian Mechanism, obtained by subsampling a dataset and then adding spherical Gaussian noise; this is the mechanism analyzed through Rényi Differential Privacy (RDP) in "Rényi Differential Privacy of the Sampled Gaussian Mechanism" (Mironov et al., 2019). In later work on private regression, federated learning, and continual observation, closely related terminology denotes mechanisms that first apply a Gaussian sketch or other linear sketch and then add Gaussian noise in the sketch space, such as the Gaussian Mixing Mechanism M(X)=SX+σξM(X)=\mathsf{S}X+\sigma\xi (Lev et al., 30 May 2025), the federated-learning mechanism SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi (Li et al., 9 Sep 2025), and sketch-based continual-release mechanisms built from CountSketch and correlated Gaussian noise (Pagh et al., 10 Jun 2026). The common theme is the combination of linear randomization and Gaussian perturbation, but the privacy geometry, accounting methods, and utility trade-offs differ substantially across these usages.

1. Terminological scope and core variants

The terminology is not uniform across the literature. The 2019 RDP paper calls the object of study the Sampled Gaussian Mechanism (SGM), and notes that in many machine-learning papers the same construction is also called subsampled Gaussian mechanism, mini-batch Gaussian mechanism, or colloquially a “sketched” Gaussian mechanism because the mechanism first selects a random “sketch” of the dataset and then applies a Gaussian mechanism to a function of that sketch (Mironov et al., 2019). By contrast, later regression and federated-learning papers use “sketched Gaussian mechanism” for mechanisms that apply a random Gaussian projection to vector or matrix data and add Gaussian noise in the lower-dimensional space (Lev et al., 30 May 2025, Li et al., 9 Sep 2025).

Usage Mechanism form Primary setting
Sampled Gaussian Mechanism subsample, then add N(0,σ2I)\mathcal{N}(0,\sigma^2 I) DP-SGD, privacy amplification
Gaussian Mixing / Gaussian sketching SX+σξ\mathsf{S}X+\sigma\xi private linear and logistic regression
Sketched Gaussian Mechanism in FL Rθ+ξR\theta+\xi client-level private federated learning
Sketch + Gaussian continual release sketch counters + Gaussian BTM noise streaming, range counting, join estimation

A central misconception is to treat these as identical mechanisms. They are not. The sampled mechanism derives privacy amplification from random inclusion probability qq; the regression and federated-learning versions derive privacy from random projection geometry, output dimension, or covariance structure; and the continual-observation construction derives privacy from a correlated Gaussian process implementing the binary tree mechanism (Mironov et al., 2019, Lev et al., 30 May 2025, Li et al., 9 Sep 2025, Pagh et al., 10 Jun 2026).

2. Sampled Gaussian Mechanism: definition and privacy model

For datasets SSS \in \mathcal{S}, the sampled mechanism uses add/remove adjacency: SS and SS' are adjacent if S=S{x}S' = S \cup \{x\} or vice versa. A query SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi0 maps subsets of SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi1 to SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi2, with SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi3-sensitivity SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi4,

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi5

Under Poisson subsampling with inclusion probability SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi6, the mechanism outputs

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi7

This is a composition of random subsampling and a standard Gaussian mechanism (Mironov et al., 2019).

RDP is the natural accounting framework for this mechanism. For SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi8, the Rényi divergence is

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi9

and a mechanism satisfies N(0,σ2I)\mathcal{N}(0,\sigma^2 I)0-RDP if the divergence between outputs on adjacent datasets is at most N(0,σ2I)\mathcal{N}(0,\sigma^2 I)1, symmetrically. The attraction of RDP for SGM is threefold: composition is additive at fixed order N(0,σ2I)\mathcal{N}(0,\sigma^2 I)2, it is equivalent to controlling the log moment generating function of privacy loss, and it converts to N(0,σ2I)\mathcal{N}(0,\sigma^2 I)3-DP by optimizing

N(0,σ2I)\mathcal{N}(0,\sigma^2 I)4

This is exactly the accounting structure used in DP-SGD and in moments-accountant analyses recast in RDP form (Mironov et al., 2019).

3. RDP characterization and quadratic privacy amplification

The main technical reduction for the sampled mechanism is to a one-dimensional Gaussian mixture. Let

N(0,σ2I)\mathcal{N}(0,\sigma^2 I)5

If N(0,σ2I)\mathcal{N}(0,\sigma^2 I)6 has N(0,σ2I)\mathcal{N}(0,\sigma^2 I)7-sensitivity N(0,σ2I)\mathcal{N}(0,\sigma^2 I)8, then for adjacent N(0,σ2I)\mathcal{N}(0,\sigma^2 I)9,

SX+σξ\mathsf{S}X+\sigma\xi0

Defining

SX+σξ\mathsf{S}X+\sigma\xi1

the paper proves the dominance relation SX+σξ\mathsf{S}X+\sigma\xi2 for all SX+σξ\mathsf{S}X+\sigma\xi3, so bounding SX+σξ\mathsf{S}X+\sigma\xi4 suffices (Mironov et al., 2019).

Under the conditions SX+σξ\mathsf{S}X+\sigma\xi5, SX+σξ\mathsf{S}X+\sigma\xi6, and

SX+σξ\mathsf{S}X+\sigma\xi7

SX+σξ\mathsf{S}X+\sigma\xi8

SGM satisfies the closed-form RDP bound

SX+σξ\mathsf{S}X+\sigma\xi9

The paper describes this as a nearly tight closed-form bound, with correct Rθ+ξR\theta+\xi0 dependence and numerical comparisons showing only a small constant-factor gap in the regime where the theorem applies (Mironov et al., 2019).

The principal significance is the quadratic privacy amplification in Rθ+ξR\theta+\xi1. For the standard Gaussian mechanism with sensitivity Rθ+ξR\theta+\xi2,

Rθ+ξR\theta+\xi3

whereas for SGM,

Rθ+ξR\theta+\xi4

Hence, for small sampling rates,

Rθ+ξR\theta+\xi5

rather than the linear-in-Rθ+ξR\theta+\xi6 behavior suggested by a naive intuition. The paper also gives an exact, numerically stable procedure for arbitrary Rθ+ξR\theta+\xi7: for integer Rθ+ξR\theta+\xi8, Rθ+ξR\theta+\xi9 is a finite sum

qq0

and for fractional qq1, qq2 is computed through absolutely convergent series with generalized binomial coefficients and qq3 terms, typically accumulated in log-space. This numerical accountant is the basis of practical RDP accounting for DP-SGD, including implementations such as TensorFlow Privacy (Mironov et al., 2019).

4. Gaussian sketching and Gaussian mixing for regression

A distinct SGM lineage studies Gaussian sketching as the privacy mechanism itself. In "The Gaussian Mixing Mechanism: Renyi Differential Privacy via Gaussian Sketches" (Lev et al., 30 May 2025), the dataset is a matrix qq4 with row bound qq5, zero-out neighboring relation, and a lower bound qq6. The mechanism is

qq7

and may also be applied jointly to qq8 and post-processed into

qq9

which yields private sufficient statistics such as SSS \in \mathcal{S}0 and SSS \in \mathcal{S}1 (Lev et al., 30 May 2025).

The RDP analysis depends on

SSS \in \mathcal{S}2

For SSS \in \mathcal{S}3, GaussMix satisfies SSS \in \mathcal{S}4-RDP for all SSS \in \mathcal{S}5, where

SSS \in \mathcal{S}6

This explicit RDP curve comes from viewing SSS \in \mathcal{S}7 as having i.i.d. Gaussian columns with covariance SSS \in \mathcal{S}8, comparing neighboring covariances SSS \in \mathcal{S}9 and SS0, and reducing the divergence to a determinant formula. Privacy improves as SS1 and SS2 increase, both through SS3 (Lev et al., 30 May 2025).

The same paper shows that if SS4, GaussMix satisfies SS5-tCDP with

SS6

and compares favorably with Sheffet’s earlier SS7-DP analysis by eliminating an extra linear term in SS8. It then builds instance-dependent regression algorithms: ModifiedGaussianMix privately estimates SS9, adjusts the noise level accordingly, and LinearMixing solves OLS on the sketch; a quadratic-surrogate reduction yields a corresponding LogisticMix procedure for logistic regression (Lev et al., 30 May 2025).

The utility theory is equally instance-sensitive. For OLS, Theorem 4.3 bounds excess empirical loss by a term scaling with

SS'0

up to universal constants and probability terms, while the regime SS'1 matches known optimal AdaSSP bounds when SS'2. Empirically, the paper reports lower test MSE than Sheffet’s earlier SGM-based OLS and competitive runtime, and for logistic regression on private embeddings it reports higher classification accuracy and faster execution than objective perturbation (Lev et al., 30 May 2025).

5. Sketched Gaussian Mechanism in federated learning

In federated learning, the Sketched Gaussian Mechanism is defined directly on a vector statistic: SS'3 where SS'4 is a Gaussian sketching matrix with entries SS'5 i.i.d., and SS'6. Here SS'7 is the sketching dimension, typically much smaller than SS'8. In minibatch DP-SGD, clipped per-example gradients are sketched, perturbed, and aggregated in sketch space; at batch level, the mechanism acts on the clipped sum SS'9 with covariance determined by S=S{x}S' = S \cup \{x\}0 (Li et al., 9 Sep 2025).

The privacy analysis is joint rather than compositional. For neighboring datasets, the outputs are zero-mean Gaussians with different variances, and the divergence is expressed as

S=S{x}S' = S \cup \{x\}1

with the variance ratio controlled through a ratio sensitivity

S=S{x}S' = S \cup \{x\}2

For clipped sums with S=S{x}S' = S \cup \{x\}3, the one-step mechanism is shown to satisfy

S=S{x}S' = S \cup \{x\}4

for suitable parameter regimes. After subsampling and composition, Theorem 3.2 gives an S=S{x}S' = S \cup \{x\}5-DP guarantee when

S=S{x}S' = S \cup \{x\}6

Equivalently, for fixed noise magnitude, the privacy level is proportional to S=S{x}S' = S \cup \{x\}7, which is the paper’s defining privacy amplification result (Li et al., 9 Sep 2025).

This analysis differs sharply from the classical Gaussian mechanism. For plain GM applied directly in S=S{x}S' = S \cup \{x\}8, the RDP bound does not depend on S=S{x}S' = S \cup \{x\}9; for SGM, the privacy guarantee depends on the sketching dimension SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi00, and a joint analysis of sketching and noise yields stronger privacy than treating sketching and Gaussian perturbation as isolated mechanisms. The paper is explicit that the theory is specific to the sketch-then-noise order; it does not claim equivalence under reordering (Li et al., 9 Sep 2025).

The federated-learning instantiation, Fed-SGM, combines client sampling, local training, clipping, sketching, sketch-space Gaussian noise, desketching by SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi01, and either server-side GD or AMSGrad. Under bounded gradients, sub-Gaussian stochastic noise, smoothness, and an absolute intrinsic dimension assumption

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi02

the convergence bounds have at most logarithmic dependence on SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi03 and linear dependence on SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi04. Experiments on EMNIST ByClass with ResNet101 and SST-2 with BERT-Base report that Fed-SGM is at least competitive with unsketched DP-FedAvg at the same privacy level and can outperform it, while also reducing client communication from SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi05 to SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi06 (Li et al., 9 Sep 2025).

6. Continual observation, CountSketch, and correlated Gaussian release

A further extension places sketched Gaussian mechanisms in the continual-observation model. "A Fast Gaussian Mechanism under Continual Observation, with Applications" (Pagh et al., 10 Jun 2026) studies updates SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi07 to a SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi08-dimensional vector over time, with neighboring datasets differing in at most one update and each update bounded in norm. The classical Gaussian binary tree mechanism can release every partial sum SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi09 with polylogarithmic noise, but standard implementations cost SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi10 time per query. The paper gives a data structure that samples any desired noise entry in constant time while reproducing exactly the distribution of the Gaussian binary tree mechanism, using Brownian bridges (Pagh et al., 10 Jun 2026).

The binary-tree view writes the released sequence as

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi11

with strategy matrix sensitivity

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi12

If

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi13

then the release is SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi14-zCDP, and each time-SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi15 answer has variance

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi16

The new contribution is algorithmic: instead of materializing all node noises, the mechanism stores partial sums on the current root-to-leaf path and uses the Brownian bridge conditional law

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi17

to sample only the missing shared prefix needed for the next query (Pagh et al., 10 Jun 2026).

This machinery becomes a sketched Gaussian mechanism when combined with Private CountSketch. In the static case, CountSketch is a linear map SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi18, and adding independent Gaussian noise to each sketch cell yields SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi19-zCDP with

SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi20

because the flattened sketch has SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi21-sensitivity SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi22. Under continual observation, each sketch cell is equipped with its own FastGaMe process, so the sketch counters evolve with exactly the correlated Gaussian noise of the binary tree mechanism. The paper uses this construction for dynamic orthogonal range counting and join-size estimation, obtaining SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi23-zCDP, polylogarithmic error, and constant-time noise generation per touched sketch cell (Pagh et al., 10 Jun 2026).

7. Assumptions, limitations, and conceptual synthesis

Across these literatures, SGM is powerful but assumption-sensitive. The sampled mechanism of (Mironov et al., 2019) is proved primarily for Poisson subsampling, SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi24-sensitivity-bounded queries, and Gaussian noise; its clean closed-form theorem requires SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi25, SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi26, and nontrivial conditions on SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi27, and outside that regime one should use exact numerical accounting. The Gaussian-mixing mechanism of (Lev et al., 30 May 2025) relies on a row norm bound, zero-out adjacency, and for the strongest statements a lower bound on SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi28. The federated-learning SGM of (Li et al., 9 Sep 2025) assumes dense Gaussian sketches, independent randomness across rounds, clipping, and specific covariance-based RDP calculations; the paper states that extending the theory to CountSketch, sparse JL, or structured transforms is open. The continual-observation framework of (Pagh et al., 10 Jun 2026) relies on binary-tree Gaussian correlations and, in the applications, CountSketch-specific sensitivity calculations.

A second misconception is that every SGM behaves like a standard Gaussian mechanism with a modified variance. This is only partially true. For the sampled mechanism, the leading privacy term behaves like SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi29, reflecting privacy amplification by subsampling (Mironov et al., 2019). For GaussMix, the relevant quantity is the spectrum of SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi30, summarized by SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi31 (Lev et al., 30 May 2025). For federated-learning SGM, privacy depends on the sketching dimension through a SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi32 law after composition (Li et al., 9 Sep 2025). For continual observation, the mechanism is not i.i.d. Gaussian noise per time step but a correlated Gaussian process engineered for polylogarithmic composition (Pagh et al., 10 Jun 2026).

A plausible implication is that “SGM” is best read as a contextual label for a family of mechanisms that combine random sketching or sampling with Gaussian perturbation, rather than as a single canonical construction. What unifies these variants is the use of RDP, tCDP, or zCDP to exploit structure that ordinary SG(θ;R,ξ)=Rθ+ξ\mathcal{SG}(\theta;R,\xi)=R\theta+\xi33-DP analyses often obscure: mixture structure in subsampling, covariance structure in Gaussian sketching, dimension reduction in federated learning, and correlation structure in continual release.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Sketched Gaussian Mechanism (SGM).