NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Differentially Private Decentralized Deep Learning with Consensus Algorithms

Jasmine Bayrooti, Zhan Gao, Amanda ProrokarXiv 2023 · DOI

Introduction

Modern machine learning relies on the aggregation of vast datasets, often raising significant privacy and scalability concerns. While Federated Learning (FL) has emerged as a prominent solution for distributed training, its reliance on a central parameter server introduces a single point of failure and potential privacy bottlenecks. Decentralized learning offers a robust alternative by allowing agents to coordinate via peer-to-peer communication. However, the exchange of model parameters in decentralized networks remains vulnerable to privacy leaks. This paper presents a generalized framework for integrating Differential Privacy (DP) into decentralized learning, ensuring mathematical privacy guarantees while maintaining model utility.

The Privacy-Decentralization Trade-off

In decentralized architectures, agents (e.g., hospitals or edge devices) train models locally and share parameters only with immediate neighbors in a network graph. Despite the absence of a central server, "white-box" attackers—curious neighboring nodes—can analyze incoming updates to infer the presence of specific individuals in a neighbor's training set. To mitigate this, Differential Privacy (DP) is employed by adding calibrated noise to the training process. The primary challenge lies in balancing the noise required for privacy with the consensus mechanisms required for decentralized coordination, ensuring the system still converges to an accurate global model.

Methodology: A Generalized DP Framework

The researchers propose a framework that generalizes Differentially Private Stochastic Gradient Descent (DP-SGD) for decentralized environments. The process involves three core steps:

  1. Local Clipping: Agents compute gradients on local batches and clip them to a fixed maximum norm, limiting the influence of any single data point.
  2. Noise Injection: Gaussian noise is added to the clipped gradients to satisfy DP requirements.
  3. Consensus Subroutine: The framework is modular, supporting various decentralized algorithms:
  4. Decentralized SGD (DSGD): The standard approach for peer-to-peer weight averaging.
  5. Decentralized SGD with Gradient Tracking (DSGT): An advanced method that tracks global gradient estimates to handle data heterogeneity (non-IID data).
  6. Decentralized Iterative Network Newton Optimization (DiNNO): An ADMM-based approach for achieving consensus.

Theoretical Convergence

A critical contribution of this work is the formal proof of convergence. The authors demonstrate that private decentralized algorithms converge to an "error neighborhood" of the optimal solution. The radius of this neighborhood is determined by the variance of the injected noise, providing a clear theoretical link between the privacy budget ((\epsilon)) and the final model performance.

Experimental Evaluation

The framework was evaluated using MNIST and CIFAR-100 datasets across various network topologies and data distributions. To simulate real-world conditions, the researchers utilized a distribution metric ((t)) to vary data heterogeneity, ranging from Independent and Identically Distributed (IID) data to extreme non-IID scenarios where agents possessed exclusive classes.

Key Findings

  • Algorithm Robustness: DP-DSGT emerged as the most resilient algorithm. By tracking gradient estimates, it remained largely invariant to network sparsity and extreme data heterogeneity, whereas DSGD and DiNNO experienced significant performance degradation in non-IID settings.
  • The Connectivity Threshold: The study found that network topology has diminishing returns on accuracy once a certain connectivity threshold (a normalized Fiedler value of ~0.4) is reached. This suggests that highly dense networks are not strictly necessary for effective private decentralized learning, benefiting bandwidth-limited systems.
  • Utility Gap: The proposed methods achieved high accuracy, often coming within 3-6 percentage points of non-private centralized baselines. On MNIST, DP-DSGT reached performance levels comparable to centralized DP-SGD under a privacy budget of (\epsilon=1).
  • Empirical Privacy Strengths: Using Membership Inference Attacks (MIA), the authors demonstrated that the empirical privacy protection often exceeded theoretical guarantees, with observed (\epsilon) values as low as 0.129.

Limitations and Future Directions

While the framework provides a robust foundation for private decentralized learning, several challenges remain:

  • Adversarial Robustness: The current model assumes "honest-but-curious" agents. Future work must address "Byzantine" actors who may intentionally submit malicious updates to compromise the global model.
  • Communication Overhead: Algorithms like DSGT require doubling the communication volume (sending both parameters and gradient trackers), which may be restrictive for low-power devices.
  • Computational Scaling: The overhead of per-sample gradient clipping remains a hurdle for scaling these methods to massive Transformer-scale models.

Conclusion

By providing a generalized framework and rigorous convergence proofs, this research demonstrates that privacy and decentralization are not mutually exclusive. The ability to train high-accuracy models without a central authority or the risk of individual data exposure paves the way for secure collaborative AI in sensitive domains such as healthcare and autonomous robotics.

Summary updated

BibTeX
@misc{bayrooti2023differentially,
  author = {Jasmine Bayrooti and Zhan Gao and Amanda Prorok},
  title = {{Differentially Private Decentralized Deep Learning with Consensus Algorithms}},
  year = {2023},
  eprint = {2306.13892},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.13892},
}
Figure