Computer Arithmetic
In AI inference, what is the main benefit of converting (quantizing) weights from FP32 to INT8?
- APrecision always becomes higher than FP32
- BData shrinks to a quarter and computation gets faster and leaner
- CModel accuracy always improves, even without any retraining at all
Show answer and explanation
Answer: B. Data shrinks to a quarter and computation gets faster and leaner
Going from 32-bit to 8-bit weights cuts memory usage and data read to a quarter, a big win for inference limited by memory bandwidth. In addition, 8-bit integer multipliers are far smaller and more power-efficient than floating-point ones, allowing more operations for the same area and power. In exchange, only 256 values are representable, so errors arise and accuracy may drop slightly. Precision does not increase, nor does accuracy always improve.
- A. Precision may actually drop slightly.
- B. Correct. Data shrinks to a quarter, and small integer circuits do the math.
- C. Accuracy does not necessarily improve.