DiSK: Differentially Private Optimizer with Simplified Kalman Filter for Noise Reduction

Xinwei Zhang, Zhiqi Bu, Borja Balle, Mingyi Hong, Meisam Razaviyayn, Vahab Mirrokni · DOI

Abstract

Training deep learning models with Differential Privacy (DP) often results in significant utility loss due to the high magnitude of injected noise required to satisfy privacy guarantees. This paper introduces DiSK (Differentially Private Optimizer with Simplified Kalman Filter), a novel optimizer that treats privatized gradients as noisy observations of a hidden state. By employing a highly efficient, simplified Kalman filter, DiSK denoises these signals in real-time. Through clever approximations such as Hessian-free estimation and scalar covariance, DiSK achieves state-of-the-art accuracy across vision and language tasks with minimal computational overhead, effectively bridging the privacy-utility gap.

Introduction: The Privacy-Utility Trade-off

Differential Privacy (DP) has emerged as the gold standard for protecting individual data during model training. The standard approach, DP-SGD, involves clipping individual gradients to bound their sensitivity and adding Gaussian noise. However, for modern large-scale models, the required noise level often becomes a "gradient-killer," disrupting optimization dynamics and leading to a substantial drop in accuracy compared to non-private training.

While previous research has explored low-pass filters or specialized architectures to mitigate this noise, these solutions frequently lack theoretical grounding, demand excessive memory, or fail to scale to models with billions of parameters. DiSK addresses these challenges by reframing optimization through the lens of control theory and signal processing.

Methods: Gradient Denoising via Kalman Filtering

The core innovation of DiSK is viewing the optimization process as a dynamic system. The "true" gradient is treated as a hidden state that evolves over time, while the privatized gradient is considered a "noisy observation." By applying a Kalman filter, the optimizer can recursively estimate the true gradient from the sequence of noisy observations.

To make the classic Kalman filter—which typically requires $O(d^3)$ computation for a model with $d$ parameters—practical for deep learning, the authors implement several key simplifications:

  1. Hessian-Free Estimation: Instead of calculating the massive Hessian matrix, DiSK uses a finite-difference approximation to estimate Hessian-vector products using just one additional forward pass.
  2. Scalar Covariance: The complex error covariance matrices are simplified into scalars, reducing memory and computational costs from $O(d^2)$ to $O(1)$ per parameter.
  3. Fixed Filter Gain: The authors prove that the Kalman gain (the weight given to new observations vs. past estimates) quickly converges to a stable value, allowing for a constant parameter ($\kappa$) that further simplifies the update rule.
Algorithm 2: The DiSK optimizer framework incorporating a Kalman filter for gradient denoising.

As detailed in Algorithm 2, the final update rule essentially computes a linear combination of gradients at two points and applies an exponential moving average to produce a denoised gradient estimate.

Key Insights and Theoretical Framework

DiSK serves as a "grand unifier" in the optimization landscape. The authors demonstrate that by adjusting its hyperparameters, DiSK can reduce to well-known algorithms such as Nesterov Accelerated Gradient (NAG), which focuses on speed, or STORM, which focuses on variance reduction.

Unlike many empirical "tricks," DiSK is supported by rigorous theoretical analysis. The authors prove that DiSK improves the iteration complexity upper bound compared to vanilla DP-SGD by a problem-dependent constant factor, providing a solid foundation for its empirical success.

Empirical Results

DiSK was evaluated across a wide range of benchmarks, consistently outperforming existing state-of-the-art (SOTA) DP optimizers under identical privacy budgets ($\epsilon$):

  • Computer Vision: On ImageNet-1k, DiSK boosted validation accuracy from 33.56% to 36.89%. In CIFAR-100 training-from-scratch scenarios, accuracy jumped from 21% to 42%.
  • Natural Language Processing: When fine-tuning RoBERTa-base on the MNLI task ($\epsilon=1$), DiSK improved accuracy from 80.7% to 84.7%.
  • Efficiency: Despite the denoising steps, DiSK requires at most 2x the compute and 1.5x to 2x the memory of standard DP-SGD, making it viable for large-scale production models.

Conclusion and Future Work

DiSK represents a significant step forward in making differentially private training practical for high-utility applications. While it introduces a slight computational overhead due to the extra forward pass and requires tuning two additional hyperparameters ($\kappa$ and $\gamma$), its performance gains are substantial. Future work may explore combining DiSK with other DP techniques, such as clipping-bias correction or prefix-tuning, to further close the gap between private and non-private model performance.

Summary updated

BibTeX
@inproceedings{zhang2025disk,
  author = {Xinwei Zhang and Zhiqi Bu and Borja Balle and Mingyi Hong and Meisam Razaviyayn and Vahab Mirrokni},
  title = {{DiSK: Differentially Private Optimizer with Simplified Kalman Filter for Noise Reduction}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Lfy9q7Icp9},
}
Figure