Flide: Accelerating Decision Inference with Exact State Forking

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

arXiv:2610.42148 · 2026-11-10 공개 · arXiv · PDF

llm-agents decision-models hybrid-models delta-net inference-engine latency-critical fork-attention exact-arithmetic

Abstract

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.

한국어 요약

한 줄 요약

Flide는 Jev와 같은 결정 모델의 추론을 9.5배 빠르게 처리하면서 정확도를 유지하는 새로운 추론 엔진이다.

핵심 기여도

핵심 아이디어

기존 추론 엔진은 결정 요청의 논리적 트리 구조와 물리적 실행 구조가 결합되어 있어, 반복 계산과 확률 왜곡 문제가 발생한다. Flide는 이 문제를 해결하기 위해 요청의 논리적 구조를 GPU 메타데이터에 저장하고, 물리적 실행은 단일 평탄화된 토큰 스트림으로 처리한다. ForkAttention이라는 새로운 메커니즘을 통해 주의력 계층과 Gated DeltaNet 계층에서 정확한 상태 분기를 보장함으로써, 각 질문이 독립적으로 실행되었을 때와 동일한 결과를 산출한다. 이는 기존의 delimiter 토큰 사용 방식과 달리 확률 분포의 왜곡을 방지한다.

기술적 접근법

주요 결과

의의 및 한계

Flide는 결정 모델의 추론 성능과 정확도를 동시에 향상시켜, LLM 에이전트 시스템에서 지연이 중요한 결정 지능을 구현하는 데 기초를 제공한다. 특히, ForkAttention을 통해 Gated DeltaNet 계층에서도 정확한 상태 분기를 보장함으로써, 기존 방식의 확률 왜곡 문제를 해결한다. 다만, Flide는 GPU 메타데이터를 기반으로 요청 구조를 관리하므로, 메모리 사용량이 증가할 수 있는 한계가 있다. 또한, 모든 하이브리드 모델이 Flide의 실행 그래프 구조를 지원하지 않을 가능성도 있다.

실용적 활용

Flide는 요청 라우팅, 응답 평가, 에이전트 행동 결정 등 LLM 기반 시스템에서 빠르고 정확한 결정이 필요한 상황에 적합하다. 특히, 여러 질문이 동일한 컨텍스트를 공유하는 대규모 서비스 환경에서 성능 향상 효과가 크다.