arXiv:2610.03402cs.LGOct 2026

Manuscript Offprint

arXiv:2610.03402

16-bit Precision of Convolutional Neural Networks on Microcontroller Units for 8-bit Costs

Rui Liu, Benjamin Paaßen

Abstract

To deploy deep neural networks on edge hardware, highly efficient inference schemes are necessary that retain high accuracy. This work presents W16A16, a high precision (16-bit), fast speed, low energy quantization method. On a widely applied microcontroller architecture Armv7E-M, our proposed approach achieves faster speed and lower energy consumption on layer- and model-level compared to alternative quantization schemes. We analyze the architecture of Armv7E-M, explain the underlying principles behind the performance advantages of 16-bit approaches, and evaluate the empiric quantization errors for regression and classification tasks, as well as empiric time- and energy consumption in MCU deployment. We observe ca. 10 times lower quantization errors compared to 8-bit quantization schemes while achieving similar or better inference times and energy consumptions.

1 Introduction

Deep Neural Networks (DNNs) have been widely applied in various domains, such as image recognition [He et al., 2016], speech detection [Nassif et al., 2019] and signal regression [Qiu et al., 2014]. However, executing DNNs (also called inference) often requires substantial computational resources and energy [Zaidi et al., 2022]. This resource demand often makes it infeasible to deploy DNNs on resource-limited platforms, such as Microcontroller Units (MCUs) and Microprocessing Units (MPUs). MCUs are the mainstream choice for the deployment in industrial and Internet of Things (IoT) devices [Novac et al., 2021]. Therefore, making DNNs executable on MCUs would unlock substantial capabilities for such edge devices.

Typical MCUs have very limited memory, often less than 1 MB, and low clock speeds (often 40 to 500 Mhz) [Deutel et al., 2023]. However, industrial and IoT scenarios often demand very small delays (real-time reaction), particularly in safety-critical applications, such as Health Monitoring [Alshehri and Muhammad, 2020], industrial IoT, predictive maintenance and autonomous vehicles [Yurtsever et al., 2020]. As such, DNNs in such scenarios not only need to be small (in terms of memory) but also fast (in terms of cycles required for executing an entire DNN inference).

To overcome the challenge of limited resources on edge devices, the research field of TinyML emerged, focusing on the deployment of complex DNNs models by means of novel algorithms, hardware-software co-designs, neural network pruning [Liberis and Lane, 2023] and quantization [Rusci et al., 2020]. Among these methods, quantization has become the most widely utilized approach [Nagel et al., 2021]. Quantization refers to the rounding of 32-bit floating point numbers (which typically represents weights and activations in DNNs) to lower-resolution integers (e.g. 8-bit, 16-bit). This does not only reduce the memory footprint of DNNs but also enables the use of integer arithmetic components on the MCU, which are typically much faster and more energy-efficient compared to floating point units. Consequently, 8-bit integer (INT8) quantization has been widely used and deeply optimized by various embedded AI frameworks and libraries, such as Tensorflow-Micro-Light [David et al., 2021], X-CUBE-AI [Falbo et al., 2019], and CMSIS-NN [Lai et al., 2018]. Indeed, INT8 quantization has become a standard approach for MCUs [Abushahla et al., 2025]. However, the loss of resolution due to INT8 quantization is so severe that the accuracy of DNNs may be affected, especially for regression tasks (as we show in our experiments). As such, higher resolution via 16-bit quantization would be desirable—but may risk a higher energy- and memory footprint. Fortunately, in this paper, we show that the instruction set of the widely used ARMv7E-M architecture enables us to run INT16 quantized neural nets with almost the same time- and energy efficiency compared to INT8 quantized nets while achieving almost the same accuracy as the full FLOAT32 network. In other words: we get 16-bit resolution for the cost of 8-bit resolution.

In summary, our contributions are: (1) We analyze the ARMv7E-M architecture and its assembly instruction set to derive a novel approach for INT16 quantized DNNs on MCUs. (2) We implement this approach in software for the example of temporal convolutional networks (TCNs) and provide this implementation as an open source package. (3) We empirically demonstrate superior performance of INT16 TCNs compared to INT8 TCNs in both classification and regression tasks, on par with the full FLOAT32 version of the model. (4) We empirically demonstrate that the number of computations, inference time, and energy consumption of our proposed INT16 implementation is comparable to INT8 quantization and outperforms a mixed quantization scheme (8-bit weights, 16-bit activations) as well as reference quantization schemes implemented as part of the Cube.AI library.

The implementation of our approach is available at https://gitlab.com/fastconv1d/W16A16.

References (26)