Decentralized intelligence in SBs: Federated LSTM-powered digital twins for sustainability

Introduction The rapid growth of intelligent, data-driven building automation systems presents significant challenges in terms of data privacy, scalability, and heterogeneity across distributed environments. Conventional centralized machine learning approaches require sensitive sensor data to be aggregated in a central server, which raises serious privacy concerns and limits real-time responsiveness. To overcome these issues, this study introduces a unified framework that integrates Federated Learning (FL) and Digital Twin (DT) technologies for privacy-preserving, real-time occupancy detection in smart building systems. Methods The proposed framework employs a Long Short-Term Memory (LSTM) model to capture temporal patterns in multivariate time-series data collected from environmental sensors. Model training is conducted collaboratively across distributed client devices using the Federated Averaging (FedAvg) algorithm, ensuring that raw data never leaves local devices. A personalized fine-tuning stage is incorporated to improve model performance under non-identically distributed (non-IID) data conditions and to enhance local adaptability. The trained model is deployed within a Streamlit-based digital twin platform to enable real-time visualization of occupancy states, sensor behavior, and model predictions, including rolling forecasts, confidence estimates, and error diagnostics. Results The integrated FL–DT framework enables accurate and privacy-preserving occupancy detection across distributed environments while maintaining scalability and adaptability. Personalized fine-tuning significantly enhances local prediction performance and robustness under heterogeneous data conditions. The digital twin interface provides continuous situational awareness through live visualization and analytics, supporting timely decision-making and system-level transparency. Discussion The results demonstrate that combining federated temporal learning with digital twin technology effectively addresses privacy, scalability, and operational challenges in smart building systems. Beyond improving occupancy detection, the framework enables proactive energy management and interpretability through interactive system monitoring. This integrated approach contributes toward the deployment of scalable, secure, and sustainability-aware smart building infrastructures.

Authors

Institutions

Publication Details

Journal
Frontiers in Built Environment
Published
2025-12-10
DOI
https://doi.org/10.3389/fbuil.2025.1696702
Primary Topic
Digital Transformation in Industry
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Decentralized intelligence in SBs: Federated LSTM-powered digital twins for sustainability

Prabhu Rajaram, Gnana Swathika O. V.
Frontiers in Built Environment
Digital Transformation in Industry
article

Decentralized intelligence in SBs: Federated LSTM-powered digital twins for sustainability

Prabhu Rajaram, Gnana Swathika O. V.
article en

Abstract

Introduction The rapid growth of intelligent, data-driven building automation systems presents significant challenges in terms of data privacy, scalability, and heterogeneity across distributed environments. Conventional centralized machine learning approaches require sensitive sensor data to be aggregated in a central server, which raises serious privacy concerns and limits real-time responsiveness. To overcome these issues, this study introduces a unified framework that integrates Federated Learning (FL) and Digital Twin (DT) technologies for privacy-preserving, real-time occupancy detection in smart building systems. Methods The proposed framework employs a Long Short-Term Memory (LSTM) model to capture temporal patterns in multivariate time-series data collected from environmental sensors. Model training is conducted collaboratively across distributed client devices using the Federated Averaging (FedAvg) algorithm, ensuring that raw data never leaves local devices. A personalized fine-tuning stage is incorporated to improve model performance under non-identically distributed (non-IID) data conditions and to enhance local adaptability. The trained model is deployed within a Streamlit-based digital twin platform to enable real-time visualization of occupancy states, sensor behavior, and model predictions, including rolling forecasts, confidence estimates, and error diagnostics. Results The integrated FL–DT framework enables accurate and privacy-preserving occupancy detection across distributed environments while maintaining scalability and adaptability. Personalized fine-tuning significantly enhances local prediction performance and robustness under heterogeneous data conditions. The digital twin interface provides continuous situational awareness through live visualization and analytics, supporting timely decision-making and system-level transparency. Discussion The results demonstrate that combining federated temporal learning with digital twin technology effectively addresses privacy, scalability, and operational challenges in smart building systems. Beyond improving occupancy detection, the framework enables proactive energy management and interpretability through interactive system monitoring. This integrated approach contributes toward the deployment of scalable, secure, and sustainability-aware smart building infrastructures.

Frontiers in Built EnvironmentVol. 11
Vellore Institute of Technology University (IN)
VIT University
Openalex Percentile: Top 49%
Digital Transformation in Industry
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.