GRINQH: Graded Input-based Quantization Hierarchy for Efficient LLM Generation
Jette Oberländer, Jan Finkbeiner, Catherine Schoefmann, Emre Neftci
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › Low-Precision LLM Optimization · Type: new method · Keywords: weight-only quantization, activation-based precision allocation, LLM inference optimization, GPU memory bandwidth reduction, hierarchical memory layout
Areas: Memory › Model Memory Optimization › Efficient Attention for LLMs
Summary
GRINQH introduces a weight-only post-training quantization hierarchy that dynamically assigns weight channels to different precision levels based on activation magnitudes, achieving faster LLM decoding while maintaining quality.
Explained to a 5-year-old
Large language models are like big computers that write words one by one, but they need a lot of memory to work. To save memory, we can make the numbers inside the model smaller, but we need to know which numbers are most important. This method looks at how big the changes are when the model thinks, and uses bigger changes for more important parts. It then stores some parts of the model in a super-small format and some in a normal format, so it runs faster. This helps the model generate text quickly, especially on small devices like phones.
Explained to a 5-year-old, longer
Large language models are computer programs that can write sentences like a story. They work by looking at lots of words and learning patterns. When they write, they need a lot of memory to keep track of all the information. This memory can be a problem on small devices like phones or tablets. To fix this, researchers make the numbers inside the model smaller, which is called quantization. However, simply making everything small can make the writing less accurate. The new idea looks at how big the changes are in the model while it is thinking. It uses these changes to decide which parts of the model are most important. Important parts are kept in a higher precision (bigger numbers) so they stay accurate. Less important parts are stored in a lower precision (smaller numbers) to save memory. This mix of high and low precision helps the model run faster without losing too much quality. The result is that the model can generate text quickly and still sound good, even on devices with limited memory.
For a technical reader
GRINQH is a weight-only post-training quantization framework that dynamically assigns different precision levels to model weights based on activation magnitudes. It combines quantization with sparsification and uses a hierarchical nested memory layout to store multi-precision weights efficiently in custom GPU kernels. By allocating higher precision to computationally important channels and lower precision to less important ones, it reduces memory bandwidth usage during the decoding phase of autoregressive LLM inference. Evaluations on Llama3 and Qwen3 show that GRINQH matches or exceeds fixed- and mixed-precision baselines at 3- and 4-bit precision and also works at 2-bit, delivering measurable speedups. The approach enables a new Pareto frontier for LLM generation, allowing practitioners to trade off quality and latency more flexibly on edge devices.
Problem
Autoregressive decoding of large language models is limited by GPU memory bandwidth, especially on edge devices, and existing quantization methods treat inference uniformly, ignoring the differing compute and memory demands of prefill and decoding stages.
Method
The approach uses activation magnitudes to proxy computational importance, assigning weight channels to different precision levels and combining quantization with sparsification, and implements a hierarchical nested memory layout with custom GPU kernels to store multi-precision weights.
Results
The approach achieves superior performance over fixed- and mixed-precision baselines at 3- and 4-bit precision and also works effectively at 2-bit, while experimental speedups confirm theoretical gains and a new Pareto frontier between quality and speed.
Contributions
The paper introduces a dynamic, activation-driven quantization hierarchy that jointly optimizes precision allocation and sparsification, proposes a hierarchical nested memory layout for efficient multi-precision storage, and demonstrates a new Pareto frontier for LLM generation across a range of bit widths.
Practical relevance
The method makes LLM deployment on memory-constrained edge devices faster and more efficient, allowing higher generation speeds without sacrificing quality.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction