arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.03574cs.CVcs.AIcs.LG
收藏

TinyVQA:面向资源受限设备视觉问答的紧凑型多模态深度神经网络

TinyVQA: Compact Multimodal Deep Neural Network for Visual Question Answering on Resource-Constrained Devices

University of Maryland, Baltimore County(马里兰大学巴尔的摩县分校);Lehigh University(利哈伊大学);Johns Hopkins University(约翰斯·霍普金斯大学)

Hasib-Al Rashid, Argho Sarkar, Aryya Gangopadhyay, Maryam Rahnemoonfar, Tinoosh Mohsenin

AI总结:

本文提出紧凑型多模态网络 TinyVQA,通过监督注意力、知识蒸馏与低位宽量化实现可在微型无人机上部署的视觉问答,并在 FloodNet 上验证其准确率、低延迟与低功耗。

摘要:

传统机器学习模型通常需要强大的硬件,使其不适合部署在资源有限的设备上。微型机器学习(tinyML)已成为在这些设备上运行机器学习模型的一种有前景的方法,但由于复杂性、延迟和功耗的增加,将多种数据模态集成到 tinyML 模型中仍然是一项挑战。本文提出了 TinyVQA,这是一种用于视觉问答任务的新型多模态深度神经网络,可部署在资源受限的 tinyML 硬件上。TinyVQA 利用基于监督注意力的模型,学习如何结合视觉和语言模态回答有关图像的问题。来自基于监督注意力的 VQA 模型的蒸馏知识用于训练具备内存感知能力的紧凑型 TinyVQA 模型,并采用低位宽量化技术进一步压缩模型,以便部署在 tinyML 设备上。TinyVQA 模型在用于灾后损害评估的 FloodNet 数据集上进行了评估。该紧凑模型取得了 79.5% 的准确率,证明了 TinyVQA 在实际应用中的有效性。此外,该模型被部署在一架 Crazyflie 2.0 无人机上,该无人机配备 AI deck 和 GAP8 微处理器。TinyVQA 模型在这架微型无人机上部署时实现了 56 ms 的低延迟,功耗为 693 mW,展示了其对资源受限嵌入式系统的适用性。

英文摘要:

Traditional machine learning models often require powerful hardware, making them unsuitable for deployment on resource-limited devices. Tiny Machine Learning (tinyML) has emerged as a promising approach for running machine learning models on these devices, but integrating multiple data modalities into tinyML models still remains a challenge due to increased complexity, latency, and power consumption. This paper proposes TinyVQA, a novel multimodal deep neural network for visual question answering tasks that can be deployed on resource-constrained tinyML hardware. TinyVQA leverages a supervised attention-based model to learn how to answer questions about images using both vision and language modalities. Distilled knowledge from the supervised attention-based VQA model trains the memory aware compact TinyVQA model and low bit-width quantization technique is employed to further compress the model for deployment on tinyML devices. The TinyVQA model was evaluated on the FloodNet dataset, which is used for post-disaster damage assessment. The compact model achieved an accuracy of 79.5%, demonstrating the effectiveness of TinyVQA for real-world applications. Additionally, the model was deployed on a Crazyflie 2.0 drone, equipped with an AI deck and GAP8 microprocessor. The TinyVQA model achieved low latencies of 56 ms and consumes 693 mW power while deployed on the tiny drone, showcasing its suitability for resource-constrained embedded systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑