arXiv:2610.20141cs.CVOct 2026

Manuscript Offprint

arXiv:2610.20141

Attention-Based Spatio-Temporal Approach for Fire and Smoke Detection

Alireza Mirrashid, Mohammad Khoshbin, Ali Atghaei, Hassan Shahbazi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

A. Mirrashid, M. Khoshbin, A. Atghaei, H. Shahbazi

Abstract—In various industries, smoke and fire are two of the most important threats in the workplace. One of the common methods for detecting smoke and fire is the use of infrared thermal and smoke sensors, which cannot be used in outdoor applications. Therefore, the use of vision-based methods seems necessary. The problem of smoke and fire detection is spatiotemporal and requires spatiotemporal solutions. This paper presents a method that uses spatial features along with temporal-based features to detect smoke and fire in the scene. It consists of three main parts; the task of each part is to reduce the error of the previous part so that the final model has a robust performance. This method also uses transformer modules to increase the accuracy of the model. The results of our model show the proper performance of the proposed approach in solving the problem of smoke and fire detection and can be used to increase workplace safety.

Keywords—Attention, fire detection, smoke detection, spatiotemporal.

I. INTRODUCTION

WITH the expansion of industrial environments, the detection of smoke and fire in its early stages, especially in areas where it is not possible to install thermal sensors is necessary to mitigate fire and smoke threads and ensure the environment's safety.

Older methods of detecting smoke and fire were based on color, texture, and motion characteristics. Despite the simplicity and high speed of these algorithms and the lack of need for a lot of data to design them, their operational problems such as false alarms or high miss detection, make them not practical to use.

Recently, with the development of deep learning methods and the expansion of available data, deep learning-based methods [1]−[4][1]-[4] have been used widely. Most of these methods decide on the presence or absence of smoke and fire based on the image, which makes it impossible to properly distinguish smoke and fire from similar objects such as the sun and street lights. Therefore, in order to be able to better detect and reduce the error of the detection model, it is necessary to study the behavior in the time domain in addition to appearance features. The problem in this area is the lack of proper data and the variety and low speed of models with video input, which in practice makes them difficult to use.

In this paper, the smoke and fire detection process is designed in such a way that the final model has high speed and accuracy. For this purpose, a large dataset of images and videos related to smoke and fire has been collected and the models have been trained based on this dataset. Also, the module placement process is such that each model simultaneously reduces the computational complexity of the next model and its errors so that the final model is operational. The method presented in this paper is a combination of the methods mentioned. In a way, conventional image processing algorithms are used first to determine the candidate areas of smoke and fire, and then these areas are identified as input to the model to detect smoke and fires in these areas. Finally, in order to reduce the false alarm error of the detection model, a spatiotemporal model is applied to the sequence of candidate frames resulting from the previous two modules to correct its class. Also, the model is presented in such a way that it has the ability to detect smoke and fire with different dimensions and shapes.

The main contributions of this paper are as follows:

  1. Considering both the chromatic and dynamic features of fire and smoke in the scene

  2. Building a module to reduce errors and increase model decision reliability using transformers.

  3. Reducing the computational complexities of the model by using three different modules.

This paper is organized as follows: Section II briefly reviewed some previous related works. The proposed method is presented in Section III. In Section IV, experimental results of the model are provided. Finally, the conclusion of this paper is presented in Section V.

References (32)