[论文解读] Backdoor Attacks on Federated Meta-Learning
本文研究联邦元学习中的后门攻击,表明即使在仅1次更新的投毒攻击下,攻击仍能成功并持续存在,即便经过良性微调或长期元训练。本文提出一种基于匹配网络的防御方法,将决策机制转移到本地相似性匹配,无需依赖第三方更新检查,即可将攻击成功率从最高90%降低至20%以下,同时在安全聚合机制下保护隐私。
Federated learning allows multiple users to collaboratively train a shared classification model while preserving data privacy. This approach, where model updates are aggregated by a central server, was shown to be vulnerable to poisoning backdoor attacks: a malicious user can alter the shared model to arbitrarily classify specific inputs from a given class. In this paper, we analyze the effects of backdoor attacks on federated meta-learning, where users train a model that can be adapted to different sets of output classes using only a few examples. While the ability to adapt could, in principle, make federated learning frameworks more robust to backdoor attacks (when new training examples are benign), we find that even 1-shot~attacks can be very successful and persist after additional training. To address these vulnerabilities, we propose a defense mechanism inspired by matching networks, where the class of an input is predicted from the similarity of its features with a support set of labeled examples. By removing the decision logic from the model shared with the federation, success and persistence of backdoor attacks are greatly reduced.
研究动机与目标
- 调查联邦元学习在后门攻击下的脆弱性,特别是针对仅1次投毒的场景。
- 评估诚实用户进行长期良性元训练或微调后,后门攻击的持久性。
- 设计一种在用户端本地运行的防御机制,与安全聚合兼容,且无需第三方检查模型更新。
- 证明将决策逻辑从共享模型转移到本地相似性匹配,可有效中和后门威胁。
提出的方法
- 提出一种受匹配网络启发的防御方法,其中类别预测基于输入与带标签示例支持集之间的特征相似性。
- 引入可学习的注意力机制,通过参数 βₗ 和 αₗ 对输入特征与支持集嵌入之间的余弦距离进行缩放。
- 在清除后对元模型采用随机初始化策略(δ = 0.3),以降低中毒嵌入的影响。
- 从扰动初始化开始,对注意力参数(αₗ, βₗ)和模型权重(θ′)进行迭代微调。
- 采用与[9]类似的联合训练过程,固定学习率 η = 0.001,使模型适应良性数据的同时抑制后门行为。
- 通过避免服务器对用户更新的分析,确保与安全聚合的兼容性,维持端到端隐私。
实验结果
研究问题
- RQ1在联邦元学习中,后门攻击是否能在仅一次恶意更新的情况下成功,即使攻击者训练数据中未使用目标类别?
- RQ2在诚实用户进行大量良性元训练或微调后,后门影响是否仍然持久存在?
- RQ3一种将决策逻辑与共享模型解耦的防御机制,能否在不损害隐私的前提下有效中和后门攻击?
- RQ4该防御机制对主任务准确率的影响如何,特别是在低数据量或少样本设置下?
主要发现
- 在Omniglot实验中,单次恶意更新后,80%的后门样本被错误分类,元测试准确率仅下降1%。
- 经过长期良性元训练后,Omniglot中仍有50%的后门样本被错误分类,表明攻击具有极强的持久性。
- 在mini-ImageNet上,一次更新后,75%的后门训练样本和50%的验证样本被错误分类,元测试准确率下降10%。
- 即使经过长时间的良性微调,两个数据集上的攻击成功率下降均不足10%,证实了攻击的强韧性。
- 所提出的防御方法在Omniglot和mini-ImageNet(训练集与验证集)上将攻击成功率降至约20%,当元测试中不存在后门类别时,攻击成功率降至0%。
- 在Omniglot上,经过50轮微调后,元测试准确率仍保持在96%以上,但在mini-ImageNet上下降至约35%,表明存在性能权衡。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。