msf-CNN: Multi-Stage Fusion with Convolutional Neural Networks for TinyML
Abstract
AI spans from large language models to tiny models running on microcontrollers (MCUs). Extremely memory-efficient model architectures are decisive to fit within an MCU's tiny memory budget e.g., 128kB of RAM. However, inference latency must remain small to fit real-time constraints. An approach to tackle this is *fusion*, which aims to optimize data flows across neural network layers. In this paper, we introduce *msf-CNN*, a novel technique that efficiently finds optimal fusion settings for convolutional neural networks (CNNs) by walking through the fusion solution space represented as a directed acyclic graph. Compared to previous work on CNN fusion for MCUs, msf-CNN identifies a wider set of solutions. We published an implementation of msf-CNN running on various microcontrollers (ARM Cortex-M, RISC-V, ESP32). We show for instance that msf-CNN achieves inference using 50\% less RAM compared to the prior art (MCUNetV2 and StreamNet). msf-CNN thus offers additional flexibility for system designers.
BibTeX
@misc{huang2025msf,
author = {Zhaolan Huang and Emmanel Baccelli},
title = {{msf-CNN: Multi-Stage Fusion with Convolutional Neural Networks for TinyML}},
year = {2025},
url = {https://openreview.net/forum?id=YEm8MV6b6X},
howpublished = {OpenReview},
note = {Submitted to ICML 2025},
}Ask Althea to put this paper to the test.