Architecture for Enabling Edge Inference via Model Transfer from Cloud Domain in a Kubernetes Environment

The current approaches for energy consumption optimisation in buildings are mainly reactive or focus on scheduling of daily/weekly operation modes in heating. Machine Learning (ML)-based advanced control methods have been demonstrated to improve energy efficiency when compared to these traditional methods. However, placing of ML-based models close to the buildings is not straightforward. Firstly, edge-devices typically have lower capabilities in terms of processing power, memory, and storage, which may limit execution of ML-based inference at the edge. Secondly, associated building information should be kept private. Thirdly, network access may be limited for serving a large number of edge devices. The contribution of this paper is an architecture, which enables training of ML-based models for energy consumption prediction in private cloud domain, and transfer of the models to edge nodes for prediction in Kubernetes environment. Additionally, predictors at the edge nodes can be automatically updated without interrupting operation. Performance results with sensor-based devices (Raspberry Pi 4 and Jetson Nano) indicated that a satisfactory prediction latency (~7–9 s) can be achieved within the research context. However, model switching led to an increase in prediction latency (~9–13 s). Partial evaluation of a Reference Architecture for edge computing systems, which was used as a starting point for architecture design, may be considered as an additional contribution of the paper.

[1]  Martin Macak,et al.  Big Data Platform for Smart Grids Power Consumption Anomaly Detection , 2019, 2019 Federated Conference on Computer Science and Information Systems (FedCSIS).

[2]  Daniel Pakkala,et al.  Reference Architecture and Classification of Technologies, Products and Services for Big Data Systems , 2015, Big Data Res..

[3]  Jussi Kiljander,et al.  Stacked Boosters Network Architecture for Short Term Load Forecasting in Buildings , 2020, ArXiv.

[4]  Parijat Dube,et al.  ModelOps: Cloud-Based Lifecycle Management for Reliable and Trusted AI , 2019, 2019 IEEE International Conference on Cloud Engineering (IC2E).

[5]  Xukan Ran,et al.  Deep Learning With Edge Computing: A Review , 2019, Proceedings of the IEEE.

[6]  Kaamran Raahemifar,et al.  Artificial neural network (ANN) based model predictive control (MPC) and optimization of HVAC systems: A state of the art review and case study of a residential HVAC system , 2017 .

[7]  Ron Bourgoin Heating by Cooling , 2011 .

[8]  Paris Avgeriou,et al.  Empirically-grounded reference architectures: a proposal , 2011, QoSA-ISARCS '11.

[9]  Enda Barrett,et al.  Autonomous HVAC Control, A Reinforcement Learning Approach , 2015, ECML/PKDD.

[10]  James C. Spohrer,et al.  Digital Service: Technological Agency in Service Systems , 2019, HICSS.

[11]  Ronnie Belmans,et al.  Learning Agent for a Heat-Pump Thermostat With a Set-Back Strategy Using Model-Free Reinforcement Learning , 2015, ArXiv.

[12]  Michael S. Ryoo,et al.  Edge-Tailored Perception: Fast Inferencing in-the-Edge with Efficient Model Distribution , 2020, ArXiv.

[13]  Manfred Morari,et al.  NeurOpt: Neural network based optimization for building energy management and climate control , 2020, L4DC.

[14]  Xavier Franch,et al.  Benefits and drawbacks of software reference architectures: A case study , 2017, Inf. Softw. Technol..

[15]  P. Pääkkönen,et al.  Extending reference architecture of big data systems towards machine learning in edge computing environments , 2020, Journal of Big Data.

[16]  Hao Wen,et al.  Distributing Deep Neural Networks with Containerized Partitions at the Edge , 2019, HotEdge.

[17]  PääkkönenPekka,et al.  Reference Architecture and Classification of Technologies, Products and Services for Big Data Systems , 2015 .

[18]  Michael S. Ryoo,et al.  Toward Collaborative Inferencing of Deep Neural Networks on Internet-of-Things Devices , 2020, IEEE Internet of Things Journal.

[19]  Ming Jin,et al.  Advanced Building Control via Deep Reinforcement Learning , 2019, Energy Procedia.

[20]  Zhenming Liu,et al.  DeepDecision: A Mobile Deep Learning Framework for Edge Video Analytics , 2018, IEEE INFOCOM 2018 - IEEE Conference on Computer Communications.

[21]  Rajeev Shorey,et al.  DeepSplit: Dynamic Splitting of Collaborative Edge-Cloud Convolutional Neural Networks , 2020, 2020 International Conference on COMmunication Systems & NETworkS (COMSNETS).

[22]  Sehyun Park,et al.  Energy Consumption Prediction System Based on Deep Learning with Edge Computing , 2019, 2019 IEEE 2nd International Conference on Electronics Technology (ICET).

[23]  Jan vom Brocke,et al.  Evaluations in the Science of the Artificial - Reconsidering the Build-Evaluate Pattern in Design Science Research , 2012, DESRIST.

[24]  Peng Huang,et al.  AIOps: Real-World Challenges and Research Innovations , 2019, 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion Proceedings (ICSE-Companion).

[25]  Ning Gui,et al.  CMS: A Continuous Machine-Learning and Serving Platform for Industrial Big Data , 2020, Future Internet.

[26]  Hongming Cai,et al.  A short-term energy prediction system based on edge computing for smart city , 2019, Future Gener. Comput. Syst..

[27]  Bahar Asgari,et al.  Characterizing the Deployment of Deep Neural Networks on Commercial Edge Devices , 2019, 2019 IEEE International Symposium on Workload Characterization (IISWC).

[28]  Yi Wang,et al.  Review of Smart Meter Data Analytics: Applications, Methodologies, and Challenges , 2018, IEEE Transactions on Smart Grid.

[29]  Maria-Eugenia Iacob,et al.  ArchiMate 2.0 Specification: The Open Group , 2012 .

[30]  Juan M. Corchado,et al.  A review of edge computing reference architectures and a new global edge proposal , 2019, Future Gener. Comput. Syst..

[31]  Yonghong Kuang,et al.  Smart home energy management systems: Concept, configurations, and scheduling strategies , 2016 .

[32]  Soo-Mook Moon,et al.  Computation Offloading for Machine Learning Web Apps in the Edge Server Environment , 2018, 2018 IEEE 38th International Conference on Distributed Computing Systems (ICDCS).

[33]  Dirk Merkel,et al.  Docker: lightweight Linux containers for consistent development and deployment , 2014 .

[34]  Filip De Turck,et al.  FLEDGE: Kubernetes Compatible Container Orchestration on Low-Resource Edge Devices , 2020, IOV.

[35]  Samir Chatterjee,et al.  A Design Science Research Methodology for Information Systems Research , 2008 .

[36]  Bruno Sericola,et al.  Distributed deep learning on edge-devices: Feasibility via adaptive compression , 2017, 2017 IEEE 16th International Symposium on Network Computing and Applications (NCA).

[37]  Quan Le-Trung,et al.  DLASE: A light-weight framework supporting Deep Learning for Edge Devices , 2020, 2020 4th International Conference on Recent Advances in Signal Processing, Telecommunications & Computing (SigTelCom).

[38]  Chih-Hung Chang,et al.  Performance Comparison of Lightweight Kubernetes in Edge Devices , 2019, I-SPAN.

[39]  Siliang Lu,et al.  A DEEP REINFORCEMENT LEARNING APPROACH TO USINGWHOLE BUILDING ENERGYMODEL FOR HVAC OPTIMAL CONTROL , 2018 .