Skip to main content
QUICK REVIEW

[论文解读] Federated Unlearning: How to Efficiently Erase a Client in FL?

Anisa Halimi, Swanand Kadhe|arXiv (Cornell University)|Jul 12, 2022
Privacy-Preserving Technologies in DataComputer Science被引用 28
一句话总结

论文提出一种两阶段的联邦去学习方法:目标客户端在本地通过投影梯度下降实现学习的反转;随后服务器/其他客户端在该局部去学习模型的基础上进行少量的联邦学习轮次,达到接近重新训练的性能,同时显著降低通信成本。

ABSTRACT

With privacy legislation empowering the users with the right to be forgotten, it has become essential to make a model amenable for forgetting some of its training data. However, existing unlearning methods in the machine learning context can not be directly applied in the context of distributed settings like federated learning due to the differences in learning protocol and the presence of multiple actors. In this paper, we tackle the problem of federated unlearning for the case of erasing a client by removing the influence of their entire local data from the trained global model. To erase a client, we propose to first perform local unlearning at the client to be erased, and then use the locally unlearned model as the initialization to run very few rounds of federated learning between the server and the remaining clients to obtain the unlearned global model. We empirically evaluate our unlearning method by employing multiple performance measures on three datasets, and demonstrate that our unlearning method achieves comparable performance as the gold standard unlearning method of federated retraining from scratch, while being significantly efficient. Unlike prior works, our unlearning method neither requires global access to the data used for training nor the history of the parameter updates to be stored by the server or any of the clients.

研究动机与目标

  • 在联邦学习中激发对“被忘记权利”的需求,并在不让服务器存储客户端更新的前提下解决实际的去学习问题。
  • 开发一种两阶段的去学习方法,在去除目标客户端全部数据影响的同时,尽量保持其他客户端的性能。
  • 在多数据集和场景下对效能、保真度和效率进行定量评估,与从零重新训练相比。

提出的方法

  • 将去学习建模为一个有约束的最大化问题,其中目标客户端在以参考模型为圆心、半径为 l2 球内最大化局部损失。
  • 将参考模型 w_ref 计算为其他客户端去学习前模型的平均值。
  • 在目标客户端通过投影梯度下降在 l2 球内执行本地去学习,以得到 w_i^u。
  • 在 w_i^u 的基础上启动后续的联邦学习,并与剩余客户端进行少量轮次的 FedAvg,以获得去学习后的全局模型。
  • 使用以与 w_i^{T-1} 的距离阈值的早停来约束去学习。
  • 在三个数据集(MNIST、EMNIST、CIFAR-10)上在后门和翻转图像情景下评估开销和性能。

实验结果

研究问题

  • RQ1在不让服务器存储更新的前提下,单个客户端如何高效地从一个联邦学习模型中移除其全部本地数据的影响?
  • RQ2本地去学习后再进行简短的联邦微调阶段,是否能在效力、保真度和效率方面逼近从零重新训练?
  • RQ3相对于在标准FL基准上从零重新训练,所提出方法在通信和计算方面有哪些节省?
  • RQ4该方法是否能推广到非凸目标和现实的企业级(跨机构)FL设置?

主要发现

  • 基于 PGD 的去学习方法显著降低后门准确率,在 MNIST、EMNIST 和 CIFAR-10 上达到与重新训练相似的性能。
  • 目标客户端数据的成员资格推断风险与重新训练相当,显著低于 FedAvg 基线。
  • 去学习后的模型保持保真度,在少量的 FL 轮次后,在保留数据上达到与重新训练相似的无污染准确度。
  • 该方法将通信成本降低多达 24 倍,并且需要的轮次远少于重新训练即可达到可比的保真度。
  • 在后门情景下,使用去学习初始化进行一轮后训练即可在各数据集上达到接近重新训练的性能。
  • 在翻转图像情景中,该方法比重新训练效率高最多 5.8 倍,且效力和保真度相当。

阅读本论文

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

在 Nubint 中阅读本论文

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