Open this publication in new window or tab >>Show others...
2026 (English)In: IEEE Embedded Systems Letters (ESL), ISSN 1943-0663, Vol. 18, no 5, p. 332-335Article in journal (Refereed) Published
Abstract [en]
Different from computation-heavy, vision-based tasks that require complex deep neural network (DNN) models to process, typical sensor data processing tasks in sensor networks or on-body devices can be handled with lightweight DNNs, which are usually compact in size, leaving storage space unused. We present a technique to generate C inference code from trained DNN models that utilizes the unused storage space for speedup and energy efficiency. We start with embedding weight values verbatim into the computation kernels' code, reducing loop and value loading overhead, and facilitating error-less, subneuron early exit opportunities. To keep the inference code within storage space budget, we then use a gain-cost estimation model to prioritize applying the aforementioned code transformations to the most profitable layers. Our technique allows generating efficient DNN inference code under a flexible extra storage space budget and enables 25% time saving and 22% energy saving on a Cortex-M0 + microcontroller with 512-kB flash storage.
Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2026
Keywords
Modeling, Timing, Codes, Low power electronics, Optimization, Gain, Printing, Costing, Costs, Convolutional neural networks, Deep neural networks (DNNs), microcontrollers
National Category
Computer Sciences Computer Systems Other Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
urn:nbn:se:uu:diva-602658 (URN)10.1109/LES.2026.3728012 (DOI)001908961600010 ()2-s2.0-105054733700 (Scopus ID)
Funder
Swedish Foundation for Strategic Research, FUS21-0067
2026-11-022026-11-022026-11-02Bibliographically approved