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
- Marwa M. Eid (ORCID: https://orcid.org/0000-0002-8557-3566)
- Ebrahim A. Mattar (ORCID: https://orcid.org/0000-0002-1536-1074)
- Mervat El-Seddek (ORCID: https://orcid.org/0000-0001-5854-0948)
- Doaa Sami Khafaga (ORCID: https://orcid.org/0000-0002-9843-6392)
- Amel Ali Alhussan (ORCID: https://orcid.org/0000-0001-7530-7961)
- Ahmed Mohamed Zaki (ORCID: https://orcid.org/0009-0004-7904-634X)
- El‐Sayed M. El‐kenawy (ORCID: https://orcid.org/0000-0002-9221-7658)
Institutions
- 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)
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
- Science and Technology Development Fund