arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.19211cs.LGcs.AIcs.CL
收藏

面向联邦基础模型的双重个性化适配器

Dual-Personalizing Adapter for Federated Foundation Models

Australian AI Institute(澳大利亚人工智能研究所);Faculty of Engineering & IT(工程与信息技术学院);University of Technology Sydney(悉尼科技大学)

Yiyuan Yang, Guodong Long, Tao Shen, Jing Jiang, Michael Blumenstein

AI总结:

针对联邦基础模型在测试时分布偏移下难以个性化的问题,本文提出 FedDPA,通过全局与局部适配器及实例级动态加权实现测试时个性化。

摘要:

近年来,基础模型,尤其是大语言模型(LLM),通过在多样化指令数据上进行微调,已展现出适应各种任务的卓越能力。值得注意的是,联邦基础模型(FedFM)作为一种隐私保护方法应运而生,它在联邦学习(FL)设置下,利用许多包含非独立同分布(non-IID)数据的分布式数据集协同微调模型。为缓解通信和计算开销,研究引入了参数高效方法以提升效率,并且一些研究将个性化方法适配到 FedFM,以更好地对齐用户偏好。然而,现有研究的一个关键空白是忽视了现实应用中的测试时分布偏移;而个性化 FL 中用于处理测试时分布偏移的传统方法对 FedFM 效果较差,原因在于它们无法适应复杂的分布偏移场景,并且需要训练全部参数。为弥补这一空白,我们细化了 FedFM 中的设置,称之为测试时个性化,其目标是在客户端上学习个性化联邦基础模型,同时有效处理测试时分布偏移。为解决该设置中的挑战,我们探索了一种简单而有效的方案:联邦双重个性化适配器(FedDPA)架构。通过与基础模型协同工作,全局适配器和局部适配器共同应对测试时分布偏移和客户端特定的个性化。此外,我们引入了实例级动态加权机制,在推理期间为每个测试实例动态融合全局适配器和局部适配器,从而促进有效的测试时个性化。所提方法的有效性已在跨不同 NLP 任务的基准数据集上进行了评估。

英文摘要:

Recently, foundation models, particularly large language models (LLMs), have demonstrated an impressive ability to adapt to various tasks by fine-tuning diverse instruction data. Notably, federated foundation models (FedFM) emerge as a privacy preservation method to fine-tune models collaboratively under federated learning (FL) settings by leveraging many distributed datasets with non-IID data. To alleviate communication and computation overhead, parameter-efficient methods are introduced for efficiency, and some research adapted personalization methods to FedFM for better user preferences alignment. However, a critical gap in existing research is the neglect of test-time distribution shifts in real-world applications, and conventional methods for test-time distribution shifts in personalized FL are less effective for FedFM due to their failure to adapt to complex distribution shift scenarios and the requirement to train all parameters. To bridge this gap, we refine the setting in FedFM, termed test-time personalization, which aims to learn personalized federated foundation models on clients while effectively handling test-time distribution shifts simultaneously. To address challenges in this setting, we explore a simple yet effective solution, a Federated Dual-Personalizing Adapter (FedDPA) architecture. By co-working with a foundation model, a global adapter and a local adapter jointly tackle the test-time distribution shifts and client-specific personalization. Additionally, we introduce an instance-wise dynamic weighting mechanism that dynamically integrates the global and local adapters for each test instance during inference, facilitating effective test-time personalization. The effectiveness of the proposed method has been evaluated on benchmark datasets across different NLP tasks.

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

↑