Skip to main content
QUICK REVIEW

[Paper Review] Towards Efficient and Certified Recovery from Poisoning Attacks in Federated Learning

Yu Jiang, Jiyuan Shen|arXiv (Cornell University)|Jan 16, 2024
Privacy-Preserving Technologies in DataComputer Science3 citations
TL;DR

This paper proposes Crab, an efficient and certified recovery method for federated learning (FL) systems compromised by poisoning attacks. By selectively storing only critical historical model states and adaptively rolling back to a pre-poisoning global model, Crab accelerates recovery and reduces memory usage while maintaining high accuracy—outperforming prior methods in speed and resource efficiency across multiple datasets and attack types.

ABSTRACT

Federated learning (FL) is vulnerable to poisoning attacks, where malicious clients manipulate their updates to affect the global model. Although various methods exist for detecting those clients in FL, identifying malicious clients requires sufficient model updates, and hence by the time malicious clients are detected, FL models have been already poisoned. Thus, a method is needed to recover an accurate global model after malicious clients are identified. Current recovery methods rely on (i) all historical information from participating FL clients and (ii) the initial model unaffected by the malicious clients, leading to a high demand for storage and computational resources. In this paper, we show that highly effective recovery can still be achieved based on (i) selective historical information rather than all historical information and (ii) a historical model that has not been significantly affected by malicious clients rather than the initial model. In this scenario, while maintaining comparable recovery performance, we can accelerate the recovery speed and decrease memory consumption. Following this concept, we introduce Crab, an efficient and certified recovery method, which relies on selective information storage and adaptive model rollback. Theoretically, we demonstrate that the difference between the global model recovered by Crab and the one recovered by train-from-scratch can be bounded under certain assumptions. Our empirical evaluation, conducted across three datasets over multiple machine learning models, and a variety of untargeted and targeted poisoning attacks reveals that Crab is both accurate and efficient, and consistently outperforms previous approaches in terms of both recovery speed and memory consumption.

Motivation & Objective

  • To address the critical gap in federated learning (FL) where global models become poisoned before malicious clients are detected.
  • To reduce the high storage and computational costs of existing recovery methods that rely on all historical gradients and the initial model.
  • To enable fast, accurate, and certified recovery from poisoning attacks using selective information and adaptive rollback to a less-corrupted historical model.
  • To balance recovery performance with resource efficiency by optimizing storage and rollback strategies.

Proposed method

  • Crab employs selective historical information storage, retaining only a fraction of rounds (controlled by hyperparameter λ) and clients with high contribution (controlled by δ) in each selected round.
  • It introduces an adaptive rollback mechanism that identifies a sensitivity threshold (β) to determine the earliest global model state not significantly affected by poisoning, avoiding full retraining from scratch.
  • The method bounds the difference between Crab-recovered models and those recovered from training from scratch under specific assumptions, ensuring theoretical certification of recovery quality.
  • It uses gradient calibration based on selected historical data to reconstruct a clean global model, minimizing the impact of malicious updates.
  • The rollback point is dynamically chosen based on model stability and sensitivity to poisoning, ensuring robustness against both untargeted and targeted attacks.
  • Crab leverages membership inference and attack success rate (ASR) metrics to validate recovery effectiveness and ensure backdoor removal.

Experimental results

Research questions

  • RQ1Can effective model recovery be achieved without storing all historical gradients and without relying on the initial model in FL systems?
  • RQ2How can selective storage of historical model states and gradients improve recovery efficiency while maintaining high accuracy?
  • RQ3What is the optimal trade-off between recovery performance and computational/memory cost in post-poisoning FL recovery?
  • RQ4How does adaptive rollback to a non-initial, pre-poisoning model state compare to full retraining from scratch in terms of model quality and speed?
  • RQ5To what extent can Crab ensure certified recovery by bounding the difference between its output and a ground-truth retraining baseline?

Key findings

  • Crab reduced memory consumption and accelerated recovery speed compared to existing methods that store all historical gradients and rely on the initial model.
  • On MNIST, Fashion-MNIST, and CIFAR-10, Crab achieved a test accuracy of 78.51% after recovery from trim attacks, with an Attack Success Rate (ASR) of around 10%, indicating near-complete mitigation of backdoor behavior.
  • The Membership Inference Success Rate (MISR) dropped to 37.97% on MNIST after recovery, demonstrating reduced memorization of target client data.
  • With optimal hyperparameters (λ=0.6, δ=0.7, β=0.3), Crab maintained high recovery accuracy (81.33% test accuracy) while balancing efficiency and performance.
  • Increasing the sensitivity threshold β beyond 0.3 led to a significant drop in test accuracy (to 80.48% at β=0.3 and a sharp decline at β=0.9), confirming the importance of early rollback to avoid poisoned states.
  • Crab consistently outperformed prior methods in both recovery speed and resource utilization across multiple datasets and attack types, including untargeted and targeted poisoning attacks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.