Bitwidth-Specific Logarithmic Arithmetic for Future Hardware-Accelerated Training

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Hamad, Hassan, Qiu, Yuou, Beerel, Peter A., Chugg, Keith M.
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912659599785984
author Hamad, Hassan
Qiu, Yuou
Beerel, Peter A.
Chugg, Keith M.
author_facet Hamad, Hassan
Qiu, Yuou
Beerel, Peter A.
Chugg, Keith M.
contents While advancements in quantization have significantly reduced the computational costs of inference in deep learning, training still predominantly relies on complex floating-point arithmetic. Low-precision fixed-point training presents a compelling alternative. This work introduces a novel enhancement in low-precision logarithmic fixed-point training, geared towards future hardware accelerator designs. We propose incorporating bitwidth in the design of approximations to arithmetic operations. To this end, we introduce a new hardware-friendly, piece-wise linear approximation for logarithmic addition. Using simulated annealing, we optimize this approximation at different precision levels. A C++ bit-true simulation demonstrates training of VGG-11 and VGG-16 models on CIFAR-100 and TinyImageNet, respectively, using 12-bit integer arithmetic with minimal accuracy degradation compared to 32-bit floating-point training. Our hardware study reveals up to 32.5% reduction in area and 53.5% reduction in energy consumption for the proposed LNS multiply-accumulate units compared to that of linear fixed-point equivalents.
format Preprint
id arxiv_https___arxiv_org_abs_2510_17058
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Bitwidth-Specific Logarithmic Arithmetic for Future Hardware-Accelerated Training
Hamad, Hassan
Qiu, Yuou
Beerel, Peter A.
Chugg, Keith M.
Machine Learning
Artificial Intelligence
While advancements in quantization have significantly reduced the computational costs of inference in deep learning, training still predominantly relies on complex floating-point arithmetic. Low-precision fixed-point training presents a compelling alternative. This work introduces a novel enhancement in low-precision logarithmic fixed-point training, geared towards future hardware accelerator designs. We propose incorporating bitwidth in the design of approximations to arithmetic operations. To this end, we introduce a new hardware-friendly, piece-wise linear approximation for logarithmic addition. Using simulated annealing, we optimize this approximation at different precision levels. A C++ bit-true simulation demonstrates training of VGG-11 and VGG-16 models on CIFAR-100 and TinyImageNet, respectively, using 12-bit integer arithmetic with minimal accuracy degradation compared to 32-bit floating-point training. Our hardware study reveals up to 32.5% reduction in area and 53.5% reduction in energy consumption for the proposed LNS multiply-accumulate units compared to that of linear fixed-point equivalents.
title Bitwidth-Specific Logarithmic Arithmetic for Future Hardware-Accelerated Training
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2510.17058