arXiv:2610.13307cs.LGOct 2026

Manuscript Offprint

arXiv:2610.13307

Sustainable Cloud-Fog-Edge Systems for Smart Buildings: Algorithmic Adaptation under Memory Constraints and Dynamic Orchestration Strategies

Mamadou Sow, Christophe Cerin

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

Mamadou Sow

University Sorbonne Paris Nord

LIPN, UMR CNRS 7030

Villetaneuse, France

mamadou.sow@univ-paris13.fr

Christophe Cérin

University Sorbonne Paris Nord

LIPN, UMR CNRS 7030

INRIA DATAMOVE

Paris/Grenoble, France

christophe.cerin@univ-paris13.fr

Abstract—The escalating environmental footprint of the Information and Communication Technology (ICT) sector—with global Data Center electricity usage potentially reaching 3% by 2030 [1] and the imperative for real-time responsiveness in smart buildings demand a foundational shift towards Edge Computing [2]. This article proposes a holistic architectural and algorithmic approach for creating autonomous, resilient, and privacy-preserving learning systems within smart buildings, advancing the core concept of the building itself as the data center. Our contributions, demonstrating originality compared to conventional centralized systems, are structured around three main pillars: 1) Validation of resilient data acquisition chains using the affordable Arduino ecosystem (Uno R4 WiFi/BME280) and secure persistence solutions including centralized archiving (Node-RED/MySQL) and secure remote transfer (Python/rsync/SSH). 2) The proposal of a lightweight, KOptim orchestration framework, interoperable with the FIWARE standard [3], for the dynamic management of Service Level Agreements (SLA). 3) The adaptation and experimental validation of the Generalized Hebbian Algorithm (GHA) for Principal Component Analysis (PCA) on low-power microcontrollers. We introduce and compare an iterative learning strategy using data buffers, featuring sorting and explicit preservation of extreme samples to maintain diversity. Experimental results on the high-dimensional Tour Perret sensor data confirm that this novel method, despite introducing a necessary temporal complexity of O(Wlog⁡W)O(W \log W) due to sorting, achieves convergence and final result quality that is visually equivalent to processing the entire dataset in full memory, reliably identifying two distinct operational states. This analysis explicitly incorporates a critical review of the limitations inherent in the Edge-Fog paradigm, detailing security vulnerabilities and the higher power consumption of Fog nodes [4].

Index Terms—Cloud-Fog-Edge [5], Smart Building, Embedded Artificial Intelligence (Edge AI), GHA-PCA, Microcontroller, FIWARE [3], Dynamic Orchestration, Algorithmic Complexity, Data Sovereignty

I. INTRODUCTION

The increasing scrutiny of the ICT sector’s substantial environmental footprint [6], [7] and the rapid growth of data from IoT devices [8] necessitate a transition from centralized Cloud infrastructures to architectures that support local processing [6], [7]. This Edge Computing approach, where programs execute close to the request sources for rapid response, is vital for time-sensitive applications like resource optimization in buildings. Our research promotes the development of inclusive and sustainable technological solutions, particularly with a humanitarian focus, advocating for ecologically responsible, locally deployable systems based on cost-effective microcontrollers. The goal is to design an embedded AI system that operates independently within the building, continuously learning from real-time sensor data [9], [10]. This paper details the originality of our work by providing robust comparisons of algorithmic performance and a comprehensive discussion of architectural tradeoffs, directly addressing the required critiques.