跳到正文
arXiv cs.CL· Shahriar Kabir Nahin, Xiao Ye, Muhao Chen, Ben Zhou, Anshuman Chhabra·· 12 小时前AI 评分31

T2D:面向高效投机解码的目标模型到草稿模型剪枝与适配框架

T2D: Target-to-Draft Model Pruning & Adaptation for Efficient Speculative Decoding

AI 导读

T2D 框架通过延迟感知的结构化剪枝与知识蒸馏,直接从目标模型构建草稿模型,联合优化实测推理延迟与目标模型响应上的交叉熵损失。在多领域投机解码基准和多个不同规模目标模型族上的实验显示,T2D 最多可剪掉目标模型 92% 的参数,性能优于竞争基线。生成的草稿模型还可即插即用地配合其他投机解码 token 对齐与知识蒸馏方法,带来进一步提升。

正文

View PDF HTML (experimental)

Abstract:Speculative decoding significantly accelerates autoregressive text generation in Large Language Models (LLMs), but its efficacy depends largely on two key factors: the distributional alignment between the draft and the target model, and the draft model's latency during inference. However, existing approaches typically utilize independently pretrained small draft models or seek to prune the target model to a manually chosen architecture, thereby failing to explicitly balance the trade-off between draft model alignment and token generation efficiency. To address this gap, we formulate draft model design as an optimization problem and propose T2D, a framework that constructs draft models directly from the target model using latency-aware structured pruning and knowledge distillation. In this manner, T2D obtains draft models that are jointly optimized for both measured inference latency and cross-entropy loss on the target model's responses, resulting in superlative speculative decoding performance. Through extensive experiments on multi-domain speculative decoding benchmarks and across several target model families of differing scale, we demonstrate how T2D prunes up to 92\% of the target model to obtain highly performant draft models compared to competitive baselines. Moreover, draft models obtained via T2D can also be utilized by other speculative decoding token-alignment and knowledge distillation methods in a plug-and-play fashion, leading to further gains. Our findings underscore the importance of jointly navigating the draft model architecture-alignment frontier to unlock the full potential of speculative decoding for LLMs.
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2610.34103 [cs.CL]
  (or arXiv:2610.34103v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2610.34103

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Shahriar Kabir Nahin [view email]
[v1] Sun, 25 Oct 2026 07:00:45 UTC (734 KB)

来源:arXiv cs.CL · arxiv.org