ORIGINAL RESEARCH article
Front. Built Environ.
Sec. Indoor Environment
This article is part of the Research TopicSustainable Indoor Environment For The Comfort And Well-Being Of Buildings’ UsersView all 4 articles
Decentralized Intelligence in SBs: Federated LSTM-Powered Digital Twins for Sustainability
Provisionally accepted- Vellore Institute of Technology, Chennai, Chennai, India
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
The growing demand for intelligent, data-driven building automation poses significant challenges related to data privacy, scalability, and heterogeneity across distributed environments. Traditional centralized machine learning (ML) approaches often require aggregating sensitive sensor data to a central server, raising privacy concerns and limiting real-time responsiveness. To address these limitations, this study proposes a novel framework that integrates federated learning (FL) and digital twin (DT) technologies for privacy-preserving, real-time occupancy detection in smart building (SB). Leveraging time-series data from environmental sensors, a long short-term memory (LSTM) model is collaboratively trained across distributed clients using the federated averaging (FedAvg) algorithm, ensuring data remains local to the source. A personalized fine-tuning phase enhances local model adaptation, making the system robust to client-specific variations and non-IID data. The resulting model is deployed within a streamlit-based digital twin interface that enables real-time visualization of occupancy states, sensor dynamics and model predictions, including rolling forecasts, confidence levels and error diagnostics. This integrated approach not only enhances privacy and adaptability but also enables proactive energy management and operational transparency. By unifying federated sequence learning with dynamic digital representations, the framework contributes to the development of scalable, secure and sustainability-aware SB systems.
Keywords: Federated learning (FL), Digital twin (DT), LSTM, SBS, sustainability, Energy Management
Received: 01 Sep 2025; Accepted: 19 Nov 2025.
Copyright: © 2025 Rajaram and OV. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: Gnana Swathika OV, gnanaswathika.ov@vit.ac.in
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
