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

通过优势加权细化的自我扮演增强在线联邦大语言模型微调与实时反馈

Self-Play Enhancement via Advantage-Weighted Refinement in Online Federated LLM Fine-Tuning

Purdue University(普渡大学);Yonsei University(延世大学);University at Buffalo-SUNY(布法罗大学-苏尼扬大学)

Seohyun Lee, Wenzhi Fang, Dong-Jun Han, Seyyedali Hosseinalipour, Christopher G. Brinton

AI总结:

本文提出SPEAR算法,通过反馈引导的自我扮演循环生成对比对,利用标准最大似然和置信度加权不似然训练,在无需昂贵组生成和真实上下文的情况下实现高效的在线联邦LLM微调。

摘要:

近期的工作已推进了基于反馈的学习系统,其中基础模型能够接收反馈(如用户)以自我改进,形成训练的自我循环系统。然而,现有工作受限于需要离线设置以允许此类反馈方法,并进一步受限于需要特权真实上下文进行训练。此外,对联邦学习(FL)的考虑有限,FL特别适合在大规模终端用户网络中整合外部反馈,但需要方法在资源受限的边缘设备上高效训练。因此,我们引入SPEAR(Self-Play Enhancement via Advantage-Weighted Refinement),一种高效的在线学习算法用于联邦LLM微调。SPEAR利用反馈引导的自我扮演循环,为每个提示生成自然对比对,用于训练(i)标准最大似然在正确完成上和(ii)置信度加权不似然在错误完成的尾部标记上。与现有工作不同,SPEAR无需昂贵的组生成和真实上下文进行训练(即仅部分、非答案反馈),从而可以在在线和资源高效的方式下进行训练。我们验证了SPEAR在各种基准数据集上的表现,证明其优于最先进的基线。实现代码可在https://github.com/lee3296/SPEAR公开获取。

英文摘要:

Recent works have advanced feedback-based learning systems, whereby a foundation model is able to intake incoming feedback (e.g., from a user) to self-improve, creating a self-loop system of training. However, existing works are limited in needing to consider an offline setup to allow for such feedback-based methods, requiring privileged ground-truth contexts for training. Moreover, there is limited consideration of federated learning (FL), which is particularly well-suited for incorporating external feedback across large networks of end users, for example, but requires methods to be efficient for training on resource-constrained edge devices. Therefore, we introduce SPEAR (Self-Play Enhancement via Advantage-Weighted Refinement), an efficient online learning algorithm for federated LLM fine-tuning. SPEAR utilizes a feedback-guided self-play loop to construct naturally contrastive pairs per prompt which are used to train the model with (i) standard maximum likelihood on satisfactory completions and (ii) confidence-weighted unlikelihood on tail tokens of unsatisfactory completions. SPEAR requires only an interaction-level binary satisfaction signal together with non-answer feedback, without requiring a ground-truth answer to be provided, and does not need expensive group generations, meaning training both online and in a resource-efficient manner is feasible. We validate SPEAR across various benchmark datasets, demonstrating its superior performance in comparison to relevant baselines.

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

↑