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

Flide:通过精确状态分叉加速决策推理

Flide: Accelerating Decision Inference with Exact State Forking

National University of Singapore(新加坡国立大学);University of Oxford(牛津大学)

Bobo Li, Jiajia Song, Hao Fei, Wynne Hsu, Mong Li Lee

AI总结:

提出Flide推理引擎,通过ForkAttention等技术解决现有引擎的前缀重计算等问题,使决策模型推理速度较vLLM、SGLang快达9.5倍,且精度接近float32参考值,为智能体系统决策智能奠定基础。

摘要:

Jev等决策模型已成为大语言模型(LLM)智能体系统中极具前景的范式,为快速的系统1执行提供轻量且可靠的分类推理。然而,现有的面向生成的推理引擎无法有效支持这些工作负载,存在严重的前缀重计算开销或输出概率失真问题。为应对这一挑战,我们提出Flide,一种高效且精确的推理引擎,它将决策请求的逻辑树结构与单个扁平化token流中的物理执行解耦。通过ForkAttention,Flide利用GPU驻留索引在标准注意力和循环门控DeltaNet层中导航请求依赖关系,以精确算术保证每个查询分支的评估与孤立前向传播完全一致。通过将分支拓扑直接表示为GPU驻留元数据,Flide用一组预记录的紧凑执行图适配多样的请求混合,同时使扩展的智能体历史能从早期传播中保存的检查点恢复。在公开混合模型和决策模型上的广泛评估表明,Flide回答查询的速度比vLLM和SGLang快达9.5倍,且在总变差距离上最接近float32参考值。通过将物理执行吞吐量与数学精确性统一,Flide为智能体系统中可扩展、低延迟的决策智能奠定了原则性基础。

英文摘要:

Decision models such as Jev have emerged as a highly promising paradigm for LLM agent systems, providing lightweight and reliable categorical reasoning for rapid System One execution. However, existing generation-oriented inference engines fail to support these workloads effectively, suffering from severe prefix recomputation overheads or distorted output probabilities. To address this challenge, we propose Flide, an efficient and exact inference engine that decouples the logical tree structure of a decision request from its physical execution within a single flattened token stream. Through ForkAttention, Flide navigates request dependencies using GPU-resident indices across both standard attention and recurrent Gated DeltaNet layers, guaranteeing in exact arithmetic that every query branch evaluates identically to an isolated forward pass. By expressing branch topologies directly in GPU-resident metadata, Flide accommodates diverse request mixtures with a compact set of pre-recorded execution graphs while enabling expanding agent histories to resume from checkpoints saved in earlier passes. Extensive evaluations on public hybrid and decision models demonstrate that Flide answers queries up to 9.5 times faster than vLLM and SGLang while staying closest to a float32 reference in total variation distance. By unifying physical execution throughput with mathematical exactness, Flide establishes a principled foundation for scalable, latency-critical decision intelligence in agent systems.

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

↑