arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.24365cs.CL
收藏

FlashMap:流图投机解码

FlashMap: Flow Map Speculative Decoding

Polymathic AI(多形人工智能);Princeton University(普林斯顿大学);New York University(纽约大学);Flatiron Institute(弗拉蒂伦研究所)

Jeff Shen, Zhejian Zhou, Ryan Lee, Jonathan May, Shirley Ho

AI总结:

FlashMap是一种连续流草稿模型,通过流图语言模型结合目标模型隐藏状态捕捉token间依赖,在Qwen3-8B上实现比DFlash更高的无损加速,提升了LLM推理效率。

摘要:

投机解码通过使用轻量级草稿模型提出一组token,再由目标模型在一次并行传递中验证,从而加速大语言模型(LLM)推理。自回归草稿模型会逐个token生成该组,而DFlash等块扩散草稿模型则一次生成整个块,使草稿过程更快。然而,这些扩散草稿模型独立预测每个token,忽略了块内token间的依赖关系。我们提出FlashMap,一种连续流草稿模型,它以目标模型的隐藏状态为条件,通过流图语言模型一次前向传递生成整个块,同时捕捉token间的依赖关系。在Qwen3-8B上,FlashMap在所有基准测试中均比匹配的DFlash基线更快,平均加速比高7%,无损加速最高达6.1倍。

英文摘要:

Speculative decoding accelerates large language model (LLM) inference by using a lightweight drafter to propose a block of tokens that the target model verifies in one parallel pass. Autoregressive drafters generate this block one token at a time, whereas block diffusion drafters such as DFlash generate it in one pass, making drafting faster. However, these diffusion drafters predict each token independently, ignoring dependencies between tokens in the block. We introduce FlashMap, a continuous flow drafter that conditions a flow map language model on the target model's hidden states and generates the whole block in one forward pass while capturing inter-token dependencies. On Qwen3-8B, FlashMap is faster than a matched DFlash baseline on every benchmark, with 7% higher average speedup and up to 6.1x lossless acceleration.

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

↑