Next Article in Journal
Quantitative Prediction of Residual Stress, Surface Hardness, and Case Depth in Medium Carbon Steel Plate Based on Multifunctional Magnetic Testing Techniques
Previous Article in Journal
SILF Dataset: Fault Dataset for Solar Insecticidal Lamp Internet of Things Node
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Crowd Evacuation in Stadiums Using Fire Alarm Prediction

by
Afnan A. Alazbah
1,*,
Osama B. Rabie
1,2 and
Abdullah Al-Barakati
1
1
Information Systems Department, King Abdul-Aziz University, Jeddah 21589, Saudi Arabia
2
Center of Research Excellence for Smart Environment, King Abdul-Aziz University, Jeddah 21589, Saudi Arabia
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(9), 2810; https://doi.org/10.3390/s25092810
Submission received: 22 March 2025 / Revised: 21 April 2025 / Accepted: 26 April 2025 / Published: 29 April 2025
(This article belongs to the Section Internet of Things)

Abstract

:
Ensuring rapid and efficient evacuation in high-density environments, such as stadiums, is critical for public safety during fire emergencies. Traditional fire alarm systems rely on reactive detection mechanisms, often resulting in delayed response times, increased panic, and overcrowding. This study introduces an AI-driven predictive fire alarm and evacuation model that leverages machine learning algorithms and real-time environmental sensor data to anticipate fire hazards before ignition, improving emergency response efficiency. To detect early fire risk indicators, the system processes data from 62,630 sensor measurements across 15 ecological parameters, including temperature, humidity, total volatile organic compounds (TVOC), CO2 levels, and particulate matter. A comparative analysis of six machine learning models—Logistic Regression, Support Vector Machines (SVM), Random Forest, and proposed EvacuNet—demonstrates that EvacuNet outperforms all other models, achieving an accuracy of 99.99%, precision of 1.00, recall of 1.00, and an AUC-ROC score close to 1.00. The predictive alarm system significantly reduces false alarm rates and enhances fire detection speed, allowing emergency responders to take preemptive action. Moreover, integrating AI-driven evacuation optimization minimizes bottlenecks and congestion, reduces evacuation times, and improves structured crowd movement. These findings underscore the necessity of intelligent fire detection systems in high-occupancy venues, demonstrating that AI-based predictive modeling can drastically improve fire response and evacuation efficiency. Future research should focus on integrating IoT-enabled emergency navigation, reinforcement learning algorithms, and real-time crowd management systems to further enhance predictive accuracy and minimize casualties. By adopting such advanced technologies, large-scale venues can significantly improve emergency preparedness, reduce evacuation delays, and enhance public safety.

1. Introduction

Stadiums and similar densely populated areas face essential challenges in providing public safety protection when fires occur in emergency situations. A populous group assembly presents substantial fire dangers because of restricted escape routes, together with overcrowded crowds that can lead to dangerous confusion among people during an emergency [1,2,3,4]. Such emergency situations enable small problems to develop rapidly, which results in fatal consequences combined with serious property destruction [5,6,7]. The essential role of traditional fire alarm systems for detection remains important, but these systems do not perform predictions and operate only after fires start. Sensor technologies compose the main elements of traditional fire detection systems that activate when they identify smoke, heat, and fire after fire onset [8,9,10]. Such systems do help warn building occupants, but the delayed detection process allows fire damage to cause severe injuries and fatalities while also destroying property structures [11,12,13,14,15]. The deployment of high-occupancy spaces requires fire alarm systems that avoid false alarms since these situations trigger numerous disruptions and economic losses based on unverified alarms.
Combining artificial intelligence (AI) with machine learning (ML) and deep learning (DL) in fire safety systems provides hopeful solutions to fix these issues [16,17,18]. The application of machine learning algorithms within predictive models analyzes enormous sensor data from the environment to detect initial indicators of fire ignition through monitoring parameters such as temperature variation, humidity levels, hazardous gas detection, and air quality changes. Machine learning models surpass traditional threshold-based systems because they analyze past fire incidents to assess the accuracy and reliability of fire prediction data [19]. Predictive systems achieve better false alarm differentiation from actual fire threats by applying classification methods, including Support Vector Machines (SVM) [20,21], Random Forest [22], and deep neural network approaches. Emergency response teams can initiate preventive measures through this function before risks become severe emergency conditions.
The success of evacuation procedures in dense crowd areas is equally important for fire disaster survival. Fire alarms fail to support emergency response coordination when they do not provide practical data for response planning [23,24,25,26]. Stadium evacuations of large crowds who do not know emergency procedures face the risk of overcrowding and injuries from stampedes because of unstructured evacuation methods. An adequately built emergency evacuation plan must use real-time predictive fire alarm information to maximize how people leave during emergencies. Combining ML-based fire prediction analysis with adaptive crowd management systems leads to advanced evacuation outcomes, decreased panic risk, and better public safety results [27,28]. Recent breakthroughs in fire detection technologies have generated limited research concerning the combined usage of intelligent fire alarm systems with thinking evacuation procedures. A solution to this problem stands essential for creating well-rounded emergency preparedness protocols within stadium facilities.
The core reason for conducting this research is to investigate how to improve fire alarm prediction accuracy and enhance evacuation strategies for sports facilities. This investigation studies how machine learning algorithms enhance predictive detection by examining historical records and real-time environmental elements while eliminating traditional static sensor threshold-based systems.
The research approaches machine learning as well as a deep neural network-based system, EvacuNet, that uses real-time environmental sensors to improve the accuracy of early fire detection through predictive models. This study approaches to find out which model predicts the best, using Logistic Regression, Support Vector Machines (SVM), Random Forest (RF) models, as well as EvacuNet, or a deep neural network model specific for crowd evacuation. The study evaluates how essential environmental factors like temperature, humidity, air quality, and particulate matter affect forecasting wildfire occurrences. This research aims to create a system that links predictive fire alarm activation to stadium evacuation procedures to establish complete emergency response coordination. The research seeks to minimize false alarms and improve fire safety decision-making processes in real-time scenarios for public spaces with significant occupancy.
The contributions of this research are as follows:
  • A novel machine learning-based fire prediction model that leverages environmental sensor data to provide early fire warnings, integrated with EvacuNet for dynamic crowd evacuation strategies.
  • A comparative study of multiple classification algorithms, including EvacuNet, to determine the most effective approach for predictive fire detection and evacuation planning.
  • A framework that combines fire alarm prediction with EvacuNet, enabling optimized dynamic evacuation strategies to enhance crowd safety in high-density venues.
The remainder of this paper is structured as follows: Section 2 presents a review of related works on fire detection, machine learning-based fire prediction, and intelligent evacuation strategies. Section 3 outlines the methodology, detailing the dataset, preprocessing techniques, feature selection, model training approaches, and evaluation metrics. Section 4 discusses the experimental results, including model comparison, performance analysis, and validation. Section 5 concludes the study with key findings, limitations, and future research directions, emphasizing the potential for integrating predictive fire detection into large-scale public safety systems.

2. Literature Review

The research literature examines existing emergency management studies that concentrate on machine learning together with advanced technologies for improving risk assessments, evacuation procedures, and safety guidelines. Different methods, including deep learning model utilization together with feature selection methods and real-time processing systems, eliminate risks and plan evacuations across various emergency scenarios. These models encounter various limitations alongside their challenges, which the review identifies while creating conditions for additional field advancements as well as innovative solutions within this domain.

2.1. Machine Learning for Fire and Evacuation Risk Prediction

The category comprises research using machine learning methods for risk assessment in fires, together with evacuation decision assessment, as well as disaster preparedness. The researchers concentrate their efforts on enhancing predictive accuracy, together with feature selection and model interpretability, to develop better risk assessment systems for emergency planning. The research by Lu et al. [29] focused on enhancing stadium fire risk prediction through the use of GB-RFE and SHAP while handling data redundancy through feature selection via Gradient Boosting-Recursive Feature Elimination (GB-RFE) combined with Pearson correlation analysis. The research used Wuhan Emergency Rescue Detachment data to test six machine learning models, where AdaBoost produced the maximum AuPRC of 0.78 under unbalanced conditions. A random forest model with SHAP analysis reached 83% accuracy by revealing the factors that influence fire risk probability. These prediction models deal with data imbalance issues alongside generalization challenges despite their ability to improve both interpretability and accuracy.
The combination of random forest models with SHAP by Lu et al. [30] allowed stadium fire risk assessments through the interpretation of risk factor non-linear relationships. The implemented model reached 83% accuracy, 86% precision, and 85% recall levels, which delivered critical fire safety data for management purposes. The research has three major limitations—a small data sample size, excessive use of random forest and SHAP models and restricted application to diverse stadium situations. The research conducted by Sun et al. [31] implemented an interpretable machine-learning model to study household decisions about hurricane evacuations. The researchers linked logistic regression with decision trees, which produced better predictions than psychology-based methods that worked alone. The emergency management sector uses the data to predict evacuation traffic amounts, although their dependence on past records creates possible limitations for responding to future incidents.
Balboa et al. [32] analyzed a wide collection of web-based data through logistic regression along with CART and six additional ML methods to predict evacuation choices. Logistic regression demonstrated the highest AUC value at 0.831, yet EvacuNet delivered superior accuracy at 0.78, and ANN demonstrated the best F1-score at 0.785. The authors revealed that participating with a close person significantly affected how people responded to fire alarms. The continued use of experimental results gathered through the web produces reservations regarding their practical value for real-world settings. The research by Zhang et al. [33] used VR experiments alongside a tuned random forest model to explore the impact of conflicting guidance signs on evacuation exit decisions. The experimental results demonstrated that Warning signs that advised not to enter (“DO NOT ENTER”) exerted stronger psychological effects than guidance signs that directed movement (“EXIT”). The limited sample size, combined with VR simulation dependence, reduces the ability to generalize these findings about evacuation conduct to actual evacuation scenarios. Ebrahimi et al. [34] created an artificial intelligence system that forecasted evacuation requirements following railway hazmat emergencies. They used natural language processing and co-occurrence network analysis to find principal cause-effect relationships within incident descriptions. The approach faces difficulties in universal implementation across railway systems, and potential fitting issues with particular incident types serve as significant weaknesses.
Multiple research studies establish how machine learning systems optimize fire hazard evaluations alongside evacuation forecasting. The research of Lu et al. [29] and Sun et al. [31] used machine learning models for structured danger analysis, but Balboa et al. [32], alongside Zhang et al. [35], investigated social aspects that affect evacuation behavior. Ebrahimi et al. [34] implemented NLP technological methods for hazard prediction systems. All research presents difficulties stemming from model interpretation restrictions, restricted dataset accessibility, and universal emergency situation applicability.

2.2. Deep Learning and Simulation-Based Evacuation Modeling

Deep learning approaches and computer vision, along with simulation techniques, form this category, which permits the prediction and optimization of complex environment evacuations. Studies evaluate how AI-based models outmatch conventional slow simulated systems and support immediate decision-making processes. Zhang et al. [35] utilize YOLOv7 and DeepSORT systems to detect vehicles and classify them, as well as track their movements to evaluate immediate tunnel fire hazards and escape perils in real time. The system enables accurate assessments regarding the distribution of vehicles and fire loads to enhance evaluations focused on fire scenarios and evacuation security. This method strains accuracy in complicated traffic conditions and is video camera-dependent but does not perform well across different tunnels. The approach was successfully performed in real tunnels, although it had certain limitations, which strengthened fire safety management. The research team from Li et al. [36] used Lenet and ResNet CNNs to build an evacuation risk prediction system for large public buildings. Deep learning methods demonstrated better performance than standard subjective evaluations by offering accelerated and efficient risk assessment capabilities. The system faces two major difficulties: a shortage of available data and the requirement for highly powerful computing capabilities during processing time.
Clever et al. [37] developed a deep learning system that merges CNNs and MLPs to estimate pedestrian evacuation durations from building specifications and floorplan information. They measured public facility evacuation times at train stations through their model, which produced predictions with a 15% mean accuracy. The system’s low accuracy level generates doubts about how credible it could be when used for critical emergency choices. Wang et al. [38] used random forest models together with Pathfinder simulation outputs to determine the evacuation times and exit selection choices of 4800 Xidi ancient architectural complex inhabitants. Researchers discovered that personal attributes determined which exits people would choose substantially more than surrounding environmental influences. The study depends on simulated information while studying only one complex structure, which affects its potential transferability to various settings. Yang et al. [39] executed a classroom violent attack evacuation study by applying random forest modeling to reach an accuracy rate of 96.5% in their findings. The SHAP analysis determined that distance to the attacker and preparation time were essential elements that affected decisions. The model delivers valuable knowledge about safety approaches, yet its dependent environment deviates from unpredictable emergency scenarios that exist in real-world settings.
Through transfer learning, Rahman et al. [40] adapted the DGCN-LSTM model, which had been trained on non-evacuation traffic for predicting network-scale evacuation traffic. The model proves suitable for evacuation traffic management, yet its performance involves barriers stemming from dependencies between features and beginning conditions. Without transfer learning, the model experienced difficulties processing evacuation data, while its functioning depends on particular features and becomes unstable during abrupt behavioral and scenario changes. Under dynamic circumstances, the model showcased prediction challenges through its RMSE value of 399.69. Research findings prove that deep learning and simulations deliver effective capabilities for predicting evacuation behavior. Li et al. [36], together with Clever et al. [37], developed CNN models for evacuation prediction, while Wang et al. [38] and Yang et al. [39] implemented random forest models on simulated and experimental data. Every research investigation has added meaningful findings, although implementation limitations emerge mainly from precision aspects and immediate operational capability, as well as adaptation to different building structures and emergency scenarios.

2.3. Smart and IoT-Based Emergency Navigation Systems

This section focuses on AI technology together with IoT devices, federated learning systems and reinforcement learning algorithms, which enhance real-time emergency route guidance and disaster recognition and evacuation schemes.
In contrast to Tan et al. [22], who proposed an emergency navigation system based on 3D modeling, IoT technologies, and edge computing with federated learning—achieving 99% accuracy in floor localization and 98.7% effectiveness in evacuation routing—our study focuses on integrating predictive fire detection with dynamic evacuation planning. While Tan’s system emphasizes post-incident route optimization, our approach aims to anticipate fire events before ignition, enabling proactive evacuation strategies in high-density environments like stadiums. Moreover, by leveraging environmental sensor data and deep learning, our framework addresses the limitations of traditional navigation systems that depend heavily on pre-configured infrastructure and may struggle with scalability. Yoo et al. [41] developed an indoor AR evacuation system through deep neural networks for position detection and reinforcement learning with gradient-boosting disaster prediction capabilities. The system demonstrates excellent performance by estimating areas and disaster propagation while offering instant directions to safety. The implementation faces two main disadvantages because it needs reliable beacon infrastructure along with strong IoT capabilities while also detecting real-time disruptions.
Using Kerala, India, flood victim questionnaire data, Sreejith et al. [42] constructed a machine learning model for assessing household flood preparedness duration. The research determined essential population characteristics and conduct patterns that affected people when they left their residences. Their model provides emergency planning knowledge through data analysis, yet its data collection method, which is based on self-reporting combined with its focus on preparatory stages, reduces its practical usefulness.
Unlike previous studies focusing solely on fire detection or evacuation modeling, this study presents an integrated framework combining predictive fire alarm systems with intelligent crowd evacuation strategies. The proposed EvacuNet model significantly advances predictive accuracy and reliability, achieving near-perfect performance metrics. Furthermore, this study evaluates environmental sensor data across a broader range of ecological parameters, offering a comprehensive and practical solution for large-scale venues like stadiums.

3. Methodology

The research methodology follows multiple essential steps, which include data collection, preprocessing the data before proceeding to the analysis stage, and model training before conducting evaluations, as represented in Figure 1. IoT devices collect data by monitoring environmental conditions to securely record different fire situation scenarios along with indoor and outdoor areas and multiple fire types under high humidity conditions. A total of 60,000 measurements form the dataset, which is sampled at 1 Hz.

3.1. Dataset Overview

The Smoke Detection Dataset [25] was selected in this study due to its suitability for training predictive models in environments resembling stadium conditions. Smoke Detection Dataset serves as a vital tool in our research about Crowd Evacuation in Stadiums Using Fire Alarm Prediction because it helps develop AI-driven smoke detection systems and improved fire safety responses. The two types of smoke detectors include photoelectric detectors, which detect light scattering from particles, and ionization-based detectors, which detect electrical disruptions from smoke. A data collection process focused on various locations was used to create a dependable AI-based smoke detection system that examined normal indoor and outdoor conditions, wood and gas fires in firefighter training zones, and outdoor grill configuration. The dataset includes about 62,630 sensor measurements with 15 features, which are recorded at 1 Hz for each UTC time-stamped entry. The combination of different environmental characteristics creates a thorough training set that produces accurate fire alarm predictions. The Smoke Detection Dataset provided a wide-ranging environmental scope because it collected fire sensor data inside and outside. The dataset does not include stadium data. It demonstrates representative potential fire patterns for big public areas through its diverse environmental conditions, including different humidity levels, CO2 concentrations, and fire types. This feature allows the model to obtain capabilities for real-world stadium applications. This research implements machine learning on IoT-based smoke detection to increase the speed of fire detection and reduce response times while enhancing stadium evacuation protocols for safe events.

3.2. Sensor Setup and Testing Conditions

The dataset utilized IoT-based environmental sensors, including photoelectric detectors (detecting light scattering) and ionization-based detectors (measuring electrical conductivity changes due to smoke). These sensors were calibrated using standardized fire training procedures. The data collection involved diverse conditions, including simulated wood fires, gas fires, and non-fire scenarios under various humidity levels, reflecting real-life emergency variability. Measurements were sampled at 1 Hz, ensuring high temporal resolution.

3.3. Data Preprocessing

The basic preprocessing methods for dataset quality control included duplicate value handling alongside null value management and statistical data analysis. We executed multiple steps to check for data errors along with missing values before declaring all sensor readings appropriate for model training purposes. We studied the dataset’s statistical parts through descriptive analysis to detect abnormalities and patterns in sensor data. The preprocessing techniques optimized the dataset, making it prepared for learning an accurate fire alarm prediction model through proper organization and removal of dataset inconsistencies.

3.4. Data Analysis

The research on stadium crowd evacuation focused on temperature distribution patterns and fire alarm activation to develop enhanced safety protocols, which are presented in Figure 2 and Figure 3. The data presented in Figure 3 illustrates two patterns: fire alarms appear most frequently in the 20–40 °C temperature range (red bar for yes responses), and the black bar for no responses has lower frequencies at these temperatures but shows a fire risk threshold showed by orange KDE curve. Two subplots divide the data sets in Figure 2, which demonstrates “Yes” alarm triggers occurring within the temperature range of 10–30 °C while “No” non-triggers exist primarily between 40 and 50 °C as reinforced by KDE curves. The visual graphs confirm how temperature functions as a critical factor in alarm operation and explain evacuation planning as well as sensor development.
Further, this study analyzed the distribution of Total Volatile Organic Compounds (TVOC) in relation to fire alarm triggers to enhance safety protocols, as depicted in Figure 4 and Figure 5. Figure 4 shows a stacked histogram of overall TVOC levels, indicating that lower TVOC values (0–2500) are strongly associated with fire alarms (“Yes” in red), while higher values (up to 60,000) are more common when no alarms are triggered (“No” in black). This suggests that TVOC thresholds are critical for fire detection. Figure 5 separates these distributions, with the “For Triggering Fire Alarm” subplot (red) peaking at low TVOC (0–1750) and the “For Not Triggering Fire Alarm” subplot (black) showing a broader distribution peaking at higher TVOC (10,000–60,000). These patterns, illustrated in Figure 1 and Figure 2, highlight the TVOC’s role in triggering alarms, informing evacuation strategies and sensor optimization in stadiums.
Again, this study analyzed CO2 equivalent concentrations during fire alarms in stadiums to develop improved safety standards, as presented in Figure 6 and Figure 7. The chart of accumulated CO2 readings displays two distinct patterns in Figure 6 that indicate the relationship between CO2 counts and fire alarm activation (Yes—red column) relative to detector silence (No—black column). Figure 7 divides the data into two groups, where the “For Triggering Fire Alarm” (red) distribution reaches its highest point at low CO2 amounts in the 0–5000 range, yet the “For Not Triggering Fire Alarm” (black) distribution achieves its maximum at higher CO2 values between 5000 and 40,000. Figure 6 and Figure 7 in the images demonstrate how CO2 plays a critical part in activating fire alarms in addition to leading stadium evacuation procedures and optimizing sensor detection capabilities.
The research on stadium crowd evacuation included a figure illustrating correlation findings about environmental factors and alarm triggers using Figure 8. A Pearson correlation heatmap shows the magnitude of variable relationships between Temperature, Humidity, TVOC, eCO2, Raw H2, Raw Ethanol, Pressure, PM1.0, PM2.5, NC0.5, NC1.0, NC2.5 and Fire Alarm. A close positive relationship exists between PM1.0 and PM2.5 and between their corresponding nanoparticle count versions NC0.5, NC1.0 and NC2.5 because each pair exhibits correlation coefficients approaching 1.0. A negative correlation viewed between Temperature and Humidity (−0.24) demonstrates opposing movements between the two variables, yet Fire Alarm shows low correlations with multiple variables, including weak associations between Temperature (−0.16) and Humidity (0.4). The presented analysis in Figure 1 uses data to reveal the main warning factors that contribute to fire risks, which helps develop stadium evacuation plans.

3.5. ML Models

In this paper, six different approaches of machine learning are used as tools for predicting fires and for evacuation planning. The existing models in these models are Logistic Regression, Gaussian Naïve Bayes, Bernoulli Naïve Bayes, Support Vector Machine (SVM) [6], Random Forest [7] and K-Nearest Neighbors (KNN). Each of these models was chosen as it can process various data patterns and may help to constitute meaningful fire detection and crowd evacuation strategies. The data were split 80:20 for training and testing purposes, while stratified sampling preserved class equilibrium. EvacuNet contained three dropout layers with L1 regularization to address overfitting issues and an early stopping mechanism that relied on validation metrics. The generalization: The matching alignment between training accuracy and validation accuracy curves and training loss curves and validation loss curves validates the generalization effectiveness of the model. This comparative analysis was conducted in order to identify the most effective machine-learning approach to improve fire safety and evacuation outcomes.

3.6. Proposed Method

The developed neural network model, EvacuNet, performs binary fire alarm classification on IoT sensor data through a deep learning structure featuring dense layers along with activation functions, regularization, and dropout strategies that enhance both learning and generalization capabilities. Each layer within the network operates under defined mathematical equations.
First Dense Layer (Input to Hidden Layer 1): The network starts at an input layer because the input features X of dimension d (i.e., the number of sensor readings) are transmitted through a Dense layer with 32 neurons. Each neuron applies a weighted additive operation before activating through the ReLU function.
Z ( 1 ) = W ( 1 ) X + b ( 1 )
A ( 1 ) = R e L U Z l
where W 1 represents the weight matrix, b 1 is the bias vector, and the ReLU activation is defined as:
R e L U z = max 0 , z
Regularization Term: L1 regularization is applied to encourage sparsity, modifying the loss function by adding a regularization term:
L r e g = λ W
where λ = 0.003 controls the regularization strength.
Second Dense Layer (Hidden Layer 1 to Hidden Layer 2): The first hidden layer consists of 64 neurons, applying another transformation:
Z ( 2 ) = W ( 2 ) A ( 1 ) + b ( 2 )
A ( 2 ) = R e L U Z ( 2 )
Third Dense Layer (Hidden Layer 2 to Hidden Layer 3): By enlarging feature dimensions, the model can detect sophisticated data patterns. The second hidden layer implements 128 neurons, which enhances the feature extraction process.
Z ( 3 ) = W ( 3 ) A ( 2 ) + b ( 3 )
A ( 3 ) = R e L U Z ( 3 )
Dropout Layer (Regularization): To mitigate overfitting, a dropout layer is applied, randomly deactivating 30% of the neurons:
A d r o p o u t ( 3 ) = D r o p o u t A 3 ,   p = 0.3
where p is the dropout probability.
Fourth Dense Layer (Hidden Layer 3 to Hidden Layer 4): Following this, a third hidden layer with 16 neurons refines the feature space:
Z ( 4 ) = W ( 4 ) A ( 3 ) + b ( 4 )
A ( 4 ) = R e L U Z ( 4 )
Output Layer (Binary Classification): The final layer contains one neuron with a sigmoid activation function that provides probabilities between 0 and 1 at the output:
Z ( 5 ) = W ( 5 ) A ( 4 ) + b ( 5 )
y ^ = σ Z 5 = 1 1 + e Z ( 5 )
where σ ( z ) is the sigmoid function, ensuring that the output represents a valid probability score.
Loss Function (Binary Cross-Entropy): The model is trained using binary cross-entropy loss, defined as:
L = 1 N i = 1 N y i l o g y ^ i + 1 y i log 1 y ^ i
where y i is the true label and y ^ i is the predicted probability.
Optimization Algorithm: Optimization is performed using the Adam optimizer with a learning rate of 0.001, updating weights as:
W ( t + 1 ) = W ( t ) η · m ^ t v ^ t +
where: η = 0.001 is the learning rate, m ^ t and v ^ t are the bias-corrected first and second-moment estimates of the gradients, is a small constant to prevent division by zero.
This optimizer minimizes the binary cross-entropy loss efficiently while achieving overfitting reduction through dropout and regularization operations.
The Architectural view of the proposed model is shown in Figure 9.

4. Result and Discussion

This section presents the findings of the fire alarm prediction model and its impact on stadium evacuation strategies. The results demonstrate the effectiveness of machine learning in predicting fire hazards and optimizing emergency responses.

4.1. Fire Alarm Prediction Model Performance

A fire alarm prediction system evaluation used multiple machine learning models, which produced different performance results. The model based on Logistic Regression reached 89.54% accuracy, 0.89 precision, 0.90 recall, and an F1-score level of 0.89. Although the model showed successful results, it failed to reach maximum potential because other advanced models demonstrated superior performance (Table 1).
The Gaussian Naïve Bayes model showed the worst performance among all models, achieving an accuracy level of 76.37%, together with a precision of 0.76, recall of 0.77, and an F1-score of 0.72. The poor classification results indicate that features in this dataset do not exist independently and thus violate the underlying model assumption. Bernoulli Naïve Bayes offered reasonable results despite achieving an accuracy of 88.18% and precision, recall, and F1-score, all equaling 0.88, yet failed to become the optimal solution for fire alarm prediction.
Support Vector Machine delivered outstanding results compared to Naïve Bayes models by reaching an accuracy of 94.44% combined with a precision of 0.95 and recall of 0.94, and F1-score 0.94. High accuracy and precision outcomes from SVM resulted from successfully separating complex data points. The Random Forest technique delivered outstanding outcomes, resulting in a 97.01% accuracy rate as well as 0.96 precision and recall points and 0.98 F1-score points. The generalization abilities of Random Forest models indicate why this method proves to be an outstanding choice for prediction tasks regarding fire alarm systems.
K-Nearest Neighbors exhibited nearly flawless classification, largely due to its 99.93% accuracy rate, corresponding 0.9981 precision and complete recall, and 1.00 F1-score. The model demonstrates a highly effective capability to recognize fire alarms apart from non-fire alarms. KNN implements a complex calculation that requires significant computational resources, thus reducing its practical value in large-scale operational systems.
Among all the models tested, EvacuNet outperformed the rest, achieving an accuracy of 99.99% with perfect precision, recall, and F1-score values of 1.00. This result confirms that EvacuNet is the most effective model for fire alarm prediction, as it can learn complex patterns in the dataset with exceptional reliability.
The analysis of the results suggests that EvacuNet is the best model for predicting fire alarms due to its high accuracy and robustness. K-Nearest Neighbors also performed exceptionally well, but its computational cost may limit its practicality in real-time applications. Random Forest and SVM delivered strong results, making them viable alternatives for scenarios that balance accuracy and efficiency. In contrast, Naïve Bayes models (Gaussian and Bernoulli) had the weakest performance, indicating that simple probabilistic approaches are insufficient for this problem.
Compared to Lu et al. [10], whose best-performing model (AdaBoost) achieved an AuPRC of 0.78, our proposed EvacuNet reached an accuracy of 99.99% and an AUC near 1.0. Similarly, while Balboa et al. [13] reported an AUC of 0.831 using logistic regression for evacuation prediction, our model significantly outperformed this with perfect precision, recall, and F1-scores. These comparisons reinforce EvacuNet’s superior capacity in both predictive detection and evacuation optimization.

4.2. Analysis of the Confusion Matrix for EvacuNet Model

Figure 10 shows a graph showing the confusion matrix of the pinnacle model. The matrix displays precise analysis regarding how well the model predicts stadium evacuation fire alarms. The model achieved 3457 accurate predictions for cases with no fire alarm activity and 8931 hits for instances with fire alarm triggers. The model generated 137 incorrect positive predictions that showed fire alarm activation when no such event occurred but correctly identified only 8931 actual fire alarms out of the examined cases.
The modeled system exhibits substantial accuracy and reliability standards for detecting stadium fire alarms at an early stage. The model demonstrates superior identification capability of active fire threats primarily because of its low false negative output rate, which supports quick emergency response efforts and successful crowd evacuation. The model demonstrates excellent robustness because it accurately differentiates between alarm and non-alarm instances.
The occurrence of false positives implies that the model tends to mistake certain non-emergency conditions for actual fire alarms, thereby causing extra evacuations of people from the building. Such incidents that protect safety can trigger panic reactions and operational interruptions affecting resource distribution. Further model improvements through threshold optimization, feature selection, and boundary adjustment will help overcome the identified limitation. By optimizing hyperparameters and applying advanced ensemble methods, the model’s predictive capabilities would improve while maintaining its ability to detect actual threats. Implementing real-time sensor data collection alongside contextual information into predictive frameworks would create better operational decisions by maintaining safety levels in large-scale crowd environments. The outstanding performance of EvacuNet revealed the necessity to improve its operational accuracy due to 137 false alarm detections. These false alarm events could cause real stadiums to experience unnecessary panic situations and possibly require unnecessary stadium evacuations. Future work will enhance model precision by adding context-based filtering with a dynamic threshold system that maintains sensitivity. Implementing human-operated verification systems within the system can help reduce operational interruptions.
The EvacuNet model delivers outstanding results for fire alarm prediction, as indicated by its ROC curve performance shown in Figure 11. The curve shows a close-to-perfect threshold between positive and negative examples because the model obtained an AUC value approaching complete separation. The model demonstrates a high capability to recognize fire and non-fire events, so it produces few mistakes during classification. When the curve rises steeply from the beginning, it shows both a very low false positive rate (FPR) and a high actual positive rate (TPR). The model demonstrates high reliability during emergencies because it accurately detects fire incidents while avoiding unnecessary false alarms. EvacuNet performs better than random chance because its curve surpasses the diagonal gray line for both the train and test sets on both classes.
The high AUC value empowers the model for use in high-occupancy stadiums because it delivers dependable and swift fire detection, which is essential for maintaining public safety. The model effectively minimizes accidental alarms, and its high detection rate ensures proper emergency response initiation only when necessary.
EvacuNet is the superior model for fire alarm prediction based on ROC analysis results since it produces precise decisions with great confidence levels during real-time applications. Developers should focus on implementing this system within IoT-based fire detection systems to enhance stadium evacuation procedures.

4.3. ROC Curve Analysis of EvacuNet for Fire Alarm Prediction in Stadium Evacuations

The accuracy graph demonstrates that initial training values and validation accuracy remain minimal until they escalate dramatically during the first epochs. The model demonstrates rapid mastery of meaningful features from the dataset because of its accuracy. At this stage, the model changes its inner parameters to reduce prediction mistakes, thus leading to increased accuracy levels. The accuracy increases gradually throughout training because the model learns to comprehend the dataset more precisely. The accuracy reaches a point where it stays close to 100%, which signifies that the model acquired most of the essential patterns required for accurate predictions. The training and validation accuracy curves closely follow each other in this depiction (Figure 12).
Model generalization success for new data becomes evident through this observation. A significant difference between validation and training accuracy would indicate that the model memorized the training data instead of learning general patterns, representing classical overfitting. The model demonstrates equally high-performance levels across training and validation data according to the nearly matching accuracy curves. Model performance indicates no underfitting or overfitting since it maintains the best balance to achieve good results on previously seen data alongside new examples. The accuracy shows consistent gradual improvement after the fast learning period ends. The model demonstrates advanced learning capabilities through the ability to improve its interpretation of refined details within the provided information. The model has mastered all dataset patterns because accuracy reaches nearly 100% stability, indicating it does not benefit substantially from more training.
The loss graph delivers additional perspectives on how a model learns during training. A model’s performance quality improves as loss values decrease because it shows how accurately the predictions match the actual labels. During the early stages of training, both the training loss and validation loss demonstrate high initial levels since the model begins with random weights and has not encountered significant data patterns. The model enhances its predictive accuracy while training and validation loss values decrease rapidly during the learning process. A downward shift at such a steep rate shows that the optimization process operates well since parameter adjustments lead to reduced errors. Loss values reach stability after 40 training phases because the model has almost achieved its best solution; thus, additional training produces minimal improvements.
In this graph examination, the training loss and validation loss maintain a tight connection throughout the entire training process. The model demonstrates practical prediction accuracy improvements that carry over from training data into previously unseen information. An excessive focus on training data specializations, or overfitting, is indicated when the validation loss increases, yet the training loss keeps decreasing. Testing and training loss curves display almost identical patterns, suggesting that the model applies knowledge beyond training data memorization.
The validation loss exhibits minor fluctuations, yet these changes remain of limited magnitude without causing substantial instability. Deep learning models usually present such variations because their datasets feature complex examples that lead to unstable classification. The variations in validation loss stem from both the random elements of training and variations in sample batches, together with inherent noise in the data. The minor differences in validation loss do not affect the interpretation that the model is learning effectively without showing signs of overfitting.
The model displays excellent generalization properties through its accuracy and loss patterns. It shows proper learning rate adjustment due to an initial rapid learning period that transitioned into stable performance. The model maintains equivalent performance between its training and validation phases, indicating it will produce dependable outcomes for fresh data in practical settings. The model achieved nearly perfect final accuracy by successfully extracting the essential features from the well-structured dataset. Reaching this level of accuracy raises doubts about whether the dataset’s simplicity allows easy classifications. Real-life conditions make it challenging to get perfect accuracy because unseen data generally shows increased variability. Testing the model with new independent data would be beneficial to prove its stability range. The loss and accuracy curves indicate proper training execution and suitable model architecture selection, making it possible to assess whether the model falls between correct and incorrect fit areas. Implementing data augmentation and ensembling multiple models alongside hyperparameter optimization can enhance the application’s performance.

5. Conclusions and Future Directions

Stadiums with high population density need optimized fire detection systems and evacuation plans for public safety measures. Traditional fire alarm systems need to detect issues after they occur, before possible emergency responses, leading to longer evacuation times because they detect late. The research aims to solve current problems through predictive fire alarm technology, incorporating optimized evacuation solutions to improve emergency response effectiveness. The research reveals that monitoring environmental sensors in real-time demonstrates how predictive AI models create rapid-fire alerts, leading to better evacuation procedures to cut risks in fire situations. The main conclusion of this investigation reveals that EvacuNet operates as the most effective method for forecasting fire hazards. EvacuNet displayed superior performance above Logistic Regression and Support Vector Machines (SVM), Random Forest, and K-Nearest Neighbors since it captured 99.99% accuracy with F1-score, precision, and recall at 1.00. According to research findings, EvacuNet demonstrates an outstanding capability to identify genuine fire risks from false alarms, thus surpassing standard fire detection systems. False alarms must be reduced in high-occupancy premises because unplanned evacuations result in financial damage, panic, and operational disruptions. The system lowers false alarm occurrences, guiding emergency crews toward relevant security threats.
The research incorporates predictive fire detection methods alongside real-time evacuation planning approaches as its primary academic finding. Through the application of machine learning for crowd movement optimization, the overall evacuation time decreased, and this reduction eliminated congestion that could have led to stampedes. According to this research, real-time fire predictions and adaptive evacuation modeling systems create a congestion prevention system that leads to improved structured and efficient evacuation procedures. The identified findings serve as essential resources for disaster managers, stadium operators, and emergency response teams who depend on data-centric decision systems to enhance public safety operations. According to these findings, predictive fire alarm systems become more effective by incorporating environmental sensor data. The examination included 15 essential ecological measurements from 62,630 sensors, which monitored temperature and humidity and tracked TVOC levels, CO2 emissions, and PM amounts. Such relationships establish the requirement for IoT-based fire detection systems using real-time monitoring to detect developing fire hazards. The deployment of AI-enhanced IoT sensors throughout stadiums and vast public buildings will enhance fire safety, shorten emergency response durations, and boost emergency preparedness. The study reveals extensive consequences of machine learning use in public safety domains. Research has created fundamental principles for upcoming disaster response automation by combining AI fire prediction technology with inventive evacuation systems. The adoption of this solution faces particular obstacles because of its computational needs, difficulty in understanding processor frameworks, and public safety restrictions. Additional research needs to direct efforts toward four critical areas: improving real-time adaptability through reinforcement learning algorithms and model expansion to support different emergency types, including earthquakes and chemical spills.
The research shows that fire alarm prediction and intelligent evacuation systems using AI technology create superior public security measures in high-volume facilities such as stadiums. Real-time sensor monitoring combined with machine learning models and predictive analysis tools allows this method to slash false alarm occurrences and enhance evacuation performance while permitting proactive emergency action. Predictive fire detection systems combined with adaptive crowd management methods create organized evacuation procedures that prevent overcrowding while lowering the number of injuries during emergency responses. Future investigations in emergency response technology must develop IoT systems to partner with adaptive evacuation models trained through reinforcement learning, which alters their response based on dynamic environmental shifts. Research should develop multi-agent simulation frameworks for optimizing large-scale evacuation processes through earthquakes, chemical hazards, and terrorist incidents. Increased deployment of 5G infrastructure alongside edge computing capabilities and automated AI-controlled emergency systems will optimize situational awareness, thus leading to prompt and more precise decision-making. The implementation of AI-enhanced predictive fire detection in combination with smart evacuation frameworks is an essential requirement for reducing time in emergencies, casualty prevention, and enhanced urban sustainability. Modern emergency management systems enhanced by sensor networks, smart navigation systems, and crowd analytics tools will better protect lives in dense urban spaces.

Author Contributions

Conceptualization, A.A.A. and O.B.R.; methodology, A.A.A. and A.A.-B.; writing—original draft preparation, A.A.A., O.B.R. and A.A.-B.; writing—review and editing O.B.R. and A.A.-B.; supervision, O.B.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data is contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Abrar, A.; Kamal, A.S.M.M.; Fahim, A.K.F. Fire risk vulnerability and safety assessment of Farmgate area using fire risk index, Dhaka City and optimization of fire hydrant placement. Prog. Disaster Sci. 2024, 24, 100384. [Google Scholar] [CrossRef]
  2. Choi, C.-H.; Park, S.-W.; Park, J.; Kim, J.-H.; Kim, J.-S.; Yang, H.-S.; Lee, B.-E.; Jung, S.-H.; Sim, C.-B. Prediction and prevention of crowd-crush accidents using crowd-density simulation based on unity engine. Discov. Appl. Sci. 2024, 7, 33. [Google Scholar] [CrossRef]
  3. Mishra, M.; Das, D.; Laurinavicius, A.; Laurinavicius, A.; Chang, B.H. Sectorial Analysis of Foreign Direct Investment and Trade Openness on Carbon Emissions: A Threshold Regression Approach. J. Int. Commer. Econ. Policy 2025, 16, 2550003. [Google Scholar] [CrossRef]
  4. Rana, M.J.; Hasan, M.R.; Sobuz, M.H.R. An investigation on the impact of shading devices on energy consumption of commercial buildings in the contexts of subtropical climate. Smart Sustain. Built Environ. 2022, 11, 661–691. [Google Scholar] [CrossRef]
  5. SP, S.I.; Sathya, D.; Gokulnath, B.V.; Singh, J.; Murugan, T. Deep Learning and AI-Powered Natural Catastrophes Warning Systems. In Utilizing AI and Machine Learning for Natural Disaster Management; Satishkumar, D., Sivaraja, M., Eds.; IGI Global: Hershey, PA, USA, 2024; pp. 274–292. [Google Scholar]
  6. Al-Dahanii, H.; Watson, P.; Giles, D.; Al-Dahanii, H.; Watson, P.; Giles, D. A Geotechnical and Geochemical Characterisation of Oil Fire Contaminated Soils in Kuwait. In Engineering Geology for Society and Territory—Volume 6; Lollino, G., Giordan, D., Thuro, K., Carranza-Torres, C., Wu, F., Marinos, P., Delgado, C., Eds.; Springer International Publishing: Cham, Switzerland, 2015; pp. 249–253. [Google Scholar]
  7. Kirik, E.S.; Vitova, T.B.; Malyshev, A.V.; Popel, E.V.; Kharlamov, E.B.; Moiseichenko, V.A.; Kalinin, E.S.; Smirnov, N.V. Computer simulation of pedestrian dynamics in the design and operation of stadiums. Stroit. Unikal’nyh Zdanij Sooruz. 2021, 94, 9401. [Google Scholar]
  8. Varshini, M. Fire Secure Using Chain Mechanism and IoT. J. Publ. Int. Res. Eng. Manag. (JOIREM) 2024, 10, 1–57. [Google Scholar]
  9. Hossain, M.; Manik, M.M.T.G.; Tiwari, A.; Ferdousmou, J.; Vanu, N.; Debnath, A. Data Analytics for Improving Employee Retention in the U.S. Technology Sector. In Proceedings of the 2024 International Conference on Intelligent Cybernetics Technology & Applications (ICICyTA), Bali, Indonesia, 17–19 December 2024; pp. 344–349. [Google Scholar] [CrossRef]
  10. Hossain, A.; Das, S.; Suha, S.H.; Noor, S.K.; Imran, A.U.; Bin Aziz, M. Exploring the Future of America’s Digital Workspace Solutions. J. Ecohumanism 2025, 4, 301–311. [Google Scholar] [CrossRef]
  11. Al-Otaibi, F.O.; Aldaihani, H.M. Experimental Investigation of the Applicability of Bitumen Stabilized Sabkha Soil as Landfill Liner in Kuwait. Int. Rev. Civ. Eng. (IRECE) 2021, 12, 298–304. [Google Scholar] [CrossRef]
  12. Al-Ajmai, F.F.; Al-Otaibi, F.; Aldaihani, H.M. Effect of type of ground cover on the ground cooling potential for buildings in extreme desert climate. Jordan J. Civ. Eng. 2018, 12, 534–546. [Google Scholar]
  13. Gravit, M.; Kirik, E.; Savchenko, E.; Vitova, T.; Shabunina, D. Simulation of Evacuation from Stadiums and Entertainment Arenas of Different Epochs on the Example of the Roman Colosseum and the Gazprom Arena. Fire 2022, 5, 20. [Google Scholar] [CrossRef]
  14. Rana, J.; Hasan, R.; Sobuz, H.R.; Tam, V.W.Y. Impact assessment of window to wall ratio on energy consumption of an office building of subtropical monsoon climatic country Bangladesh. Int. J. Constr. Manag. 2022, 22, 2528–2553. [Google Scholar] [CrossRef]
  15. Mahmud, F.; Barikdar, C.R.; Hassan, J.; Goffer, M.A.; Das, N.; Orthi, S.M.; Kaur, J.; Hasan, S.N.; Hasan, R. AI-Driven Cybersecurity in IT Project Management: Enhancing Threat Detection and Risk Mitigation. J. Posthumanism 2025, 5, 23–44. [Google Scholar] [CrossRef]
  16. Giannakidou, S.; Radoglou-Grammatikis, P.; Lagkas, T.; Argyriou, V.; Goudos, S.; Markakis, E.K.; Sarigiannidis, P. Leveraging the power of the internet of things and artificial intelligence in forest fire prevention, detection, and restoration: A comprehensive survey. Internet Things 2024, 26, 101171. [Google Scholar] [CrossRef]
  17. Al Mahmud, A.; Mou, J.F.; Zaman, A.M.; Dhar, S.R.; Debnath, A.; Hassan, M.; Sharmin, S. Securing Financial Information in the Digital Age: An Overview of Cybersecurity Threat Evaluation in Banking Systems. J. Ecohumanism 2025, 4, 1508–1517. [Google Scholar] [CrossRef]
  18. Farabi, S.F.; Biswas, B.; Sarkar, M.I.; Mohammad, N.; Alam, M.Z.; Hasan, R.; Abdullah, M. Identifying suspicious internet threat exchanges using machine learning algorithms to ensure privacy and cybersecurity in the USA. J. Infrastruct. Policy Dev. 2024, 8, 8848. [Google Scholar] [CrossRef]
  19. Lin, Q.; Li, Z.; Zeng, K.; Fan, H.; Li, W.; Zhou, X. FireMatch: A semi-supervised video fire detection network based on consistency and distribution alignment. Expert Syst. Appl. 2024, 248, 123409. [Google Scholar] [CrossRef]
  20. Anita, S.; Sukhi, Y.; Jayasree, V.; Anbukkarasi, E.; Jeyashree, Y.; Kavitha, P. Early Fire Detection using SVM based Machine Learning Algorithm. J. Microsyst. IoT 2024, 2, 955–967. [Google Scholar]
  21. Hasan, R.; Biswas, B.; Samiun, M.; Abu Saleh, M.; Prabha, M.; Akter, J.; Joya, F.H.; Abdullah, M. Enhancing malware detection with feature selection and scaling techniques using machine learning models. Sci. Rep. 2025, 15, 9122. [Google Scholar] [CrossRef]
  22. Tan, Q.; Fu, M.; Wang, Z.; Yuan, H.; Sun, J. A real-time early warning classification method for natural gas leakage based on random forest. Reliab. Eng. Syst. Saf. 2024, 251, 110372. [Google Scholar] [CrossRef]
  23. Vylund, L.; Jacobsson, J.; Frykmer, T.; Eriksson, K. Improving Complex Problem-Solving in Emergency Response: A Study of the Fire and Rescue Service in Sweden. Int. J. Disaster Risk Sci. 2024, 15, 867–878. [Google Scholar] [CrossRef]
  24. Minegishi, Y. Tracer observation of egress and way-home crowd behavior at stadiums: From the perspective of crowd control in emergency evacuations. Jpn. Archit. Rev. 2023, 6, e12358. [Google Scholar] [CrossRef]
  25. Oliveira, H.S. Optimizing crowd evacuation: Evaluation of strategies for safety and efficiency. J. Reliab. Intell. Environ. 2024, 11, 2. [Google Scholar] [CrossRef]
  26. Zaman, A.A.U.; Abdelaty, A.; Sobuz, M.H.R. Integration of BIM data and real-time game engine applications: Case studies in construction safety management. J. Inf. Technol. Constr. 2024, 29, 117–140. [Google Scholar] [CrossRef]
  27. Zhang, Q.; Wang, G.; Lin, L.; Xia, K.; Wang, S. Information Cascade Prediction under Public Emergencies: A Survey. arXiv 2024, arXiv:2404.01319. [Google Scholar]
  28. Wu, X.; Zhang, L.; Zhang, T.; Jiang, Q. Analysis of crowd vertical evacuation mechanism under different density conditions. Phys. A Stat. Mech. Its Appl. 2025, 657, 130249. [Google Scholar] [CrossRef]
  29. Lu, Y.; Fan, X.; Zhao, Z.; Jiang, X. Dynamic Fire Risk Classification Prediction of Stadiums: Multi-Dimensional Machine Learning Analysis Based on Intelligent Perception. Appl. Sci. 2022, 12, 6607. [Google Scholar] [CrossRef]
  30. Lu, Y.; Fan, X.; Zhang, Y.; Wang, Y.; Jiang, X. Machine Learning Models Using SHapley Additive exPlanation for Fire Risk Assessment Mode and Effects Analysis of Stadiums. Sensors 2023, 23, 2151. [Google Scholar] [CrossRef]
  31. Sun, Y.; Huang, S.-K.; Zhao, X. Predicting Hurricane Evacuation Decisions with Interpretable Machine Learning Methods. Int. J. Disaster Risk Sci. 2024, 15, 134–148. [Google Scholar] [CrossRef]
  32. Balboa, A.; Cuesta, A.; González-Villa, J.; Ortiz, G.; Alvear, D. Logistic regression vs machine learning to predict evacuation decisions in fire alarm situations. Saf. Sci. 2024, 174, 106485. [Google Scholar] [CrossRef]
  33. Zhang, Y.; Kinateder, M.; Huang, X.; Warren, W.H. Modeling competing guidance on evacuation choices under time pressure using virtual reality and machine learning. Expert Syst. Appl. 2025, 262, 125582. [Google Scholar] [CrossRef]
  34. Ebrahimi, H.; Sattari, F.; Lefsrud, L.; Macciotta, R. A machine learning and data analytics approach for predicting evacuation and identifying contributing factors during hazardous materials incidents on railways. Saf. Sci. 2023, 164, 106180. [Google Scholar] [CrossRef]
  35. Zhang, X.; Chen, X.; Ding, Y.; Zhang, Y.; Wang, Z.; Shi, J.; Johansson, N.; Huang, X. Smart real-time evaluation of tunnel fire risk and evacuation safety via computer vision. Saf. Sci. 2024, 177, 106563. [Google Scholar] [CrossRef]
  36. Li, J.; Hu, Y.; Li, J. Rapid Risk Assessment of Emergency Evacuation Based on Deep Learning. IEEE Trans. Comput. Soc. Syst. 2022, 9, 940–947. [Google Scholar] [CrossRef]
  37. Clever, J.; Abualdenien, J.; Dubey, R.-K.; Borrmann, A. Predicting occupant evacuation times to improve building design. In ECPPM 2022-eWork and eBusiness in Architecture, Engineering and Construction 2022; CRC Press: Boca Raton, FL, USA, 2023; pp. 335–342. [Google Scholar]
  38. Wang, Y.; Chen, J.; Hu, Y.; Weng, X. Modelling and interpreting evacuation time and exit choice for large-scale ancient architectural complex using machine learning. J. Build. Eng. 2023, 80, 108133. [Google Scholar] [CrossRef]
  39. Yang, L.; Ding, N. Evacuation behavior under violent attacks in classrooms based on experiments and interpretable machine learning method. Saf. Sci. 2023, 166, 106243. [Google Scholar] [CrossRef]
  40. Rahman, R.; Hasan, S. A deep learning approach for network-wide dynamic traffic prediction during hurricane evacuation. Transp. Res. Part C Emerg. Technol. 2023, 152, 104126. [Google Scholar] [CrossRef]
  41. Yoo, S.J.; Choi, S.H. Indoor AR Navigation and Emergency Evacuation System Based on Machine Learning and IoT Technologies. IEEE Internet Things J. 2022, 9, 20853–20868. [Google Scholar] [CrossRef]
  42. Sreejith, R.; Sinimole, K.R. Modelling evacuation preparation time prior to floods: A machine learning approach. Sustain. Cities Soc. 2022, 87, 104257. [Google Scholar] [CrossRef]
Figure 1. The overall workflow of this study.
Figure 1. The overall workflow of this study.
Sensors 25 02810 g001
Figure 2. Temperature histograms for stadium fire alarms (“Yes” in red) and non-triggers (“No” in black), with orange KDE for evacuation insights.
Figure 2. Temperature histograms for stadium fire alarms (“Yes” in red) and non-triggers (“No” in black), with orange KDE for evacuation insights.
Sensors 25 02810 g002
Figure 3. Stadium temperature histogram: fire alarms (“Yes” in red) vs. non-triggers (“No” in black), with orange KDE for evacuation risk.
Figure 3. Stadium temperature histogram: fire alarms (“Yes” in red) vs. non-triggers (“No” in black), with orange KDE for evacuation risk.
Sensors 25 02810 g003
Figure 4. Histograms of TVOC for stadium fire alarm triggers (“Yes” in red) and non-triggers (“No” in black), revealing patterns for evacuation decision-making.
Figure 4. Histograms of TVOC for stadium fire alarm triggers (“Yes” in red) and non-triggers (“No” in black), revealing patterns for evacuation decision-making.
Sensors 25 02810 g004
Figure 5. A stacked histogram of stadium TVOC distribution shows fire alarm triggers (“Yes” in red) and non-triggers (“No” in black), indicating TVOC’s role in fire detection for evacuation.
Figure 5. A stacked histogram of stadium TVOC distribution shows fire alarm triggers (“Yes” in red) and non-triggers (“No” in black), indicating TVOC’s role in fire detection for evacuation.
Sensors 25 02810 g005
Figure 6. Histograms of CO2 equivalent for stadium fire alarm triggers (“Yes” in red) and non-triggers (“No” in black), revealing patterns for evacuation decision-making.
Figure 6. Histograms of CO2 equivalent for stadium fire alarm triggers (“Yes” in red) and non-triggers (“No” in black), revealing patterns for evacuation decision-making.
Sensors 25 02810 g006
Figure 7. A stacked histogram of the stadium’s CO2 equivalent concentration shows fire alarm triggers (“Yes” in red) and non-triggers (“No” in black), highlighting CO2’s role in fire detection for evacuation.
Figure 7. A stacked histogram of the stadium’s CO2 equivalent concentration shows fire alarm triggers (“Yes” in red) and non-triggers (“No” in black), highlighting CO2’s role in fire detection for evacuation.
Sensors 25 02810 g007
Figure 8. Pearson correlation heatmap of environmental features.
Figure 8. Pearson correlation heatmap of environmental features.
Sensors 25 02810 g008
Figure 9. Architecture of the proposed model.
Figure 9. Architecture of the proposed model.
Sensors 25 02810 g009
Figure 10. Confusion Matrix for EvacuNet Model.
Figure 10. Confusion Matrix for EvacuNet Model.
Sensors 25 02810 g010
Figure 11. ROC Curve for EvacuNet Model.
Figure 11. ROC Curve for EvacuNet Model.
Sensors 25 02810 g011
Figure 12. Model Performance: Accuracy and Loss Over Training Epochs.
Figure 12. Model Performance: Accuracy and Loss Over Training Epochs.
Sensors 25 02810 g012
Table 1. Model Performance Comparison.
Table 1. Model Performance Comparison.
ModelAccuracy (%)PrecisionRecallF1-Score
Logistic Regression89.54%0.890.900.89
Gaussian Naïve Bayes76.37%0.760.770.72
Bernoulli Naïve Bayes88.18%0.880.880.88
Support Vector Machine94.44%0.950.940.94
Random Forest97.01%0.960.960.98
K-Nearest Neighbors99.93%0.99811.001.00
EvacuNet (Best Model)99.99%1.001.001.00
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alazbah, A.A.; Rabie, O.B.; Al-Barakati, A. Crowd Evacuation in Stadiums Using Fire Alarm Prediction. Sensors 2025, 25, 2810. https://doi.org/10.3390/s25092810

AMA Style

Alazbah AA, Rabie OB, Al-Barakati A. Crowd Evacuation in Stadiums Using Fire Alarm Prediction. Sensors. 2025; 25(9):2810. https://doi.org/10.3390/s25092810

Chicago/Turabian Style

Alazbah, Afnan A., Osama B. Rabie, and Abdullah Al-Barakati. 2025. "Crowd Evacuation in Stadiums Using Fire Alarm Prediction" Sensors 25, no. 9: 2810. https://doi.org/10.3390/s25092810

APA Style

Alazbah, A. A., Rabie, O. B., & Al-Barakati, A. (2025). Crowd Evacuation in Stadiums Using Fire Alarm Prediction. Sensors, 25(9), 2810. https://doi.org/10.3390/s25092810

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop