Smart room occupancy detection using neural networks and the puma optimization algorithm

Room occupancy detection with reasonable accuracy is indispensable for developing innovative building systems that provide energy-efficient management, increased security, and greater comfort. The existing occupancy detection solutions based on traditional sensors suffer from high installation costs, a lack of scalability, and the inability to adapt to dynamic environments. This study proposes an optimized machine learning (ML) approach using a Neural Network (NN) model tailored with a Puma Optimizer Sine Cosine Optimizer (POSC) metaheuristic optimization technique to address these challenges. Based on environmental sensor data, such as temperature, humidity, light intensity, and [Formula: see text] levels, the proposed model achieves high accuracy in predicting room occupancy. The optimization process helps reinforce the training of the NN model through a dynamic equilibrium between exploration and exploitation, achieving faster convergence speed and better classification. The model is evaluated and compared on a publicly available dataset with other optimization techniques such as the Genetic Algorithm (GA) and Grey Wolf Optimization (GWO). Experimental results prove that the POSC-optimized NN model achieves superior classification and significantly outperforms conventional ML methods in terms of accuracy, precision, recall, and F1-score. These findings suggest that the combined use of metaheuristic optimization and deep learning can be a practical approach for real-world applications in intelligent building automation. The solutions proposed in this research may contribute to the growing field of intelligent occupancy detection and energy-efficient systems for future smart environments.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-12-20
DOI
https://doi.org/10.1038/s41598-025-29938-8
Primary Topic
Building Energy and Comfort Optimization
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Smart room occupancy detection using neural networks and the puma optimization algorithm

Marwa M. Eid, Ebrahim A. Mattar, Mervat El-Seddek, Doaa Sami Khafaga et al.
Scientific Reports
Building Energy and Comfort Optimization
article

Smart room occupancy detection using neural networks and the puma optimization algorithm

Marwa M. Eid, Ebrahim A. Mattar, Mervat El-Seddek, Doaa Sami Khafaga, Amel Ali Alhussan, Ahmed Mohamed Zaki, El‐Sayed M. El‐kenawy
article en

Abstract

Room occupancy detection with reasonable accuracy is indispensable for developing innovative building systems that provide energy-efficient management, increased security, and greater comfort. The existing occupancy detection solutions based on traditional sensors suffer from high installation costs, a lack of scalability, and the inability to adapt to dynamic environments. This study proposes an optimized machine learning (ML) approach using a Neural Network (NN) model tailored with a Puma Optimizer Sine Cosine Optimizer (POSC) metaheuristic optimization technique to address these challenges. Based on environmental sensor data, such as temperature, humidity, light intensity, and [Formula: see text] levels, the proposed model achieves high accuracy in predicting room occupancy. The optimization process helps reinforce the training of the NN model through a dynamic equilibrium between exploration and exploitation, achieving faster convergence speed and better classification. The model is evaluated and compared on a publicly available dataset with other optimization techniques such as the Genetic Algorithm (GA) and Grey Wolf Optimization (GWO). Experimental results prove that the POSC-optimized NN model achieves superior classification and significantly outperforms conventional ML methods in terms of accuracy, precision, recall, and F1-score. These findings suggest that the combined use of metaheuristic optimization and deep learning can be a practical approach for real-world applications in intelligent building automation. The solutions proposed in this research may contribute to the growing field of intelligent occupancy detection and energy-efficient systems for future smart environments.

Scientific ReportsVol. 15(1)
University of Bahrain (BH), Princess Nourah bint Abdulrahman University (SA), Damietta University (EG), Applied Science Private University (JO), Mansoura University (EG), Jadara University (JO), Higher Institute of Engineering (EG), Delta University for Science and Technology (EG)
Science and Technology Development Fund
Openalex Percentile: Top 56%
Building Energy and Comfort Optimization
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.