Neural Network Quantization
Methods that reduce the numerical precision of neural network weights and activations (e.g., from FP32 to INT8 or lower) to decrease memory and accelerate inference, with techniques to minimize accuracy loss.
Method
Post-training quantization (PTQ): calibrate scale/zero-point on a small dataset without retraining. Quantization-aware training (QAT): simulate quantization during training with straight-through estimators so the model adapts. Techniques include per-channel scales, mixed precision, and outlier handling.
Applications
Mobile and edge deployment, large language model inference acceleration, reducing serving cost, hardware-friendly models, any production inference pipeline seeking efficiency.
Advantages
Large memory and speed gains; mature tooling (TensorRT, ONNX Runtime, etc.).
Limitations
Aggressive quantization (INT4 and below) can hurt accuracy; calibration data quality matters for PTQ; QAT increases training complexity; hardware support varies; sensitive layers may need higher precision.
Alternatives
Pruning, distillation, efficient architectures, low-rank adaptation, sparse inference.
Editorial clarification
Primary method selected from the source bundle; related approaches are alternatives, not aliases.
Sources
Educational reference only, not professional advice.
All algorithms