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

为投机解码驱动的策略优化设计适应性窗口

Performance-Driven Policy Optimization for Speculative Decoding with Adaptive Windowing

Jie Jiang, Xing Sun, Ruotian Chen, Jianan Su, Kaixin Shen

AI总结:

本文提出PPOW框架,通过窗口级优化提升投机解码效率,采用成本感知加速奖励和分布基 proximity 奖励,实现平均接受长度和加速效果提升。

摘要:

投机解码通过轻量级草案模型提出候选token的投机窗口,由更大目标模型并行验证以加速LLM推理。实践中,投机效率常受限于难以草案的位置,早期不匹配会截断接受前缀并使整个投机窗口失效。大多数基于学习的草案器仍使用token级监督目标,尽管投机效用本质上是窗口级且前缀敏感的。我们提出PPOW(Performance-Driven Policy Optimization with Adaptive Windowing),一种强化学习框架,将草案器优化从token级模仿转向窗口级优化。PPOW结合了成本感知加速奖励、分布基 proximity 奖励和自适应发散感知窗口,优先选择高置信度加权草案-目标发散的 informative 窗口。PPOW在多种模型家族和基准下实现平均接受长度6.29-6.52和加速3.39-4.36倍。这些结果表明,性能驱动的窗口级优化是提升投机解码效率的实用方法。

英文摘要:

Speculative decoding accelerates LLM inference by having a lightweight draft model propose speculative windows of candidate tokens for parallel verification by a larger target model. In practice, speculative efficiency is often bottlenecked by hard-to-draft positions, where an early mismatch truncates the accepted prefix and invalidates the rest of the speculative window. Most learning-based drafters are still optimized with token-level supervised objectives, even though speculative utility is inherently window-level and prefix-sensitive. We propose PPOW (Performance-Driven Policy Optimization with Adaptive Windowing), a reinforcement learning framework that shifts drafter optimization from token-level imitation to window-level optimization. PPOW combines a Cost-Aware Speedup Reward, a Distribution-Based Proximity Reward, and Adaptive Divergence-Aware Windowing, which prioritizes informative windows with high confidence-weighted draft-target divergence. PPOW achieves average acceptance lengths of 6.29-6.52 and speedups of 3.39-4.36$\times$ across multiple model families and benchmarks under a unified decoding protocol. These results show that performance-driven window-level optimization is a practical approach to improving speculative decoding efficiency.

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

↑