EUVIMEDObjevte EUVIMED
Open access · CC BY 4.0

Revisiting the Inference Time Optimization of TinyML for ARM-Based Microcontrollers

Chan-Kyu Lee, Seung-Ryeol Ohk, Young-Jin Kim

Electronics · 2026-07-08 · 15 (14) · 2997

DOI: 10.3390/electronics15142997 ↗

At a glance

Journal article in Electronics, published online on 2026-07-08. Written by Chan-Kyu Lee and 2 co-authors. 22 references. The full text is freely available (open access, CC BY 4.0). Funded by: Institute of Information and Communications Technology Planning and Evaluation (IITP) through the Information Technology Research Center (ITRC) support program…, National Research Foundation of Korea.

AbstraktBibliografické údajeCiteRelated studies

Abstract (original language)

As AI research advances, various performance optimization techniques have been studied for TinyML models on microcontrollers with very limited resources. In TinyML frameworks such as TFLM (TensorFlow Lite Micro) and NNOM (Neural Network on Microcontrollers), their execution engines mainly depend on CMSIS-NN for inference acceleration, which is an ARM’s back-end library to execute optimized kernel functions for performance optimization. But we often find that CMSIS-NN is not invincible for inference time optimization on TinyML. In this paper, we examine TinyML frameworks and their CMSIS-NN libraries and consider how to improve CMSIS-NN in terms of runtime. Then, we propose the D2I technique to reduce the overhead of memory operations that occur while performing the Im2col procedure within the convolution function, which takes most of the inference time in CMSIS-NN. The proposed technique creates a necessary index table, finds the location of the input with the corresponding index, and performs direct operations between filters and inputs. Thus, it can quite mitigate data copy operations in Im2col with a small additional amount of memory compared to Im2col. In extensive experiments using an Arduino nano 33 BLE board with Cortex-M4 and an STM32F746G-DISCO board with Cortex-M7, D2I was found to achieve about 16.3% and 14.5% inference time improvements against the Im2col in TFLM’s and NNOM’s CMSIS-NNs, respectively, for the SqueezeNet model. And the additional memory usage was shown to be identically 11.52 kB.

Funding

  • Institute of Information and Communications Technology Planning and Evaluation (IITP) through the Information Technology Research Center (ITRC) support program…
  • National Research Foundation of Korea

Cite

APA

Lee, C., Ohk, S., & Kim, Y. (2026). Revisiting the Inference Time Optimization of TinyML for ARM-Based Microcontrollers. Electronics, 15(14), 2997. https://doi.org/10.3390/electronics15142997

Vancouver

Lee C, Ohk S, Kim Y. Revisiting the Inference Time Optimization of TinyML for ARM-Based Microcontrollers. Electronics. 2026;15(14):2997. doi:10.3390/electronics15142997

BibTeX
@article{Lee2026,
  author = {Lee, Chan-Kyu and Ohk, Seung-Ryeol and Kim, Young-Jin},
  title = {Revisiting the Inference Time Optimization of TinyML for ARM-Based Microcontrollers},
  journal = {Electronics},
  year = {2026},
  volume = {15},
  number = {14},
  pages = {2997},
  doi = {10.3390/electronics15142997}
}
Start for free →