Abstract
Federated learning (FL) emerged as a paradigm designed to improve data privacy by enabling data to reside at its source, thus embedding privacy as a core consideration in FL architectures, whether centralized or decentralized. Contrasting with recent findings by Pasquini et al., which suggest that decentralized FL does not empirically offer any additional privacy or security benefits over centralized models, our study provides compelling evidence to the contrary. We demonstrate that decentralized FL, when deploying distributed optimization, provides enhanced privacy protection - both theoretically and empirically - compared to centralized approaches. The challenge of quantifying privacy loss through iterative processes has traditionally constrained the theoretical exploration of FL protocols. We overcome this by conducting a pioneering in-depth information-theoretical privacy analysis for both frameworks. Our analysis, considering both eavesdropping and passive adversary models, successfully establishes bounds on privacy leakage. We show information theoretically that the privacy loss in decentralized FL is upper bounded by the loss in centralized FL. Compared to the centralized case where local gradients of individual participants are directly revealed, a key distinction of optimization-based decentralized FL is that the relevant information includes differences of local gradients over successive iterations and the aggregated sum of different nodes' gradients over the network. This information complicates the adversary's attempt to infer private data. To bridge our theoretical insights with practical applications, we present detailed case studies involving logistic regression and deep neural networks. These examples demonstrate that while privacy leakage remains comparable in simpler models, complex models like deep neural networks exhibit lower privacy risks under decentralized FL.
Introduction: The Privacy Challenge in Federated Learning
Federated Learning (FL) was conceived to enhance data privacy by keeping raw data on local devices. However, standard Centralized FL (CFL) is vulnerable to "gradient inversion" attacks, where a central server or an eavesdropper can reconstruct private training data from intercepted gradients. While Decentralized FL (DFL)—where nodes communicate only with neighbors—intuitively seems more secure, recent empirical studies have questioned whether it offers any tangible privacy advantage over centralized models.
This paper addresses this controversy by examining optimization-based DFL (e.g., using ADMM or PDMM). Unlike simple "average-consensus" methods, these protocols treat learning as a constrained optimization problem, sharing auxiliary variable updates rather than raw gradients.
Methodology: Quantifying the Privacy Gap
The researchers employ a rigorous information-theoretical framework using Mutual Information to quantify data leakage. By deriving mathematical bounds for privacy loss in both CFL and DFL, they establish the first formal proof of a "privacy gap."
The study focuses on two primary attack vectors:
- Gradient Inversion: Reconstructing original training images (e.g., MNIST digits) from intercepted network traffic.
- Membership Inference Attacks (MIA): Determining if a specific data sample was part of the training set.
The analysis covers standard benchmarks including MNIST, CIFAR-10/100, and Tiny ImageNet, ensuring the findings are applicable to modern deep learning tasks.
Key Insights: Why DFL is Inherently More Private
The core theoretical finding is that the privacy loss in DFL is mathematically upper-bounded by the loss in CFL. Several factors contribute to this advantage:
- Information Bottlenecking: In DFL, adversaries do not see raw gradients. Instead, they observe gradient differences over time and aggregated sums from local neighborhoods. This summation acts as a natural privacy filter.
- Label Hiding: Centralized models often leak data labels through the sign of the gradients. Optimization-based DFL obscures this sign information, significantly complicating reconstruction.
- Complexity as a Shield: While simple models (like logistic regression) show similar privacy profiles in both architectures, the privacy advantage of DFL scales with model complexity, offering substantial protection for Deep Neural Networks (DNNs).
Empirical Results and Performance
The theoretical "privacy gap" translates into clear empirical benefits. In gradient inversion tests, the Structural Similarity Index (SSIM)—which measures the fidelity of reconstructed images—was consistently lower for DFL compared to CFL.
As shown in the results, DFL maintains high test accuracy while significantly degrading the quality of reconstructed images. Even when compared to "Noisy Gradient" baselines, the inherent structure of decentralized optimization (Grad. Diff and Grad. Sum) provides superior privacy without the performance degradation typically associated with adding noise. Furthermore, DFL demonstrated lower AUC scores for membership inference attacks, confirming its robustness against data membership leakage.
Conclusion and Future Directions
This work provides a foundational proof that decentralized architectures, when paired with distributed optimization, offer superior privacy protections over centralized FL. While the advantage is most pronounced in complex models, it persists across various datasets and attack scenarios. Future research will explore the impact of specific network topologies (e.g., ring vs. grid) and the system's resilience against active, malicious adversaries.
Summary updated