arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.06368cs.LGcs.CRcs.DC
收藏

DP-DyLoRA:利用动态低秩适配在差分隐私联邦学习下于设备端微调基于 Transformer 的模型

DP-DyLoRA: Fine-Tuning Transformer-Based Models On-Device under Differentially Private Federated Learning using Dynamic Low-Rank Adaptation

Samsung R&D Institute UK(英国三星研发研究院);AI Center-Cambridge, Samsung(三星剑桥人工智能中心)

Jie Xu, Karthikeyan Saravanan, Rogier van Dalen, Haaris Mehmood, David Tuckey, Mete Ozay

AI总结:

本文针对 DP-FL 下设备端微调大型 Transformer 性能下降问题,提出可满足差分隐私的动态低秩适配方法 DP-DyLoRA,并在多领域任务中显著降低准确率与 WER 损失。

摘要:

联邦学习(FL)允许客户端在不向服务器共享其本地数据的情况下协同训练全局模型。然而,客户端对服务器的贡献仍可能泄露敏感信息。差分隐私(DP)通过提供形式化隐私保证来解决此类泄露,其机制会向客户端的贡献中加入随机性。这种随机性使得训练现代联邦学习系统中常见的大型基于 Transformer 的模型变得不可行。在本工作中,我们通过实验评估在联邦学习系统中以差分隐私在设备端微调大规模基于 Transformer 的模型的实用性。我们针对多种系统属性开展了全面实验,任务涵盖众多领域:语音识别、计算机视觉(CV)和自然语言理解(NLU)。结果表明,差分隐私联邦学习(DP-FL)下的全量微调通常会导致巨大的性能下降,而通过参数高效微调(PEFT)降低贡献的维度可以缓解这一问题。我们对现有 DP-PEFT 方法的基准测试表明,DP-低秩适配(DP-LoRA)始终优于其他方法。一种更有前景的方法 DyLoRA 使低秩可变,但若简单地与 FL 结合,将直接破坏差分隐私。因此,我们提出一种可与差分隐私结合的适配方法,并将其命名为 DP-DyLoRA。最终,在拥有 100 万客户端且隐私预算严格为 ε=2 的条件下,我们能够将 DP 导致的准确率下降和词错误率(WER)上升分别降低至 2% 以下和 7% 以下。

英文摘要:

Federated learning (FL) allows clients to collaboratively train a global model without sharing their local data with a server. However, clients' contributions to the server can still leak sensitive information. Differential privacy (DP) addresses such leakage by providing formal privacy guarantees, with mechanisms that add randomness to the clients' contributions. The randomness makes it infeasible to train large transformer-based models, common in modern federated learning systems. In this work, we empirically evaluate the practicality of fine-tuning large scale on-device transformer-based models with differential privacy in a federated learning system. We conduct comprehensive experiments on various system properties for tasks spanning a multitude of domains: speech recognition, computer vision (CV) and natural language understanding (NLU). Our results show that full fine-tuning under differentially private federated learning (DP-FL) generally leads to huge performance degradation which can be alleviated by reducing the dimensionality of contributions through parameter-efficient fine-tuning (PEFT). Our benchmarks of existing DP-PEFT methods show that DP-Low-Rank Adaptation (DP-LoRA) consistently outperforms other methods. An even more promising approach, DyLoRA, which makes the low rank variable, when naively combined with FL would straightforwardly break differential privacy. We therefore propose an adaptation method that can be combined with differential privacy and call it DP-DyLoRA. Finally, we are able to reduce the accuracy degradation and word error rate (WER) increase due to DP to less than 2% and 7% respectively with 1 million clients and a stringent privacy budget of $ε=2$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑