FACT框架研究投机解码:固定预算分配与跨步训练如何影响接受率与延迟
FACT: Fixed-Budget Allocation and Cross-Step Training for Speculative Decoding
FACT框架在冻结的Llama-3-8B-Instruct目标模型上研究投机解码中草稿训练与候选分配对接受率和延迟的联合影响。对预测特征回滚反向传播并加大早期步骤权重,可使接受率较均匀加权分离训练提升15-24%;在固定256节点预算下改用置信度引导分配,HumanEval加速比从1.46倍升至2.02倍,MT-Bench从1.31倍升至1.75倍。
arXiv:2611.23463v1 Announce Type: new Abstract: Speculative decoding accelerates language-model generation by verifying multiple draft tokens in a single target-model pass. However, better draft predictions and longer accepted continuations do not necessarily produce faster generation. To examine this gap, we present FACT (Fixed-Budget Allocation and Cross-Step Training), an experimental framework for studying how drafter training, candidate allocation, and execution conditions jointly affect acceptance and latency. Using a lightweight feature-prediction drafter with a frozen Llama-3-8B-Instruct target under greedy decoding, we first examine how training translates into accepted tokens. Backpropagating through predicted-feature rollouts with greater weight on early steps improves acceptance by 15-24% over uniformly weighted detached training, yet average rollout proxy cross-entropy does not reliably rank drafters by acceptance. Beyond prediction quality, the placement of draft candidates also matters: with a fixed 256-node budget and matched per-depth widths, replacing static allocation with confidence-guided allocation increases speedup over autoregressive decoding from $1.46\times$ to $2.02\times$ on HumanEval and from $1.31\times$ to $1.75\times$ on MT-Bench. This allocation benefit extends to an independently trained drafter, but stronger training does not consistently amplify it, showing that the two improvements do not necessarily reinforce each other. Even these speed gains depend on execution conditions: changing only host-thread settings can nearly eliminate speedup without changing acceptance. Together, these findings show why training and allocation must be evaluated jointly using both acceptance and end-to-end latency under controlled execution conditions.
来源:arXiv (AI + Vision + Imaging) · arxiv.org