Skip to main content

Quantization-Aware Training

Quantization-Aware Training

  • Hardware & deployment
  • Stage 5 · Running It
  • refs checked 2026-11-19
What problem it solves

Simulate low-precision error during training so the quantised model loses less accuracy.

What it is
The forward pass uses fake-quant to simulate INT4 or INT8 rounding and clipping, while the backward pass still updates with high-precision gradients. Unlike post-training quantisation, which leaves weights untouched, QAT lets the model adapt to quantisation error in advance. The cost is training compute and tuning complexity; the benefit is better accuracy at low bit-width. Not every model is worth QAT: when a base is open and quantisation tools are mature, running PTQ first is often cheaper.
Why it matters

Local deployment increasingly relies on 4-bit; the gap between QAT and PTQ decides whether a quantised model is still usable.

Chinese aliases

Sources
  • TensorFlow Model Optimization · QAT guide ↗
  • PyTorch · Quantization docs ↗
  • Learn AI · Quantization methods ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →