As large language models (LLMs) grow in size and context length, the memory and compute costs of serving them have become a critical bottleneck. Key-Value (KV) cache, which stores intermediate attention states, often dominates memory usage during inference. A new wave of compression methods aims to reduce this overhead, with three techniques—TurboQuant, OSCAR, and EpiCache—emerging as leading contenders. Each offers a unique approach to balancing compression ratio, accuracy, and speed.
TurboQuant focuses on quantization-aware training, compressing KV cache to low-bit representations without sacrificing model quality. By jointly optimizing quantization scales and model weights, it achieves high compression with minimal perplexity increase.
OSCAR takes a different tack, employing selective caching that dynamically prunes less important KV entries. Using a lightweight scoring mechanism, it retains only critical tokens, reducing cache size while maintaining long-range dependencies.
EpiCache leverages epigraphical representation learning, encoding the cache into a compact latent space. This method preserves both key and value information efficiently, with a focus on maintaining retrieval accuracy for long-context tasks.
Early benchmarks show that TurboQuant excels in extreme compression (e.g., 4-bit), OSCAR offers superior latency reduction, and EpiCache stands out in scenarios requiring high recall. The race is on to see which method—or combination—will become standard in production LLM serving.