Abstract
Privacy-preserving Federated Learning (FL) often relies on zero-sum noise to mask client updates. However, unreliable communication and client dropouts frequently disrupt the noise cancellation process, leading to significant aggregation errors that can cause model divergence. This paper introduces Secure Cooperative Gradient Coding (SecCoGC), a framework that integrates gradient coding with cooperative relaying to ensure robust model reconstruction and perfect noise cancellation even under communication uncertainty. SecCoGC achieves accuracy gains of up to 70% over existing methods by ensuring a "binary" recovery outcome: the server either reconstructs the exact global model or nothing at all, thereby eliminating objective inconsistency caused by uncancelled noise.
Introduction
In Federated Learning, a central server aggregates model updates from distributed clients to train a global model without accessing raw local data. To enhance privacy, clients often add zero-sum noise to their updates, designed such that the noise components cancel out to zero upon aggregation.
A critical challenge arises in real-world networks where communication is unreliable. When clients drop out (stragglers), the "zero-sum" property is lost, leaving residual noise that poisons the aggregate update. This "all-or-nothing" problem often forces a trade-off between privacy and model accuracy. Existing solutions, such as Shamir’s Secret Sharing (SSS), are often computationally prohibitive for large-scale FL or fail to address the "client drift" inherent in partial participation. SecCoGC addresses these limitations by leveraging coding theory to enforce the mathematical structure required for reliable noise cancellation.
Secure Cooperative Gradient Coding (SecCoGC)
The SecCoGC framework moves away from simple summation toward a structured, coded approach to aggregation. It combines three primary innovations to ensure reliability and privacy.
Cyclic Gradient Coding and Cooperative Relaying
SecCoGC utilizes specific coding matrices to distribute redundant data and noise across clients. Unlike traditional FL, where clients communicate only with the server, SecCoGC employs cooperative relaying. Clients share masked updates with their neighbors, creating a redundant network of information.
As illustrated in the figure above, the system is designed such that the server only needs a threshold subset of client responses to reconstruct the entire global update. This "binary recovery" ensures that the server either obtains the exact, noise-free aggregate or receives no update at all. This prevents the model from being corrupted by partial, noisy sums that typically plague dropout-resilient methods.
Fair Zero-Sum Noise Construction
The authors identified that random noise generation often leads to "privacy unfairness," where some clients are better protected than others due to varying noise magnitudes. Furthermore, high-magnitude noise can lead to signal clipping in hardware power amplifiers. SecCoGC introduces a cyclic construction method for real-field noise that ensures every client has identical noise power ($\\ell_2$-norm), providing uniform privacy guarantees and improving hardware compatibility.
Experimental Evaluation
The authors evaluated SecCoGC using the MNIST and CINIC-10 datasets. To simulate real-world challenges, they used a Dirichlet distribution to model data heterogeneity (non-IID data) among clients.
Key Results
- Accuracy Boost: Under high communication uncertainty, SecCoGC improved test accuracy by 20% to 70% compared to standard private FL and other coded benchmarks like DNC.
- Convergence Stability: While standard private FL often diverged under high noise and dropouts, SecCoGC followed a stable optimization path, approaching the performance of an "Ideal FL" scenario with perfect communication.
- Theoretical Guarantees: The framework provides a rigorous Local Differential Privacy (LDP) analysis, proving that privacy is maintained even if an eavesdropper intercepts inter-client messages. Additionally, the authors proved a convergence rate of $O(1/\\sqrt{T})$ with a 99.74% probability.
Conclusion
SecCoGC demonstrates that coding is not merely a tool for error correction but a fundamental requirement for privacy in unreliable FL environments. By enforcing a mathematical structure that guarantees noise cancellation, SecCoGC enables robust and private collaborative learning. Future work will focus on extending the framework to handle heterogeneous learning weights and moving toward fully decentralized key management systems.
Summary updated