arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2010.11297cs.CVcs.LG
收藏

边缘器件中卷积神经网络的性能预测

Performance Prediction for Convolutional Neural Networks in Edge Devices

École Nationale Supérieure d’Informatique(国立高等信息学院);Université Polytechnique Hauts-de-France(上法兰西理工大学)

Halima Bouzidi, Hamza Ouarnoughi, Smail Niar, Abdessamad Ait El Cadi

摘要:

在数据源附近的边缘设备上运行基于卷积神经网络(CNN)的应用程序可以应对延迟和隐私挑战。然而,由于它们减少的计算资源和它们的能量限制,这些边缘设备很难满足CNN在处理和数据存储方面的需求。对于这些平台,在尊重硬件约束的同时,选择在准确性和执行时间之间具有最佳权衡的CNN至关重要。在本文中,我们提出并比较了五(5)种广泛使用的基于机器学习的方法,用于在两(2)个边缘GPU平台上预测CNN的执行时间。对于这5种方法,我们还探索了它们训练和调整相应超参数所需的时间。最后,我们比较了在不同平台上运行预测模型的时间。这些方法的利用将通过在目标边缘GPU上快速提供最佳CNN来高度促进设计空间探索。实验结果表明,极端梯度提升(XGBoost)提供了小于14.73%的平均预测误差,即使是未探索和看不见的CNN模型的架构。随机森林(RF)描述了相当的准确性,但需要更多的努力和时间来训练。其他3种方法(OLS,MLP和SVR)对CNN性能估计的准确性较差。

英文摘要:

Running Convolutional Neural Network (CNN) based applications on edge devices near the source of data can meet the latency and privacy challenges. However due to their reduced computing resources and their energy constraints, these edge devices can hardly satisfy CNN needs in processing and data storage. For these platforms, choosing the CNN with the best trade-off between accuracy and execution time while respecting Hardware constraints is crucial. In this paper, we present and compare five (5) of the widely used Machine Learning based methods for execution time prediction of CNNs on two (2) edge GPU platforms. For these 5 methods, we also explore the time needed for their training and tuning their corresponding hyperparameters. Finally, we compare times to run the prediction models on different platforms. The utilization of these methods will highly facilitate design space exploration by providing quickly the best CNN on a target edge GPU. Experimental results show that eXtreme Gradient Boosting (XGBoost) provides a less than 14.73% average prediction error even for unexplored and unseen CNN models' architectures. Random Forest (RF) depicts comparable accuracy but needs more effort and time to be trained. The other 3 approaches (OLS, MLP and SVR) are less accurate for CNN performances estimation.

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

↑