Next Article in Journal
Wildfire Smoke Is Associated with Larger Outdoor–Indoor PM2.5 Difference in U.S. Homes: A Multi-Region Paired-Sensor Analysis, 2019–2024
Previous Article in Journal
Internal Ballistics Simulation of 40 mm Compressed Air Launcher for Fire-Extinguishing Projectiles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Deep Unsupervised Learning for Indoor Fire Detection Using Wi-Fi Signals

by
Sara Mostofi
1,
Fatih Yesevi Okur
1,2,*,
Ahmet Can Altunişik
1,2,3 and
Ertugrul Taciroğlu
4
1
Department of Civil Engineering, Karadeniz Technical University, Trabzon 61080, Türkiye
2
Earthquake and Structural Health Monitoring Research Center, Karadeniz Technical University, Trabzon 61080, Türkiye
3
Dynamic Academy Software Construction Industry Trade Limited Company, Trabzon 61080, Türkiye
4
Civil and Environmental Engineering Department, University of California Los Angeles, Los Angeles, CA 90095, USA
*
Author to whom correspondence should be addressed.
Fire 2026, 9(5), 189; https://doi.org/10.3390/fire9050189
Submission received: 4 March 2026 / Revised: 14 April 2026 / Accepted: 16 April 2026 / Published: 1 May 2026

Abstract

This study proposes a sensor-free approach for indoor fire detection that leverages existing Wi-Fi infrastructure as a passive sensing modality. By extracting Channel State Information (CSI) from prevalent 802.11n Wi-Fi signals and applying an unsupervised deep anomaly detection model, the approach conceptualizes the wireless environment as a sensorless detection field capable of identifying combustion-induced perturbations without requiring any physical sensors. CSI data were collected in both normal and flame-induced states under three combustion conditions (gasoline, wood, plastic), each introducing unique signal perturbations. These data, which exhibit diverse signal perturbations, were used as input to four unsupervised deep anomaly detection architectures: a variational autoencoder (VAE), a 1D convolutional autoencoder (CNN-AE), a long short-term memory autoencoder (LSTM-AE), and a hybrid CNN-LSTM autoencoder. Each architecture was trained exclusively on baseline data to learn compact latent representations of normal signal patterns. Among the evaluated architectures, CNN-AE achieved perfect detection across all scenarios, showing high responsiveness to signal disruptions. LSTM-AE tracks prolonged combustion but struggles with fast-onset anomalies. VAE maintains low error during baseline but misses sharp deviations. These findings validate that Wi-Fi CSI encodes latent combustion features. The method requires no additional sensors and operates on existing signals, enabling scalable smart building integration via lightweight software updates.

1. Introduction

Residential fire safety is a cornerstone of urban sustainability, touching on issues of human safety, infrastructure durability, and economic stability [1,2]. The impacts of residential fires are far-reaching, including loss of life, damage to infrastructure, and long-term financial strain [3,4]. Central to mitigating these consequences is the early detection of ignition and early combustion stages. Early detection governs evacuation timing, suppression system engagement, and emergency service mobilization [5]. A shorter detection latency substantially increases the likelihood of containment and life preservation. As such, recent efforts in fire protection are directed toward minimizing the time lag between fire onset and alarm activation [6,7,8,9].
Residential fire detection generally relies on devices designed to identify early combustion indicators based on heat or smoke [10,11]. While their performance is validated and their usage widespread, they operate on threshold-based activation models that may not pick up the very earliest signs of combustion, sometimes delaying an alarm or triggering a false alarm [12,13]. Moreover, despite being a foundational component of fire protection, fire detection infrastructure remains alarmingly deficient across residential properties. A considerable proportion of residences either lacks detection systems or contains devices that are inoperative or fail to meet minimum standards, posing significant risks to occupants and responders alike [4]. Data from the U.S. Fire Administration indicate that smoke alarms were present in just 33% of fatal residential fires, absent in 25%, and unconfirmed in 42% of cases. Within the subset of homes where alarms were confirmed, only 16% functioned correctly during the fire event. Alarm failure occurred in 7% of those cases, while 11% had unknown operational status. Notably, incidents where fires were too minor to activate the alarm comprised less than 1% of failures [14]. These figures underscore systemic limitations in both the deployment and performance fidelity of residential fire alarm systems.
Although fire codes stipulate alarm installations across residential types from single-family units to multi-dwelling structures, real-world enforcement and device operability are highly variable and difficult to ensure. For larger complexes, requirements extend to centralized, interconnected systems [15]. However, enforcement is especially inconsistent in aging or non-retrofitted dwellings. Older residential buildings, which constitute a substantial fraction of global housing, often face architectural constraints that hinder effective fire detection [16]. Narrow corridors, closed ceilings, and preservation laws make alarm installation disruptive or expensive. Moreover, features like high ceilings and enclosed layouts distort smoke pathways, delaying detector activation [17].
Advancements in video-based fire detection have expanded the field of contactless fire monitoring [18,19]. Vision-based solutions, often integrated into security cameras, utilize deep learning to detect visual signatures of fire, such as smoke trails or flame oscillations [19,20,21,22]. These are particularly effective in expansive or tall spaces where conventional detectors may be delayed. Remote visual confirmation also enhances situational awareness for emergency response. However, vision models demand continuous illumination, unobstructed views, and significant computational resources, often processed on edge or cloud platforms [23,24,25].
Modern frameworks emphasize interoperability, integrating fire detection with existing systems, including HVAC management, and automated suppression systems [26,27,28]. These frameworks employ internet connectivity to link multiple detectors, such as smoke, heat, or multi-sensor, each uniquely identified within the network [6,29,30]. Ming [31] introduced a smart fire intervention suite with optical sensors, all coordinated via Wi-Fi. Ehsan et al. and Lakshmi et al. [9,32] developed wireless fire alarm networks with mobile notification capabilities.
A novel direction in fire detection utilizes ambient Wi-Fi signals as non-contact sensors. The application of Wi-Fi signal analysis has seen significant growth in various fields beyond communications, most notably in security, healthcare, human–computer interaction, and occupancy monitoring. Channel State Information (CSI), derived from pervasive Wi-Fi signals, has demonstrated capabilities in motion tracking [33], human identification [34], and respiratory monitoring [34,35,36]. Its widespread applicability stems from the ubiquity of Wi-Fi and its cost-efficient infrastructure.
In construction, Wi-Fi-enabled systems have addressed safety through unauthorized access monitoring [37] and contactless fall detection via deep learning [38]. Material analysis has similarly benefited, with Convolutional Neural Network (CNN) processing CSI magnitude and phase to identify material thickness, compaction, and moisture content with very high accuracy [39,40]. Studies have confirmed the capabilities of Wi-Fi detection systems for structural health monitoring [41]. Advances in hardware and embedded computing have enabled the deployment of low-cost structural monitoring solutions based on single-board computers such as Raspberry Pi. These platforms support continuous, high-resolution monitoring without degrading data fidelity, representing a practical substitute for high-cost proprietary systems [42].
In parallel, Wi-Fi sensing is being incorporated into fire detection systems to provide efficient, infrastructure-wide hazard alerts. Wi-Fi-based fire detection employs Radio Frequency (RF) emissions from Wi-Fi transmitters as probes of the surrounding environment [43,44]. It leverages changes in CSI, which encapsulates amplitude and phase variations in RF propagation, to infer environmental perturbations caused by fire. These systems offer rapid, non-invasive installation, an advantage particularly relevant for complex or old structures where physical rewiring may be impractical or prohibited. Integration with smart home ecosystems adds convenience. The inherent modularity of Wi-Fi-based platforms allows for seamless expansion and relocation of detection units, avoiding structural disruption. Battery-powered configurations further ensure operational continuity during electrical outages, addressing a critical reliability criterion. Moreover, such systems are well-suited to cost-constrained or spatially restricted environments [45,46], broadening access to high-quality fire monitoring.
Despite its ubiquity, research exploring the utility of Wi-Fi infrastructure for fire detection in residential settings remains in its early stages. The Wi-Fire system by [43] marked one of the earliest demonstrations of passive, device-free fire detection. Leveraging 802.11n hardware, the system extracted thermal signal features through PCA-reduced, denoised CSI streams and employed a Random Forest classifier to detect fire events. Subsequent work by [47] advanced this field by demonstrating temperature profiling through CSI acquired from Raspberry Pi 4B devices, revealing that CSI amplitude tightly correlates with air temperature. Subsequent studies expanded into real combustion scenarios, with CSI collected at up to 1350 fps on both 2.4 and 5 GHz bands. Using Raspberry Pi platforms to sample CSI at high frame rates (up to 1350 fps) across 2.4 and 5 GHz bands, the system recorded RF behavior over flame exposure. By analyzing changes in CSI amplitude and variance, the authors identified distinct amplitude patterns for fire and smoke stages. Their findings support the potential of CSI as a low-cost fire detection tool [44]. In another track [48], ESP32 transceivers were used in a constrained metal-box configuration to localize heat sources with CSI captured at 20 Hz over 64 subcarriers. The top 40 high-variance subcarriers were vectorized and classified using a linear support vector machine to determine active heater positions.
Although current research has contributed to developing Wi-Fi CSI-based fire detection systems, key challenges must be addressed for effective real-world implementation. Most studies have relied on narrowly defined ignition sources, typically flame sources with limited smoke production or thermal variability. These fail to represent the RF-interaction complexity posed by diverse fuel classes such as synthetic polymers or biomass, all of which emit distinct combustion by-products that influence CSI differently. Moreover, many of the current detection systems rely on supervised learning frameworks or fixed-threshold classifiers, which introduce rigidity. These models exhibit lower resilience to untrained fire scenarios and are not fully equipped for dynamic environments. Addressing the challenges of current fire detection systems [49], this study proposes a more robust and scalable solution via unsupervised anomaly detection using autoencoder networks operating on CSI streams from ESP32 Wi-Fi modules. Four deep learning architectures, namely Variational Autoencoder (VAE), Convolutional Autoencoder (CNN-AE), Long Short-Term Memory Autoencoder (LSTM-AE), and a hybrid CNN–LSTM model, are explored due to their proven capabilities in encoding temporal, spatial, and statistical aspects of time-series data [50,51,52,53]. Each model learns to compress normal signal behavior into a latent space and reconstruct input data with minimal loss [54].
The VAE adopts a probabilistic generative framework that learns latent variable distributions, enabling principled anomaly detection through reconstruction likelihoods [55]. The 1D-CNN is optimized for extracting localized spatial regularities within individual time frames, capturing granular sub-patterns. The LSTM-AE, with its recurrent design, captures inter-window temporal structure and long-range dependencies [55,56]. The hybrid CNN–LSTM structure unifies local feature extraction and sequence modeling into a layered hierarchy [53,57], effectively capturing anomalies during the ignition phase, where perturbations are minimal but meaningful. Given the uniquely subtle distortions induced by thermal gradients and scattering effects in the ignition phase [58], the performance of these four architectures is compared to select the most responsive model for early-stage fire detection in indoor environments. The end-to-end pipeline for the CSI-based early fire detection system is illustrated in Figure 1.
As shown in Figure 1, the proposed pipeline for unsupervised anomaly detection begins with CSI signal ingestion, wherein raw CSI sequences are captured under both normal and fire-affected conditions across three distinct scenarios. These high-dimensional sequences are processed using deep autoencoder networks with bottleneck layers to extract compressed latent patterns. During training, reconstruction loss is minimized exclusively on fire-free data, learning the characteristics of the signal under normal conditions. Dropout, smoothing, and adaptive thresholding are incorporated to regularize the training process, suppress transient noise, and dynamically adjust detection sensitivity. Using the CSI data collected under combustion conditions, subtle differences in signal behavior were identified and used to calibrate thresholds. These thresholds were adaptively adjusted to reflect the degree of deviation from the learned normal pattern, thereby improving detection precision under different ignition scenarios. When deployed, the decoder compares each reconstructed sequence with its original counterpart, and the resulting error becomes the key signal for anomaly detection [59,60]. If this reconstruction loss surpasses a threshold across multiple time windows, the input is flagged as anomalous, signaling a combustion event. Based on this analysis, the model demonstrating optimal sensitivity to early fire signatures and superior robustness is selected for the early fire detection alarm system.

2. Methodology

The methodology adopted in this study followed a three-stage pipeline: CSI data acquisition, signal preprocessing, and anomaly-based fire detection using unsupervised deep learning models, as illustrated in Figure 2.
In the first stage, CSI data were collected using two ESP32 modules configured as transmitter (Tx) and receiver (Rx), positioned approximately 2.0 m apart under line-of-sight conditions. Both nodes were elevated 0.5–1.0 m above the floor, and the combustion source was placed near the midpoint of the direct propagation path between them. CSI streams were recorded under two settings:
  • Baseline conditions: collecting CSI under normal conditions with no fire activity, allowing models to learn the normal propagation characteristics of indoor wireless signals.
  • Fire scenarios: recording RF behavior during three controlled combustion events involving gasoline, wood, and plastic that were introduced between the devices to simulate real-world ignition phases.
In the second stage, the raw CSI signals were preprocessed to reduce noise and enhance interpretability. A Hampel filter was used to eliminate outliers caused by hardware or environmental jitter. The cleaned signals were segmented into overlapping time windows, and statistical features, such as mean, standard deviation, and skewness, were computed for each segment. This enabled localized analysis of signal behavior and prepared the data for input into the detection models.
In the final stage, four deep learning models, namely VAE, CNN-AE, LSTM-AE, and a hybrid CNN-LSTM, were trained on fire-free baseline data. These models learned the normal patterns of wireless signal propagation and were tested on fire data to identify anomalies through reconstruction errors. Detection thresholds were dynamically set based on baseline error distributions, enabling the system to flag deviations likely caused by combustion. Each model’s performance was evaluated in terms of detection accuracy, false alarm rate, and robustness across different fire types.

2.1. Data Acquisition and Experimental Setup

The CSI sensing system was configured using two ESP32 microcontrollers and a LattePanda operating on Windows 11. The ESP32 was chosen for its built-in CSI acquisition capabilities, low cost, dual-core 240 MHz processor, and integrated Wi-Fi/BLE functionality, which support both data transmission and on-board inference. It allows access to CSI, which provides subcarrier-level information of amplitude and phase, eliminating the need for specialized hardware to access CSI and allowing real-time data processing or transmission [61]. This helps in capturing the subtle variations in RF propagation induced by thermal gradients and soot particles, and refractive-index fluctuations during combustion events.
The experimental setup, as shown in Figure 3, consists of a Wi-Fi transmitter and receiver placed within a room such that a potential fire source lies in the propagation path between them. Both devices were raised to approximately 0.5–1 m above the ground to minimize ground-induced multipath. One ESP32 device operates as a Wi-Fi transmitter while another ESP32 serves as the CSI receiver. The ESP32 receiver captures CSI for each received Wi-Fi frame by measuring the complex-valued Channel Frequency Response (CFR) across all Orthogonal Frequency Division Multiplexing (OFDM) subcarriers [62]. Formally, the CFR at frequency f and time t, denoted as H(f,t), can be expressed as Equation (1) [44]:
H f , t = H s f , t + k ϵ P a k f e x p ( j 2 π d k 0 + v k t λ )
Here, H ( f , t ) denotes the complex CFR at frequency f and time t, and H s ( f , t ) denotes its static component due to stationary reflectors. P is the set of dynamic propagation paths. For each path k P , a k ( f ) denotes the complex amplitude, d k ( 0 ) the initial propagation-path length at t = 0 , and v k the effective rate of path-length change. Finally, λ denotes the carrier wavelength and j = 1 the imaginary unit. Combustion perturbs the propagation channel through heat, smoke, and refractive-index fluctuations, which alter the dynamic multipath terms and hence the measured CSI.
Fire affects CSI by modifying the RF propagation environment through several coupled physical mechanisms. The heat released during combustion creates strong local temperature and density gradients in air, which alter its refractive index and perturb the propagation paths between the transmitter and receiver. At the same time, smoke particles and combustion by-products introduce additional attenuation and scattering, while the resulting turbulent plume continuously reshapes the multipath structure of the channel. These effects cause measurable changes in CSI amplitude and phase by altering path loss, reflection strength, and path stability [43,63]. Different fuels generate distinct signatures due to variations in heat release and smoke properties, supporting fuel-dependent anomaly detection.
Each CSI sample, per the 802.11n specification, comprises amplitude and phase readings for subcarriers [62]. The analysis in this work prioritizes amplitude data because it provides a more stable and direct indication of fire-induced scattering and attenuation effects in the wireless channel, while avoiding the additional calibration complexity associated with phase data [43,64]. The system incorporated no additional sensing units, relying exclusively on CSI readings from existing Wi-Fi signals. CSI data collection was divided into two phases: baseline and fire event recordings. For baseline data, the environment was monitored under normal conditions (no flame or smoke) for an extended period of 3 h to capture the typical CSI variability from benign environmental changes and hardware noise. This baseline established the “normal” CSI profile for the area.
Subsequently, three controlled fire events were introduced between the ESP32 transmitter and receiver: (1) a gasoline flame for 10 min, (2) a smoldering wood fire for 5 min, and (3) a plastic fire for 10 min (Figure 4). The differing combustion types were selected to induce varying environmental effects such as thermal intensity, particulates, and smoke, and to capture a diverse range of fire-induced signal disturbances. The experimental model assumed the absence of human occupants, representing conditions under which the fire alarm system must operate autonomously to detect an active flame. Each experiment provided a time series of CSI amplitude and phase across subcarriers.
Figure 5 provides a dense visual encoding of combustion-induced RF perturbations, contrasting baseline CSI profiles with those measured during different fire conditions. Unprocessed CSI amplitude readings offered detailed insight into the physical effects of fire on wireless propagation. These raw packets preserved the true per-packet fading signature of the environment. Each vertically offset trace illustrates the subcarrier profile of a single packet, highlighting deviations in amplitude patterns attributable to flame propagation and smoke dynamics.
Across all tested fire types, raw CSI traces revealed how RF propagation responded to combustion properties. The rapid and localized gasoline flame primarily reduced the amplitude of higher-index subcarriers, with minimal overall impact. Wood combustion caused more consistent amplitude suppression across the spectrum and introduced jitter at lower frequencies, likely due to sustained smoke and heat. The plastic fire produced the broadest and most severe signal degradation, consistent with heavy soot and material off-gassing. These unprocessed overlays served as visual indicators of the combustion-induced channel transformations, validating that wood and plastic fires produce clearer spectral signatures within CSI data. The results emphasized that distinct fire types impose materially different propagation dynamics. They underscored the advantage of CSI in identifying broadband fires like plastic and wood, making it promising for early fire detection in residential buildings.

2.2. Preprocessing

The CSI time series underwent preprocessing to reduce noise while maintaining subtle signal deviations associated with combustion events. The initial phase involved application of the Hampel filter, a non-parametric technique recognized for its robustness in outlier detection within Wi-Fi sensing literature [43,44,47]. The Hampel filter is particularly suited for denoising CSI amplitude signals, where short-duration spikes often arise from hardware jitters or RF noise, rather than environmental changes. This method preserves sustained trends while removing impulsive outliers [65]. This distinction is vital in fire detection tasks, where combustion-induced anomalies appear as gradual, low-frequency signal drifts rather than instantaneous transitions.
The Hampel filter operates over a sliding temporal window, where each data point is evaluated against the local median and flagged as an outlier if it deviates by more than a predefined threshold, typically three times the scaled median absolute deviation (MAD). These outliers are substituted with the median value of the corresponding window, thereby mitigating high-frequency noise without disrupting the long-term signal structure [66,67] This method is well-suited for time-series sensor data as it can preserve sustained trends while removing impulsive outliers [67]. Hence, Hampel filtering was used to obtain an interpretable CSI amplitude trace. Once denoised, the CSI data stream is partitioned into fixed-duration windows, enabling localized analysis of temporal dynamics and standardized input to deep learning models. The sampling frequency was set to 1 Hz. Segmentation captured the temporal dynamics of the signal in discrete and manageable segments and standardized the input dimensions for deep autoencoder models. The obtained mean CSI amplitudes after denoising are shown in Figure 6.
To capture statistical irregularities induced by combustion, the probability mass function (PMF) was calculated for CSI amplitude values in each temporal segment. The core premise is that fire-related activity causes measurable shifts in these distributions, driven by changes in the physical channel, especially from thermal scattering, absorption, and dynamic multipath behavior. In higher-temperature fires, ionization may occur, forming localized plasma that disturbs the RF channel further [43]. Figure 7 illustrates the environmental dynamics encoded by the PMF, shift, and spread of CSI responses across subcarriers.
In baseline conditions, the CSI amplitude distributions exhibited compact, unimodal PMFs with minimal variance, indicative of a stable, undisturbed multipath field. However, combustion events introduced substantial spectral deviations. Gasoline broadened the PMF at higher-index subcarriers, reflecting signal degradation from short bursts of combustion gases. Wood fire distributions broadened gradually, demonstrating slow-forming thermal turbulence. Dense smoke and high thermal loads from plastic resulted in more widespread, chaotic PMF structures, which can serve as strong indicators for anomaly detection. Figure 8 shows four subcarriers whose amplitude PMFs undergo notable shifts under combustion. These subcarriers were selected based on the degree of amplitude distribution divergence between the no-fire and three fire conditions, independent of time order. PMF analysis was used for exploratory interpretation of combustion-induced CSI distribution shifts and was not directly used as model input.
In addition, a set of summary statistical features from each window of CSI data was extracted. These included the mean (capturing overall attenuation), standard deviation, interquartile range (IQR) (reflecting spread and signal volatility), skewness and kurtosis (encoding distribution asymmetry and tail behavior), as well as the median and range. Each of these metrics maps to a structural feature of the RF signal, enabling interpretable, low-dimensional embeddings of complex channel dynamics [68]. To encode a stable and informative representation of the wireless channel, CSI amplitudes were temporally averaged across all subcarriers at each timestamp. This leveraged the correlation across tightly spaced subcarriers in 802.11n, reducing dimensionality while retaining global multipath behavior.

2.3. Deep Unsupervised Learning Models

To detect fire-induced anomalies from indoor wireless signals, four unsupervised deep learning architectures including VAE, CNN-AE, LSTM-AE, and CNN-LSTM were implemented. A key technique underlying these models is autoencoder-based anomaly detection, where the model is trained exclusively on normal (non-fire) CSI inputs to accurately reconstruct typical signal patterns. Autoencoder-based anomaly detection was used to learn the normal CSI pattern. For an input sample x i , the encoder h E ( ; θ E ) maps the input to a latent representation z i , and the decoder h D ( ; θ D ) reconstructs the input as x ^ i :
z i = h E ( x i ; θ E ) , x ^ i = h D ( z i ; θ D )
The reconstruction loss used for training the deterministic autoencoder models is defined as Equation (3) [69]:
L r e c ( θ E , θ D ) = 1 N i = 1 N x i x ^ i 2 2
where N is the number of training samples. The encoder and decoder parameters are optimized by minimizing L r e c on fire-free baseline data only.
In practical deployment, when CSI patterns are perturbed by combustion, the reconstruction loss increases. To find the best configuration, a 20-epoch pilot grid search explored combinations of hidden sizes, latent dimensions, and learning rates. Inputs exceeding a predefined threshold were classified as fire-related anomalies. During inference, anomalies were detected by computing the mean squared error (MSE) between the original input and its reconstruction. A statistical threshold, based on a 95% confidence level, separated nominal deviations from true anomalies. During inference, reconstruction errors were smoothed using a moving average, and anomaly scores were thresholded at μ + 1.96 σ of the training reconstruction MSE.
The VAE model was designed to capture probabilistic latent structures in CSI time series. During encoding, input windows were flattened and passed through dense layers that output μ and log σ2. The decoder mirrored this architecture, expanding latent vectors back into the original CSI shape. The model leveraged the reparameterization trick to ensure smooth latent interpolation and prevent overfitting. The decoder reconstructed the original input shape symmetrically by expanding the latent code through mirrored fully connected layers. All input features were standardized based on statistics computed from the initial 80% of a baseline dataset, while the remaining 20% was allocated for validation. Additionally, three independent traces were withheld for final testing. A two-stage grid search was conducted across hidden layer sizes {16, 32, 64}, latent dimensionalities [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32] and learning rates {1 × 10−3, 1 × 10−4}. The final model utilized 64 hidden units, a 17-dimensional latent space, and a learning rate of 0.001. This configuration was trained for 200 epochs with a constant KL-divergence weight of 1.0 and 20% dropout.
The CNN-AE consisted of convolutional layers that act as an encoder, compressing the input into a lower-dimensional latent feature map, followed by deconvolution layers as a decoder that reconstructs the input matrix. The encoder consisted of two convolutional layers (kernel size 3, padding 1), reducing the input down to latent feature map depths of 16, 32, or 64. These layers were interleaved with ReLU activations and 20% dropout to encourage robustness. A mirrored decoder architecture, using transpose convolutions, reconstructed the original input sequence. Sliding windows were constructed identically to prior models. A grid search over parameters similar to VAE guided architectural selection. The final configuration included 64 hidden units, a latent space dimensionality of 17, and a 0.001 learning rate.
The LSTM-AE model was structured around a recurrent architecture. The encoder processed each temporal window through an LSTM layer, after which the final hidden state was projected into a latent vector via a fully connected layer. Consistent with the grid search parameters utilized for the VAE, the latent representation was optimized over combinations of hidden layer sizes, latent dimensionalities, and learning rates. During decoding, this latent vector was replicated across time steps and passed through a second LSTM decoder, culminating in a final linear layer that reconstructed the feature values for each time step. Training followed the same 80/20 data partitioning, normalization on training data, and windowing strategy as previous models. The final model was trained using a 17-dimensional latent space, 64 hidden units, and a learning rate of 0.001.
The CNN–LSTM autoencoder integrated a convolutional encoder for subcarrier feature extraction and an LSTM encoder for sequential modeling. Two convolutional layers with a kernel size of 3 and padding of 1, each followed by a ReLU, acted as the spatial encoder. The resulting map was transposed and fed into an LSTM encoder to capture the sequential dynamics across windows of length 5. The LSTM decoder outputs were then reshaped and passed through the convolutional decoder, a mirrored architecture of the encoder. The model, optimized using Adam with 1 × 10−3 weight decay, achieved stable training with 64 hidden units, 32 latent dimensions, and a learning rate of 0.001.

3. Results and Discussion

Post-training evaluation aimed to assess how well the models generalized to unseen sequences and captured fire-induced signal deviations. The analysis included reconstruction-error patterns (Figure 9), MSE over 200 epochs (Figure 10), and formal anomaly detection metrics, indicative of model utility under deployment conditions, as compared in Table 1. Figure 9 illustrates the smoothed reconstruction error signals for each model, contrasting their behavior under baseline (training/validation) conditions with test sequences involving different fire conditions. The horizontal dashed line represents the data-driven threshold defined as Equation (4):
τ = μtrain + 1.96 σtrain
As demonstrated in Figure 9a, VAE effectively captured wood and plastic fires but exhibited insufficient sensitivity to gasoline-based perturbations. The higher reconstruction noise floor and smoothed latent representation likely contributed to this limitation. Only transient error peaks were observed, resulting in a 14.3% detection rate in that context due to subtle error fluctuations. The CNN-AE maintained a tightly bound baseline error well below its τ, and all fire scenarios produced clear and sustained error excursions above this threshold. This consistent pattern enabled perfect detection across all fire types. LSTM-AE was similarly effective for wood and plastic sequences but missed a small part of gasoline-related anomalies. This can be attributed to its recurrent structure, which smoothed rapid changes and reduced responsiveness to short-lived spikes.
The configured CNN–LSTM attempted to balance spatial and sequential processing, but the model exhibited the highest and most variable baseline error. While combustion events from wood and plastic were detectable, they lacked sufficient error separation for gasoline signals. While the CNN component successfully localized spatial channel perturbations, the LSTM module appears to have over-smoothed these signals during temporal modeling, causing transient anomalies to be suppressed. Figure 10 depicts training and validation losses across the full training cycle, highlighting generalization, error minimization, and overfitting risk for all models.
As shown in Figure 10, the CNN-AE exhibited rapid convergence, reducing training loss from approximately 0.90 to 0.30 and validation loss to 0.35 within the first 50 epochs. Both curves maintained a consistent, narrow gap, indicating rapid feature learning and minimal overfitting. The ability of the CNN-AE to extract local spatial and temporal features with minimal parameter overhead allowed for both fast convergence and high reconstruction accuracy, confirming its suitability for the task. In contrast, the VAE plateaued at a higher error (0.94 train/0.96 val), which is expected due to its prioritization of latent structure over raw reconstruction fidelity. This yielded smooth but less precise reconstructions, reducing sensitivity to short fire bursts. The LSTM-AE showed gradual convergence, with loss curves descending to ~0.80 (train) and ~0.85 (val). The widened gap is indicative of emerging overfitting to specific sequences. The CNN–LSTM exhibited suboptimal learning behavior, with both training and validation losses remaining nearly static throughout the optimization process, indicating that the model failed to meaningfully reduce reconstruction errors.
Model performance in detecting fire-related anomalies and suppressing false positives was evaluated using three indicators commonly used in unsupervised anomaly detection: False Alarm Rate (FAR), Overall Alarm Rate (OAR), and Average Run Length (ARL). FAR is the proportion of baseline (non-fire) windows that are incorrectly classified as anomalies, quantifying the frequency of false positives during normal system operation [70]. OAR denotes the percentage of fire windows correctly identified as anomalies [71]. This metric, which is equivalent to recall, reflects the detection sensitivity. ARL is the mean number of normal windows between two consecutive false alarms [72]. ARL serves as a reliability index and indicates how long the system can run without triggering false alerts. These metrics jointly measured how well each model detected fire-induced anomalies while avoiding false positives during normal conditions. The detection performance of the models is compared in Table 1.
As shown in Table 1, detection performance varied significantly across the four tested models when exposed to fire events from gasoline, wood, and plastic. CNN demonstrated perfect detection (100%) in all test cases, confirming its sensitivity to flame-induced signal disruptions. It also recorded the lowest FAR (3.6%), reflecting excellent stability under normal conditions. With an ARL of 24.3, the model maintained extended intervals between false positives. This performance was likely driven by the ability of the convolutional architecture to encode localized temporal–spectral structures with low reconstruction noise, creating sharp contrasts when anomalies occurred. LSTM-AE captured persistent anomalies (wood 100%, plastic 96.2%) but missed transients (gasoline 71.4%), revealing limited responsiveness to brief, low-intensity events. Its higher baseline jitter (FAR 4.9%, ARL 20.8) further indicated increased baseline noise and reduced stability. Nevertheless, its recurrent design allowed it to effectively capture prolonged anomalies through temporal modeling. In contrast, CNN-LSTM and VAE performed conservatively, excelling on wood and plastic, but underperforming on gasoline anomalies (28.6 and 14.3%, respectively).
Among all scenarios, gasoline fires presented the most challenging classification task due to their transient and subtle CSI distortions. Among all evaluated architectures, only CNN-AE reliably captured these anomalies. Its robust spatial filtering mechanisms yielded clear separation between normal and anomalous reconstructions, unlike the VAE and CNN–LSTM models, which failed to differentiate weak combustion signatures. In scenarios involving wood and plastic, the intensity and duration of CSI disturbances were sufficiently pronounced for all architectures to achieve successful detection. This is physically consistent with combustion behavior that hot gases, smoke aerosols, localized ionization, and turbulence modify the refractive properties of the propagation medium and disrupt the multipath field between the transmitter and receiver. This causes measurable CSI changes through attenuation, scattering, and path instability. The magnitude and duration of these effects vary with fuel type, producing distinct CSI signatures. In the present study, wood and plastic showed more persistent anomalies, likely due to greater smoke production, whereas gasoline caused weaker and shorter-lived channel disturbances.
Although these findings support the sensitivity of CSI to combustion-induced thermal and particulate effects, the individual physical contributions were not isolated in this study. Moreover, the experiments were performed under controlled line-of-sight conditions, with the fire source placed directly along the propagation path and without human activity, obstacles, or external RF interference. Although this configuration was suitable for validating the proposed concept, it represents an idealized environment and therefore limits direct extrapolation to practical residential settings. Future investigations should broaden the framework to include non-line-of-sight and multi-room configurations and incorporate human activity and environmental variability.

4. Conclusions

This study introduced a Wi-Fi-based early fire detection architecture that operated solely on CSI data, eliminating the need for thermal or gas sensors. By leveraging the ubiquity of wireless infrastructure, the framework reduced deployment complexity, expanded spatial coverage, and enabled early detection of combustion events. Exploiting ambient Wi-Fi signals, four unsupervised deep learning models were configured as fire detection systems to identify various combustion types based on perturbations in CSI signals induced by fire dynamics. The detection capabilities of these models were evaluated under three distinct combustion conditions: gasoline, wood, and plastic, each exhibiting different smoke and flame characteristics.
The CNN-AE was the most responsive architecture across all fire conditions. It achieved the best overall detection accuracy, maintained the lowest false alarm rate (3.6%), and posted the highest ARL among the evaluated models. Its 1D convolutional architecture effectively captured localized distortions in CSI signals with high precision. LSTM-AE was effective on slow-developing fires but less responsive to rapid anomalies. The VAE, while stable in normal operations, showed limited responsiveness to abrupt combustion signatures.
The CNN-AE model established a robust, low-latency framework for unsupervised fire detection using CSI from ambient Wi-Fi signals. Its generalization capacity enabled consistent performance across combustion sources with varying thermal and spectral dynamics. The architecture generalized well to diverse fuel types and demonstrated anomaly-resilient encoding properties, while its unsupervised formulation enhanced the scalability of RF-based anomaly systems. The results supported its application in residential safety systems and building automation frameworks.
This study was conducted under controlled conditions, focusing on autonomous fire detection in unoccupied environments. While this setup supports the intended use case, it limits applicability in more complex scenarios. Future work should extend the baseline dataset to include occupant motion and routine activities, thereby improving the precision of the system’s ability to differentiate fire-related anomalies from other environmental disturbances. Additional directions include evaluation across diverse living environments and long-term deployment in real residential buildings to assess robustness under varying structural and interference conditions.

Author Contributions

Conceptualization, F.Y.O. and S.M.; Methodology, F.Y.O., S.M., A.C.A. and E.T.; Software, F.Y.O. and S.M.; Formal analysis, F.Y.O. and S.M.; Investigation, F.Y.O., S.M. and A.C.A.; Resources, F.Y.O., A.C.A. and E.T.; Data curation, F.Y.O. and S.M.; Writing—original draft, S.M.; Writing—review & editing, F.Y.O., S.M., A.C.A. and E.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in the study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Author Ahmet Can Altunişik was employed by the company Dynamic Academy Software Construction Industry Trade Limited Company. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Barua, U.; Mojtahedi, M.; Han, H.; Ansary, M.A.; Resilience, C. Sustainability and Smartness for Building Fire Risk Management. Sustain. Dev. 2025, 33, 1328–1354. [Google Scholar] [CrossRef]
  2. Altın, M.; Kılıçarslan, M.F. Two real room fire and the evaluation of its consequences in terms of fire safety. Case Stud. Therm. Eng. 2023, 44, 102876. [Google Scholar] [CrossRef]
  3. Rahman, F.S.; Tannous, W.K.; Avsar, G.; Agho, K.E.; Ghassempour, N.; Harvey, L.A. Economic Costs of Residential Fires: A Systematic Review. Fire 2023, 6, 399. [Google Scholar] [CrossRef]
  4. Meacham, B.J. Fire safety of existing residential buildings: Building regulatory system gaps and needs. Fire Saf. J. 2023, 140, 103902. [Google Scholar] [CrossRef]
  5. Godes, C.R.; Rodrigazo, S.A.; Cho, J.; Song, Y.; Yeon, J. Optimizing Evacuation Efficiency in Buildings: A BIM-Based Automated Approach to Sustainable Design. Sustainability 2024, 16, 9240. [Google Scholar] [CrossRef]
  6. Jiang, L.; Shi, J.; Wang, C.; Pan, Z. Intelligent control of building fire protection system using digital twins and semantic web technologies. Autom. Constr. 2023, 147, 104728. [Google Scholar] [CrossRef]
  7. Almatared, M.; Liu, H.; Abudayyeh, O.; Hakim, O.; Sulaiman, M. Digital-Twin-Based Fire Safety Management Framework for Smart Buildings. Buildings 2024, 14, 4. [Google Scholar] [CrossRef]
  8. Xie, W.; Zeng, Y.; Zhang, X.; Wong, H.Y.; Zhang, T.; Wang, Z.; Wu, X.; Shi, J.; Huang, X.; Xiao, F.; et al. AIoT-powered building digital twin for smart firefighting and super real-time fire forecast. Adv. Eng. Inform. 2025, 65, 103117. [Google Scholar] [CrossRef]
  9. Ehsan, I.; Mumtaz, A.; Khalid, M.I.; Iqbal, J.; Hussain, S.; Ullah, S.S.; Umar, F. Internet of Things-Based Fire Alarm Navigation System: A Fire-Rescue Department Perspective. Mob. Inf. Syst. 2022, 2022, 3830372. [Google Scholar] [CrossRef]
  10. Ahn, Y.; Choi, H.; Kim, B.S. Development of early fire detection model for buildings using computer vision-based CCTV. J. Build. Eng. 2023, 65, 105647. [Google Scholar] [CrossRef]
  11. Nazir, A.; Mosleh, H.; Takruri, M.; Jallad, A.-H.; Alhebsi, H. Early Fire Detection: A New Indoor Laboratory Dataset and Data Distribution Analysis. Fire 2022, 5, 11. [Google Scholar] [CrossRef]
  12. Gunawaardena, A.E.; Ruwanthika, R.M.M.; Jayasekara, A.G.B.P. Computer vision based fire alarming system. In Proceedings of the 2nd International Moratuwa Engineering Research Conference, MERCon; IEEE: Piscataway, NJ, USA, 2016; Volume 2016, pp. 325–330. [Google Scholar] [CrossRef]
  13. Tannous, W.K. The economic cost of unwanted automatic fire alarms. Fire Saf. J. 2021, 124, 103394. [Google Scholar] [CrossRef]
  14. U.S. Fire Administration—FEMA. Topical Fire Report Series Fatal Fires in Residential Buildings; U.S. Fire Administration—FEMA: Washington, DC, USA, 2022. [Google Scholar]
  15. Minegishi, Y.; Takahashi, W.; Ikehata, Y. Experimental study of occupants’ situational awareness during a fire by sounding of wireless, interconnected alarm smoke detectors at a small-scale hostel that was originally a single-family house. Jpn. Archit. Rev. 2024, 7, e12453. [Google Scholar] [CrossRef]
  16. Kincaid, S. Fire prevention in historic buildings—approaches for safe practice. Hist. Environ. Policy Pract. 2022, 13, 361–380. [Google Scholar] [CrossRef]
  17. Wang, L.; Zhang, X.; Li, L.; Li, B.; Mei, Z. Experimental Study on Early Fire Smoke Characteristics in a High-Volume Space: A Fire Detection Perspective. Fire 2024, 7, 298. [Google Scholar] [CrossRef]
  18. Yuan, F. Video-based smoke detection with histogram sequence of LBP and LBPV pyramids. Fire Saf. J. 2011, 46, 132–139. [Google Scholar] [CrossRef]
  19. Geetha, S.; Abhishek, C.S.; Akshayanat, C.S. Machine Vision Based Fire Detection Techniques: A Survey. Fire Technol. 2021, 57, 591–623. [Google Scholar] [CrossRef]
  20. Muhammad, K.; Ahmad, J.; Mehmood, I.; Rho, S.; Baik, S.W. Convolutional Neural Networks Based Fire Detection in Surveillance Videos. IEEE Access 2018, 6, 18174–18183. [Google Scholar] [CrossRef]
  21. Saponara, S.; Elhanashi, A.; Gagliardi, A. Real-time video fire/smoke detection based on CNN in antifire surveillance systems. J. Real Time Image Process. 2021, 18, 889–900. [Google Scholar] [CrossRef]
  22. Gragnaniello, D.; Greco, A.; Sansone, C.; Vento, B. FLAME: Fire detection in videos combining a deep neural network with a model-based motion analysis. Neural Comput. Appl. 2025, 37, 6181–6197. [Google Scholar] [CrossRef]
  23. Bu, F.; Gharajeh, M.S. Intelligent and vision-based fire detection systems: A survey. Image Vis. Comput. 2019, 91, 103803. [Google Scholar] [CrossRef]
  24. Yar, H.; Khan, Z.A.; Rida, I.; Ullah, W.; Kim, M.J.; Baik, S.W. An efficient deep learning architecture for effective fire detection in smart surveillance. Image Vis. Comput. 2024, 145, 104989. [Google Scholar] [CrossRef]
  25. Yang, X.; Li, Y.; Chen, Q. Automated image-based fire detection and alarm system using edge computing and cloud-based platform. Internet Things 2024, 28, 101402. [Google Scholar] [CrossRef]
  26. Pincott, J.; Tien, P.W.; Wei, S.; Calautit, J.K. Indoor fire detection utilizing computer vision-based strategies. J. Build. Eng. 2022, 61, 105154. [Google Scholar] [CrossRef]
  27. Mondal, M.S.; Prasad, V.; Kumar, R.; Saha, N.; Guha, S.; Ghosh, R.; Mukhopadhyay, A.; Sarkar, S. Automating Fire Detection and Suppression with Computer Vision: A Multi-Layered Filtering Approach to Enhanced Fire Safety and Rapid Response. Fire Technol. 2023, 59, 1555–1583. [Google Scholar] [CrossRef]
  28. Piera, J.Y.; Salva, J.K.G. A Wireless Sensor Network for Fire Detection and Alarm System. In Proceedings of the 2019 7th International Conference on Information and Communication Technology (ICoICT); IEEE: Piscataway, NJ, USA, 2019; pp. 1–5. [Google Scholar]
  29. Yoddumnern, A.; Yooyativong, T.; Chaisricharoen, R. The wifi multi-sensor network for fire detection mechanism using fuzzy logic with IFTTT process based on cloud. In Proceedings of the ECTI-CON 2017—2017 14th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology, Phuket, Thailand, 27–30 June 2017; pp. 785–789. [Google Scholar] [CrossRef]
  30. Shah, R.; Satam, P.; Sayyed, M.A.; Salvi, P. Wireless Smoke Detector and Fire Alarm System. Int. Res. J. Eng. Technol. 2019, 6, 1407–1412. Available online: https://www.irjet.net/archives/V6/i1/IRJET-V6I1258.pdf (accessed on 24 October 2025).
  31. Ming, X.-C. Smart Fire Rescue System Design Based on WI-FI Mode. DEStech Trans. Comput. Sci. Eng. 2017. [Google Scholar] [CrossRef]
  32. Lakshmi, G.; Akash, T.; Gowtham, J.; Venkatesh, R.; Abhinesh, S.B. Revolutionizing Home Fire Safety: IoT-Based Wireless Fire Alarm System for Easy Installation and Rapid Response. In Proceedings of the 2023 Intelligent Computing and Control for Engineering and Business Systems, ICCEBS 2023; IEEE: Piscataway, NJ, USA, 2023. [Google Scholar] [CrossRef]
  33. Wu, D.; Zeng, Y.; Gao, R.; Li, S.; Li, Y.; Shah, R.C.; Lu, H.; Zhang, D. WiTraj: Robust Indoor Motion Tracking with WiFi Signals. IEEE Trans. Mob. Comput. 2023, 22, 3062–3078. [Google Scholar] [CrossRef]
  34. Zhang, Y.; Wang, X.; Wen, J.; Zhu, X. WiFi-based non-contact human presence detection technology. Sci. Rep. 2024, 14, 3605. [Google Scholar] [CrossRef]
  35. Guo, Z.; Yuan, W.; Gui, L.; Sheng, B.; Xiao, F. BreatheBand: A Fine-grained and Robust Respiration Monitor System Using WiFi Signals. ACM Trans. Sens. Netw. 2023, 19, 3582079. [Google Scholar] [CrossRef]
  36. Bao, N.; Du, J.; Wu, C.; Hong, D.; Chen, J.; Nowak, R.; Lv, Z. Wi-Breath: A WiFi-Based Contactless and Real-Time Respiration Monitoring Scheme for Remote Healthcare. IEEE J. Biomed. Health Inform. 2023, 27, 2276–2285. [Google Scholar] [CrossRef] [PubMed]
  37. Naticchia, B.; Vaccarini, M.; Carbonari, A. A monitoring system for real-time interference control on large construction sites. Autom. Constr. 2013, 29, 148–160. [Google Scholar] [CrossRef]
  38. Guo, R.; Li, H.; Han, D.; Liu, R. Feasibility Analysis of Using Channel State Information (CSI) Acquired from Wi-Fi Routers for Construction Worker Fall Detection. Int. J. Environ. Res. Public Health 2023, 20, 4998. [Google Scholar] [CrossRef]
  39. Stojanović, G.; Radovanović, M.; Malešev, M.; Radonjanin, V. Monitoring of Water Content in Building Materials Using a Wireless Passive Sensor. Sensors 2010, 10, 4270–4280. [Google Scholar] [CrossRef]
  40. Gacem, M.A.; Zakaria, A.S.; Ismail, M.H.; Tariq, U.; Yehia, S. Measurement of Construction Materials Properties Using Wi-Fi and Convolutional Neural Networks. IEEE Access 2022, 10, 126100–126116. [Google Scholar] [CrossRef]
  41. Morgenthal, G.; Eick, J.F.; Rau, S.; Taraben, J. Wireless Sensor Networks Composed of Standard Microcomputers and Smartphones for Applications in Structural Health Monitoring. Sensors 2019, 19, 2070. [Google Scholar] [CrossRef]
  42. Toledo, E.; Cury, A.; Landre, J. Assessment of low-cost wireless sensors for structural health monitoring applications. Rev. IBRACON Estrut. Mater. 2021, 14, e14213. [Google Scholar] [CrossRef]
  43. Zhong, S.; Huang, Y.; Ruby, R.; Wang, L.; Qiu, Y.X.; Wu, K. Wi-fire: Device-free fire detection using WiFi networks. In Proceedings of the IEEE International Conference on Communications; IEEE: Piscataway, NJ, USA, 2017. [Google Scholar] [CrossRef]
  44. Li, J.; Sharma, A.; Mishra, D.; Seneviratne, A. Fire Detection Using Commodity WiFi Devices. In Proceedings of the 2021 IEEE Global Communications Conference (GLOBECOM); IEEE: Piscataway, NJ, USA, 2022; pp. 1–6. [Google Scholar] [CrossRef]
  45. Sharp, I.; Yu, K. Indoor WiFi Positioning. In Wireless Positioning: Principles and Practice; Navigation: Science and Technology; Springer: Singapore, 2019; pp. 219–240. [Google Scholar] [CrossRef]
  46. Wang, W.H.; Wang, B.; Hu, Y.; Zhu, G.; Liu, K.J.R. Passive WiFi-Based Indoor Localization Through Multi-Domain Features. In Proceedings of the 2024 IEEE 10th World Forum on Internet of Things, WF-IoT; IEEE: Piscataway, NJ, USA, 2024; pp. 530–535. [Google Scholar] [CrossRef]
  47. Li, J.; Sharma, A.; Mishra, D.; Seneviratne, A. Thermal Profiling by WiFi Sensing in IoT Networks. In Proceedings of the IEEE Global Communications Conference, GLOBECOM; IEEE: Piscataway, NJ, USA, 2021. [Google Scholar] [CrossRef]
  48. Li, J.; Yingchanakiate, K.; Mishra, D.; Seneviratne, A. Thermal Source Localization Using WiFi Sensing. In Proceedings of the 2024 IEEE Global Communications Conference (GLOBECOM 2024); IEEE: Piscataway, NJ, USA, 2024; pp. 1875–1880. [Google Scholar] [CrossRef]
  49. Yuvaraj, R.; Bhalerao, S.A.; Murugesan, K.; Vellaiyan, S.; Van Minh, N. Real-time fire detection and suppression system using YOLO11n and Raspberry Pi for thermal safety applications. Case Stud. Therm. Eng. 2025, 75, 107159. [Google Scholar] [CrossRef]
  50. Ahmed, H.F.T.; Ahmad, H.; Phang, S.K.; Harkat, H.; Narasingamurthi, K. Wi-Fi CSI Based Human Sign Language Recognition using LSTM Network. In Proceedings of the 2021 IEEE International Conference on Industry 4.0, Artificial Intelligence, and Communications Technology, IAICT; IEEE: Piscataway, NJ, USA, 2021; pp. 51–57. [Google Scholar] [CrossRef]
  51. Lin, S.; Clark, R.; Birke, R.; Schonborn, S.; Trigoni, N.; Roberts, S. Anomaly Detection for Time Series Using VAE-LSTM Hybrid Model, ICASSP. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Barcelona, Spain, 4–8 May 2020; pp. 4322–4326. [Google Scholar] [CrossRef]
  52. Sruthi, P.; Udgata, S.K. Wi-Fi sensing based person identification and activity recognition using two-phase deep learning model. Eng. Appl. Artif. Intell. 2024, 132, 107904. [Google Scholar] [CrossRef]
  53. Hoang, M.T.; Yuen, B.; Ren, K.; Dong, X.; Lu, T.; Westendorp, R.; Reddy, K. A CNN-LSTM Quantifier for Single Access Point CSI Indoor Localization. arXiv 2020, arXiv:2005.06394. [Google Scholar] [CrossRef]
  54. Pereira, J.; Silveira, M. Unsupervised Anomaly Detection in Energy Time Series Data Using Variational Recurrent Autoencoders with Attention. In Proceedings of the 17th IEEE International Conference on Machine Learning and Applications, ICMLA; IEEE: Piscataway, NJ, USA, 2018; pp. 1275–1282. [Google Scholar] [CrossRef]
  55. Aparna, G.B.; Poulose, A. Human Activity Recognition via Wi-Fi CSI and VAE-CNN-BiLSTM Hybrid Deep Learning. In Proceedings of 2024 International Conference on Brain Computer Interface and Healthcare Technologies, ICon-BCIHT; IEEE: Piscataway, NJ, USA, 2024; pp. 64–69. [Google Scholar] [CrossRef]
  56. Malhotra, P.; Ramakrishnan, A.; Anand, G.; Vig, L.; Agarwal, P.; Shroff, G. LSTM-based Encoder-Decoder for Multi-sensor Anomaly Detection. arXiv 2016, arXiv:1607.00148. [Google Scholar]
  57. Khanmohammadi, F.; Azmi, R. Time-Series Anomaly Detection in Automated Vehicles Using D-CNN-LSTM Autoencoder. IEEE Trans. Intell. Transp. Syst. 2024, 25, 9296–9307. [Google Scholar] [CrossRef]
  58. Dewor, R.; Schulz, C.; Büttgen, R.D.; Brands, T.; Heufer, K.A.; Koß, H.J. Development of the first Raman scattering thermometry during the first stage ignition in a rapid compression machine and determination of detection limits for NO-LIF. Appl. Energy Combust. Sci. 2023, 16, 100228. [Google Scholar] [CrossRef]
  59. Üstek, İ.; Arana-Catania, M.; Farr, A.; Petrunin, I. Deep Autoencoders for Unsupervised Anomaly Detection in Wildfire Prediction. Earth Space Sci. 2024, 11, e2024EA003997. [Google Scholar] [CrossRef]
  60. Rassam, M.A. Autoencoder-Based Neural Network Model for Anomaly Detection in Wireless Body Area Networks. IoT 2024, 5, 852–870. [Google Scholar] [CrossRef]
  61. Introduction to ESP-CSI Solution—Technical Documents, Shanghai, 2016. Available online: https://docs.espressif.com/projects/esp-techpedia/en/latest/ESP-Techpedia-en-master.pdf (accessed on 10 September 2025).
  62. Hutar, M.; Brida, P.; MacHaj, J. Performance of MLP NN Using CSI and Different Standard IEEE 802.11 with Variable Channel Width. In Proceedings of the 34th International Conference Radioelektronika, Zilina, Slovakia, 17–18 April 2024. [Google Scholar] [CrossRef]
  63. Dissanayake, C.M.; Halgamuge, M.N.; Ramamohanarao, K.; Moran, B.; Farrell, P. The signal propagation effects on IEEE 802.15.4 radio link in fire environment. In Proceedings of the 2010 Fifth International Conference on Information and Automation for Sustainability; IEEE: Piscataway, NJ, USA, 2010; pp. 411–414. [Google Scholar] [CrossRef]
  64. Dang, X.; Si, X.; Hao, Z.; Huang, Y. A Novel Passive Indoor Localization Method by Fusion CSI Amplitude and Phase Information. Sensors 2019, 19, 875. [Google Scholar] [CrossRef]
  65. Zhang, D.; Yao, L.; Chen, K.; Huang, C.; Awad, H.; Ali, H.; Seytnazarov, S. Human Walking Direction Detection Using Wireless Signals, Machine and Deep Learning Algorithms. Sensors 2023, 23, 9726. [Google Scholar] [CrossRef]
  66. Schäfer, J.; Barrsiwal, B.R.; Kokhkharova, M.; Adil, H.; Liebehenschel, J. Human Activity Recognition Using CSI Information with Nexmon. Appl. Sci. 2021, 11, 8860. [Google Scholar] [CrossRef]
  67. Pearson, R.K.; Neuvo, Y.; Astola, J.; Gabbouj, M. Generalized Hampel Filters. EURASIP J. Adv. Signal Process. 2016, 2016, 87. [Google Scholar] [CrossRef]
  68. Wu, K.; Zhong, S.; Wang, L. Indoor Fire Detection and Alarm Method and System Based on Wireless Network Signal Transmission. Patent WO2017117910A1, 13 July 2017. [Google Scholar]
  69. Okur, F.Y.; Altunişik, A.C.; Okur, E.K. A Novel Approach for Anomaly Detection in Vibration-Based Structural Health Monitoring Using Autoencoders in Deep Learning. Struct. Control Health Monit. 2025, 2025, 5602604. [Google Scholar] [CrossRef]
  70. Reehorst, E.T.; Schniter, P. Score Combining for Contrastive OOD Detection. arXiv 2025, arXiv:2501.12204. [Google Scholar] [CrossRef]
  71. Laxhamma, R. Anomaly Detection in Trajectory Data for Surveillance Applications. Ph.D. Thesis, Örebro University, Örebro, Sweden, 2011. [Google Scholar]
  72. Fisch, A.T.M.; Bardwell, L.; Eckley, I.A. Real time anomaly detection and categorisation. Stat. Comput. 2022, 32, 55. [Google Scholar] [CrossRef]
Figure 1. The proposed early-stage fire detection system.
Figure 1. The proposed early-stage fire detection system.
Fire 09 00189 g001
Figure 2. Overview of the study.
Figure 2. Overview of the study.
Fire 09 00189 g002
Figure 3. Experimental setup.
Figure 3. Experimental setup.
Fire 09 00189 g003
Figure 4. Fire tests and CSI acquisition.
Figure 4. Fire tests and CSI acquisition.
Fire 09 00189 g004
Figure 5. Pure packet values across baseline and fire conditions.
Figure 5. Pure packet values across baseline and fire conditions.
Fire 09 00189 g005
Figure 6. Denoised CSI amplitudes.
Figure 6. Denoised CSI amplitudes.
Fire 09 00189 g006
Figure 7. PMF-based CSI amplitude shifts under different conditions.
Figure 7. PMF-based CSI amplitude shifts under different conditions.
Fire 09 00189 g007
Figure 8. Top amplitude distribution shifts across no-fire and fire events.
Figure 8. Top amplitude distribution shifts across no-fire and fire events.
Fire 09 00189 g008
Figure 9. Reconstruction error timelines.
Figure 9. Reconstruction error timelines.
Fire 09 00189 g009aFire 09 00189 g009b
Figure 10. MSE over 200 epochs for the evaluated anomaly detection models.
Figure 10. MSE over 200 epochs for the evaluated anomaly detection models.
Fire 09 00189 g010
Table 1. Detection comparison across all models.
Table 1. Detection comparison across all models.
ModelTest 1:
Gasoline
Test 2:
Wood
Test 3: PlasticFAR (%)OAR (%)ARL
VAE14.3100.096.24.086.023.8
CNN-AE100.0100.0100.03.6100.024.3
LSTM-AE71.4100.096.24.994.020.8
CNN-LSTM28.6100.096.25.588.016.9
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

Mostofi, S.; Okur, F.Y.; Altunişik, A.C.; Taciroğlu, E. Deep Unsupervised Learning for Indoor Fire Detection Using Wi-Fi Signals. Fire 2026, 9, 189. https://doi.org/10.3390/fire9050189

AMA Style

Mostofi S, Okur FY, Altunişik AC, Taciroğlu E. Deep Unsupervised Learning for Indoor Fire Detection Using Wi-Fi Signals. Fire. 2026; 9(5):189. https://doi.org/10.3390/fire9050189

Chicago/Turabian Style

Mostofi, Sara, Fatih Yesevi Okur, Ahmet Can Altunişik, and Ertugrul Taciroğlu. 2026. "Deep Unsupervised Learning for Indoor Fire Detection Using Wi-Fi Signals" Fire 9, no. 5: 189. https://doi.org/10.3390/fire9050189

APA Style

Mostofi, S., Okur, F. Y., Altunişik, A. C., & Taciroğlu, E. (2026). Deep Unsupervised Learning for Indoor Fire Detection Using Wi-Fi Signals. Fire, 9(5), 189. https://doi.org/10.3390/fire9050189

Article Metrics

Back to TopTop