Algebraic Identity: AWQ's Secret to Preserving Precision

AWQ's core insight relies on an algebraic identity: XW = (X * diag(s)) * (W * diag(1/s)). This allows scaling down salient weights for easier low-bit quantization, while inversely scaling activations, ensuring the mathematical product remains unchanged in floating-point precision, thus minimizing error.

Sources

Open the full topic