WUSH: Near-Optimal Adaptive Transforms for LLM Quantization
Abstract
Lay Summary
Modern AI language models are enormous. To run them affordably, we "quantize" them: storing their internal numbers at very low precision, like rounding every price to the nearest dollar. But a few extreme values, called outliers, force everything else onto a crude scale and wreck accuracy. The usual fix is to first apply a mathematical transform that reshuffles the numbers so outliers do less harm. One fixed recipe, the Hadamard transform, works surprisingly well, yet no one knew why, or whether anything better existed. Oddly, it ignores the very numbers being compressed. We derived an exact formula for the best possible transform, one that adapts to each model's own data. Our method, WUSH, is the Hadamard transform plus a data-aware ingredient. That solves the mystery: Hadamard is just the data-blind part of the true optimum. The payoff: WUSH beats today's best methods on accuracy, runs just as fast, and lets cheap, hardware-friendly number formats hit accuracy that once needed costlier ones.