SAW-INT4: System-Aware 4-Bit KV-Cache Quantization for Real-World LLM Serving

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jia, Jinda, Li, Jisen, Zhou, Zhongzhu, Heo, Jung Hwan, Wang, Jue, Dao, Tri, Song, Shuaiwen Leon, Athiwaratkun, Ben, Xu, Chenfeng, Zhang, Tianyi, Wu, Xiaoxia
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914494427430912
author Jia, Jinda
Li, Jisen
Zhou, Zhongzhu
Heo, Jung Hwan
Wang, Jue
Dao, Tri
Song, Shuaiwen Leon
Athiwaratkun, Ben
Xu, Chenfeng
Zhang, Tianyi
Wu, Xiaoxia
author_facet Jia, Jinda
Li, Jisen
Zhou, Zhongzhu
Heo, Jung Hwan
Wang, Jue
Dao, Tri
Song, Shuaiwen Leon
Athiwaratkun, Ben
Xu, Chenfeng
Zhang, Tianyi
Wu, Xiaoxia
contents KV-cache memory is a major bottleneck in real-world LLM serving, where systems must simultaneously support latency-sensitive small-batch requests and high-throughput concurrent workloads. Although many KV-cache compression methods improve offline accuracy or compression ratio, they often violate practical serving constraints such as paged memory layouts, regular memory access, and fused attention execution, limiting their effectiveness in deployment. In this work, we identify the minimal set of 4-bit KV-cache quantization methods that remain viable under these constraints. Our central finding is that a simple design--token-wise INT4 quantization with block-diagonal Hadamard rotation--consistently achieves the best accuracy-efficiency trade-off. Across multiple models and benchmarks, this approach recovers nearly all of the accuracy lost by naive INT4, while more complex methods such as vector quantization and Hessian-aware quantization provide only marginal additional gains once serving compatibility is taken into account. To make this practical, we implement a fused rotation-quantization kernel that integrates directly into paged KV-cache layouts and introduces zero measurable end-to-end overhead, matching plain INT4 throughput across concurrency levels. Our results show that effective KV-cache compression is fundamentally a systems co-design problem: under real serving constraints, lightweight block-diagonal Hadamard rotation is a viable method that delivers near-lossless accuracy without sacrificing serving efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2604_19157
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SAW-INT4: System-Aware 4-Bit KV-Cache Quantization for Real-World LLM Serving
Jia, Jinda
Li, Jisen
Zhou, Zhongzhu
Heo, Jung Hwan
Wang, Jue
Dao, Tri
Song, Shuaiwen Leon
Athiwaratkun, Ben
Xu, Chenfeng
Zhang, Tianyi
Wu, Xiaoxia
Machine Learning
KV-cache memory is a major bottleneck in real-world LLM serving, where systems must simultaneously support latency-sensitive small-batch requests and high-throughput concurrent workloads. Although many KV-cache compression methods improve offline accuracy or compression ratio, they often violate practical serving constraints such as paged memory layouts, regular memory access, and fused attention execution, limiting their effectiveness in deployment. In this work, we identify the minimal set of 4-bit KV-cache quantization methods that remain viable under these constraints. Our central finding is that a simple design--token-wise INT4 quantization with block-diagonal Hadamard rotation--consistently achieves the best accuracy-efficiency trade-off. Across multiple models and benchmarks, this approach recovers nearly all of the accuracy lost by naive INT4, while more complex methods such as vector quantization and Hessian-aware quantization provide only marginal additional gains once serving compatibility is taken into account. To make this practical, we implement a fused rotation-quantization kernel that integrates directly into paged KV-cache layouts and introduces zero measurable end-to-end overhead, matching plain INT4 throughput across concurrency levels. Our results show that effective KV-cache compression is fundamentally a systems co-design problem: under real serving constraints, lightweight block-diagonal Hadamard rotation is a viable method that delivers near-lossless accuracy without sacrificing serving efficiency.
title SAW-INT4: System-Aware 4-Bit KV-Cache Quantization for Real-World LLM Serving
topic Machine Learning
url https://arxiv.org/abs/2604.19157