LoomKV applies lossless compression to the key/value cache used in language-model serving, covering both external storage tiers and the active GPU memory pool. The paper separates two capacity problems: retaining reusable prompt prefixes and admitting more long requests at once.
How do tier mode and pool mode differ?
In tier mode, host DRAM and SSD store compressed records. LoomKV restores their original values directly into the engine’s GPU cache pages before the existing attention backend uses them. The system leaves the cache server’s tier management, eviction and prefetch behaviour in place.
Pool mode keeps the GPU cache compressed too. A custom attention backend decompresses the values as it computes attention. This can increase the number of active tokens that fit in the same GPU budget, rather than only retaining more prefixes outside the GPU.
How much space does the paper report saving?
Across nine evaluated models, LoomKV stores BF16 KV at about 0.71 of its raw size. The reported FP8 ratio is 0.85 to 0.87. Compression must reduce allocated space as well as record length for those byte savings to become usable capacity.
The implementation builds on LMCache and vLLM. On AgentX near the evaluated LRU capacity cliff, tier mode delivers 2.7 to 3.6 times the raw configuration’s goodput. That comparison concerns a particular point where cache eviction causes recomputation; it is not a general speed multiplier for every serving workload.
Does lossless storage mean identical outputs?
Tier mode is reported to be bit-exact with raw tiers. Pool mode also preserves stored KV bits, but its fused attention kernel uses a different summation order. The paper says outputs can therefore differ slightly through floating-point rounding while matching the comparison backend’s numerical accuracy.
What are the costs and deployment limits?
Where raw capacity already suffices, the authors report throughput costs of up to 2.2%. Tier mode also requires additional GPU memory. Franklin analysis: identify whether external prefix retention or GPU concurrency is actually constraining service before choosing a mode, then test latency, allocated memory and numerical behaviour on the intended model and request mix.
Comments