Exploring the Computational Cost of Machine Learning at the Edge for Human-Centric Internet of Things
Gómez-Carmona, Oihane; Casado Mansilla, Diego; Kraemer, Frank Alexander; Lopez-de-Ipina, Diego; Garcia-Zubia, Javier
Peer reviewed, Journal article
Accepted version
View/ Open
Date
2020Metadata
Show full item recordCollections
Original version
Future generations computer systems. 2020, 112 670-683. 10.1016/j.future.2020.06.013Abstract
In response to users’ demand for privacy, trust and control over their data, executing machine learning tasks at the edge of the system has the potential to make the Internet of Things (IoT) applications and services more human-centric. This implies moving complex computation to a local stage, where edge devices must balance the computational cost of the machine learning techniques to meet the available resources. Thus, in this paper, we analyze all the factors affecting the classification process and empirically evaluate their impact in terms of performance and cost. We put the focus on Human Activity Recognition (HAR) systems, which represent a standard type of classification problems in human-centered IoT applications. We present a holistic optimization approach through input data reduction and feature engineering that aims to enhance all the stages of the classification pipeline and integrate both inference and training at the edge. The results of the conducted evaluation show that there is a highly non-linear trade-off to make between the computational cost, in terms of processing time, and the achieved classification accuracy. In the presented case of study, the computational effort can be reduced by 80% assuming a decline of the classification accuracy of only 3%. The potential impact of the optimization strategy highlights the importance of understanding the initial data and studying the most relevant characteristics of the signal to meet the cost–accuracy requirements. This would contribute to bringing embedded machine learning to the edge and, hence, creating spaces where human and machine intelligence could collaborate.