一次-全部通道混合器(HYPERTINYPW):TinyML的生成压缩
Once-for-All Channel Mixers (HYPERTINYPW): Generative Compression for TinyML
AI总结:
本文提出HYPERTINYPW,通过生成权重替代存储的PW权重,减少内存占用,同时保持运行效率,适用于TinyML场景。
摘要:
在微控制器上部署神经网络受限于千字节的闪存和SRAM,即使经过INT8量化,1x1点wise(PW)混合器仍主导内存。我们提出HYPERTINYPW,一种压缩-生成方法,通过微小的微MLP在加载时生成PW内核,缓存并用标准整数运算执行。这保持了商用MCU运行时间,并仅增加一次合成成本;稳态延迟和能耗与INT8分离CNN基线相当。强制各层共享潜在基底消除跨层冗余,同时保持PW1在INT8中稳定早期、形态敏感的混合。我们贡献(i)覆盖生成器、头部/因子化、代码、保留的PW1和主干的TinyML-忠实打包字节计算;(ii)统一评估与验证调优的t*和置信区间;(iii)涵盖整数-only推理和启动与懒惰合成的部署性分析。在三个ECG基准(Apnea-ECG、PTB-XL、MIT-BIH)上,HYPERTINYPW将宏F1与闪存帕累托前沿移动:在约225 kB时与约1.4 MB CNN相当,但小6.31倍(84.15%更少字节),保留至少95%的大模型宏F1。在32-64 kB预算下,它维持平衡检测,而紧凑基线退化。该机制广泛应用于其他1D生物信号、设备语音和嵌入式传感任务,其中每层冗余占主导,表明在资源受限的ML系统中压缩-生成有更广泛的作用。除了ECG,HYPERTINYPW转移到TinyML音频:在Speech Commands上达到96.2%的测试准确率(98.2%最佳验证),支持更广泛的嵌入式传感工作负载,其中重复线性混合器主导内存。
英文摘要:
Deploying neural networks on microcontrollers is constrained by kilobytes of flash and SRAM, where 1x1 pointwise (PW) mixers often dominate memory even after INT8 quantization across vision, audio, and wearable sensing. We present HYPER-TINYPW, a compression-as-generation approach that replaces most stored PW weights with generated weights: a shared micro-MLP synthesizes PW kernels once at load time from tiny per-layer codes, caches them, and executes them with standard integer operators. This preserves commodity MCU runtimes and adds only a one-off synthesis cost; steady-state latency and energy match INT8 separable CNN baselines. Enforcing a shared latent basis across layers removes cross-layer redundancy, while keeping PW1 in INT8 stabilizes early, morphology-sensitive mixing. We contribute (i) TinyML-faithful packed-byte accounting covering generator, heads/factorization, codes, kept PW1, and backbone; (ii) a unified evaluation with validation-tuned t* and bootstrap confidence intervals; and (iii) a deployability analysis covering integer-only inference and boot versus lazy synthesis. On three ECG benchmarks (Apnea-ECG, PTB-XL, MIT-BIH), HYPER-TINYPW shifts the macro-F1 versus flash Pareto frontier: at about 225 kB it matches a roughly 1.4 MB CNN while being 6.31x smaller (84.15% fewer bytes), retaining at least 95% of large-model macro-F1. Under 32-64 kB budgets it sustains balanced detection where compact baselines degrade. The mechanism applies broadly to other 1D biosignals, on-device speech, and embedded sensing tasks where per-layer redundancy dominates, indicating a wider role for compression-as-generation in resource-constrained ML systems. Beyond ECG, HYPER-TINYPW transfers to TinyML audio: on Speech Commands it reaches 96.2% test accuracy (98.2% best validation), supporting broader applicability to embedded sensing workloads where repeated linear mixers dominate memory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。