跳到正文
arXiv (Robotics + Hardware + Signal)· Achintya Yadav·· 8 天前AI 评分20

合成预训练在MCU上是否划算?ESP32-S3与RP2040上的精度、延迟与能耗实测

Does synthetic pre-training pay off on a microcontroller? Accuracy, latency and energy across two MCUs

AI 导读

研究在ESP32-S3和RP2040上实测合成预训练对INT8量化CNN分类器的影响:全量真实数据下合成阶段无可检测增益,主模型INT8差异仅+0.312个百分点;真实数据仅10%时该阶段对CNN带来+3.438个百分点提升。ESP32-S3上主模型单次推理152.7 ms、高于空闲16.3 mJ,RP2040同模型耗时1.80 s、能耗27.3 mJ,约慢十二倍。

正文 · 原文

arXiv:2611.19931v1 Announce Type: cross 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.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org