arXiv:2605.07977cs.LG2026-05

让大模型在线学习用户反馈,无需真实答案也能自我优化。

Self-Play Enhancement via Advantage-Weighted Refinement in Online Federated LLM Fine-Tuning with Real-Time Feedback

论文配图:Self-Play Enhancement via Advantage-Weighted Refinement in Online Federated LLM Fine-Tuning with Real-Time Feedback
图 1 · 摘自论文原文
  • 用反馈引导的自博弈机制生成对比样本进行训练
  • 在多个数据集上超越现有最佳方法,且不依赖完整答案
  • 适合资源受限设备上的实时联邦微调,效率高

近期工作推动了基于反馈的学习系统发展,使基础模型能通过用户反馈实现自我改进,形成训练闭环。但现有方法多需离线设置,且依赖特权真实上下文进行训练。此外,对联邦学习(FL)的考虑不足——而联邦学习特别适合在大规模终端用户网络中整合外部反馈,却要求算法在资源受限的边缘设备上高效运行。为此,我们提出SPEAR(Self-Play Enhancement via Advantage-Weighted Refinement),一种高效的在线联邦大模型微调算法。SPEAR利用反馈引导的自博弈循环,在每个提示下构建自然对比样本,分别用于:(i) 正确完成项的标准最大似然训练;(ii) 错误完成项尾部词元的置信度加权反似然训练。无需昂贵的群体生成或真实上下文,仅需部分非答案反馈,相比现有方法,SPEAR可实现在线、资源高效的训练。我们在多个基准数据集上验证了SPEAR,结果表明其性能显著优于当前最优基线。代码已公开于 https://github.com/lee3296/SPEAR。

原文摘要 · Abstract (English)

Recent works have advanced feedback-based learning systems, whereby a foundation model is able to intake incoming feedback (e.g., 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, and are further limited in the need of 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 utilized to be trained on (i) standard maximum likelihood on correct completions and (ii) confidence-weighted unlikelihood on tail tokens of incorrect completions. Without the need of expensive group generations and ground-truth contexts for training (i.e., only partial, non-answer feedback), in contrast with existing works, SPEAR can be trained both online and in a resource-efficient manner. We validate SPEAR across various benchmark datasets, demonstrating its superior performance in comparison to state-of-the-art baselines. The implementation code is publicly available at https://github.com/lee3296/SPEAR.

联邦学习大模型微调在线学习自博弈

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。