arXiv:2610.01647cs.DCOct 2026

Manuscript Offprint

arXiv:2610.01647

Towards a Cloud Fog Edge System for Smart Building

Christophe Cérin, Mamadou Sow, Frédéric Andrès

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Christophe Cérin

University Sorbonne Paris Nord

LIPN, UMR CNRS 7030

INRIA DATAMOVE

Paris/Grenoble, France

christophe.cerin@univ-paris13.fr

Mamadou Sow

University Sorbonne Paris Nord

LIPN, UMR CNRS 7030

Villetaneuse, France

mamadou.sow@univ-paris13.fr

Frédéric Andrés

National institute of Informatics

2 Chome-1-2 Hitotsubashi,

Chiyoda City,

Tokyo 101-8430, Japan

andres@nii.ac.jp

Abstract—In this article, we present our vision and recent advancements toward creating a decentralized system capable of learning from real-time data within buildings to support sustainable and privacy-preserving smart environments. Our approach promotes the concept of the building itself as the data center, aligning with the principles of edge computing to safeguard confidentiality and reduce reliance on external cloud infrastructure. This is particularly valuable in humanitarian contexts, where data sovereignty, energy efficiency, and infrastructure constraints are critical. We detail a lightweight, "Kubernetes-like" orchestration framework for deploying AI services within such environments and demonstrate our progress in implementing AI algorithms on low-power, cost-effective microcontrollers such as those in the Arduino ecosystem. By enabling in-situ learning directly on sensors or microcontrollers, our work aims to bring intelligent services to resource-limited settings, fostering autonomy, resilience, and sustainable development in vulnerable or underserved communities. The contributions in this article are related, firstly, to our project "Online Machine Learning Algorithms for Embedded Systems" and the evaluation of two new online algorithms. Secondly, we envision a cloud-fog-edge architecture based on the KOptim and FIWARE components, and we propose a methodology for coupling them. Experimental results of the online algorithms are also presented, showcasing real-world traces.

Index Terms—AI-driven decision-making under uncertainty in real-world settings, Smart Technologies and IoT, Real-world deployments of autonomous AI in Smart Building, Online machine learning.

I. INTRODUCTION

The principal aim of this paper is to advance inclusive and sustainable technology research in the domains of smart building Information and Communication Technologies (ICT), electrical engineering, communications, and edge computing. With a humanitarian focus, we explore technological solutions that minimize environmental impact and are accessible to under-resourced or marginalized communities. Our approach advocates for alternatives to energy-intensive cloud computing and centralized infrastructures, proposing instead ecologically responsible, locally deployable systems based on cost-effective microcontrollers.

The ICT sector is increasingly scrutinized for its substantial environmental footprint, driven by high energy consumption in computation, storage, and networking infrastructures [1], [2]. In 2023, global electricity consumption from ICT was estimated at around 2%, with the figure rising to 4.4% in the United States [3]. Forecasts suggest that global Data Center (DC) electricity usage may reach 3% by 2030 [4]. In addition to carbon emissions, artificial intelligence (AI) and high-performance computing (HPC) technologies require significant water and rare metal resources, the latter often being non-recyclable. These trends raise critical questions about the sustainability and equity of digital transformation, particularly in humanitarian contexts where resource constraints are pronounced.

Simultaneously, electricity use in buildings accounted for nearly 60% of global consumption growth in 2024, with natural gas demand also rising by 1% in residential and commercial sectors [4]. The intersection of energy-intensive computing and increasing building energy use presents a compelling case for rethinking infrastructure. This paper promotes edge computing as a potential pathway to mitigate these pressures, emphasizing in-situ intelligence that reduces the need for data transmission and centralized processing. While the overall environmental cost of edge computing relative to cloud services remains underexplored, the promise of reduced energy usage, enhanced data privacy, and local autonomy warrants deeper investigation.

Our research problem is thus framed by the needs of individuals, public institutions, or private entities managing activity within buildings—whether optimizing operations through embedded AI or regulating high-usage environments to conserve resources. We present two use cases aligned with these goals. In both, we explore the design and deployment of an embedded AI system built on edge computing principles. Such a system must operate independently within the building, continuously learning from real-time sensor data to support resilient, efficient, and sustainable outcomes.

The structure of this paper is organized as follows: In Section II, we provide definitions relevant to our domain, present a usage scenario, and review related literature. Section III details two categories of experiments undertaken, encompassing the materials employed and the methodologies adopted. The initial experiment focuses on cloud orchestration in conjunction with FIREWARE, while the subsequent experiments pertain to the application of online machine learning algorithms at the edge. Section IV offers an analysis and interpretation of the results, situating them within the established theoretical framework. We also explain the drawbacks of our proposed method. Finally, Section V offers conclusions and proposes directions for future research.