随着人工智能(AI)的出现,在资源受限的微小设备上实现AI算法以扩展物联网的应用领域已受到新的关注。多模态学习最近在分类任务中变得非常流行,因为它在图像和音频事件分类方面的表现令人印象深刻。本文提出了TinyM $^2$ Net --一个为资源受限的微型设备协同设计的多模态学习框架。该框架旨在对两个不同的案例研究进行评估:从多模态音频记录中检测COVID-19和从多模态图像和音频中检测战场目标检测。为了压缩模型以在微型设备上实现,进行了大量的网络架构优化和混合精度量化(混合8位和4位)。TinyM $^2$ Net表明,即使是一个微小的多模态学习模型也可以比任何单峰框架提高分类性能。压缩程度最高的TinyM $^2$ Net实现了88.4%的COVID-19检测准确率(比单峰基础模型提高了14.5%)和96.8%的战场目标检测准确率(比单峰基础模型提高了3.9%)。最后,我们在Raspberry Pi 4上测试我们的TinyM $^2$ Net模型,看看它们在部署到资源受限的微型设备时的性能如何。
英文摘要:
With the emergence of Artificial Intelligence (AI), new attention has been given to implement AI algorithms on resource constrained tiny devices to expand the application domain of IoT. Multimodal Learning has recently become very popular with the classification task due to its impressive performance for both image and audio event classification. This paper presents TinyM$^2$Net -- a flexible system algorithm co-designed multimodal learning framework for resource constrained tiny devices. The framework was designed to be evaluated on two different case-studies: COVID-19 detection from multimodal audio recordings and battle field object detection from multimodal images and audios. In order to compress the model to implement on tiny devices, substantial network architecture optimization and mixed precision quantization were performed (mixed 8-bit and 4-bit). TinyM$^2$Net shows that even a tiny multimodal learning model can improve the classification performance than that of any unimodal frameworks. The most compressed TinyM$^2$Net achieves 88.4% COVID-19 detection accuracy (14.5% improvement from unimodal base model) and 96.8% battle field object detection accuracy (3.9% improvement from unimodal base model). Finally, we test our TinyM$^2$Net models on a Raspberry Pi 4 to see how they perform when deployed to a resource constrained tiny device.
TinyML NLP Scheme for Semantic Wireless Sentiment Classification with Privacy Preservation
Department of Electrical Engineering and Computer Science, York University(电气工程与计算机科学系,约克大学);CEMSE Division, King Abdullah University of Science and Technology (KAUST)(CEMSE部门,国王 Abdullah 科学与技术大学(KAUST))
Measuring what Really Matters: Optimizing Neural Networks for TinyML
ETH Zürich(苏黎世联邦理工学院);RWTH Aachen(亚琛工业大学)
随着廉价的计算和存储资源的激增,神经网络(NN)在架构和计算复杂性方面经历了前所未有的增长。将NN引入资源受限的设备可以实现经济高效的部署、广泛的可用性和敏感数据的保存。这项工作解决了将机器学习引入MCU的挑战,我们专注于无处不在的ARM Cortex-M架构。优化方法、软件框架和MCU硬件架构对推理延迟和能耗等关键性能指标的详细影响和权衡,以前尚未针对TensorFlow Lite Micro等最先进的框架进行深入研究。我们发现,经验调查,衡量可感知的指标-性能体验的用户-是必不可少的,因为专门的指令和层类型的影响可能是微妙的。为此,我们提出了一个实现感知的设计作为一个具有成本效益的方法进行验证和基准测试。利用我们开发的工具链,我们演示了如何通过系统地优化NN以适应其目标应用场景来改进资源受限设备上的现有NN部署。
Optimising TinyML with Quantization and Distillation of Transformer and Mamba Models for Indoor Localisation on Edge Devices
School of Engineering Mathematics and Technology, University of Bristol(布里斯托大学工程数学与技术学院);School of Natural and Computing Sciences, University of Aberdeen(阿伯丁大学自然与计算科学学院)
Decentralised Resource Sharing in TinyML: Wireless Bilayer Gossip Parallel SGD for Collaborative Learning
Department of Computing, Imperial College London(帝国理工学院伦敦分校计算机系);Nottingham Trent University(诺丁汉特伦特大学);Trasna-Solutions Ltd.(Trasna-Solutions有限公司);Department of Computer Science and Electrical Engineering, University of Maryland Baltimore County(马里兰大学巴尔的摩县计算机科学与电气工程系);Department of Electrical and Computer Engineering, Johns Hopkins University(约翰霍普金斯大学电气与计算机工程系)