arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.08008cs.LGcs.CR
收藏

实现隐私保护联邦学习的交互式框架:大型语言模型上的实验

An Interactive Framework for Implementing Privacy-Preserving Federated Learning: Experiments on Large Language Models

University of South Florida(南佛罗里达大学);Texas State University(德州州立大学);University of Arizona(亚利桑那大学)

Kasra Ahmadi, Rouzbeh Behnia, Reza Ebrahimi, Mehran Mozaffari Kermani, Jeremiah Birrell, Jason Pacheco, Attila A Yavuz

AI总结:

针对联邦学习(FL)存在的隐私泄露风险及差分隐私(DP)保守性导致模型准确性受损的问题,本工作提出整合人类隐私从业者的框架,采用固定内存DP方法解决FL中DP方法的可变内存需求,实现可扩展私有FL并在LLM上验证了稳定内存使用与较小准确率损失。

摘要:

联邦学习(FL)通过将用户数据保留在本地设备上来增强隐私。然而,新兴攻击表明,用户在训练期间共享的更新会泄露其数据的重要信息,这极大阻碍了FL方法在敏感应用中训练稳健AI模型的采用。差分隐私(DP)被视为保护用户数据的黄金标准,但DP保证高度保守,提供最坏情况的隐私保证,这可能导致高估隐私需求,进而损害模型准确性。此外,这些隐私保证的解释在不同语境中被证明具有挑战性,当训练迭代次数、数据分布和特定应用需求等其他因素进一步增加问题复杂性时,这一挑战会加剧。在本工作中,我们提出了一个整合人类隐私从业者的框架,以确定模型隐私与效用之间的最优权衡。该框架首次解决了现有DP方法在FL设置中的可变内存需求问题,使资源受限设备(如手机)能够参与。为支持此类设置,我们采用了一种具有固定内存使用量的最新DP方法,以确保可扩展的私有FL。我们通过使用GLUE数据集微调基于BERT的LLM模型、利用新的会计方法并采用多样化数据分区策略模拟真实世界条件,对所提框架进行了评估。结果显示,与不支持固定内存使用的最先进DP会计方法相比,我们实现了稳定的内存使用,当ε=10时平均准确率下降1.33%,ε=6时平均准确率下降1.9%。

英文摘要:

Federated learning (FL) enhances privacy by keeping user data on local devices. However, emerging attacks have demonstrated that the updates shared by users during training can reveal significant information about their data. This has greatly thwart the adoption of FL methods for training robust AI models in sensitive applications. Differential Privacy (DP) is considered the gold standard for safeguarding user data. However, DP guarantees are highly conservative, providing worst-case privacy guarantees. This can result in overestimating privacy needs, which may compromise the model's accuracy. Additionally, interpretations of these privacy guarantees have proven to be challenging in different contexts. This is further exacerbated when other factors, such as the number of training iterations, data distribution, and specific application requirements, can add further complexity to this problem. In this work, we proposed a framework that integrates a human entity as a privacy practitioner to determine an optimal trade-off between the model's privacy and utility. Our framework is the first to address the variable memory requirement of existing DP methods in FL settings, where resource-limited devices (e.g., cell phones) can participate. To support such settings, we adopt a recent DP method with fixed memory usage to ensure scalable private FL. We evaluated our proposed framework by fine-tuning a BERT-based LLM model using the GLUE dataset (a common approach in literature), leveraging the new accountant, and employing diverse data partitioning strategies to mimic real-world conditions. As a result, we achieved stable memory usage, with an average accuracy reduction of 1.33% for $ε= 10$ and 1.9% for $ε= 6$, when compared to the state-of-the-art DP accountant which does not support fixed memory usage.

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

↑