Abstract
Decentralized learning (DL) faces significant challenges when malicious participants poison the global model. Traditional recovery methods, such as retraining from scratch, are computationally expensive and risk leaking sensitive client data. This paper presents PDLRecover, a framework that treats model recovery as a machine unlearning problem. By combining Hessian-vector product (HVP) approximations with Shamir’s Secret Sharing, PDLRecover efficiently "rolls back" malicious updates. Experimental results on MNIST, FashionMNIST, and HAR datasets demonstrate that PDLRecover restores model accuracy to near-original levels with a 33-35% reduction in training time compared to standard retraining.
Introduction
Decentralized learning (DL) allows multiple devices to train a shared model without ever sending their raw data to a central server. While this architecture enhances privacy, it is highly vulnerable to poisoning attacks, where malicious participants submit corrupted updates to degrade the global model's performance.
Current defenses typically focus on detecting these bad actors but struggle with recovery. If a model is poisoned, the standard solution is to exclude the attackers and retrain from scratch. In a decentralized environment, this is computationally expensive, time-consuming, and requires all honest clients to remain online simultaneously. Furthermore, the recovery process itself could inadvertently leak sensitive information about honest clients' local models. PDLRecover addresses these issues by providing a fast, privacy-preserving method to remove malicious influences.
Methodology
PDLRecover treats model recovery as a "machine unlearning" problem. Instead of starting over, the system estimates what the model would have looked like if the malicious updates were never included.
Key Technical Components
- Hessian-vector product (HVP) Approximation: Calculating the exact Hessian matrix of a high-dimensional model is computationally prohibitive. PDLRecover uses HVP to estimate model changes via an extended L-BFGS method tailored for decentralized settings. The authors leverage the linear property of approximate Hessian computation, allowing it to integrate seamlessly with secret sharing.
- Shamir’s Secret Sharing: To prevent privacy leaks during recovery, clients distribute "shares" of their data rather than raw gradients. Global statistics are reconstructed using Lagrange interpolation, ensuring no single participant can view another's private update.
- Three-Phase Workflow:
- Preparation: Clients cache historical updates and global model states.
- Periodic Steps: To prevent HVP approximations from becoming inaccurate over time, the system performs periodic exact updates to refresh curvature information.
- Final Exact Training: A few rounds of precise training at the end ensure the recovered model reaches a stable, high-accuracy state.
Experimental Evaluation
The framework was evaluated on three standard benchmarks: MNIST, FashionMNIST, and HAR (Human Activity Recognition). Researchers simulated "backdoor attacks" to test PDLRecover's ability to purge malicious influence.
Key Results
- Performance Recovery: In tests on MNIST and FashionMNIST, poisoned models (which dropped to ~24% accuracy under attack) were restored to over 93% accuracy, nearly matching the performance of a model retrained from scratch.
- Efficiency: PDLRecover achieved significant speedups, saving approximately 33% to 35% of running time across the different datasets compared to the "Drop Client Retrain" baseline.
- Scalability: The system remained effective even as the number of malicious clients increased (tested up to 60 attackers in a 200-client network), showing a predictable relationship between attacker count and recovery effort.
Discussion and Future Work
While PDLRecover is a significant advancement, it has certain limitations. Clients must cache historical model parameters and gradients, which may impose storage burdens on memory-constrained IoT devices. Additionally, PDLRecover is a recovery tool that assumes malicious clients have already been identified by a separate detection mechanism.
Future research will focus on developing "multi-layered defense mechanisms" and investigating ways to reduce dependency on historical data, making the system even leaner for resource-limited environments.
Summary updated