Why 2-bit Diverges
At 2 bits, classic GPTQ diverges (22,820× error) because the feedback loop amplifies error residuals. Introducing error-feedback clipping at ±2.5σ stabilizes the loop, jumping from 288× to 12.45× at pure 2 bits.
Applied research on running dense language models (LLMs) on budget consumer hardware (4 GB VRAM GPU). Combining extreme quantization (INT4/INT3/INT2), Hessian-weighted compensation (GPTQ), non-uniform quantization (Lloyd-Max), and low-rank residual error patches.
Reproducible testbed · PyTorch 2.6 CUDA + Ollama · NVIDIA RTX 3050 Laptop GPU
A standard 7B model in FP16 weighs ~14 GB and spills over into system RAM/PCIe, causing severe latency degradation. Compressing to ~2.7 bits reduces it to ~2.4 GB, fitting fully within a budget 4 GB GPU.
Naive uniform quantization collapses catastrophically. By minimizing activation error ‖(W−Q)X‖² using Hessian H = XXᵀ and column-by-column compensation, INT4 reaches 1.01× (indistinguishable from FP32) and INT3 reaches 1.15×, allowing 7B models in ~2.6 GB.
At 2 bits, classic GPTQ diverges (22,820× error) because the feedback loop amplifies error residuals. Introducing error-feedback clipping at ±2.5σ stabilizes the loop, jumping from 288× to 12.45× at pure 2 bits.
Correcting quantization residuals in activation space with a low-rank approximation drops error drastically: rank-16 reaches 1.54× at 2.67 bits and rank-32 reaches 1.14× at 3.33 bits.
Evaluated on laboratory model (GPT-2, base PPL = 3.013). Lower is better (1.00× = identical to unquantized FP32 baseline).
| Target Precision | Uniform Quantization | Lloyd-Max (Non-uniform) | GPTQ (Hessian) | GPTQ + Low-Rank Patch | Verdict |
|---|---|---|---|---|---|
| INT4 (4 bits) | 1.14× | 1.03× | 1.01× | 1.01× | Solved (Lossless) |
| INT3 (3 bits) | 546× (broken) | 1.95× | 1.15× | 1.05× | Solved (Production) |
| Pure INT2 (2 bits) | 2,588× (unusable) | 508× | 12.45× (damped) | 2.32× (rank-8) | Frontier Passed |
| Hybrid (~2.67 bits) | — | — | — | 1.54× (rank-16) | Sweet Spot (VRAM / Quality) |
From theoretical mathematics (Cholesky, orthogonal rotations, SVD) to high-speed execution on real consumer hardware.