Does synthetic pre-training pay off on a microcontroller? Accuracy, latency and energy across two MCUs
Abstract
Rendered images are cheap to label, but a microcontroller classifier must survive 8-bit integer (INT8) quantisation and compute correctly on the chip. Five models, from MobileNetV2 at 224 px to a 61K-parameter convolutional neural network (CNN), were fine-tuned on a six-class scene dataset with and without a synthetic stage, against thresholds fixed in advance, and deployed on an ESP32-S3 and an RP2040. With full real data the stage gave no detectable gain. For the main deployable model the INT8 difference was +0.312 percentage points (pp), its interval below the +1.6 pp gain recomputed from the source study; quantisation did not detectably change it, nor did model size. With 10% of the real data the stage paid off for the CNN, by +3.438 pp on one seed and +2.715 pp over three; its cause is open. On the ESP32-S3 the main model took 152.7 ms and 16.3 mJ above idle per inference, and adding the stage changed neither beyond preset bounds. The model's INT8 outputs matched TensorFlow Lite's reference kernels exactly, but only after a memory overrun in a vendor kernel was patched. On the RP2040 the same model took 1.80 s and 27.3 mJ above idle, about twelve times slower, and the largest 96 px model exceeded the board's flash-capacity limit. Neither the RP2040 nor the host interpreter used for scoring reproduced the reference arithmetic. A synthetic stage is worth adding only when real data are scarce, and on-device INT8 outputs should be checked against reference kernels, not inferred from host scores.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AR, cs.CV
- Comments
- 43 pages, 5 figures, 14 tables; supplementary tables, figures and notes as ancillary files. Analysis plan registered on OSF (doi:10.17605/OSF.IO/BPQGA). Under review
Related papers
Precision-Aware Learning Rate Transfer Across Block Count in LLM Post-Training
Shared title terminologycs.LGNan Chen, Soledad Villar, Soufiane Hayou
CertiSum: Bitwise-Identical MXFP4 Training Across Platforms and Parallelism Layouts
Shared title terminologycs.LGSteve Rhyner, Yubo Gao, Stefan de Lasa et al.
Well-Log Reconstruction with Pre-trained Geological Knowledge: A Knowledge-Conditioned Large-Language-Model Generative Agent
Shared title terminologycs.LGYongan Zhang, Yitao Yu, Yizheng Li et al.
Two-Stage Post-Training for Flow-Based Embodied Foundation Models
Shared title terminologycs.LGJiaming Zhang, Yao Lyu, Haoning Wang et al.
Neural Interoperability Protocols: Specifying Compatibility Before Training
Shared title terminologycs.LGAlireza Bagheri
Noise-Level Adjacency in Diffusion Training
Shared title terminologycs.LGT. Y. Tsui, Jiatao Gu, Lingjie Liu