HyQuant: Hybrid-Precision Quantization for LLM Attention

Jiatong Ding, Bingxin Xing, Yu Zhang, Dian Ding, Xiaodong Yi +7 more
8/28/2026
cs.AI
quantization-pruning

Official code: jerrysfls/HyQuant (11 stars).

Abstract

Quantization has been widely adopted in LLM training and inference to reduce cost and improve efficiency. However, low-bit quantization of the \emph{attention} module often introduces large errors at very low bit-widths, causing performance degradation.

Show full abstract

Existing methods mainly rely on smoothing techniques to handle outliers, while we propose a hybrid quantization design to better balance accuracy and efficiency. Specifically, we propose \textbf{HyQuant}, an efficient hybrid quantization framework for LLM attention. HyQuant quantizes most attention states into low-bit formats while retaining a small set of vertical-line tokens and local-window states in high precision. These accuracy-critical regions are selected using lightweight vertical-line-aware attention-pattern signals, reducing quantization error with limited overhead. In the Prefill stage, HyQuant uses a hybrid-precision quantized attention operator that preserves vertical-line tokens and a local sliding window in full precision while quantizing the remaining context. In the Decode stage, HyQuant applies the same principle to KV-cache compression and fuses KV dequantization with attention computation to improve memory and hardware efficiency. Across diverse tasks, models, and datasets, HyQuant maintains nearly lossless accuracy with an extremely simple design, demonstrating the efficiency and practical feasibility of hybrid quantization for LLM attention. Code is available at: https://github.com/jerrysfls/HyQuant .

View on arXivView PDF

Code Implementations(1)

jerrysfls/HyQuantOfficial100%

Official implementation of EMNLP 2026 Main paper HyQuant: Hybrid-Precision Quantization for LLM Attention

111

Similar Papers

Cite this paper

@article{ding2026hyquant,
  title  = {HyQuant: Hybrid-Precision Quantization for LLM Attention},
  author = {Jiatong Ding and Bingxin Xing and Yu Zhang and Dian Ding and Xiaodong Yi and Xianbin Ouyang and Feihu Zhou and Kun Zhang and Zhenyu Guo and Hao Pan and Guangtao Xue and Yiming Zhang},
  year   = {2026},
  eprint = {2608.27875},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.27875v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.27875.svg)](https://codeofpaper.com/paper/2608.27875)

Discussion