arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.11857cs.LG
收藏

超越参数聚合:联邦微调大语言模型的语义共识

Beyond Parameter Aggregation: Semantic Consensus for Federated Fine-Tuning of LLMs

Lamarr Institute for ML and AI, Technical University Dortmund(拉马尔机器学习与人工智能研究所,德意志理工大学);Institute for AI in medicine (IKIM), University Hospital Essen(医学人工智能研究所(IKIM),埃森大学医院)

Amr Abourayya, Jens Kleesiek, Michael Kamp

AI总结:

本文提出通过模型行为而非参数进行联邦微调,减少通信开销,适用于异构架构和开放文本生成,理论和实验证明其在效率和效果上的优势。

摘要:

联邦微调大型语言模型通常被建模为参数聚合问题。然而,即使参数高效的方法也需要传输大量可训练权重,假设对齐的架构,并依赖对模型参数的白盒访问。随着模型规模的增长和部署的异构性增加,这些假设逐渐与实际约束脱节。本文考虑了一种替代方法,通过模型行为而非参数进行协作。客户端在私有数据上微调本地模型,并在共享的公共提示集上交换生成的输出。服务器将这些输出映射到语义表示空间,形成每条提示的语义共识,并返回伪标签用于进一步本地微调。这种建模从根本上改变了联邦LLM微调的通信扩展性。交换的信息量仅取决于公共提示预算和通信行为的大小,与模型规模无关。因此,该协议自然适应异构架构,并直接应用于开放性文本生成。本文提供了理论分析和实证结果,证明该方法可以匹配强大的联邦微调基线,同时大幅减少通信(例如,对于Llama3.1-405B,分析上减少1006倍),以及减少运行时间和能耗。这些结果表明,对于生成基础模型,行为层面的共识比参数聚合更适合作为联邦适应的抽象。

英文摘要:

Federated fine-tuning of large language models is commonly formulated as a parameter aggregation problem. However, even parameter-efficient methods require transmitting large collections of trainable weights, assume aligned architectures, and rely on white-box access to model parameters. As model sizes continue to grow and deployments become increasingly heterogeneous, these assumptions become progressively misaligned with practical constraints. We consider an alternative formulation in which collaboration is mediated through model behavior rather than parameters. Clients fine-tune local models on private data and exchange generated outputs on a shared, public prompt set. The server maps these outputs into a semantic representation space, forms a per-prompt semantic consensus, and returns pseudo-labels for further local fine-tuning. This formulation fundamentally changes the communication scaling of federated LLM fine-tuning. The amount of information exchanged depends only on the public prompt budget and the size of the communicated behaviors, independent of model size. As a consequence, the protocol naturally accommodates heterogeneous architectures and applies directly to open-ended text generation. We present a theoretical analysis and empirical results demonstrating that this approach can match strong federated fine-tuning baselines while substantially reducing communication by orders of magnitude (e.g., analytically by a factor of $1006$ for Llama3.1-405B), as well as reductions in runtime and energy consumption. These results suggest that, for generative foundation models, behavior-level consensus provides a more appropriate abstraction for federated adaptation than parameter aggregation.

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

↑