Sara Daoudi, M. E. Bellebna, Mohamed Elbahri, Sara Mazari, Nail Alaoui
{"title":"Running Convolutional Neural Network on tiny devices","authors":"Sara Daoudi, M. E. Bellebna, Mohamed Elbahri, Sara Mazari, Nail Alaoui","doi":"10.1109/ICAECCS56710.2023.10105032","DOIUrl":null,"url":null,"abstract":"The introduction of deep neural network architectures has resulted in an interesting development in artificial intelligence. These architectures demonstrate how useful they are in a variety of fields, such as the classification of images, the detection of objects, and the recognition of speech. However, this efficiency is a result of sophisticated networks with very high requirements for computational power, memory space, and energy, which makes it difficult to use such models on devices with less powerful hardware. Within the scope of this study, we enable offline CNN (Convolutional Neural Network) inference on smartphones operating in real time. The following is the procedure for deployment: 1) The development of an architecture for a convolutional neural network 2) Teaching the model to perform on a reference dataset from the ground up. 3) Reduce the size of this model as well as the total amount of computation it requires while still striving to keep at least the same level of precision as the first version, since it is expected that the accuracy after optimization become lower than the baseline. 4) Deploy the improved architecture and carry out the inference process in real time on a mobile device, preferably a smartphone. The models VGG16 and ResNet that were trained on the Cat vs Dogs dataset are the ones that have been implemented.","PeriodicalId":447668,"journal":{"name":"2023 International Conference on Advances in Electronics, Control and Communication Systems (ICAECCS)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Conference on Advances in Electronics, Control and Communication Systems (ICAECCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICAECCS56710.2023.10105032","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The introduction of deep neural network architectures has resulted in an interesting development in artificial intelligence. These architectures demonstrate how useful they are in a variety of fields, such as the classification of images, the detection of objects, and the recognition of speech. However, this efficiency is a result of sophisticated networks with very high requirements for computational power, memory space, and energy, which makes it difficult to use such models on devices with less powerful hardware. Within the scope of this study, we enable offline CNN (Convolutional Neural Network) inference on smartphones operating in real time. The following is the procedure for deployment: 1) The development of an architecture for a convolutional neural network 2) Teaching the model to perform on a reference dataset from the ground up. 3) Reduce the size of this model as well as the total amount of computation it requires while still striving to keep at least the same level of precision as the first version, since it is expected that the accuracy after optimization become lower than the baseline. 4) Deploy the improved architecture and carry out the inference process in real time on a mobile device, preferably a smartphone. The models VGG16 and ResNet that were trained on the Cat vs Dogs dataset are the ones that have been implemented.
深度神经网络架构的引入导致了人工智能领域一个有趣的发展。这些体系结构展示了它们在各种领域中的有用性,例如图像分类、对象检测和语音识别。然而,这种效率是复杂网络对计算能力、内存空间和能量要求非常高的结果,这使得很难在硬件功能较弱的设备上使用这种模型。在本研究的范围内,我们在实时操作的智能手机上启用离线CNN(卷积神经网络)推理。以下是部署的过程:1)开发卷积神经网络的架构2)从头开始教模型在参考数据集上执行。3)减少该模型的大小以及所需的计算总量,同时仍然努力保持至少与第一个版本相同的精度水平,因为预计优化后的精度会低于基线。4)在移动设备(最好是智能手机)上部署改进的架构并实时执行推理过程。在Cat vs Dogs数据集上训练的模型VGG16和ResNet是已经实现的模型。