arXiv:2611.08770cs.DCNov 2026

Manuscript Offprint

arXiv:2611.08770

ReKV: Overlapping Quantized KV Transfer and Suffix Recomputation

Guangjian Dong

ABSTRACT

Prefill–decode disaggregation moves a prompt's key–value (KV) cache between workers before the first token can be generated. Reducing this handoff to either cache compression or recomputation misses a useful choice: which layers to transmit, at what precision, and which layers to execute again on the decode worker. ReKV transfers a quantized prefix KV cache and one BF16 boundary state, then reconstructs a contiguous suffix while the prefix is in flight. In a model-shaped synthetic benchmark on cross-node H100s, the Q8 configuration meeting separately evaluated quality criteria reduces 8K handoff latency by 2.36×, 2.84×, and 3.65× over BF16 transfer for Qwen2.5-7B, Qwen2.5-3B, and Qwen3-8B. It is also faster than the best measured transfer-only or recompute-only action at those points. A separate real-weight BF16 recomputation experiment reduces prefill-to-token-return time by 1.16–1.63×. The preferred action changes with prompt length and link bandwidth.

Index Terms— LLM inference, prefill–decode disaggregation, KV cache, quantization, recomputation

1. INTRODUCTION

Prefill–decode (P/D) disaggregation assigns prompt processing and autoregressive generation to different workers. The two phases place different demands on the GPU [1], but the separation also makes the prompt KV cache a network payload [2, 3, 4, 5]. The decode worker needs the prompt state before it can continue autoregressive generation. For long prompts, moving that state can consume a substantial fraction of time to first token (TTFT).

The handoff admits two familiar ways to reduce transferred bytes. Low-bit representation sends less KV data at the cost of quantization work and possible changes in the output distribution [6, 7, 8]. Recomputation sends less state but spends decode-side compute to rebuild it. These choices interact: quantizing a shorter transmitted prefix changes both the link occupancy and the amount of work available to overlap with suffix execution. A policy selected for one model or link need not remain best at another prompt length.

ReKV studies this interaction for a fresh prompt handoff between separate prefill and decode GPUs. It selects a layer boundary and a precision for the prefix KV state. The prefill worker sends the hidden state at the boundary first. The decode worker uses that state to execute the remaining Transformer layers while the quantized prefix KV state is transferred and restored. This construction reproduces the suffix computation from the BF16 boundary state and quantizes only the transmitted prefix.

The evaluated decision couples prefix precision with a contiguous suffix boundary. Prior systems study mixed-precision KV transfer [9] and partial KV restoration with overlapping I/O [10, 11]. We compare the joint action on the same cross-node P/D path against full BF16 transfer, low-bit transfer without recomputation, and BF16 suffix recomputation without quantization. At 8K tokens, ReKV

with Q8 is faster than each single-mechanism alternative for three model configurations. A faster L40S link instead favors direct transfer for Qwen2.5-7B, while Qwen2.5-3B at 512 tokens favors Q8 transfer without recomputation.

References (30)