synodic-ai™ ML SYSTEMS
ML Systems Desk · Inference Systems

Move it, address it or rebuild it: three ways to get KV cache to where decode needs it

Three papers posted on 2026-10-21 treat the KV cache as state that is often in the wrong place: on a GPU when decode runs on an NPU, spread across GPU and CPU memory when sparse attention selects from it, or missing when a request migrates or recovers. HAWK moves it across heterogeneous devices in the layout the receiver needs, UlaCache gives it stable logical addresses so only missing entries move, and RISK-KV rebuilds part of it instead of moving or replaying it.

HAWK: KV transfer between GPUs and NPUs

Update (2026-11-20): UlaCache was revised on arXiv on 2026-10-31. Version 2 names HiSparse as the baseline and reports lower peak decoding throughput ratios than the version described below: 1.10 and 1.59 times under data-parallel and tensor-parallel attention on eight H200 GPUs, and 1.27 and 1.93 times on eight B300 GPUs. It also reports up to 11.4 times the usable KV cache capacity of HiSparse under tensor-parallel attention.

HAWK: Heterogeneity-Aware KV Cache Transfer for Efficient GPU-NPU Phase-Disaggregated LLM Inference starts from the two phases of LLM inference. Prefill is compute-intensive and decode is more memory-bound, so accelerators differ in how efficiently they run each. GPUs suit prefill but are often underutilized during decode, while NPUs use their compute resources more effectively during decode. The paper therefore maps prefill to GPUs and decode to NPUs.

The obstacle is the handoff. Phase disaggregation requires moving the KV cache from prefill to decode, here from GPUs to NPUs, which differ in inter-device communication mechanisms and in KV cache tensor layouts. HAWK establishes a remote direct memory access (RDMA) path for direct cross-device transfer and handles layout differences as part of the transfer: it allocates tensor-layout-aware RDMA buffers on the NPU side that match the target layout and moves data into them from a conventional contiguous GPU RDMA buffer, so transferred tensors can be consumed directly without additional rearrangement. On a system built with commercially available GPUs and NPUs, HAWK comes within 7.88 percent of a GPU-only system's performance under the same SLO constraints while achieving up to 1.26 times higher power efficiency and 1.72 times higher cost efficiency.

UlaCache: one logical address space for sparse attention

UlaCache: Unified Logical Addressing for Sparse LLM Serving addresses a tension in long-context serving. Sparse attention reduces attention computation and memory traffic by selecting historical tokens, but the retained KV cache must remain available for later decoding steps. UlaCache builds KV cache management around a unified logical address space spanning GPU KV pools and optional CPU memory. Stable logical references let the inference engine allocate and select KV independently of physical placement, and common allocation and sparse-access interfaces support both data-parallel and tensor-parallel attention.

For distributed storage, local GPU buffers retain selected KV across decoding steps, so only missing entries require transfers. When CPU storage is enabled, a Parallel Bucketed LRU policy manages a GPU pool shared across requests, updating recency metadata and selecting eviction victims in parallel; UlaCache transfers KV and then updates the address mappings. With speculative decoding enabled under matched CPU and GPU memory budgets, it reports peak decoding throughput speedups over the state-of-the-art baseline of 1.16 times with data-parallel and 1.70 times with tensor-parallel attention on H200, and 1.73 and 2.51 times respectively on B300.

RISK-KV: rebuild some layers instead of moving them

RISK-KV: Quality-Aware Selective KV Cache Reconstruction for Distributed LLM Inference looks at request migration and interruption recovery, both of which rely on historical KV caches. Retaining or transferring a complete cache carries substantial state overhead, while replaying historical tokens costs additional computation. RISK-KV reconstructs selected layers instead. It uses exact KV states on both sides of a target layer and cross-layer ridge regression to predict the missing layer's attention-projection input, then folds in the original model's KV projection matrices to reduce predictor storage.

Reconstruction risk is measured directly, as the change in negative log-likelihood caused by actual reconstruction, and a low-overhead topology search with quality gating selects which layer groups to reconstruct. In independent tests on three language models, representative recovery configurations omit 18.2 to 33.3 percent of historical KV with perplexity changes below 0.5 percent, and in a local request-recovery experiment with a 512-token history, RISK-KV is 1.51 to 3.31 times faster than full token replay.

Reading the three together

The three systems answer one question, how to make KV state available where the next decoding step runs, at three different costs. HAWK pays for a transfer but removes the layout conversion that would otherwise follow it. UlaCache avoids transfers for entries that are already resident and decouples selection from placement, so sparse attention does not dictate memory layout. RISK-KV trades a bounded, measured change in predictive quality for not storing or moving part of the cache at all.

Each also makes a different part of the cost explicit. HAWK reports its result against an SLO-matched GPU-only baseline and includes power and cost efficiency, not only throughput. UlaCache's gains depend on the parallelism mode and the hardware generation, with the largest under tensor parallelism on B300. RISK-KV gates every reconstruction on its measured effect on likelihood rather than on a proxy.

What to do now

For teams running disaggregated, long-context or multi-node serving, the papers suggest four checks:

Limits

HAWK is evaluated on one heterogeneous system and remains 7.88 percent behind GPU-only performance. UlaCache's reported gains are peak decoding throughput with speculative decoding enabled under matched memory budgets, against one baseline. RISK-KV's recovery speedups come from a local experiment with a 512-token history, and its quality figures cover three models, so its behavior with long histories and in multi-node deployments remains to be shown.

Sources