XQuant: Breaking the Memory Wall for LLM Inference with KV Cache Rematerialization
On the map: Efficient LLM inference and serving → KV cache quantization
Abstract (arXiv)
Although LLM inference has emerged as a critical workload for many downstream applications, efficiently inferring LLMs is challenging due to the substantial memory footprint and bandwidth requirements. In parallel, compute capabilities have steadily outpaced both memory capacity and bandwidth over the last few decades, a trend that remains evident in modern GPU hardware and exacerbates the challenge of LLM inference. As such, new algorithms are emerging that trade increased computation for reduced memory operations. To that end, we present XQuant, which takes advantage of this trend, enabling an order-of-magnitude reduction in memory consumption through low-bit quantization with substantial accuracy benefits relative to state-of-the-art KV cache quantization methods. We accomplish this by quantizing and caching the layer input activations X, instead of using standard KV caching, and then rematerializing the Keys and Values on-the-fly during inference. This results in an immediate 2× memory savings compared to KV caching. By applying XQuant, we achieve up to ~ 7.7× memory savings with <0.1 perplexity degradation compared to the FP16 baseline. Furthermore, our approach leverages the fact that X values are similar across layers. Building on this observation, we introduce XQuant-CL, which exploits the cross-layer similarity in the X embeddings for extreme compression. Across different models, XQuant-CL attains up to 10× memory savings relative to the FP16 baseline with only 0.01 perplexity degradation, and 12.5× memory savings with only 0.1 perplexity degradation. XQuant exploits the rapidly increasing compute capabilities of hardware platforms to eliminate the memory bottleneck, while surpassing state-of-the-art KV cache quantization methods and achieving near-FP16 accuracy across a wide range of models.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in KV cache quantization, one of 12 directions in Efficient LLM inference and serving. Builds on 39 of its 43 references that are in the map. First posted on arXiv 14 Aug 2025.
Builds on
39 of 43 references.
Closest ancestors · 5
Same direction, newest first
- 2025PolarQuant: Quantizing KV Caches with Polar Transformation4 Feb
- 2025PolarQuant: Leveraging Polar Transformation for Efficient Key Cache Quantization and Decoding Acceleration1 Feb
- 2024ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identification23 May
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache5 Feb
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization31 Jan
Other references · 34
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Mistral 7Bcited by 3,164
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
22 more
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 294
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 152
- 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantizationcited by 101
- 2024AI and Memory Wallcited by 92
- 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 91
- 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decodingcited by 91
- 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 89
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 80
- 2017Residual Connections Encourage Iterative Inferencecited by 77
- 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compressioncited by 72
- 2024IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intactcited by 52
- 2024LoRC: Low-Rank Compression for LLMs KV Cache with a Progressive Compression Strategycited by 51
- 2024Fast State Restoration in LLM Serving with HCachecited by 33
- 2025QuantSpec: Self-Speculative Decoding with Hierarchical Quantized KV Cachecited by 27
- 2025ReCalKV: Low-Rank KV Cache Compression via Head Reordering and Offline Calibrationcited by 16
- 2021EL-Attention: Memory Efficient Lossless Attention for Generationcited by 6
- 2025Efficient LLM Inference with Activation Checkpointing and Hybrid Cachingcited by 3
- 2025Slim attention: cut your context memory in half without loss -- K-cache is all you need for MHAcited by 1
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026LLM Inference in a Flash!14 Sep 2026
- 2026Anatomy of a Quantized Agent: VRAM Stability and Forecasting in Code-Synthesis Agentic Workloads15 Aug 2026
- 2026LRAgent: Efficient KV Cache Sharing for Multi-LoRA LLM Agents1 Feb 2026
- 2026EPAS: Efficient Training with Progressive Activation Sharing27 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2024XKV: Personalized KV Cache Memory Reduction for Long-Context LLM Inference
- 2024LLMEasyQuant: Scalable Quantization for Parallel and Distributed LLM Inference
- 2026ScoutAttention: Efficient KV Cache Offloading via Layer-Ahead CPU Pre-computation for LLM Inference
- 2026The KV Cache Is the New Memory Wall
- 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inference
- 2026KVDrive: A Holistic Multi-Tier KV Cache Management System for Long-Context LLM Inference
- 2025CalibQuant: 1-Bit KV Cache Quantization for Multimodal LLMs
- 2024MiniKV: Pushing the Limits of LLM Inference via 2-Bit Layer-Discriminative KV Cache