Abstract
Collaborative Learning (CL) faces a dual threat: malicious servers performing gradient inversion to reconstruct private data and malicious clients launching poisoning attacks to degrade model performance. This paper presents a peer-to-peer (P2P) framework that achieves active security and robustness without a central authority. By utilizing a modular compiler and a novel efficiency technique called "computational surjectivity," the framework scales to million-parameter models across thousands of untrusted peers, bridging the gap between cryptographic privacy and statistical robustness.
Introduction
Traditional Federated Learning (FL) relies on a central aggregator to collect and process model updates. This architecture creates a dangerous asymmetry of power. A malicious server can exploit model updates to leak sensitive user information, while malicious clients can submit poisoned gradients to insert backdoors or prevent convergence.
While cryptographic solutions like Secure Aggregation protect privacy and statistical methods like Byzantine-robust aggregation protect against poisoning, combining them is notoriously difficult. Such combinations usually result in a "multiplicative slowdown" that makes training prohibitively slow. This research introduces a serverless architecture that eliminates the central server entirely, distributing trust across a rotating committee of peers.
Methodology
The proposed framework "lifts" existing robust aggregation algorithms into a secure, decentralized setting using three primary pillars:
1. Committee-Based P2P Architecture
Instead of a single server, the system elects a random, honest-majority committee of peers for each round. This committee handles the aggregation process using Multi-Party Computation (MPC) and Verifiable Secret Sharing (VSS). By rotating this committee, the framework prevents any single participant from gaining enough power to perform data reconstruction attacks.
2. Modular Template and Offloading
The authors break down robust aggregation into three distinct functions: Client Update ($F^C$), Server Preprocessing ($F^P$), and Server Aggregation ($F^R$). To reduce the heavy computational load on the MPC committee, the framework offloads the preprocessing step ($F^P$) to the clients. This modularity allows the system to act as a "generic compiler," transforming standard robust algorithms into malicious-secure P2P versions.
3. Computational Surjectivity
To ensure clients do not cheat during the offloaded preprocessing step, traditional systems would require expensive Zero-Knowledge Proofs (ZKPs). The authors introduce "computational surjectivity" as a more efficient alternative. If a function is computationally surjective—meaning any valid output has a discoverable valid input—the committee only needs to verify that the output is well-formed (e.g., within a specific range or "box") rather than proving the exact calculation was followed. This insight provides massive computational savings, enabling the system to scale.
Experimental Evaluation
The framework was instantiated with three popular robust algorithms: RSA (Robust Stochastic Aggregation), Centered Clipping (CC), and FLTrust. Evaluation was conducted using standard computer vision benchmarks:
- MNIST and EMNIST: Handwritten digits and letters, tested in both IID and non-IID settings.
- CIFAR-100: A complex dataset featuring 100 object classes.
The researchers simulated various adversarial environments, including "A Little Is Enough" (ALIE) attacks, label flipping, and bit-flipping attacks to test the limits of the system's robustness.
Key Results
- Scalability: The system successfully trained models with 1 million parameters across thousands of peers, a significant milestone for decentralized MPC-based learning.
- Efficiency: For a model with $10^5$ parameters and 1000 peers, the aggregation step for the RSA-based protocol required only 46 seconds of CPU time per round.
- Utility Preservation: The "actively secure" versions of the algorithms maintained the same level of robustness as their original, non-secure counterparts. For instance, Centered Clipping (CC) achieved over 90% accuracy on EMNIST even when 20% of the workers were malicious.
- Algorithm Trade-offs: RSA proved to be the fastest (up to 30x faster than CC), but CC and FLTrust provided superior final model accuracy and faster convergence in terms of training rounds.
Discussion and Future Work
While the protocol ensures the confidentiality of updates during the training process, it does not prevent privacy leakage from the final trained model itself. The authors identify the integration of Differential Privacy (DP) as a necessary next step to provide end-to-end privacy guarantees. Additionally, while the system is highly efficient for a secure protocol, it remains more resource-intensive than traditional non-secure FL. Future research will focus on handling more dynamic participation (user dropouts and "swarm" dynamics) and further reducing the computational overhead of the MPC committee.
Summary updated