journal article·2021-12-15Open access

Load Classification: A Case Study for Applying Neural Networks in Hyper-Constrained Embedded Devices

Andrea Agiollo, Andrea Omicini

Applied Sciences· Volume 11· Issue 24

Abstract

The application of Artificial Intelligence to the industrial world and its appliances has recently grown in popularity. Indeed, AI techniques are now becoming the de-facto technology for the resolution of complex tasks concerning computer vision, natural language processing and many other areas. In the last years, most of the the research community efforts have focused on increasing the performance of most common AI techniques—e.g., Neural Networks, etc.—at the expenses of their complexity. Indeed, many works in the AI field identify and propose hyper-efficient techniques, targeting high-end devices. However, the application of such AI techniques to devices and appliances which are characterised by limited computational capabilities, remains an open research issue. In the industrial world, this problem heavily targets low-end appliances, which are developed focusing on saving costs and relying on—computationally—constrained components. While some efforts have been made in this area through the proposal of AI-simplification and AI-compression techniques, it is still relevant to study which available AI techniques can be used in modern constrained devices. Therefore, in this paper we propose a load classification task as a case study to analyse which state-of-the-art NN solutions can be embedded successfully into constrained industrial devices. The presented case study is tested on a simple microcontroller, characterised by very poor computational performances—i.e., FLOPS –, to mirror faithfully the design process of low-end appliances. A handful of NN models are tested, showing positive outcomes and possible limitations, and highlighting the complexity of AI embedding.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: IoT and Edge/Fog Computing · Smart Grid Energy Management · Context-Aware Activity Recognition Systems

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science and Engineering (DISI), Alma Mater Studiorum—Università di Bologna, 47522 Cesena, Italy

The Research Hub by Electrolux Professional S.p.A., 33170 Pordenone, Italy

Funding

EU Horizon 2020 Framework Programme (H2020) · Electrolux Professional (Italy)

References (39)

Show source-provided references
1. Deep Learning for Generic Object Detection: A Survey10.1007/s11263-019-01247-4 ↗
2. A Survey of the Usages of Deep Learning for Natural Language Processing10.1109/TNNLS.2020.2979670 ↗
3. Automatic Speech Recognition: A Survey10.1007/s11042-020-10073-7 ↗
4. Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications10.1109/COMST.2015.2444095 ↗
5. DETONAR: Detection of Routing Attacks in RPL-Based IoT10.1109/TNSM.2021.3075496 ↗
6. A Deep Recurrent Neural Network based Approach for Internet of Things Malware Threat Hunting10.1016/j.future.2018.03.007 ↗
7. Privacy Preserving Distributed Machine Learning with Federated Learning10.1016/j.comcom.2021.02.014 ↗
8. Tinier-YOLO: A Real-Time Object Detection Method for Constrained Environments10.1109/ACCESS.2019.2961959 ↗
9. Roth, W., Schindler, G., Zöhrer, M., Pfeifenberger, L., Peharz, R., Tschiatschek, S., Fröning, H., Pernkopf, F., and Ghahramani, Z. (2020). Resource-Efficient Neural Networks for Embedded Systems. arXiv.
10. Mottola, L., Gao, J., and Zhang, P. (2018, January 11–13). Moving Convolutional Neural Networks to Embedded Systems: The AlexNet and VGG-16 Case. Proceedings of the 17th ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN) 2018, Porto, Portugal.
11. Jiang, S., Lin, Z., Li, Y., Shu, Y., and Liu, Y. (2021, January 25–29). Flexible High-Resolution Object Detection on Edge Devices with Tunable Latency. Proceedings of the 27th Annual International Conference on Mobile Computing and Networking (MobiCom), New Orleans, LA, USA.10.1145/3447993.3483274 ↗
12. Zhao, R., Hu, Y., Dotzel, J., De Sa, C., and Zhang, Z. (2019, January 9–15). Improving Neural Network Quantization without Retraining using Outlier Channel Splitting. Proceedings of the 36th International Conference on Machine Learning (ICML), Long Beach, CA, USA. Available online: https://proceedings.mlr.press/v97/zhao19c.html.
13. Süzen, A.A., Duman, B., and Şen, B. (2020, January 26–27). Benchmark Analysis of Jetson TX2, Jetson Nano and Raspberry Pi using Deep-CNN. Proceedings of the 2nd International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), Ankara, Turkey.10.1109/HORA49412.2020.9152915 ↗
14. Howard, A.G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., and Adam, H. (2017). MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv.
15. Tan, M., and Le, Q. (2019, January 9–15). EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. Proceedings of the 36th International Conference on Machine Learning (ICML), Long Beach, CA, USA. Available online: https://proceedings.mlr.press/v97/tan19a.html.
16. Huang, G., Liu, Z., van der Maaten, L., and Weinberger, K.Q. (2017, January 21–26). Densely Connected Convolutional Networks. Proceedings of the 30th IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.243 ↗
17. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (2016, January 27–30). Rethinking the Inception Architecture for Computer Vision. Proceedings of the 29th IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.308 ↗
18. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 29th IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
19. Simonyan, K., and Zisserman, A. (2015, January 7–9). Very Deep Convolutional Networks for Large-Scale Image Recognition. Proceedings of the 3rd International Conference on Learning Representations (ICLR 2015), San Diego, CA, USA.
20. SSD: Single Shot MultiBox Detector10.1007/978-3-319-46448-0_2 ↗
21. Tan, M., Pang, R., and Le, Q.V. (2020, January 13–19). EfficientDet: Scalable and Efficient Object Detection. Proceedings of the 33rd IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01079 ↗
22. Ren, S., He, K., Girshick, R.B., and Sun, J. (2015, January 7–12). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. Proceedings of the Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems (NeurIPS), Montreal, QC, Canada. Available online: https://proceedings.neurips.cc/paper/2015/file/14bfa6bb14875e45bba028a21ed38046-Paper.pdf.
23. Redmon, J., and Farhadi, A. (2018). YOLOv3: An Incremental Improvement. arXiv.
24. Raspberry Pi Assisted Face Recognition Framework for Enhanced Law-Enforcement Services in Smart Cities10.1016/j.future.2017.11.013 ↗
25. Curtin, B.H., and Matthews, S.J. (2019, January 10–12). Deep Learning for Inexpensive Image Classification of Wildlife on the Raspberry Pi. Proceedings of the 10th IEEE Annual Ubiquitous Computing, Electronics & Mobile Communication Conference (UEMCON), New York, NY, USA.10.1109/UEMCON47517.2019.8993061 ↗
26. Hossain, S., and Lee, D. (2019). Deep Learning-Based Real-Time Multiple-Object Detection and Tracking from Aerial Imagery via a Flying Robot with GPU-Based Embedded Devices. Sensors, 19.10.3390/s19153371 ↗
27. Lee, W., Chen, L., Moon, Y., Bourgeois, J., Bennis, M., Li, Y., Ha, Y., Kwon, H., and Cuzzocrea, A. (2020, January 19–22). Benchmarking Jetson Platform for 3D Point-Cloud and Hyper-Spectral Image Classification. Proceedings of the IEEE International Conference on Big Data and Smart Computing (BigComp), Busan, South Korea.
28. Bahar, I. (2018, January 5–8). Designing Adaptive Neural Networks for Energy-Constrained Image Classification. Proceedings of the 37th International Conference on Computer-Aided Design (ICCAD), San Diego, CA, USA.
29. Deng, J., Dong, W., Socher, R., Li, L., Li, K., and Fei-Fei, L. (2009, January 20–25). ImageNet: A Large-Scale Hierarchical Image Database. Proceedings of the 22nd IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), Miami, FL, USA.10.1109/CVPR.2009.5206848 ↗
30. Krizhevsky, A., and Hinton, G. (2009). Learning Multiple Layers of Features from Tiny Images, Department of Computer Science–University of Toronto. Available online: https://www.cs.toronto.edu/~kriz/learningfeatures-2009-TR.pdf.
31. Microsoft COCO: Common Objects in Context10.1007/978-3-319-10602-1_48 ↗
32. The Pascal Visual Object Classes (VOC) Challenge10.1007/s11263-009-0275-4 ↗
33. LeCun, Y., Cortes, C., and Burges, C. (2021, November 14). MNIST Handwritten Digit Database. Available online: http://yann.lecun.com/exdb/mnist/.
34. Xiao, H., Rasul, K., and Vollgraf, R. (2017). Fashion-MNIST: A Novel Image Dataset for Benchmarking Machine Learning Algorithms. arXiv.
35. Cohen, G., Afshar, S., Tapson, J., and van Schaik, A. (2017, January 14–19). EMNIST: Extending MNIST to handwritten letters. Proceedings of the International Joint Conference on Neural Networks (IJCNN), Anchorage, AK, USA.10.1109/IJCNN.2017.7966217 ↗
36. Learning Generative Visual Models From Few Training Examples: An Incremental Bayesian Approach Tested on 101 Object Categories10.1016/j.cviu.2005.09.012 ↗
37. Khosla, A., Jayadevaprakash, N., Yao, B., and Li, F.F. (2011, January 25). Novel Dataset for Fine-Grained Image Categorization. Proceedings of the 1st Workshop on Fine-Grained Visual Categorization (FGVC), IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Colorado Springs, CO, USA. Available online: https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.255.6394.
38. Food-101—Mining Discriminative Components with Random Forests10.1007/978-3-319-10599-4_29 ↗
39. Chollet, F. (2017, January 21–26). Xception: Deep Learning with Depthwise Separable Convolutions. Proceedings of the 30th IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.195 ↗