Skip to main content
QUICK REVIEW

[论文解读] Untargeted Poisoning Attack Detection in Federated Learning via Behavior Attestation

Ranwa Al Mallah, David López|arXiv (Cornell University)|Jan 24, 2021
Adversarial Robustness in Machine LearningComputer Science被引用 19
一句话总结

该论文提出 attestedFL,一种新型防御机制,用于抵御联邦学习中的非目标性 poisoning 攻击。通过分析参与方在时间维度上的训练行为,利用状态持久性和行为认证技术检测恶意参与方。通过监控模型更新的一致性(使用余弦相似度)和误差趋势,attestedFL 能够识别并排除不可靠节点,在包括持续性攻击和共谋攻击在内的多种攻击场景下,显著提升模型准确率与收敛速度。

ABSTRACT

Federated Learning (FL) is a paradigm in Machine Learning (ML) that addresses data privacy, security, access rights and access to heterogeneous information issues by training a global model using distributed nodes. Despite its advantages, there is an increased potential for cyberattacks on FL-based ML techniques that can undermine the benefits. Model-poisoning attacks on FL target the availability of the model. The adversarial objective is to disrupt the training. We propose attestedFL, a defense mechanism that monitors the training of individual nodes through state persistence in order to detect a malicious worker. A fine-grained assessment of the history of the worker permits the evaluation of its behavior in time and results in innovative detection strategies. We present three lines of defense that aim at assessing if the worker is reliable by observing if the node is really training, advancing towards a goal. Our defense exposes an attacker's malicious behavior and removes unreliable nodes from the aggregation process so that the FL process converge faster. Through extensive evaluations and against various adversarial settings, attestedFL increased the accuracy of the model between 12% to 58% under different scenarios such as attacks performed at different stages of convergence, attackers colluding and continuous attacks.

研究动机与目标

  • 解决联邦学习中日益严重的非目标性 poisoning 攻击威胁,此类攻击会损害模型收敛性与性能。
  • 在不依赖对攻击者数量的有界假设前提下,检测偏离合法训练行为的恶意参与方。
  • 通过基于行为一致性的方法剔除不可靠节点,提升联邦学习的鲁棒性与收敛速度。
  • 为应对复杂且自适应的攻击者(如共谋或动态调整攻击时机的攻击者)提供有效防御机制。
  • 实现在每个训练迭代中实时检测,无需事先掌握攻击模式。

提出的方法

  • 利用状态持久性为每个参与方维护一个近期本地模型更新的滑动窗口,支持时序行为分析。
  • 通过连续本地模型更新之间的余弦相似度评估训练一致性,检测异常行为。
  • 监控各轮次中的误差趋势,识别损失值偏离预期训练进度的参与方。
  • 采用三条检测路径:(1) 基于距离的更新一致性,(2) 权重变化的余弦相似度,(3) 误差趋势偏差。
  • 将检测机制集成至全局聚合过程,在每轮迭代中剔除可疑参与方,从而提升收敛效率。
  • 采用轻量级滑动窗口机制,优化存储空间并降低训练期间的计算开销。

实验结果

研究问题

  • RQ1通过状态持久性实现的行为认证,是否能在不预先假设攻击者数量的前提下,检测联邦学习中的非目标性 poisoning 攻击?
  • RQ2attestedFL 在持续性攻击、共谋攻击或随机化 poisoning 攻击下,是否能有效维持模型准确率?
  • RQ3通过余弦相似度与误差趋势监控训练一致性,是否能提升收敛速度与鲁棒性?
  • RQ4在参与方数量变化及 MNIST 与 CIFAR-10 等不同数据集下,attestedFL 的表现如何?
  • RQ5该防御机制能否检测到通过自适应行为模仿合法训练模式的隐蔽攻击者?

主要发现

  • attestedFL 在所有测试的联邦学习设置中均提升了模型准确率,包括参与方数量为 10 至 50 的 MNIST 与 CIFAR-10 数据集。
  • 即使在持续性攻击与共谋攻击场景下,该防御机制仍能有效检测恶意参与方,并加快收敛速度。
  • attestedFL-1 与 attestedFL-3 的计算开销高于 attestedFL-2,但在使用深度学习模型时,整体开销仍可忽略不计。
  • 在 MNIST 场景中,当参与方数量为 50 时,attestedFL 每轮迭代带来 2.8 倍的运行时开销,但因防御带来的性能增益,该开销被认定为可接受。
  • 滑动窗口机制通过仅保留每个参与方的前一次更新,优化了存储空间,实现了可扩展的行为监控。
  • 即使面对具备攻击意识的对手(其通过调整攻击时机或模式以规避检测),该防御机制仍保持有效性。

阅读本论文

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

在 Nubint 中阅读本论文

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