This paper introduces Explicit Loss-Error-Aware Quantization (ELQ), a training framework designed to bridge the accuracy gap between full-precision Deep Neural Networks (DNNs) and their low-bit (binary or ternary) counterparts. By explicitly incorporating loss sensitivity into the quantization objective, ELQ achieves state-of-the-art performance on large-scale datasets like ImageNet.
The Precision Gap Challenge
Deep learning models are notoriously resource-intensive, making them difficult to deploy on mobile or embedded devices. Quantizing weights to 1 or 2 bits offers a primary solution to reduce memory and computation. However, most existing methods suffer from a "precision gap" because they focus solely on minimizing weight approximation error—making the quantized weights look as much like the original weights as possible.
The critical insight of ELQ is that not all weights are created equal. A small change in a critical weight can drastically increase the final loss, while a large change in a less sensitive weight might have a negligible impact. Previous attempts to account for this "loss sensitivity" often required calculating the Hessian matrix (second-order derivatives), which is computationally prohibitive for modern deep networks.
The ELQ Methodology
ELQ optimizes a new objective that balances three factors: the original loss function, weight approximation error, and loss perturbation. To maintain computational efficiency, the authors use a first-order Taylor expansion to estimate how much quantization "noise" affects the final loss, effectively bypassing the "Hessian bottleneck."
Incremental Quantization Strategy
Rather than quantizing the entire network at once, which can be a "shock" to the model's accuracy, ELQ employs a "partition-quantize-and-retrain" approach. The process selects a subset of weights to quantize and freeze, then re-trains the remaining full-precision weights to compensate for the introduced error. This cycle is guided by "interval bound factors" derived from the weight distribution to determine which weights are ready for conversion.
Experimental Results
The researchers evaluated ELQ on standard benchmarks, including ImageNet (AlexNet, ResNet-18) and CIFAR-10. ELQ consistently outperformed existing state-of-the-art (SOTA) methods like XNOR-Net, Ternary Weight Networks (TWN), and Trained Ternary Quantization (TTQ).
- Ternary (2-bit) ResNet-18 on ImageNet: ELQ achieved a Top-1 error of 32.48%, which is only 0.75% lower in accuracy than the full-precision reference (31.73%). In contrast, previous SOTA methods typically suffered drops of 3-4%.
- Binary (1-bit) ResNet-18 on ImageNet: ELQ reached a 35.28% Top-1 error. While this is a 3.55% drop from the reference, it significantly outperforms XNOR-Net, which experienced an 8.5% drop.
- Ternary AlexNet: The gap was even smaller, with ELQ reaching 42.12% Top-1 accuracy against a 42.76% reference—a negligible 0.64% difference.
Conclusion and Future Work
ELQ demonstrates that high-performance low-bit models can be achieved using practical, first-order approximations of loss sensitivity. The incremental strategy provides the network "room to breathe," allowing remaining high-precision parameters to adapt to new constraints.
Future research directions include exploring training low-bit models from scratch (rather than starting from pre-trained full-precision models) and extending the framework to include activation quantization for full hardware acceleration.
Summary updated