Quantization-aware training
Method · 2017 · Also known as QAT, integer-only inference
Definition
“The rising popularity of intelligent mobile devices and the daunting computational cost of deep learning-based models call for efficient and accurate on-device inference schemes.”
From the defining paper: Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference (Benoit Jacob, Skirmantas Kligys, Bo Chen, et al., CVPR 2018).
Lineage
Parent: none in this seed
Children: HAWQ; LLM.int8(); GPTQ
Incoming edges (2)
extends · accuracy
From BinaryConnect · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “call for efficient and accurate on-device inference schemes” Source: Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
- Mechanism
- “We propose a quantization scheme that allows inference to be carried out using integer-only arithmetic” Source: Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
- Trade-off
- No trade-off quoted.
improves · accuracy
From XNOR-Net · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “call for efficient and accurate on-device inference schemes” Source: Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
- Mechanism
- “We propose a quantization scheme that allows inference to be carried out using integer-only arithmetic” Source: Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
- Trade-off
- No trade-off quoted.
Outgoing edges (4)
adapts · memory efficiency
To LLM.int8() · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “Large language models have been widely adopted but require significant GPU memory for inference” Source: LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
- Mechanism
- “which cut the memory needed for inference by half while retaining full precision performance” Source: LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
- Trade-off
- No trade-off quoted.
compares · memory efficiency
To GPTQ · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “even inference for large, highly-accurate GPT models may require multiple performant GPUs, which limits the usability of such models” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- Mechanism
- “a new one-shot weight quantization method based on approximate second-order information” Source: GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- Trade-off
- No trade-off quoted.
adapts · accuracy
To SmoothQuant · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “However, existing methods cannot maintain accuracy and hardware efficiency at the same time” Source: SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Mechanism
- “SmoothQuant smooths the activation outliers by offline migrating the quantization difficulty from activations to weights with a mathematically equivalent transformation” Source: SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Trade-off
- No trade-off quoted.
improves · accuracy
To HAWQ · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “However, uniformly quantizing a model to ultra low precision leads to significant accuracy degradation” Source: HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precision
- Mechanism
- “we introduce Hessian AWare Quantization (HAWQ), a novel second-order quantization method to address these problems” Source: HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precision
- Trade-off
- No trade-off quoted.