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

HyCo:面向成本高效的移动-云推测解码的混合草稿生成方法

HyCo: Hybrid Drafting for Cost-Efficient Mobile-Cloud Speculative Decoding

AI Solution Team, Samsung Research(三星研究院人工智能解决方案团队)

Hanbin Bae, Heejin Choi, Joohyung Lee, Byoung Jin Choi, Sangjun Park, Hoon-Young Cho

AI总结:

HyCo是一种移动-云混合草稿生成方法,通过将服务器MTP头分配给设备执行等方式,在Spec-Bench和摘要任务上显著降低服务器GPU时间,提升交付速度且性能接近Cloud+MTP。

摘要:

设备-云推测解码可减少服务器计算量,但使用小型语言模型(SLM)构建深层草稿树需要在移动神经处理单元(NPU)上重复运行。本文提出HyCo,该方法将服务器模型的原生多令牌预测(MTP)头分配给设备执行,同时为SLM的一次运行分配替代分支;服务器返回该头所需的隐藏状态、输入嵌入和键值条目,而非执行自身的顺序步骤。量化、受限词汇表及1K令牌窗口使两个草稿生成器适配NPU,ε阈值规则进一步放宽了验证器采样分布的精确保留要求。在使用Galaxy S26 Ultra通过LTE/5G进行的单客户端运行中,与服务器端MTP自推测相比,HyCo在Spec-Bench上每个输出令牌的服务器GPU时间减少38.6%,在32K令牌摘要任务上减少29.2%;采用相同接受规则时,每个系统三次Spec-Bench运行显示,与仅使用SLM的草稿生成器相比,HyCo的节省量多9.0个百分点,交付速度提升1.9倍。HyCo与Cloud+MTP的法官评分差异为+0.2分(配对95%置信区间:-0.9至+1.3);探索性翻译任务中,HyCo优于SpecEdge-ε。若不采用放宽策略,HyCo的精确节省量在两个数据集上分别为27.7%和11.9%。

英文摘要:

Device-cloud speculative decoding reduces server computation, but growing a deep draft tree with a small language model (SLM) requires repeated passes on a mobile neural processing unit (NPU). We present HyCo, which runs the server model's native multi-token prediction (MTP) head on the device to build a deep chain and uses one SLM pass to add alternative branches. The server returns the hidden state, input embedding, and key-value entries needed by the head instead of executing its sequential steps. Quantization, a restricted vocabulary, and a 1K-token window fit both drafters to the NPU. An ε-threshold rule additionally relaxes exact preservation of the verifier's sampling distribution. In single-client runs with a Galaxy S26 Ultra over LTE/5G, HyCo reduces server GPU time per output token relative to server-side MTP self-speculation by 38.6% on Spec-Bench and 29.2% on 32K-token summarization. With the same acceptance rule, three runs of each system on Spec-Bench show 9.0 percentage points more saving and 1.9x delivery speed than an SLM-only drafter. HyCo differs from Cloud+MTP by +0.2 judge-score points (paired 95% CI: -0.9 to +1.3); exploratory translation favors SpecEdge-ε. Without relaxation, HyCo exact saves 27.7% and 11.9% on the two datasets.

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

↑