RadixFlow: Filling Execution Bubbles in Prefix-Cached Hybrid LLM Serving

Huihao Jing, Wenbin Hu, Shaojin Chen, Haochen Shi, Haoyu Huang, Sirui Zhang, Yuxuan Liu, Zhongwei Xie, Haoran LiarXiv 2026

TL;DR

RadixFlow optimizes LLM serving for "hybrid" models (like Qwen3.5 or Mamba) that combine attention with recurrent layers. It eliminates "execution bubbles"—idle GPU slots—caused by same-round dependencies between requests that share a prefix but are waiting for recurrent state to be computed. By decoupling prefix matching from state readiness, RadixFlow reduces mean latency by up to 24% and worker rounds by up to 44%.

What Problem Does This Paper Address?

In modern LLM serving, "prefix caching" is a standard trick: if multiple users ask questions about the same long document, the system caches the Key-Value (KV) states of that document to avoid recomputing them. This works perfectly for standard Transformers.

However, a new generation of hybrid LLMs (e.g., Qwen3.5, Nemotron) uses recurrent or convolutional layers alongside attention. For these models, resuming a cached prefix requires not just KV pages, but also a specific recurrent state at the boundary where the shared prefix ends and the unique query begins.

The conflict arises when a "producer" request (computing the state) and a "consumer" request (needing that state) arrive in the same batch. Current schedulers (like vLLM) are "prefix-stop": they scan the waiting queue, hit the blocked consumer, and stop scanning entirely. This creates "head-of-line blocking," leaving the GPU with "execution bubbles"—empty slots that could have been filled by other independent requests further down the queue.

Comparison of Radix baseline (stopping at blocked consumer) vs. RadixFlow (continuing to fill slots).

Methods

The authors introduce RadixFlow, a batch-construction policy designed to maximize GPU utilization by separating prefix matching from state readiness.

  1. State-Ready Traversal: This is the core innovation. Instead of stopping the queue scan when a request is blocked by a same-round dependency, RadixFlow moves that "consumer" to a local wait queue and keeps scanning for other independent work that is ready to run.
  2. Flexible Admission: To group more work together, RadixFlow uses a brief (5ms) admission timer. It collects arriving requests and releases them earlier if the worker is already busy or if the batch is full, balancing waiting time against batch density.
  3. Algorithm Integration: The system uses a "state-ready" check to distinguish between a request that is truly unallocatable (due to memory limits) and one that is just waiting for a producer in the current round.
Figure 2: RadixFlow changes selection, not native state checks or cache updates. A checkmark selects feasible work for Bt; a pause blocks a consumer with a same-round dependency in the wait queue Dt, and a cross preserves native handling. Solid state components are published. The outlined recurrent component is still in flight and is not part of Ct; blocked consumers are woken for a recheck in round t + 1. The queue inset contrasts head-of-line blocking with continuing past the blocked consumer.

Datasets

The authors evaluated RadixFlow using workloads derived from two major reading comprehension benchmarks:

  • QuALITY: Long-document question answering.
  • RACE-M: Middle-school level reading comprehension.

These were configured to simulate heavy prefix sharing (e.g., four different questions/branches sharing one long article) to stress-test the scheduler's ability to handle producer-consumer dependencies.

Key Insights and Ideas

  • A Cache Hit $\neq$ A Runnable Branch: In hybrid models, matching a prefix in the cache is only half the battle. You must also ensure the recurrent state is "published" and ready to read.
  • Avoidable Bubbles: The paper formalizes the "execution bubble" as legally fillable idle capacity. If a scheduler leaves a row empty while a "READY" request exists later in the queue, that's a wasted opportunity.
  • Decoupling Dependencies from Memory Pressure: By treating a blocked consumer as a local wait rather than a global scan barrier, the scheduler can distinguish between "waiting for data" and "out of memory."
  • The Cost of Density: Denser batches process more work but can take longer to execute. The authors found that while RadixFlow significantly reduces the number of rounds, the remaining rounds are "heavier," which is a trade-off that must be managed.

Key Results

RadixFlow was tested across five hybrid models (Qwen3.5 0.8B to 27B, and Nemotron-9B) and one full-attention control (Qwen3-8B).

  • Latency Gains: Mean client latency dropped by 3% to 24% across the hybrid models.
  • Efficiency: The number of worker rounds required to process the same workload fell by 11% to 44%.
  • Batch Density: As shown in Figure 3, RadixFlow consistently produces denser batches (more rows/round) and selects requests earlier than the baseline.
  • Full-Attention Control: On the standard Transformer (Qwen3-8B), RadixFlow provided almost no gain from traversal (as expected, since there are no recurrent state dependencies), proving the technique specifically targets the hybrid model bottleneck.
Figure 3: Round savings and latency gains differ across the measured configurations. Left: reductions relative to Radix. Right: blue is net host-time credit and orange is the cost shift of remaining rounds; together they equal the gross round credit under Equation 2. The panels share model order.

Limitations and Future Work

  • Prefill Focus: The evaluation focused heavily on the prefill phase (generating the first token). While this is the most compute-intensive part of long-context serving, the impact on long decoding sequences was not the primary focus.
  • Fixed Budgets: The experiments used frozen row and token budgets. Dynamic budget adjustment might further improve performance but adds complexity.
  • State Capture: The paper does not address the "checkpointing" problem—deciding exactly where to save recurrent states to maximize future reuse. It relies on the native backend's existing state management.
  • Future Direction: Integrating RadixFlow with asynchronous scheduling (where CPU control and GPU execution overlap more aggressively) is a promising next step.

Summary updated

Abstract

Prefix reuse improves LLM inference by sharing the KV cache of common prompt prefixes. This helps only if the scheduler can execute a matched branch in the current worker round. Schedulers assume that a matched prefix is ready, which holds for full attention but fails for hybrid LLMs. There, a branch (the consumer) may need recurrent state that another branch (the producer) is still computing in the same round. The native scheduler stops its waiting-queue scan at this blocked consumer, and the resulting head-of-line blocking creates \emph{execution bubbles}: idle batch slots that independent work could fill. We introduce RadixFlow, which decouples prefix matching from state readiness. Its state-ready traversal turns a global scan barrier into a local wait: only the consumer is blocked until the next round, while feasible independent branches keep filling the batch under the native state check. On five hybrid models, RadixFlow lowers mean latency by 3\% to 24\% and worker rounds by 11\% to 44\% at almost unchanged reuse. On the larger Qwen3.5 models, ablations show that most of the gain comes from traversal, which adds little on a full-attention control. Heavier rounds limit how much of this saving reaches latency.
BibTeX
@misc{jing2026radixflow,
  author = {Huihao Jing and Wenbin Hu and Shaojin Chen and Haochen Shi and Haoyu Huang and Sirui Zhang and Yuxuan Liu and Zhongwei Xie and Haoran Li},
  title = {{RadixFlow: Filling Execution Bubbles in Prefix-Cached Hybrid LLM Serving}},
  year = {2026},
  eprint = {2610.18143},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.18143},
}
Figure