HyQuant: Hybrid-Precision Quantization for LLM Attention

Jiatong Ding, Bingxin Xing, Yu Zhang, Dian Ding, Xiaodong Yi, Xianbin Ouyang, Feihu Zhou, Kun Zhang and 4 others

Shanghai Jiao Tong University · Xi'an Jiaotong University · Tencent Penglai Lab · Xiamen University

Published August 28, 2026 · on the feed September 11, 2026 · ▲ 28 · arXiv 2608.27875

The abstract

Quantization has been widely adopted in LLM training and inference to reduce cost and improve efficiency. However, low-bit quantization of the 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 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 .

The Brief

2:30

A short podcast summary of the paper. Written and voiced by AI.

Transcript

HyQuant. Hybrid-Precision Quantization for LLM Attention. By Jiatong Ding and eleven others, from Shanghai Jiao Tong University, Xi'an Jiaotong University, and two other institutions. Published on the twenty-eighth of August. Its code repository is worked out: about sixty-five source files, with a readme and a licence.

Quantization is now widely used in both training and inference of large language models, to reduce cost and improve efficiency. The attention module is where it gets hard. At very low bit-widths, quantizing attention often introduces large errors, and performance degrades. Existing methods mainly handle this with smoothing techniques aimed at outliers. The authors take a different route, one aimed at balancing accuracy against efficiency rather than smoothing the values that cause trouble.

HyQuant is a hybrid quantization framework for LLM attention. Its principle is that not every part of attention needs the same precision. Most attention states are quantized into low-bit formats. A small set is kept in high precision: vertical-line tokens, and the states inside a local window. These are treated as the accuracy-critical regions, and everything else can afford to be compressed.

The critical regions are chosen with lightweight signals drawn from the attention pattern, signals that are aware of vertical lines. That choice is what lets the method reduce quantization error while keeping the overhead limited. The principle is then applied to both stages of generation. During prefill, HyQuant uses a hybrid-precision quantized attention operator: vertical-line tokens and a local sliding window stay in full precision while the remaining context is quantized.

During decode, the same principle is applied to compressing the KV cache. Here HyQuant also fuses KV dequantization with the attention computation itself, rather than performing them as separate steps, and that fusion is aimed at improving both memory and hardware efficiency.

The evaluation spans diverse tasks, models, and datasets. Across them, HyQuant maintains nearly lossless accuracy. The authors stress that it does this with an extremely simple design, and they read the result as showing that hybrid quantization of attention is both efficient and practically feasible. The code is publicly available.

The whole method rests on one decision about where precision matters. Instead of reshaping every value so that low bits fit them better, HyQuant protects a small, cheaply identified set of vertical-line tokens and nearby states at full precision and lets the rest go to low bits. That same split carries from prefill into the compressed cache used at decode.

Paper Quest · 7 chapters · about 41 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Fewer bits, less memory, worse answers. Something is being squeezed too hard.

You run a language model on long reasoning traces, tens of thousands of tokens. To save compute and memory, you quantize attention to very low bit-widths.

The road ahead

  1. 1 · The problem ~7 min Squeezing every token of a long reasoning trace into the same few bits hurts accuracy, because a few tokens carry most of the attention.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Keep the few heavily attended vertical-line tokens and a recent local window in full precision, and quantize everything else to low bits.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Pick critical tokens from attention signals, run prefill attention in mixed precision, then decode from a compressed cache with fused unpacking.
  6. 6 · The experiment ~6 min You’ll guess: Across diverse tasks, models and datasets, how did HyQuant's accuracy compare with running attention at full precision?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.