Skip to main content
QUICK REVIEW

[论文解读] Federated Learning with Anomaly Detection via Gradient and Reconstruction Analysis

Zahir Alsulaimawi|arXiv (Cornell University)|Mar 15, 2024
Privacy-Preserving Technologies in DataComputer Science被引用 3
一句话总结

本文提出了一种用于联邦学习的双层异常检测框架,结合基于梯度的分析与基于自编码器的数据重建,以15%的更高准确率检测中毒数据,同时保持较低的误报率。该方法采用动态阈值,相较于MNIST和CIFAR-10上的基线方法表现更优,为联邦学习安全设立了新基准。

ABSTRACT

In the evolving landscape of Federated Learning (FL), the challenge of ensuring data integrity against poisoning attacks is paramount, particularly for applications demanding stringent privacy preservation. Traditional anomaly detection strategies often struggle to adapt to the distributed nature of FL, leaving a gap our research aims to bridge. We introduce a novel framework that synergizes gradient-based analysis with autoencoder-driven data reconstruction to detect and mitigate poisoned data with unprecedented precision. Our approach uniquely combines detecting anomalous gradient patterns with identifying reconstruction errors, significantly enhancing FL model security. Validated through extensive experiments on MNIST and CIFAR-10 datasets, our method outperforms existing solutions by 15\% in anomaly detection accuracy while maintaining a minimal false positive rate. This robust performance, consistent across varied data types and network sizes, underscores our framework's potential in securing FL deployments in critical domains such as healthcare and finance. By setting new benchmarks for anomaly detection within FL, our work paves the way for future advancements in distributed learning security.

研究动机与目标

  • 为解决联邦学习中数据 poisoning 的关键挑战,即恶意客户端可在不违反隐私约束的前提下破坏模型完整性。
  • 克服现有联邦学习异常检测方法在数据异构性、通信低效性以及缺乏标注恶意样本情况下的局限性。
  • 开发一种强大且自适应的防御机制,在联邦学习的隐私保护约束下运行,同时保持高检测准确率。
  • 通过结合基于梯度的不规则性检测与基于自编码器的重建误差分析,为联邦学习中的异常检测建立新基准。

提出的方法

  • 该框架采用基于梯度的分析方法,通过识别损失函数梯度中的异常模式来检测恶意客户端更新,从而揭示潜在的 poisoning 攻击。
  • 在正常客户端数据上训练自编码器以学习紧凑表征,利用重建误差作为识别数据异常的指标。
  • 动态灵敏度因子实时调整异常检测阈值,提升对演化攻击策略的适应能力,降低误报率。
  • 系统融合基于梯度分析与重建误差的结果,做出最终异常判断,形成双层防御机制。
  • 该方法在 MNIST 与 CIFAR-10 上使用标准联邦学习训练流程进行评估,并与 PCA 和 CAE 基线方法进行比较。
  • 采用受试者工作特征(ROC)曲线与 AUC 分数,对不同数据集上的检测性能进行定量评估。
Figure 1: ROC curves comparison
Figure 1: ROC curves comparison

实验结果

研究问题

  • RQ1基于梯度的分析能否在无需标注恶意样本的情况下,有效检测联邦学习中的中毒数据更新?
  • RQ2在异构的联邦学习数据分布中,基于自编码器的重建误差在多大程度上可作为可靠的异常指标?
  • RQ3与单一指标方法相比,梯度分析与重建分析的融合在多大程度上提升了检测准确率?
  • RQ4动态阈值对降低实时联邦学习异常检测中误报率的影响如何?
  • RQ5考虑到数据复杂度与维度的差异,该框架在 MNIST 与 CIFAR-10 等多样化数据集上的表现如何?

主要发现

  • 所提出的框架在 MNIST 与 CIFAR-10 数据集上均比现有方法提高15%的异常检测准确率。
  • 该方法保持了极低的误报率,表现出在区分良性与恶意更新方面的高度可靠性。
  • MNIST 的 ROC 曲线显示出高真正例率与低假正例率,AUC 值较高,表明检测性能优异。
  • CIFAR-10 的结果表现出合理的 AUC 值但低于 MNIST,反映出彩色图像与高维数据带来的更高复杂性。
  • CIFAR-10 上的重建误差始终较低,表明自编码器能够捕捉复杂模式,但可能需要模型优化以实现最佳异常敏感度。
  • 双层方法——结合梯度不规则性检测与重建误差——比独立的 PCA 或 CAE 方法更为有效。
Figure 2: Model Performance and Anomaly Detection vs. Sensitivity Factor for MNIST (Smoothed)
Figure 2: Model Performance and Anomaly Detection vs. Sensitivity Factor for MNIST (Smoothed)

阅读本论文

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

在 Nubint 中阅读本论文

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