Up nextNext guide
Activation Steering and Representation Engineering
Technical
Technical GUIDE
SmoothQuant is a technique that makes it possible to compress large language models down to 8-bit integers for both weights and activations without retraining.
Listen to this guideAI-narrated · ~2 min
It matters because activations in big models contain extreme outliers that normally wreck low-precision math, and SmoothQuant tames them.
When you shrink a model from 16-bit floats to 8-bit integers, weights compress easily but activations are trouble: certain channels carry values 10 to 100 times larger than the rest, and forcing them into a coarse integer grid destroys accuracy. SmoothQuant, introduced by Xiao et al. in 2022, observes that weights are smooth and easy to quantize while activations are spiky. So it mathematically migrates the difficulty: it divides activation channels by a per-channel scale and multiplies the corresponding weights by the same scale. The two operations cancel, leaving the model output unchanged, but now both tensors sit in friendly ranges. The result is W8A8 (8-bit weights and activations) inference with near-zero accuracy loss and roughly 2x speedup and memory savings.
Serving a 70B-parameter LLM at W8A8 on fewer GPUs by halving both memory and matrix-multiply cost
Enabling INT8 inference on NVIDIA Hopper/Blackwell tensor cores that natively accelerate 8-bit integer math
Deploying chat models on cost-constrained cloud endpoints where doubling throughput directly cuts the per-token bill
Compressing transformer encoders for on-device speech or translation where 8-bit kernels run faster and cooler
SmoothQuant established that activation outliers are migratable rather than unavoidable, and that idea now underpins production INT8 and FP8 serving. Expect smoothing to be combined with finer-grained schemes like per-group quantization, learned scaling, and 4-bit activation research (e.g. outlier-aware methods). As FP8 hardware (Hopper, Blackwell) matures, smoothing-style balancing will keep being baked into compiler and inference-engine pipelines so quantization stays nearly free.
Free newsletter
One short email each weekday with the three AI stories that actually matter. Free forever, no ads.
One email each weekday. Unsubscribe in one click. We never sell or share your address.
Test yourself
Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.
Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation
SmoothQuant is a technique that makes it possible to compress large language models down to 8-bit integers for both weights and activations without retraining. It matters because activations in big models contain extreme outliers that normally wreck low-precision math, and SmoothQuant tames them.
SmoothQuant targets the large outlier values that appear in certain activation channels, which otherwise destroy accuracy when activations are quantized to 8 bits.
It divides activation channels by a per-channel scale and multiplies the matching weights by that scale, so the product is unchanged but both tensors become easier to quantize.
W8A8 denotes 8-bit quantization for both weights (W) and activations (A), the regime SmoothQuant enables with minimal accuracy loss.
The smoothing scales are folded into the preceding layer's weights or a fused op ahead of time, so no extra computation happens at inference.
Alpha (commonly 0.5) balances the smoothing factor, deciding how much of the quantization difficulty is moved off the activations and onto the weights.
Keep learning
More guides picked for this topic
Up nextNext guide
Activation Steering and Representation Engineering
Technical