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

Optimal Hydra:面向大语言模型的模型异构联邦学习,采用数据驱动的Hydra-Nets

Optimal Hydra: Model Heterogeneous Federated Learning for LLMs using Data-Informed Hydra-Nets

Concordia University(康考迪亚大学);Toyota Motor Europe(丰田汽车欧洲公司);Mila(米拉研究所)

Gwen Legate, Rahaf Aljundi, Eugene Belilovsky

AI总结:

Optimal Hydra是一种面向LLM微调的模型异构联邦学习框架,结合全局层选择与客户端特定注意力头选择生成Hydra-nets,在三个数据集上较基线方法性能显著提升且降低了本地资源需求。

摘要:

在海量数据上训练的大语言模型(LLMs)已在一系列任务中展现出令人印象深刻的性能,但未来的性能提升将需要更多的数据和计算资源。联邦学习(FL)支持在分散的私有数据上进行训练,但客户端资源限制可能使训练难以实现,尤其是随着模型规模不断扩大。这些资源限制使得共享服务器-客户端架构的假设不再适用。模型异构联邦学习通过使模型大小适配客户端能力提供了一种有前景的替代方案;然而,先前的工作仅局限于预训练场景,且关于子网络选择的结论不一定适用于微调。此外,现有方法在创建客户端子网络时未考虑其独特的数据分布,从而错失了根据本地数据定制子网络架构的机会。鉴于注意力头在层定义的特征空间内表现出任务依赖性的证据,我们提出Optimal Hydra,这是一种面向微调的基于Transformer的异构联邦学习框架,结合了全局层选择与客户端特定注意力头选择,以适配本地数据分布。Optimal Hydra明确利用客户端数据生成客户端特定的子网络,我们将其命名为Hydra-nets。据我们所知,这是第一种专为LLM微调设计的模型异构联邦学习方法。在三个数据集上的实验表明,该方法相较于基线方法有显著提升,同时降低了本地资源需求。

英文摘要:

Large language models (LLMs) trained on vast amounts of data have demonstrated impressive performance over a range of tasks, but future performance gains will require increasing amounts of data and compute. Federated Learning (FL) facilitates training on decentralized private data, but client resource limitations can make training impractical, particularly as model sizes continue to expand. These resource constraints make the assumption of a shared server-client architecture impractical. Model heterogeneous FL offers a promising alternative by adapting model size to client capabilities; however, previous work is limited to the pre-training setting, and conclusions on sub-network selection do not necessarily hold for fine-tuning. Furthermore, prior approaches create client sub-networks without considering their unique data distributions, thereby overlooking the opportunity to tailor sub-network architecture to local data. Motivated by evidence that attention heads exhibit task dependency within layer defined feature spaces, we propose Optimal Hydra, a transformer based heterogeneous FL framework for fine-tuning that combines global layer selection with client specific attention head selection, aligned with local data distributions. Optimal Hydra makes explicit use of client data to produce client-specific sub-networks we call Hydra-nets. To our knowledge, this is the first model heterogeneous FL approach tailored to LLM fine-tuning. Experiments on three datasets show significant improvements over baseline methods while also reducing local resource demands.

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

↑