Abstract
In this paper, we focus on developing a novel mechanism to preserve differential privacy in deep neural networks, such that: (1) The privacy budget consumption is totally independent of the number of training steps; (2) It has the ability to adaptively inject noise into features based on the contribution of each to the output; and (3) It could be applied in a variety of different deep neural networks. To achieve this, we figure out a way to perturb affine transformations of neurons, and loss functions used in deep neural networks. In addition, our mechanism intentionally adds "more noise" into features which are "less relevant" to the model output, and vice-versa. Our theoretical analysis further derives the sensitivities and error bounds of our mechanism. Rigorous experiments conducted on MNIST and CIFAR-10 datasets show that our mechanism is highly effective and outperforms existing solutions.
Introduction
Standard Differential Privacy (DP) techniques in deep learning, such as DP-SGD (Differentially Private Stochastic Gradient Descent), typically inject noise into gradients during every training step. Due to the composition theorem of DP, the privacy budget $(\epsilon)$ depletes as the number of training epochs increases. This creates a "privacy tax" where longer training leads to higher privacy loss or requires excessive noise that degrades model utility. We propose the Adaptive Laplace Mechanism (AdLM), which decouples privacy loss from the number of training steps by privatizing the network structure and objective function as a preprocessing step.
Methodology
AdLM achieves epoch-independent privacy through a three-pronged approach focused on feature relevance and functional perturbation.
1. Private Relevance Mapping
To optimize noise distribution, we first identify which input features are most critical for the model's output. Using Layer-wise Relevance Propagation (LRP), we generate relevance scores for input features. These scores are released under $\epsilon_1$-differential privacy to guide subsequent noise injection.
2. Adaptive Noise Injection
Instead of applying uniform noise, AdLM uses the relevance scores to distribute noise smartly. Features identified as "less relevant" receive more noise, while "highly relevant" features receive less, preserving the most important signals for classification. This noise is injected into the first affine transformation layer of the network using a budget of $\epsilon_2$.
3. Functional Perturbation of the Loss
To protect labels during training, we approximate the loss function (such as cross-entropy) using a 2nd-order Taylor Expansion. We then perturb the coefficients of this polynomial approximation with Laplace noise $(\epsilon_3)$. Because the training process subsequently minimizes this already-privatized loss function, the raw sensitive data is never accessed again during the iterative optimization. This ensures the total privacy cost remains fixed at $\epsilon_1 + \epsilon_2 + \epsilon_3$, regardless of whether the model trains for 10 or 10,000 epochs.
Experimental Evaluation
We evaluated AdLM on the MNIST and CIFAR-10 datasets, comparing it against state-of-the-art methods like pSGD.
- MNIST Accuracy: Under a strict privacy budget $(\epsilon = 0.25)$, AdLM achieved 90.2% accuracy, significantly outperforming pSGD's 82.09%.
- CIFAR-10 Performance: AdLM improved prediction accuracy by an average of 5.9% compared to pSGD.
- Convergence and Stability: Unlike standard DP methods where accuracy can drop if trained too long due to noise accumulation, AdLM's accuracy remains stable or improves over time because the "noise tax" is paid upfront.
Conclusion
The Adaptive Laplace Mechanism provides a robust solution for privacy-preserving deep learning. By moving noise injection from the iterative gradient updates to the network's structural components and the objective function, AdLM eliminates the dependency of privacy loss on training duration. Furthermore, its adaptive nature ensures that model utility is prioritized by protecting critical features with minimal noise.
Summary updated