面向表面缺陷检测的资源受限EdgeAI模型开发
Developing a Resource-Constraint EdgeAI model for Surface Defect Detection
AI总结:
本文提出一种由Xception修改而来的轻量级EdgeAI架构,用于资源受限边缘环境下的设备端训练,在PCB缺陷检测任务上以73.45%的无预训练测试准确率超越多数现有轻量级模型,并证明资源效率不仅取决于参数量还取决于架构设计。
摘要:
资源限制已将若干EdgeAI应用限制在机器学习推理方法上,即模型在云端训练并部署到边缘设备。这带来了与将数据存储在场外以进行模型构建相关的带宽、延迟和隐私等挑战。在边缘设备上进行训练可以通过消除将数据传输到另一设备进行存储和模型开发的需求来克服这些挑战。设备端训练还提供了对数据变化的鲁棒性,因为模型可以在新获取的数据上重新训练以提高性能。因此,我们提出了一种从Xception修改而来的轻量级EdgeAI架构,用于在资源受限的边缘环境中进行设备端训练。我们在PCB缺陷检测任务上评估了我们的模型,并将其性能与现有的轻量级模型——MobileNetV2、EfficientNetV2B0和MobileViT-XXS进行了比较。实验结果表明,我们的模型具有显著性能,在无预训练的情况下测试准确率达到73.45%。这与无预训练的MobileViT-XXS的测试准确率(75.40%)相当,并且远优于其他无预训练模型(MobileNetV2——50.05%,EfficientNetV2B0——54.30%)。我们模型在无预训练情况下的测试准确率与预训练的MobileNetV2模型——75.45%相当,并且优于预训练的EfficientNetV2B0模型——58.10%。在内存效率方面,我们的模型优于EfficientNetV2B0和MobileViT-XXS。我们发现机器学习模型的资源效率不仅仅取决于参数数量,还取决于架构方面的考虑。我们的方法可以在保持显著性能的同时应用于其他资源受限的应用。
英文摘要:
Resource constraints have restricted several EdgeAI applications to machine learning inference approaches, where models are trained on the cloud and deployed to the edge device. This poses challenges such as bandwidth, latency, and privacy associated with storing data off-site for model building. Training on the edge device can overcome these challenges by eliminating the need to transfer data to another device for storage and model development. On-device training also provides robustness to data variations as models can be retrained on newly acquired data to improve performance. We, therefore, propose a lightweight EdgeAI architecture modified from Xception, for on-device training in a resource-constraint edge environment. We evaluate our model on a PCB defect detection task and compare its performance against existing lightweight models - MobileNetV2, EfficientNetV2B0, and MobileViT-XXS. The results of our experiment show that our model has a remarkable performance with a test accuracy of 73.45% without pre-training. This is comparable to the test accuracy of non-pre-trained MobileViT-XXS (75.40%) and much better than other non-pre-trained models (MobileNetV2 - 50.05%, EfficientNetV2B0 - 54.30%). The test accuracy of our model without pre-training is comparable to pre-trained MobileNetV2 model - 75.45% and better than pre-trained EfficientNetV2B0 model - 58.10%. In terms of memory efficiency, our model performs better than EfficientNetV2B0 and MobileViT-XXS. We find that the resource efficiency of machine learning models does not solely depend on the number of parameters but also depends on architectural considerations. Our method can be applied to other resource-constraint applications while maintaining significant performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。