mlsanityData to 14 Oct 2026

Pex: Memory-efficient Microcontroller Deep Learning through Partial Execution

arXiv 2211.17246 ↗First posted 30 Nov 2022cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Embedded and IoT devices, largely powered by microcontroller units (MCUs), could be made more intelligent by leveraging on-device deep learning. One of the main challenges of neural network inference on an MCU is the extremely limited amount of read-write on-chip memory (SRAM, < 512 kB). SRAM is consumed by the neural network layer (operator) input and output buffers, which, traditionally, must be in memory (materialised) for an operator to execute. We discuss a novel execution paradigm for microcontroller deep learning, which modifies the execution of neural networks to avoid materialising full buffers in memory, drastically reducing SRAM usage with no computation overhead. This is achieved by exploiting the properties of operators, which can consume/produce a fraction of their input/output at a time. We describe a partial execution compiler, Pex, which produces memory-efficient execution schedules automatically by identifying subgraphs of operators whose execution can be split along the feature ("channel") dimension. Memory usage is reduced further by targeting memory bottlenecks with structured pruning, leading to the co-design of the network architecture and its execution schedule. Our evaluation of image and audio classification models: (a) establishes state-of-the-art performance in low SRAM usage regimes for considered tasks with up to +2.9% accuracy increase; (b) finds that a 4x memory reduction is possible by applying partial execution alone, or up to 10.5x when using the compiler-pruning co-design, while maintaining the classification accuracy compared to prior work; (c) uses the recovered SRAM to process higher resolution inputs instead, increasing accuracy by up to +3.9% on Visual Wake Words.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 23 of its 39 references that are in the map. First posted on arXiv 30 Nov 2022.

Builds on

23 of 39 references.

References · 23

  1. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  2. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  3. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
  4. 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 752
  5. 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 673
  6. 2020MCUNet: Tiny Deep Learning on IoT Devicescited by 273
  7. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 179
  8. 2020TensorFlow Lite Micro: Embedded Machine Learning on TinyML Systemscited by 165
  9. 2018CMSIS-NN: Efficient Neural Network Kernels for Arm Cortex-M CPUscited by 121
  10. 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
  11. 2017Deep Residual Learning for Small-Footprint Keyword Spottingcited by 68
  12. 2020μNAS: Constrained Neural Architecture Search for Microcontrollerscited by 55
11 more
  1. 2019SpArSe: Sparse Architecture Search for CNNs on Resource-Constrained Microcontrollerscited by 52
  2. 2019Visual Wake Words Datasetcited by 46
  3. 2020RNNPool: Efficient Non-linear Pooling for RAM Constrained Inferencecited by 21
  4. 2021DynO: Dynamic Onloading of Deep Neural Networks from Cloud to Devicecited by 18
  5. 2021Differentiable Network Pruning for Microcontrollerscited by 16
  6. 2019Neural networks on microcontrollers: saving memory at inference via operator reorderingcited by 15
  7. 2021Automap: Towards Ergonomic Automated Parallelism for ML Modelscited by 12
  8. 2022UDC: Unified DNAS for Compressible TinyML Modelscited by 10
  9. 2019Improving Strong-Scaling of CNN Training by Exploiting Finer-Grained Parallelismcited by 8
  10. 2019CoopNet: Cooperative Convolutional Neural Network for Low-Power MCUscited by 4
  11. 2022Memory Safe Computations with XLA Compilercited by 4

Built on by

Cited by year

Citing papers per year: 2024: 3.

3 papers.