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

当强化学习遇见自适应推测训练:一个统一的训练-服务系统

When RL Meets Adaptive Speculative Training: A Unified Training-Serving System

Junxiong Wang, Fengxiang Bie, Jisen Li, Zhongzhu Zhou, Zelei Shao, Yubo Wang, Yinghui Liu, Qingyang Wu, Avner May, Sri Yanamandra, Ce Zhang, Tri Dao, Percy Lian… 展开作者

Junxiong Wang, Fengxiang Bie, Jisen Li, Zhongzhu Zhou, Zelei Shao, Yubo Wang, Yinghui Liu, Qingyang Wu, Avner May, Sri Yanamandra, Ce Zhang, Tri Dao, Percy Liang, Ben Athiwaratkun, Shuaiwen Leon Song, Chenfeng Xu, Xiaoxia Wu

AI总结:

本文提出Aurora系统,通过强化学习实时学习推测器,解决传统方法中部署延迟和领域漂移问题,实验显示在多个模型上实现显著加速。

摘要:

推测解码可以显著加速大语言模型服务,但目前大多数部署将推测器训练与服务分离,将其视为独立的离线建模问题。我们证明这种解耦方法引入了显著的部署和适应延迟:(1)高服务时间,因为推测器必须在部署前长时间离线训练;(2)延迟的效用反馈,因为真正的端到端解码加速只有在训练后才能知道,不能可靠地从接受率推断;(3)领域漂移退化,因为目标模型被重新用于新领域,推测器变得过时且效果下降。为了解决这些问题,我们提出了Aurora,一个统一的训练-服务系统,通过持续学习活推理轨迹直接学习推测器。Aurora将在线推测器学习重新定义为异步强化学习问题:接受的令牌提供正反馈,而被拒绝的推测器提案提供隐含的负反馈,用于提高样本效率。我们的设计集成了基于SGLang的推理服务器和异步训练服务器,使推测器更新能够热交换而不停止服务。关键的是,Aurora支持零日部署:推测器可以立即服务并快速适应实时流量,提高系统性能同时提供即时效用反馈。在实验中,Aurora在最近发布的前沿模型(如MiniMax M2.1 229B和Qwen3-Coder-Next 80B)上实现了1.5倍的零日加速。Aurora还有效适应用户流量的分布变化,在广泛使用的模型(如Qwen3和Llama3)上,相对于经过良好训练但静态的推测器,提供了额外1.25倍的加速。

英文摘要:

Speculative decoding can significantly accelerate LLM serving, yet most deployments today disentangle speculator training from serving, treating speculator training as a standalone offline modeling problem. We show that this decoupled formulation introduces substantial deployment and adaptation lag: (1) high time-to-serve, since a speculator must be trained offline for a considerable period before deployment; (2) delayed utility feedback, since the true end-to-end decoding speedup is only known after training and cannot be inferred reliably from acceptance rate alone due to model-architecture and system-level overheads; and (3) domain-drift degradation, as the target model is repurposed to new domains and the speculator becomes stale and less effective. To address these issues, we present Aurora, a unified training-serving system that closes the loop by continuously learning a speculator directly from live inference traces. Aurora reframes online speculator learning as an asynchronous reinforcement-learning problem: accepted tokens provide positive feedback, while rejected speculator proposals provide implicit negative feedback that we exploit to improve sample efficiency. Our design integrates an SGLang-based inference server with an asynchronous training server, enabling hot-swapped speculator updates without service interruption. Crucially, Aurora supports day-0 deployment: a speculator can be served immediately and rapidly adapted to live traffic, improving system performance while providing immediate utility feedback. Across experiments, Aurora achieves a 1.5x day-0 speedup on recently released frontier models (e.g., MiniMax M2.1 229B and Qwen3-Coder-Next 80B). Aurora also adapts effectively to distribution shifts in user traffic, delivering an additional 1.25x speedup over a well-trained but static speculator on widely used models (e.g., Qwen3 and Llama3).

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

↑