TLDR: A new research paper introduces Quantization Aware Approximate – Log Number System (QAA-LNS), a novel approach to low-precision deep learning training. QAA-LNS optimizes logarithmic arithmetic approximations specifically for different bitwidths, enabling near 32-bit floating-point accuracy with significantly reduced bitwidths (e.g., 12-bit integer arithmetic). This method uses hardware-friendly piece-wise linear approximations for addition, optimized via simulated annealing. A hardware study shows QAA-LNS MAC units can achieve up to 32.5% area and 53.5% energy reduction compared to linear fixed-point equivalents, paving the way for more efficient hardware-accelerated training.
Training complex deep learning models is incredibly expensive, largely due to their reliance on high-precision floating-point arithmetic. While significant progress has been made in reducing the computational costs of inference (the deployment phase of a model), the training phase continues to be a major challenge. Researchers are actively exploring alternatives, with low-precision fixed-point arithmetic emerging as a promising path to more efficient training.
Among these alternatives, the Logarithmic Number System (LNS) stands out. LNS transforms numbers into their logarithmic equivalents, which has a significant advantage: multiplication in the traditional (linear) domain becomes a simple addition in the log domain. This is particularly beneficial for neural network training, where Multiply-Accumulate (MAC) operations are dominant, and multiplications are typically the most complex part. LNS also offers a wide dynamic range, similar to floating-point numbers, which is crucial for the back-propagation process during training.
However, LNS isn’t without its hurdles. While multiplication simplifies, addition in the log domain becomes more complicated, requiring approximations. Previous studies on LNS have explored various approximation methods, but a key missing piece has been optimizing these approximations specifically for different bitwidths – the number of bits used to represent a number. This is where a new research paper, Bitwidth-Specific Logarithmic Arithmetic for Future Hardware-Accelerated Training, introduces a novel approach.
Introducing Quantization Aware Approximate – Log Number System (QAA-LNS)
Authored by Hassan Hamad, Yuou Qiu, Peter A. Beerel, and Keith M. Chugg, this paper proposes the Quantization Aware Approximate – Log Number System (QAA-LNS). The core innovation of QAA-LNS is its explicit incorporation of bitwidth into the design of approximations for logarithmic arithmetic operations, particularly for addition. This means that for each different precision level (e.g., 12-bit, 14-bit), a unique approximation is developed that is specifically tailored to that bitwidth.
To achieve this, the researchers introduce a new hardware-friendly, piece-wise linear approximation for logarithmic addition. This approximation is designed with power-of-two slopes, which allows computationally expensive multiplications to be replaced by more efficient bit-shift operations in hardware. This is a crucial step towards making LNS more practical for hardware accelerators.
The optimization of these approximations is done offline using a simulated annealing algorithm. This algorithm is guided by a “quantization-aware loss function” that minimizes the difference between the ideal LNS sum and the approximate sum, taking into account the specific bitwidth. This ensures that the approximations are not only efficient but also numerically stable, preventing the accumulation of errors that could lead to training divergence.
Also Read:
- Bridging Neural Network Theory: Geometry-Aware Initialization for Sigmoidal MLPs
- GUM: A New Unbiased Approach to Memory-Efficient LLM Training
Significant Performance and Efficiency Gains
The effectiveness of QAA-LNS was demonstrated through extensive simulations. Using a C++ bit-true simulation, the researchers successfully trained VGG-11 and VGG-16 models on CIFAR-100 and TinyImageNet datasets, respectively. They achieved this using 12-bit integer arithmetic with minimal accuracy degradation compared to standard 32-bit floating-point training. For ResNet-18 models, 14-bit arithmetic was required to maintain similar accuracy levels on TinyImageNet, while 12-bit worked well for CIFAR-100.
Beyond accuracy, the hardware study revealed substantial efficiency improvements. The proposed LNS Multiply-Accumulate (MAC) units showed up to a 32.5% reduction in area and a 53.5% reduction in energy consumption compared to their linear fixed-point equivalents. When compared to FP16 (16-bit floating-point) MACs, the 16-bit LNS MAC (which uses 14 arithmetic bits) demonstrated even greater savings: 50.5% in area and 56.7% in power. These figures highlight a compelling case for QAA-LNS in future hardware-accelerated deep learning training.
The researchers emphasize that QAA-LNS is an “orthogonal” enhancement, meaning it can be combined with other existing low-precision training techniques (like scaling methods or specialized rounding schemes) to potentially push the boundaries of bitwidth reduction even further. This work represents a significant step towards making deep learning training more accessible and sustainable by reducing its computational and energy footprint.


