AtomNet: Designing Tiny Models from Operators Under Extreme MCU Constraints

Authors

  • Zhiwei Dong University of Science and Technology Beijing SenseTime Research
  • Mingzhu Shen SenseTime Research
  • Shihao Bai SenseTime Research
  • Xiuying Wei SenseTime Research
  • Jinyang Guo Beihang University
  • Ruihao Gong Beihang University SenseTime Research
  • Song-Lu Chen University of Science and Technology Beijing
  • Xianglong Liu Beihang University
  • Xu-Cheng Yin University of Science and Technology Beijing

DOI:

https://doi.org/10.1609/aaai.v39i15.33796

Abstract

Tiny machine learning (TinyML) has attracted heightened attention for its ability to provide low-cost and instantaneous performance on edge devices. Particularly, the commonly used microcontroller unit (MCU) imposes extreme constraints on peak memory (SRAM) and storage (Flash). Existing TinyML methods often rely on a customized and hard-to-obtain inference libraries, as well as necessitate a time-consuming search for a deployable architecture using advanced Neural Architecture Search (NAS) algorithms. To solve these problems, we fully exploit the resources on MCU and deduce hardware-oriented guidelines for designing models under extreme MCU constraints. In detail, we delve into thorough information about the atom operators by collecting the runtime data of Flash, SRAM, and latency to build a dataset named AtomDB. Based on AtomDB, several critical operator guidelines are established to fully utilize limited Flash and SRAM, while minimizing latency. By transferring the guidelines to analyze blocks, we propose a hybrid pattern that organizes appropriate blocks at different network stages to form the AtomNet, a more hardware-oriented architecture, to handle the former SRAM bottleneck and the latter Flash bottleneck. Extensive experiments demonstrate the effectiveness of the exploitation of the hardware characteristics. Remarkably, AtomNet pioneeringly achieve 3.5% accuracy enhancement and more than 15% latency reduction on 320KB MCU using readily available official inference libraries for ImageNet tasks, surpassing the current state-of-the-art method.

Downloads

Published

2025-04-11

How to Cite

Dong, Z., Shen, M., Bai, S., Wei, X., Guo, J., Gong, R., … Yin, X.-C. (2025). AtomNet: Designing Tiny Models from Operators Under Extreme MCU Constraints. Proceedings of the AAAI Conference on Artificial Intelligence, 39(15), 16354–16362. https://doi.org/10.1609/aaai.v39i15.33796

Issue

Section

AAAI Technical Track on Machine Learning I