Skip to main content
QUICK 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 Science被引用 3
一句话总结

本文提出Crab,一种高效且可认证的联邦学习(FL)系统在遭受投毒攻击后的恢复方法。通过选择性地仅存储关键的历史模型状态,并自适应地回滚至投毒前的全局模型,Crab在保持高准确率的同时,加速了恢复过程并降低了内存使用——在多个数据集和攻击类型下,其恢复速度和资源效率均优于现有方法。

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.

研究动机与目标

  • 解决联邦学习(FL)中全局模型在恶意客户端被检测前已被投毒的关键问题。
  • 降低现有恢复方法因依赖全部历史梯度和初始模型而产生的高存储与计算成本。
  • 通过选择性信息与自适应回滚至受污染程度较低的历史模型,实现在恢复速度、准确率与可认证性方面的高效恢复。
  • 通过优化存储与回滚策略,在恢复性能与资源效率之间实现平衡。

提出的方法

  • Crab采用选择性历史信息存储,仅保留由超参数λ控制的少量轮次中、且由超参数δ控制的高贡献客户端的模型状态。
  • 提出一种自适应回滚机制,通过识别敏感度阈值(β)来确定最早未受投毒显著影响的全局模型状态,从而避免从头开始的完整重训练。
  • 在特定假设下,对Crab恢复模型与从头训练恢复模型之间的差异进行理论界约束,确保恢复质量的可认证性。
  • 基于所选历史数据进行梯度校准,以重建干净的全局模型,最大限度减少恶意更新的影响。
  • 回滚点根据模型稳定性与对投毒的敏感度动态选择,确保对无目标攻击和有目标攻击均具备鲁棒性。
  • Crab利用成员推断与攻击成功率(ASR)指标验证恢复效果,确保后门行为被有效清除。

实验结果

研究问题

  • RQ1在联邦学习系统中,是否可以在不存储全部历史梯度且不依赖初始模型的前提下实现有效的模型恢复?
  • RQ2如何通过选择性存储历史模型状态与梯度,提升恢复效率同时保持高准确率?
  • RQ3在投毒后联邦学习恢复中,恢复性能与计算/内存成本之间的最优权衡是什么?
  • RQ4与从初始状态完全重训练相比,自适应回滚至非初始但投毒前的模型状态,在模型质量与速度方面有何差异?
  • RQ5Crab在多大程度上能通过约束其输出与真实重训练基线之间的差异,实现可认证的恢复?

主要发现

  • 与依赖全部历史梯度和初始模型的现有方法相比,Crab显著降低了内存消耗并加快了恢复速度。
  • 在MNIST、Fashion-MNIST和CIFAR-10数据集上,Crab在经历剪裁攻击(trim attacks)后,测试准确率达到78.51%,攻击成功率(ASR)约为10%,表明后门行为得到近乎完全的缓解。
  • 在MNIST数据集上,恢复后成员推断成功率(MISR)下降至37.97%,表明对目标客户端数据的记忆化程度降低。
  • 在最优超参数设置(λ=0.6,δ=0.7,β=0.3)下,Crab在保持高恢复准确率(测试准确率81.33%)的同时,实现了效率与性能的平衡。
  • 当敏感度阈值β超过0.3后,测试准确率显著下降(β=0.3时为80.48%,β=0.9时急剧下降),证实了早期回滚以避免污染状态的重要性。
  • 在多个数据集和攻击类型(包括无目标与有目标投毒攻击)下,Crab在恢复速度与资源利用率方面始终优于现有方法。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。