GPTQ builds on Optimal Brain Quantization. What information does it use to compensate for the error of each quantized weight?
- The running mean of activations gathered during a warm-up phase
- The gradient of the loss with respect to each individual weight
- The variance of the weights within each quantization group
- The layer's Hessian, used to cancel each weight's induced error
Why
GPTQ uses second-order (Hessian) information from a calibration set to update the not-yet-quantized weights so they absorb the error introduced by each rounding step. It is not a simple activation mean, a first-order gradient, or a per-group variance statistic.