PsumQuant: In-line Post-training Partial Sum Quantizer for Energy Efficient NPU Inference
Abstract
Lay Summary
Artificial intelligence (AI) models require substantial computing power and energy to run. To make them compute efficiently, engineers further shrink (quantize) the AI's data. However, even if the number of AI's data is reduced, the intermediate summation generated during processing remains large and bulky. Moving and storing these bulky numbers inside the computer chip creates a severe energy bottleneck. To solve this, we developed PsumQuant, a hardware-friendly method for on-the-fly compression of these intermediate summations. Our technique looks ahead at the incoming data and dynamically adjusts how it shrinks the numbers. We ensure that rare but important extreme values are preserved without slowing down the hardware. By efficiently compressing these intermediate summations, PsumQuant reduces the total energy consumption of AI chips by 45% with almost no loss in AI accuracy. It reduces the power drain of AI systems, paving the way for advanced, sustainable, and energy-efficient AI.