DLite:面向智能体AI的无历史投机解码 DLite: History-free Speculative Decoding for Agentic AI 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-16
👁️ 预览文献
💡 AI 中文简介
大模型推理加速常用的投机解码在智能体场景下效果大打折扣:上下文长且不断变化,草稿模型接受长度最多下降80%,而保留历史KV缓存又带来巨大系统开销。作者发现历史上下文过长是这两个问题的共同根源,于是提出DLite框架,直接复用目标模型的上下文隐藏状态做局部预测,不再显式维护历史,并用轻量顺序头恢复块内因果依赖,配合两阶段训练。在通用、长上下文和智能体任务上,接受长度达2-6,比现有最优方法DSpark最高提升70%。
领域大语言模型推理加速/智能体系统
适合谁读需要一定大模型推理与投机解码专业背景的读者
核心贡献1. 揭示历史上下文增长是智能体负载下草稿模型接受长度下降与KV缓存开销的共同根源;2. 提出无历史投机解码框架DLite,复用目标模型隐藏状态做局部预测,并用轻量顺序头与两阶段训练解决异构架构训练难题。
关键数据现有草稿模型接受长度最多下降80%;DLite接受长度达2-6;相比SOTA方法DSpark最高提升70%。
推荐理由如果你关心大模型在智能体场景下怎么又快又省,这篇把'历史包袱'变成'局部小问题'的思路很值得一读。
关键词["投机解码", "大语言模型推理加速", "智能体AI", "无历史上下文", "隐藏状态复用", "两阶段训练"]

原文摘要

查看英文原文摘要

Speculative decoding has become a mainstream technique for accelerating large language model (LLM) inference by using a lightweight draft model to generate candidate tokens that are subsequently verified by the target model. However, agentic workloads introduce long and continuously evolving contexts and frequent multi-turn interactions. Under such workloads, we observe that existing draft models suffer from up to an 80% degradation in acceptance length, while maintaining their historical KV cache introduces substantial system overhead. In this paper, we identify the growing historical context as a common source of both problems and introduce DLite, a history-free speculative decoding framework for agentic AI. DLite directly reuses contextual hidden states from the target model and performs local speculative prediction without explicitly maintaining the historical context, transforming an increasingly complex modeling problem into local simple prediction problem. A lightweight sequential head further restores intra-block causal dependencies with low overhead. To effectively train this heterogeneous history-free architecture, we introduce a tailored two-stage training strategy. Experiments on general-purpose, long-context and agentic workloads show that DLite achieves 2-6 acceptance length and outperforms the state-of-the-art speculative decoding method, DSpark, up to 70%.