TY - JOUR
T1 - SemaFire-YOLO
T2 - A Lightweight and Robust Fire-Smoke Detection Model via Semantic Enhancement and Frequency-Aware Perception
AU - Pei, Jiaxu
AU - Zhang, Ruihuan
AU - Yan, Hualong
AU - Hao, Yulu
AU - Huang, Yu
AU - Xiao, Jin
N1 - Publisher Copyright:
© 2026 by the authors.
PY - 2026/7
Y1 - 2026/7
N2 - Accurate detection in the early stages of a fire is a crucial prerequisite for the efficient implementation of fire suppression and emergency rescue operations. Its accuracy and timeliness directly affect the control of disaster loss severity. Traditional fire detection methods mainly include three categories, which are manual inspection, sensor detection, and visual recognition. However, manual inspection is restricted by labor costs and time efficiency, making it difficult to achieve large-scale, high-frequency and real-time fire monitoring. Sensor detection is easily interfered by environmental factors such as temperature, humidity, and dust, leading to frequent false alarms and missed alarms. Visual recognition technology has shortcomings in aspects such as detailed feature perception, dynamic scene modeling, and reasoning robustness in complex environments, making it difficult to meet the requirements of high-precision detection. To address these issues, this study innovatively proposes a lightweight fire and smoke detection model based on semantic enhancement and frequency domain perception modeling, which is named the SemaFire you only look once (SemaFire-YOLO) model. The model constructs a large language and vision assistant (LLaVA) semantic guidance module, which uses a large language model to understand and guide the semantic features of images, thereby enhancing the saliency representation intensity of small and weak target regions. Then, a Haar wavelet-based downsampling module is adopted, which compresses spatial information while preserving high-frequency features such as flame edges and smoke textures, improving the accuracy of target recognition. Next, the convolution modulation mechanism is introduced to replace the traditional attention mechanism, enhancing the overall modeling efficiency and reducing computational overhead. Finally, a Dynamic Tanh normalization module is adopted to replace the batch normalization module in the traditional YOLO algorithm, strengthening the model’s representation stability and reasoning robustness under unstable input distributions. Experimental results show that the SemaFire-YOLO model achieves a mean average precision (mAP@0.5) of 64.30% on the fire image dataset, which is 0.8, 2.0, 0.6, and 3.8 percentage points higher than that of mainstream models such as YOLOv5n, YOLOv8n, YOLOv11n, and YOLOv12n, respectively. It exhibits better boundary detection capability and practical deployment potential. Through visual analysis, the results indicate that the improved SemaFire-YOLO model achieves more accurate detection and higher confidence in actual complex scenarios, further verifying the model’s robustness and accuracy in complex scenarios such as low contrast and dynamic fire conditions.
AB - Accurate detection in the early stages of a fire is a crucial prerequisite for the efficient implementation of fire suppression and emergency rescue operations. Its accuracy and timeliness directly affect the control of disaster loss severity. Traditional fire detection methods mainly include three categories, which are manual inspection, sensor detection, and visual recognition. However, manual inspection is restricted by labor costs and time efficiency, making it difficult to achieve large-scale, high-frequency and real-time fire monitoring. Sensor detection is easily interfered by environmental factors such as temperature, humidity, and dust, leading to frequent false alarms and missed alarms. Visual recognition technology has shortcomings in aspects such as detailed feature perception, dynamic scene modeling, and reasoning robustness in complex environments, making it difficult to meet the requirements of high-precision detection. To address these issues, this study innovatively proposes a lightweight fire and smoke detection model based on semantic enhancement and frequency domain perception modeling, which is named the SemaFire you only look once (SemaFire-YOLO) model. The model constructs a large language and vision assistant (LLaVA) semantic guidance module, which uses a large language model to understand and guide the semantic features of images, thereby enhancing the saliency representation intensity of small and weak target regions. Then, a Haar wavelet-based downsampling module is adopted, which compresses spatial information while preserving high-frequency features such as flame edges and smoke textures, improving the accuracy of target recognition. Next, the convolution modulation mechanism is introduced to replace the traditional attention mechanism, enhancing the overall modeling efficiency and reducing computational overhead. Finally, a Dynamic Tanh normalization module is adopted to replace the batch normalization module in the traditional YOLO algorithm, strengthening the model’s representation stability and reasoning robustness under unstable input distributions. Experimental results show that the SemaFire-YOLO model achieves a mean average precision (mAP@0.5) of 64.30% on the fire image dataset, which is 0.8, 2.0, 0.6, and 3.8 percentage points higher than that of mainstream models such as YOLOv5n, YOLOv8n, YOLOv11n, and YOLOv12n, respectively. It exhibits better boundary detection capability and practical deployment potential. Through visual analysis, the results indicate that the improved SemaFire-YOLO model achieves more accurate detection and higher confidence in actual complex scenarios, further verifying the model’s robustness and accuracy in complex scenarios such as low contrast and dynamic fire conditions.
KW - convolutional modulation
KW - dynamic normalization
KW - fire detection
KW - large language model
KW - smoke recognition
KW - wavelet transform
KW - YOLO
UR - https://www.scopus.com/pages/publications/105045987633
U2 - 10.3390/fire9070303
DO - 10.3390/fire9070303
M3 - 文章
AN - SCOPUS:105045987633
SN - 2571-6255
VL - 9
JO - Fire
JF - Fire
IS - 7
M1 - 303
ER -