Search papers, labs, and topics across Lattice.
This paper introduces OasisKV, a novel memory-centric system for LLM inference that alleviates the constraints of high-bandwidth memory (HBM) by decoupling key-value (KV) cache storage from HBM during decoding. By leveraging lookahead tokens from speculative decoding to predict future important tokens, OasisKV efficiently prefetches relevant KV entries from higher-capacity memory, resulting in significant throughput improvements. The implementation achieves up to 2.1x throughput gains on multi-GPU long-context serving with minimal accuracy loss, demonstrating a viable path to scaling LLM inference without overwhelming memory resources.
OasisKV achieves up to 2.1x throughput gains in LLM inference while using significantly less memory, challenging the limits of current HBM constraints.
Large language model (LLM) inference serving is increasingly constrained by memory rather than compute. As long-context and long-form reasoning workloads become more prevalent, the key-value (KV) cache dominates both memory footprint and memory traffic during LLM token generation, i.e., decode. In particular, HBM capacity has become a scarce and costly resource that heavily limits inference batch size and system throughput. This paper presents OasisKV, a memory-centric LLM inference system design that alleviates HBM capacity pressure by decoupling full KV-cache storage from HBM during LLM decoding. Because decode-time attention is naturally sparse, OasisKV keeps only the KV entries of the most relevant tokens in HBMs for attention computation. We observe that future important tokens can be predicted accurately in advance using lookahead tokens drafted by speculative decoding (SD). OasisKV employs an efficient attention background pipeline to identify important KV blocks. They are then prefetched from higher-capacity memory tiers (e.g., host or remote memory) and staged in HBMs before being used in the next decode step. We implement OasisKV based on vLLM. The lookahead prediction is accurate enough to keep accuracy within 0.7 points of full attention under a 2,048-token KV budget. This lets OasisKV turn sparsity into throughput gain: $1.69\times$ over dense vLLM on the reasoning workload at 0.1 points of accuracy loss, and up to $2.1\times$ on multi-GPU long-context serving. Under prefill--decode disaggregation, OasisKV reaches about $2\times$ dense throughput while admitting each request with $6.5$--$9.7\times$ less KV and holding $2.2$-$2.6$ less decode-node host memory than full KV transfer.