LGARPFJan 19, 2024

A2Q+: Improving Accumulator-Aware Weight Quantization

arXiv:2401.10432v111 citationsICML
Originality Incremental advance
AI Analysis

This work addresses hardware efficiency in neural network inference for AI practitioners, though it is incremental as it builds on prior accumulator-aware quantization methods.

The paper tackled the problem of numerical overflow in accumulator-aware quantization for neural networks, introducing A2Q+ which improved the trade-off between accumulator bit width and model accuracy by relaxing constraints and optimizing weight initialization.

Quantization techniques commonly reduce the inference costs of neural networks by restricting the precision of weights and activations. Recent studies show that also reducing the precision of the accumulator can further improve hardware efficiency at the risk of numerical overflow, which introduces arithmetic errors that can degrade model accuracy. To avoid numerical overflow while maintaining accuracy, recent work proposed accumulator-aware quantization (A2Q), a quantization-aware training method that constrains model weights during training to safely use a target accumulator bit width during inference. Although this shows promise, we demonstrate that A2Q relies on an overly restrictive constraint and a sub-optimal weight initialization strategy that each introduce superfluous quantization error. To address these shortcomings, we introduce: (1) an improved bound that alleviates accumulator constraints without compromising overflow avoidance; and (2) a new strategy for initializing quantized weights from pre-trained floating-point checkpoints. We combine these contributions with weight normalization to introduce A2Q+. We support our analysis with experiments that show A2Q+ significantly improves the trade-off between accumulator bit width and model accuracy and characterize new trade-offs that arise as a consequence of accumulator constraints.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes