Reproduce “Kitty: Accurate and Efficient 2-bit KV Cache Quantization with Dynamic Channel-wise Precision Boost” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Haojun Xia, Xiaoxia Wu, Jisen Li, Robert Wu, Junxiong Wang, Jue Wang, Chenxi Li, Aman Singhal and 7 more
A 2-bit Key-Value cache quantization technique, Kitty, enables large language models to maintain near full-precision accuracy by dynamically elevating the precision of critical channels, leading to an approximate 8x reduction in memory footprint and a 2.1x to 4.1x boost in inference throughput.
Key insights
- Only a small, specific subset of Key cache channels are highly sensitive to 2-bit quantization and disproportionately impact model accuracy.
- Prioritizing precision boosting for Key cache channels is more effective for accuracy recovery than doing so for Value cache channels.
- An algorithm-system co-design, integrating dynamic mixed-precision quantization with a hardware-aware memory layout and GPU kernels, is essential for achieving both accuracy and efficiency.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.