HyQuant: Hybrid-Precision Quantization for LLM Attention

📅 2026-08-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出HyQuant,一种混合精度量化框架,用于解决低比特量化LLM注意力模块时的性能下降问题,通过保留关键区域高精度并量化其他部分来平衡准确性和效率。
📝 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. 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 .
Problem

Research questions and friction points this paper is trying to address.

Quantization
Attention
Low-bit
Performance degradation
Hybrid quantization
Innovation

Methods, ideas, or system contributions that make the work stand out.

Hybrid-Precision Quantization
Attention Mechanism
Low-Bit Formats
Accuracy-Critical Regions
KV-cache Compression
💼 Related Jobs
No related jobs found.
J
Jiatong Ding
Shanghai Jiao Tong University
B
Bingxin Xing
Xi’an Jiaotong University
Y
Yu Zhang
Xiamen University
D
Dian Ding
Shanghai Jiao Tong University
Xiaodong Yi
Xiaodong Yi
Tencent Penglai Lab
X
Xianbin Ouyang
Tencent Penglai Lab
F
Feihu Zhou
Tencent Penglai Lab
K
Kun Zhang
Tencent Penglai Lab
Z
Zhenyu Guo
Tencent Penglai Lab
H
Hao Pan
Shanghai Jiao Tong University
Guangtao Xue
Guangtao Xue
Professor of Computer Science, Shanghai Jiao Tong University
Mobile ComputingSocial NetworksWireless Sensor NetworksDistributed Computing
Y
Yiming Zhang
Shanghai Jiao Tong University