Geometry of Sensitivity: Twice Sampling and Hybrid Clipping in Differential Privacy with Optimal Gaussian Noise and Application to Deep Learning

Hanshen Xiao, Jun Wan, Srinivas Devadas

Abstract

Standard Differential Privacy (DP) techniques often suffer from the "curse of dimensionality," where noise scales with the square root of the number of parameters. This paper introduces Twice Sampling and Hybrid Clipping, two novel techniques that exploit the asymmetric geometry of high-dimensional data to optimize DP. By moving away from standard spherical clipping, we demonstrate that DP noise doesn't have to scale linearly with model dimensions, enabling significantly better accuracy for deep learning models at low sampling rates.

Introduction: The Curse of Dimensionality in DP

In Differential Privacy, we protect individual data points by adding random noise to the output of a function, such as gradients in a neural network. The magnitude of this noise is determined by sensitivity—the maximum possible change a single individual's data can cause to the output.

The conventional approach employs $l_2$-norm clipping, which effectively bounds sensitivity within a high-dimensional sphere. However, as the parameter count ($d$) grows, the required noise scales with $\sqrt{d}$. For modern deep learning models with millions of parameters, this noise often overwhelms the signal, destroying model utility. This paper argues that the bottleneck is the assumption of symmetry (uniformity in all directions). In practice, gradients are highly concentrated in specific subspaces. By ignoring this "geometry of sensitivity," standard methods add far more noise than is strictly necessary.

Methodology: Fitting Noise to Geometry

To address these limitations, we propose a framework that aligns noise addition with the actual data geometry through three primary components:

  1. Hybrid Clipping: Instead of a single global $l_2$ ball, we partition the high-dimensional space into multiple subspaces (e.g., a principal subspace and a residue subspace). We apply distinct clipping budgets to each and incorporate an $l_\infty$-norm (coordinate-wise) restriction, creating an asymmetric "sensitivity set."
  2. Twice Sampling: While standard DP-SGD uses input-wise Poisson sampling, we introduce coordinate-wise sampling. By sampling both data points and their individual features, we leverage the $l_\infty$ restriction to achieve asymptotic improvements in privacy amplification.
  3. Optimal Gaussian Noise: We mathematically derive the non-asymptotically optimal Gaussian noise for these asymmetric sets, proving that if sensitivity is represented as a hypercube or specific subspaces, the noise scale can become independent of the dimension.
Methodological framework for asymmetric sensitivity geometry and the integration of Hybrid Clipping with Twice Sampling.

Empirical Motivation: High-Dimensional Data Statistics

To validate the assumption of asymmetric concentration, we analyzed real-world high-dimensional datasets, such as Gene Expression Cancer RNA-Seq. Our findings confirm that data is neither perfectly sparse nor perfectly low-rank, but is significantly concentrated in specific subspaces.

Statistics of high-dimensional gene data showing that gradients are concentrated in low-rank embeddings and exhibit varying coordinate-wise coefficients of variation.

As shown in Figure 2, the norm of the residue drops sharply as the principal subspace dimension increases, and the coordinate-wise coefficient of variation is highly non-uniform. This empirical evidence justifies the use of asymmetric clipping strategies over spherical ones.

Key Results and Performance

The proposed methods allow for "sharper" noise bounds, resulting in less noise for the same level of privacy:

  • Noise Reduction: On the CIFAR10 dataset, the hybrid approach reduced the required noise variance by nearly an order of magnitude compared to standard DP-SGD.
  • Accuracy Gains: Training a ResNet22 on CIFAR10, we achieved 69.7% test accuracy at a strict privacy budget ($\epsilon=2$) and 81.6% at $\epsilon=8$.
  • Hardware Efficiency: Unlike other state-of-the-art DP methods that require massive, memory-intensive batch sizes, our method remains competitive at low sampling rates, making it practical for standard hardware configurations.

Conclusion and Future Work

By intentionally introducing asymmetry into the clipping process, we can break the $\sqrt{d}$ noise scaling bottleneck. While Hybrid Clipping currently benefits from a small amount of "public data" to estimate principal subspaces, it represents a significant step toward practical DP for large-scale models. Future research will explore non-Gaussian noise distributions and the implementation of these techniques in "black-box" environments where coordinate-wise gradient access is restricted.

Summary updated

BibTeX
@inproceedings{xiao2023geometry,
  author = {Hanshen Xiao and Jun Wan and Srinivas Devadas},
  title = {{Geometry of Sensitivity: Twice Sampling and Hybrid Clipping in Differential Privacy with Optimal Gaussian Noise and Application to Deep Learning}},
  booktitle = {CCS},
  year = {2023},
  doi = {10.1145/3576915.3623142},
}
Figure