Grid Games: The Power Of Multiple Grids for Quantizing Large Language Models
Vage Egiazarian, Erik Schultheis, Andrei Panferov, Earl Killian, Torsten Hoefler, Dan Alistarh
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Efficient LLM Inference & Training › Low-bit LLM Quantization · Type: new method · Keywords: quantization, multiple grids, LLM compression, FP4, grid selection
Summary
The paper introduces the power-of-two-grids (PO2) concept, allowing each small group of quantized values to select the better among multiple 4-bit grids, and proposes practical grid families such as PO2(NF4), MPO2, and SFP4 that improve LLM quantization accuracy.
Explained to a 5-year-old
When we make big computer brain models smaller, we need to store their numbers using less space. Usually we pick one way to turn those numbers into 4-bit values for each group. This paper says we can pick the best way for each group from a few options. It shows that using two grids helps small groups but not big ones. It also creates easy-to-use grid choices for real models.
Explained to a 5-year-old, longer
When we make big computer brain models smaller, we need to store their numbers using less space. Usually we pick one way to turn those numbers into 4-bit values for each group. This paper thinks about using two or more ways for each group and picking the best one. It shows that for small groups, having extra choices helps a lot, but for big groups it doesn't help much. The authors create three easy ways to do this: one pairs a normal grid with a learned one, another learns both grids from real data, and a third uses three grids that work well on special hardware. They test these ideas on already-trained models and on models trained from scratch, and they see better accuracy than before. The new method works for both just changing the numbers and changing both numbers and calculations. It also fits into existing hardware, so it could be used right away. The paper also explains why the idea works mathematically. Overall, the work shows that giving each group a choice of grids can make smaller models smarter.
For a technical reader
The paper proposes selecting among multiple 4-bit grids per value group to improve quantization accuracy. It provides theoretical justification for why small groups benefit more than large ones. Practical grid families are introduced, including a normal-plus-learned pair, a fully learned pair, and a TensorCore-compatible triple. Experiments on post-training and pre-training scenarios show consistent accuracy gains over single-grid FP4 methods.
Problem
Quantizing neural network weights and activations into small groups using a single fixed floating-point grid can limit model accuracy. The problem is to enable each group to choose among multiple grids to better represent its values, thereby improving quantization performance.
Method
The approach formulates a multi-grid selection problem, allowing each value group to pick the best among two or more 4-bit grids indicated by extra bits in the scale. It then designs several grid families, including a paired normal and learned grid, a fully learned grid pair, and a TensorCore-friendly triple of shifted grids. These grids are applied to both post-training quantization of open models and pre-training of Llama-like models.
Results
The approach yields consistent accuracy improvements over single-grid FP4 quantization for both weight-only and weight-plus-activation settings.
Contributions
It formalizes the multi-grid selection problem, provides theoretical analysis showing benefits for small groups, and introduces practical, hardware-friendly grid families for improved LLM quantization.
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