Video narration
Lower-bit models are smaller and faster-but compress a phone image into fewer colour levels, and detail disappears. Quantisation forces tensor values through fewer levels. It maps x to q: q equals round x over s, plus z. Scale sets level spacing; zero-point shifts integer zero. Reconstruct with x-hat equals s times q minus z. The gap is quantisation error. Fewer bits mean fewer levels, so that gap usually grows. The key: error depends on placement, not bit width alone. Symmetric quantisation centres the range at zero, fitting roughly symmetric weights. Asymmetric quantisation uses a non-zero zero-point, shifting the range toward skewed values, such as ReLU activations. Granularity matters. One scale and zero-point per tensor is efficient, but outliers hurt smaller values. Per-channel helps CNN weights; per-group fits local ranges for low-bit Transformer weights, metadata costs. The best scheme matches range and granularity to the values.