Multiplier-less Neural Network Inference for Low-Power Embedded LSTMs
Constrained-Hamming Quantization is a fixed-point quantization framework designed to reduce energy consumption in power-constrained edge devices, particularly for neural networks dominated by multiply-accumulate operations. Constrained-Hamming Quantization bounds the number of active bits within the fixed-point representation of neural network weights to a predefined maximum, while retaining the original word width and fixed-point scaling, preserving numerical granularity near zero and preventing small-magnitude coefficients from collapsing to zero. This active-bit bound enables a positional encoding strategy in which the locations of the active bits are stored explicitly. To exploit the resulting representation efficiently in hardware, this work introduces a dedicated arithmetic architecture that replaces conventional multipliers with a shift-and-add arithmetic structure, lowering switching activity and dynamic power dissipation. To facilitate deployment, we also introduce an automated RTL design flow that trains, quantizes, and maps Constrained-Hamming Quantization models directly onto FPGAs. While the methodology is applicable across diverse network architectures, the proposed approach is evaluated on embedded LSTM models through both hardware-level and system-level experiments, including comparisons against a conventional hardware implementation and a representative mobile edge device. Experimental results show that the proposed arithmetic architecture achieves a 25% energy reduction compared with the baseline hardware implementation, maintaining this efficiency advantage across varying model complexities while ensuring the quantization error satisfies the target requirements.