← Latest papers
🤖 machine learning

KronQ: LLM Quantization via Kronecker-Factored Hessian

KronQ is a post-training quantization framework that improves large language model compression by incorporating gradient covariance into the quantization objective via Kronecker-factored Hessian approximation, enabling bidirectional incoherence processing and enhanced sensitivity metrics that achieve superior perplexity compared to existing methods like GPTQ, particularly in extreme low-bit scenarios.

Original authors: Donghyun Lee, Yuhang Li, Ruokai Yin, Priyadarshini Panda

Published 2026-07-10
📖 6 min read🧠 Deep dive

Original authors: Donghyun Lee, Yuhang Li, Ruokai Yin, Priyadarshini Panda

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a giant, incredibly smart robot brain (a Large Language Model) that can write stories, solve math problems, and chat like a human. The problem? This brain is so massive it needs a warehouse full of computers just to fit on a shelf. To make it run on a regular laptop or phone, scientists try to "shrink" it by compressing its memory, a process called quantization. Think of it like packing a suitcase: you want to fit all your clothes (the model's knowledge) into a tiny bag without losing anything important.

For a while, the best way to pack this suitcase was a method called GPTQ. It worked by looking at how the robot's "input" (the words it reads) varied and adjusting the weights accordingly. But the authors of this new paper, KronQ, noticed a flaw in this strategy. They realized that GPTQ was only looking at the input side of the equation, assuming that every possible output (the words the robot might say next) was equally important.

The Big Mistake: Ignoring the "Output" Side
The paper argues that this assumption is like trying to pack a suitcase by only looking at how heavy the clothes are, while ignoring how fragile they are. In reality, some parts of the robot's brain are super sensitive. If you squish them too much, the whole thing falls apart.

The authors measured this and found something wild: in a massive model like LLaMA-3-70B, the "output" channels (the paths the robot uses to generate answers) vary wildly in importance. Some are like delicate glass; others are like sturdy bricks. The old methods treated them all the same, which caused the robot to go haywire when compressed too much. In fact, when they tried to shrink LLaMA-3-70B down to just 2 bits (a tiny amount of memory), the old methods completely failed, producing nonsense with a "perplexity" (a score of how confused the model is) of over 2000. That's like a robot forgetting how to speak English entirely.

The New Solution: KronQ
Enter KronQ. The authors propose a new way to pack the suitcase that looks at both the input and the output. They use a mathematical trick called the Kronecker-factored Hessian approximation.

Here's the analogy: Imagine the robot's brain is a giant drum.

  • Old Method (GPTQ): You tap the drum from the front (input) and adjust the tension based on how the front vibrates. You assume the back of the drum is just a mirror image.
  • KronQ: You tap the drum from the front and the back. You realize the back vibrates differently! Some parts of the back are loose and wobbly, while others are tight. KronQ measures this "back vibration" (the gradient covariance) and uses it to pack the suitcase much more carefully.

Two Superpowers of KronQ
The paper shows KronQ does two clever things:

  1. Bidirectional Incoherence (The "Shuffle"):
    Before packing, KronQ shuffles the weights around in two directions (input and output) to make sure no single spot is overloaded with heavy or fragile items. It's like taking a messy pile of books and spreading them out evenly so the suitcase doesn't bulge in one spot. The paper shows this reduces the "variability" of the weights, making them much easier to compress without breaking.

  2. Smart Bit Allocation (The "VIP Pass"):
    Not all parts of the robot need the same amount of space. KronQ calculates a "sensitivity score" for every sub-layer of the brain. It gives the "VIP" layers (the most sensitive ones) more bits (more memory space) and the less important ones fewer bits. Crucially, because it looks at the output side, it can tell the difference between layers that look identical from the input side but act very differently.

The Results: Saving the Day
The authors tested this on several models, from 7 billion to 70 billion parameters. The results were dramatic, especially when they tried to shrink the models to the extreme limit of 2 bits.

  • The Failure: On the massive LLaMA-3-70B model, the old methods (GPTQ and GPTAQ) diverged or produced garbage results (perplexity > 2000).
  • The Success: KronQ managed to compress this same 70-billion-parameter model to 2 bits and kept it working perfectly, achieving a perplexity of 7.93 on the WikiText-2 dataset. That's a massive difference between "broken robot" and "smart robot."

Even on 4-bit and 3-bit settings, KronQ consistently beat the competition, showing lower confusion scores and better accuracy on reasoning tests like PiQA and Arc-Challenge. For example, on LLaMA-2-7B at 2 bits, KronQ scored a perplexity of 8.15, while GPTQ struggled at 31.11.

The Cost
Is there a catch? The paper admits that to get this "output vibration" data, KronQ needs to do one extra backward pass through the model before packing. This takes a little more time and memory during the setup phase (about 8–11 seconds more per layer compared to GPTAQ). However, once the model is packed, the actual running speed and memory usage during use are just as efficient as the older methods. The extra work is a one-time setup cost that pays off by allowing the model to be shrunk much further without breaking.

What They Ruled Out
The paper explicitly argues against the idea that you can ignore the output side of the math. They show that assuming all output directions are equal (setting the gradient covariance to an identity matrix) is a "suboptimal approximation" that leads to failure in ultra-low-bit scenarios. They also show that methods which only look at input statistics (like standard GPTQ) cannot distinguish between different sub-layers that share the same input, leading to poor decisions on where to allocate memory.

How Sure Are They?
The authors are very confident in these results because they are based on hard measurements, not just simulations. They ran these tests on real hardware (A100 GPUs) with real models (LLaMA-2, LLaMA-3, Gemma, DeepSeek) and measured actual perplexity and accuracy scores. They didn't just suggest it might work; they showed that in these specific experiments, the old methods literally failed to produce a working model at 2 bits, while KronQ succeeded.

In short, KronQ is like a master packer who realized that to fit a giant brain into a tiny box, you have to understand how the brain outputs information, not just how it inputs it. By doing so, it unlocks the ability to run massive AI models on devices that previously thought it was impossible.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →