Dyn-D2P: Dynamic Differentially Private Decentralized Learning with Provable Utility Guarantee

Zehan Zhu, Yan Huang, Xin Wang, Shouling Ji, Jinming XuarXiv 2025 · DOI

Introduction

Decentralized learning enables a network of nodes to collaboratively train models without a central server, enhancing scalability and data sovereignty. However, protecting sensitive local data from membership inference attacks requires the integration of Differential Privacy (DP). The standard approach involves clipping gradients to a fixed norm and adding Gaussian noise. This paper identifies a significant "utility gap" in existing methods caused by static noise schedules and proposes Dyn-D2P, a dynamic noise strategy that significantly improves model accuracy while maintaining rigorous DP guarantees.

The Problem: Static Bounds in a Dynamic Process

Most existing DP decentralized learning methods utilize a constant clipping bound and fixed noise levels throughout training. This is fundamentally mismatched with the nature of stochastic gradient descent (SGD). Early in training, gradients are large, and tight clipping destroys critical information. Conversely, late in training, gradients naturally shrink. A large fixed clipping bound then introduces unnecessarily high noise relative to the actual gradient sensitivity, drowning out the fine-tuning required for convergence.

Gradient norms naturally decay over time, making a constant clipping bound inefficient.

Methodology: Dyn-D2P

Dyn-D2P addresses these inefficiencies through two primary scheduling mechanisms:

  1. Dynamic Decreasing Clipping Bounds ($C_k$): The clipping threshold decays exponentially, mirroring the natural reduction in gradient norms as the model converges.
  2. Dynamic Increasing Per-Step Privacy Budget ($\mu_k$): The algorithm allocates more noise (smaller budget) at the start when the model is robust and less noise (larger budget) toward the end for precision.

By utilizing the Gaussian DP (GDP) framework, the authors precisely track the cumulative privacy expenditure. This dynamic approach allows the model to find the general optimization direction quickly with high noise and settle into local optima with high precision.

Theoretical Contributions: Network Scaling

A key theoretical highlight of this work is the first provable utility bound for non-convex decentralized optimization with dynamic noise. The authors demonstrate that the utility bound scales with $1/\sqrt{n}$, where $n$ is the number of nodes. This proves that decentralized DP learning can effectively "average out" injected noise, meaning model performance improves as the network grows—a "power of the crowd" effect.

Experimental Evaluation

The researchers evaluated Dyn-D2P on Cifar-10 (ResNet-18) and FashionMnist (shallow CNN) across 20 nodes using time-varying directed exponential graphs.

Dyn-D2P significantly outperforms constant-noise baselines in both training loss and testing accuracy on Cifar-10.

Key Results:

  • Cifar-10 Performance: At a strict privacy budget ($\epsilon = 0.3$), Dyn-D2P achieved 71.87% accuracy, a 25% improvement over the constant-noise baseline (46.37%).
  • FashionMnist Performance: Under the same privacy constraints, Dyn-D2P reached 84.88% accuracy, outperforming the baseline by 39%.
  • Robustness: The method maintained its performance edge across various network topologies, including ring and fully connected graphs.

Limitations and Future Outlook

While Dyn-D2P significantly reduces the utility gap, gradient clipping still introduces a non-vanishing bias error. Future work aims to address this bias term and explore fully adaptive schedules that react to real-time gradient norms rather than predefined exponential decays. Additionally, reducing the communication overhead remains a priority for deploying these private decentralized models on resource-constrained edge devices.

Summary updated

BibTeX
@misc{zhu2025dyn,
  author = {Zehan Zhu and Yan Huang and Xin Wang and Shouling Ji and Jinming Xu},
  title = {{Dyn-D2P: Dynamic Differentially Private Decentralized Learning with Provable Utility Guarantee}},
  year = {2025},
  eprint = {2505.06651},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.06651},
}
Figure