TIDE:面向自我改进LLM推理的时序增量草稿引擎
TIDE: Temporal Incremental Draft Engine for Self-Improving LLM Inference
AI总结:
TIDE通过整合在线草稿适应和自适应运行时控制,提升LLM推理效率并减少训练时间。
摘要:
推测解码可以显著加速LLM推理,但在实践中实现其好处具有挑战性,因为工作负载在不断变化且存在系统层面的限制。我们提出了TIDE(时序增量草稿引擎),这是一个原生服务于框架,它将在线草稿适应直接集成到高性能LLM推理系统中。TIDE重用推理过程中生成的目标模型隐藏状态作为训练信号,从而在不重新加载目标模型的情况下实现零开销的草稿适应,并采用自适应运行时控制,在有益时才激活推测和训练。TIDE通过将解耦的推理和训练映射到适当的GPU类别来利用异构集群。在多样化的实际工作负载中,TIDE相比静态推测解码实现了最高1.15倍的吞吐量提升,同时将草稿训练时间减少1.67倍。
英文摘要:
Speculative decoding can substantially accelerate LLM inference, but realizing its benefits in practice is challenging due to evolving workloads. We present TIDE (Temporal Incremental Draft Engine), a serving-engine-native framework that integrates online draft adaptation directly into high-performance LLM inference systems. TIDE reuses target model's intermediate hidden states generated during inference as training signals for draft adaptation, thereby avoiding additional target model computation and serving-time overhead. It employs adaptive runtime control to activate speculation and draft model training only when beneficial. TIDE exploits heterogeneous clusters by mapping inference and training to appropriate GPU classes. Across diverse real-world workloads, TIDE achieves up to 1.66$\times$ throughput over no-speculation baselines while recovering performance on misaligned workloads where static draft models degrade throughput. TIDE also reduces training time by up to 3.02$\times$ and storage requirements by 24$\times$ compared to existing draft training approaches, and improves system throughput by up to 1.22$\times$ on heterogeneous GPU clusters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。