Architecture for Enabling Edge Inference via Model Transfer from Cloud Domain in a Kubernetes Environment
Open accessAbstract
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.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Another reported method of integration is to serialize the model and load it at runtime, possibly with an ML framework optimized for production.
“Another reported method of integration is to serialize the model (e.g., into ONNXfoot_2 , HDF5, Joblib 4 ) and load it at runtime, possibly with an ML framework that is optimized for production [9,21,39,40].”
From Operationalizing machine learning models: a systematic literature review (2022) · cites this paper as [40]
In a pull-pattern deployment, the target environment periodically polls for model updates and downloads when available.
“In a pull-pattern deployment, the target environment (host application running on, e.g., server or edge device) periodically polls for model updates and downloads when available [28,39,40].”
From Operationalizing machine learning models: a systematic literature review (2022) · cites this paper as [40]
Models are commonly made available for serving predictions through a REST or RPC API.
“Models are commonly made available for serving predictions through a REST [12,16,26,29,40,45] or RPC [12,28,45] API.”
From Operationalizing machine learning models: a systematic literature review (2022) · cites this paper as [40]
If the hosting application is containerized, model redeployment may be orchestrated by deploying an entirely new application instance with the new model data alongside the old instance; when the new instance is initialized, it can start serving requests and the old instance may be evicted.
“If the hosting application is containerized, model redeployment may be orchestrated by deploying an entirely new application instance with the new model data alongside the old instance.When the new application instance is finished initializing, it can start serving requests, and the old instance may be evicted [40].”
From Operationalizing machine learning models: a systematic literature review (2022) · cites this paper as [40]
Models packaged in containers are typically accessed through either a REST API or an RPC interface.
“Models packaged in containers are typically accessed through either a REST API [16,40], such as Flask 18 [20], or RPC interface [12,45], such as Apache Thrift 19 [28].”
From Operationalizing machine learning models: a systematic literature review (2022) · cites this paper as [40]
Docker is by far the most frequently reported solution for packaging ML models in containers.
“Docker 17 is by far the most frequently reported solution [12,16,20,26,28,40,44].”
From Operationalizing machine learning models: a systematic literature review (2022) · cites this paper as [40]
Services running on Kubernetes and K3s may be defined with service descriptors like Helm.
“Services running on Kubernetes and K3s may be defined with service descriptors like Helm 23 [40].”
From Operationalizing machine learning models: a systematic literature review (2022) · cites this paper as [40]
A Kubernetes-as-a-service tool such as Rancher may be used to manage multiple clusters of containers.
“In order to manage multiple clusters of containers, a Kubernetes-as-a-service tool such as Rancher 24 may be used [40].”
From Operationalizing machine learning models: a systematic literature review (2022) · cites this paper as [40]
Having multiple containers deployed often necessitates a container orchestration tool such as Kubernetes or Apache Mesos.
“Having multiple containers deployed will often necessitate the use of a container orchestration tool such as Kubernetes 20 [29,40,43,44] or Apache Mesos 21 [16].”
From Operationalizing machine learning models: a systematic literature review (2022) · cites this paper as [40]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
A Design Science Research Methodology for Information Systems Research
Peffers, K., Tuunanen, T., Rothenberger, M. A., & Chatterjee, S. (2007) · Journal of Management Information Systems · doi:10.2753/mis0742-1222240302 · Cited by 7,832 · cited 21× · see citing works
“The research was performed based on Design Science Research Methodology (DSRM) [22].”
MethodInfluentialDocker: lightweight Linux containers for consistent development and deployment
Merkel, D. (2014) · Linux journal · Cited by 3,277 · see citing works
Deep Learning With Edge Computing: A Review
Chen, J., & Ran, X. (2019) · Proceedings of the IEEE · doi:10.1109/jproc.2019.2921977 · Cited by 1,540 · cited 4× · see citing works
“Also, many choices have been explored for increasing the performance of Machine learning (ML)-based inference in cloud-edge continuum [12].”
BackgroundMethodInfluentialReview of Smart Meter Data Analytics: Applications, Methodologies, and Challenges
Wang, Y., Chen, Q., Hong, T., & Kang, C. (2018) · IEEE Transactions on Smart Grid · doi:10.1109/tsg.2018.2818167 · Cited by 1,384 · see citing works
Smart home energy management systems: Concept, configurations, and scheduling strategies
Zhou, B., Li, W., Chan, K. W., Cao, Y., Kuang, Y., Liu, X., & Wang, X. (2016) · Renewable and Sustainable Energy Reviews · doi:10.1016/j.rser.2016.03.047 · Cited by 850 · see citing works
Burns, B., Grant, B., Oppenheimer, D., Brewer, E., & Wilkes, J. (2016) · Communications of the ACM · doi:10.1145/2890784 · Cited by 690 · see citing works
Afram, A., Janabi-Sharifi, F., Fung, A. S., & Raahemifar, K. (2017) · Energy and Buildings · doi:10.1016/j.enbuild.2017.02.012 · Cited by 655 · see citing works
DeepDecision: A Mobile Deep Learning Framework for Edge Video Analytics
Ran, X., Chen, H., Zhu, X., Liu, Z., & Chen, J. (2018) · IEEE INFOCOM 2018 - IEEE Conference on Computer Communications · doi:10.1109/infocom.2018.8485905 · Cited by 450 · see citing works
Sonnenberg, C., & Brocke, J. V. (2012) · Lecture notes in computer science · doi:10.1007/978-3-642-29863-9_28 · Cited by 305 · see citing works
Pääkkönen, P., & Pakkala, D. (2015) · Big Data Research · doi:10.1016/j.bdr.2015.01.001 · Cited by 241 · see citing works
Self-citationAIOps: Real-World Challenges and Research Innovations
Dang, Y., Lin, Q., & Huang, P. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse-companion.2019.00023 · Cited by 238 · see citing works
A review of edge computing reference architectures and a new global edge proposal
Sittón-Candanedo, I., Alonso, R. S., Corchado, J. M., Rodrı́guez, S., & Vara, R. C. (2019) · Future Generation Computer Systems · doi:10.1016/j.future.2019.04.016 · Cited by 225 · see citing works
Autonomous HVAC Control, A Reinforcement Learning Approach
Barrett, E., & Linder, S. P. (2015) · Lecture notes in computer science · doi:10.1007/978-3-319-23461-8_1 · Cited by 135 · see citing works
Toward Collaborative Inferencing of Deep Neural Networks on Internet-of-Things Devices
Hadidi, R., Cao, J., Ryoo, M. S., & Kim, H. (2020) · IEEE Internet of Things Journal · doi:10.1109/jiot.2020.2972000 · Cited by 126 · see citing works
Characterizing the deployment of deep neural networks on commercial edge devices
Hadidi, R., Cao, J., Xie, Y., Asgari, B., Krishna, T., & Kim, H. (2019) · 2019 IEEE International Symposium on Workload Characterization (IISWC) · doi:10.1109/iiswc47752.2019.9041955 · Cited by 118 · see citing works
ModelOps: Cloud-Based Lifecycle Management for Reliable and Trusted AI
Hummer, W., Muthusamy, V., Rausch, T., Dube, P., El Maghraoui, K., Murthi, A., & Oum, P. (2019) · 2019 IEEE International Conference on Cloud Engineering (IC2E) · doi:10.1109/ic2e.2019.00025 · Cited by 105 · see citing works
Empirically-grounded reference architectures
Galster, M., & Avgeriou, P. (2011) · doi:10.1145/2000259.2000285 · Cited by 88 · see citing works
Advanced Building Control via Deep Reinforcement Learning
Jia, R., Jin, M., Sun, K., et al. (2019) · Energy Procedia · doi:10.1016/j.egypro.2019.01.494 · Cited by 81 · see citing works
A short-term energy prediction system based on edge computing for smart city
Luo, H., Cai, H., Han, Y., Sun, Y. L., Bi, Z., & Jiang, L. (2019) · Future Generation Computer Systems · doi:10.1016/j.future.2019.06.030 · Cited by 81 · see citing works
Computation Offloading for Machine Learning Web Apps in the Edge Server Environment
Jeong, H.-J., Jeong, I., Lee, H.-J., & Moon, S. (2018) · IEEE International Conference on Distributed Computing Systems (ICDCS) · doi:10.1109/icdcs.2018.00154 · Cited by 79 · see citing works
Distributed deep learning on edge-devices: Feasibility via adaptive compression
Hardy, C., Merrer, E. L., & Séricola, B. (2017) · IEEE International Symposium on Network Computing and Applications (NCA) · doi:10.1109/nca.2017.8171350 · Cited by 78 · see citing works
Ruelens, F., Iacovella, S., Claessens, B., & Belmans, R. J. M. (2015) · Energies · doi:10.3390/en8088300 · Cited by 74 · see citing works
Digital Service: Technological Agency in Service Systems
Pakkala, D., & Spohrer, J. (2019) · Proceedings of the ... Annual Hawaii International Conference on System Sciences/Proceedings of the Annual Hawaii International Conference on System Sciences · doi:10.24251/hicss.2019.229 · Cited by 44 · see citing works
Self-citationWiedemann, A., Forsgren, N., Wiesche, M., et al. (2019) · Communications of the ACM · doi:10.1145/3331138 · Cited by 43 · see citing works
Pääkkönen, P., & Pakkala, D. (2020) · Journal Of Big Data · doi:10.1186/s40537-020-00303-y · Cited by 34 · see citing works
Self-citationNeurOpt: Neural network based optimization for building energy management and climate controlPreprint
Jain, A., Smarra, F., Reticcioli, E., D’Innocenzo, A., & Morari, M. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2001.07831 · Cited by 30 · see citing works
Benefits and drawbacks of software reference architectures: A case study
Martínez‐Fernández, S., Ayala, C. P., Franch, X., et al. (2017) · Information and Software Technology · doi:10.1016/j.infsof.2017.03.011 · Cited by 26 · see citing works
Performance Comparison of Lightweight Kubernetes in Edge Devices
Fathoni, H., Yang, C., Chang, C., & Huang, C. (2019) · Communications in computer and information science · doi:10.1007/978-3-030-30143-9_25 · Cited by 26 · see citing works
FLEDGE: Kubernetes Compatible Container Orchestration on Low-Resource Edge Devices
Goethals, T., Turck, F. D., & Volckaert, B. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-38651-1_16 · Cited by 26 · see citing works
DeepSplit: Dynamic Splitting of Collaborative Edge-Cloud Convolutional Neural Networks
Mehta, R., & Shorey, R. (2020) · International Conference on Communication Systems & Networks (COMSNETS) · doi:10.1109/comsnets48256.2020.9027432 · Cited by 22 · see citing works
Energy Consumption Prediction System Based on Deep Learning with Edge Computing
Lee, S. H., Lee, T., Kim, S., et al. (2019) · IEEE International Conference on Electronics Technology (ICET) · doi:10.1109/eltech.2019.8839589 · Cited by 19 · see citing works
Big Data Platform for Smart Grids Power Consumption Anomaly Detection
Lipcàk, P., Macák, M., & Rossi, B. (2019) · Annals of Computer Science and Information Systems · doi:10.15439/2019f210 · Cited by 16 · see citing works
DLASE: A light-weight framework supporting Deep Learning for Edge Devices
Le-Minh, K.-H., Le, K.-H., & Le‐Trung, Q. (2020) · International Conference on Recent Advances in Signal Processing, Telecommunications & Computing (SigTelCom) · doi:10.1109/sigtelcom49868.2020.9199058 · Cited by 13 · see citing works
CMS: A Continuous Machine-Learning and Serving Platform for Industrial Big Data
Li, K., & Gui, N. (2020) · Future Internet · doi:10.3390/fi12060102 · Cited by 8 · see citing works
Edge-Tailored Perception: Fast Inferencing in-the-Edge with Efficient Model Distribution.
Hadidi, R., Asgari, B., Cao, J., Bae, Y., Kim, H., Ryoo, M. S., & Kim, H. (2020) · Cited by 1 · see citing works
Flagged first, then by citations
Research works printed but not linked: 3
- Zhang, Z.; Chong, A.; Pan, Y.; Zhang, C.; Lu, S.; Lan, K.P. A Deep Reinforcement Learning Approach to Using Whole Building Energy Model for HVAC Optimal Control. In Proceedings of the Building Performance Modeling Conference and SIMBuild, Chicago, IL, USA, 26-28 September 2018.
- Salmi, T.; Kiljander, J.; Pakkala, D. Stacked Boosters Network Architecture for Short-Term Load Forecasting in Buildings. Energies 2020, 13, 2370. [CrossRef] · DOI
- Zhou, L.; Wen, H.; Teodorescu, R.; Du, D.H.C. Distributing deep neural networks with containerized partitions at the edge. In Proceedings of the 2nd Usenix Workshop on Hot Topics in Edge Computing, Renton, WA, USA, 9 July 2019.
Cited by
Sorted by citations
Operationalizing machine learning models: a systematic literature review
Kolltveit, A. B., & Li, J. (2022) · Proceedings of the 1st Workshop on Software Engineering for Responsible AI · doi:10.1145/3526073.3527584 · Cited by 34 · see citing works
- Authors
- Pääkkönen, P., Pakkala, D., Kiljander, J., & Sarala, R.
- Affiliations
- VTT Technical Research Centre of Finland (FI)
- Corresponding author
- Pääkkönen, Pekka
- Venue
- Future Internet
- Publisher
- MDPI AG
- Published
- 2020-12-29
- Volume
- 13
- Issue
- 1
- Pages
- 5
- ISSN
- 1999-5903 (ISSN-L)
- OpenAlex
- W3113668354
- Cited by
- 16
- References
- 35
- Citations by year
- 2026: 1 · 2025: 1 · 2024: 2 · 2023: 3 · 2022: 3 · 2021: 6
- FWCI
- 1.41
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- Locations
- Future Internet (publishedVersion, cc-by)
- RePEc: Research Papers in Economics (submittedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › IoT and Edge/Fog Computing
- Physical Sciences › Computer Science › Hardware and Architecture › Energy Efficiency in Computing
- Physical Sciences › Engineering › Building and Construction › Building Energy and Comfort Optimization
- Keywords
- edge inference, model transfer, Kubernetes, building energy consumption prediction, edge computing architecture, inference latency, Raspberry Pi, Jetson Nano
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review