AIAny
Icon for item

Flide: Accelerating Decision Inference with Exact State Forking

Accelerates decision-model inference by computing a shared context once and forking it across questions. In tests with multiple questions per state, it runs up to 9.5× faster than vLLM and SGLang.

Introduction

When an agent asks several questions about the same history, ordinary inference servers can spend much of their time recomputing or restoring that shared context. The key insight here is to treat those questions as branches of one computation: reuse the state without changing the result each question would get on its own.

Key Findings
  • Branching preserves standalone results: ForkAttention tracks request and branch relationships in GPU-resident metadata, so questions share the context while remaining isolated from sibling branches. In exact arithmetic, each branch matches an independent forward pass.
  • Hybrid models need state-aware execution: The method handles both standard attention and recurrent Gated DeltaNet layers, where each question must inherit the correct recurrent state. This extends shared-prefix execution beyond conventional attention-only models.
  • The performance gain depends on shared work: Evaluations report up to 9.5× lower latency and 8.5× higher throughput than the best baseline on multi-question workloads. The largest gains occur when many questions reuse a long state; single-question or compute-bound workloads leave less work to eliminate.
Method and Trade-offs

Requests are represented as logical trees but run as a flattened token stream. GPU indices direct each question to its own shared state, avoiding repeated context computation and state copying. Floating-point results may differ from a float32 reference at rounding level, so the paper evaluates numerical deviation as well as speed.

A good fit for latency-sensitive agent systems that score or answer multiple questions against the same history, especially with hybrid recurrent-attention models. Look elsewhere if the workload is general-purpose text generation or rarely shares context: the reported gains target decision-style inference and should not be assumed for unrelated serving workloads.

Information

  • Websitearxiv.org
  • OrganizationsNational University of Singapore, University of Oxford
  • AuthorsBobo Li, Jiajia Song, Hao Fei, Wynne Hsu, Mong Li Lee
  • Published date2026/10/30

More Items

Tests whether large language models can tell when a simulator’s modeling flaw changes which system design should be chosen. Paired workload comparisons reveal when models reject valid recommendations or retain invalid ones.

A realistic video is not proof of a modeled world. The paper defines world models through persistent state, intervention-conditioned dynamics, and feedback, then presents infrastructure for reproducible inference and evaluation across video, 3D/4D, and embodied systems.

Hugging Face
AI Model2026

Provides parallel speculative-decoding drafts for Qwen3.8-27B. It passes predicted features between adjacent positions across layers, improving acceptance length and throughput in the reported SGLang benchmarks.