SmartGen: Seamless Disaggregated LLM Inference with Selective KV Cache Transfer
Xuchuan Luo, Jiacheng Shen, Xin Wang, Yangfan Zhou · 2026 · 4 citationsRead the paper
Disaggregating the prefill and decoding stages of large language model (LLM) inference into two separate sets of nodes is widely adopted in today's LLM serving systems. However, such an architecture poses significant challenges for self-hosted LLM deployments on rented cloud instances, since transferring enormous key-value (KV) caches between disaggregated nodes can easily saturate the limited inter-node network bandwidth. In this paper, we propose to mitigate the network bottleneck by selectively transferring essential KV cache entries across the two stages. There are two challenges to achieve selective KV cache transfer, i.e., accurate KV selection during the prefill stage, and efficient KV fetching during the decoding stage. To address these challenges, we design SmartGen, a KV cache transfer engine that allows seamless disaggregated LLM inference with three data transfer paths. Specifically, we leverage 1) a profile-based proactive transfer path to identify and push essential KV cache entries to the decoding node during the prefill stage, 2) a parallel on-demand transfer path to simultaneously fetch remote and local KV cache entries during the decoding stage, and 3) a speculative transfer path to finally deliver all KV caches to the decoding node. Experimental results show that SmartGen reduces time-to-second-token by up to 4.3x compared with the typical full KV cache transfer approach while offering comparable subsequent decoding performance and accuracy.
What the full text shows
Working prototype- Reduction in time-to-second-token (TTST) compared to full KV cache transfer. — up to 4.3x lower (Self-hosted disaggregated LLM inference on rented cloud instances)
- KV cache transfer latency vs. prefill computation latency for 48K batched input tokens. — 6.5x higher transfer latency (Llama and Qwen models on Alibaba cloud GPU instances (L20 GPUs, 25 Gbps RDMA))
- Gap between transfer latency and prefill latency as batched input tokens increase. — up to 4.7x gap (25 Gbps) and 7.1x gap (15 Gbps) (Qwen3-14B model with DP degree of 6)
- Setup
- 3 ecs.gn8is-2x.8xlarge prefill instances (2x L20 GPUs each) and 1 ecs.gn8is.4xlarge decoding instance (1x L20 GPU) on Alibaba Cloud; 25 Gbps RDMA network; models include Qwen3, Llama-3.1, Gemma-3, and Phi-4; LongBench benchmark (prompt lengths 3K-10K, up to 60K batched).
- How
- SmartGen implements a selective KV cache transfer engine using three paths: a profile-based proactive transfer for essential entries during prefill, a parallel on-demand transfer for missing entries during decoding, and a speculative transfer for remaining caches. It integrates with existing KV selection algorithms (InfiniGen or HATA) to identify important KV entries.
- Limitations
- Dependent on the accuracy of the underlying KV selection algorithms (InfiniGen/HATA). · Performance gains are most significant in bandwidth-constrained environments (e.g., 15-25 Gbps).
Summarized by Gemma 4 from the open-access full text · 21 Nov 2026. Read it