journal article·2025-10-10Open access

Visual Mamba-Inspired Directionally Gated State-Space Backtracking for Chemical Gas Source Localization

Jooyoung Park, Daehong Min, Sungjin Cho, Donghee Kang, Hyunwoo Nam

Applied Sciences· Volume 15· Issue 20

Abstract

Rapidly pinpointing the origin of accidental chemical gas releases is essential for effective response. Prior vision pipelines—such as 3D CNNs, CNN–LSTMs, and Transformer-based ViViT models—can improve accuracy but often scale poorly as the temporal window grows or winds meander. We cast recursive backtracking of concentration fields as a finite-horizon, multi-step spatiotemporal sequence modelling problem and introduce Recursive Backtracking with Visual Mamba (RBVM), a Visual Mamba-inspired, directionally gated state-space backbone. Each block applies causal, depthwise sweeps along H±, W±, and T± and then fuses them via a learned upwind gate; a lightweight MLP follows. Pre-norm LayerNorm and small LayerScale on both branches, together with a layer-indexed, depth-weighted DropPath, yield stable stacking at our chosen depth, while a 3D-Conv stem and head keep the model compact. Computation and parameter growth scale linearly with the sequence extent and the number of directions. Across a synthetic diffusion corpus and a held-out NBC_RAMS field set, RBVM consistently improves Exact and hit ≤1 over strong 3D CNN, CNN–LSTM, and ViViT baselines, while using fewer parameters. Finally, we show that, without retraining, a physics-motivated two-peak subtraction on the oldest reconstructed frame enables zero-shot dual-source localization. We believe RBVM provides a compact, linear-time, directionally causal backbone for inverse inference on transported fields—useful not only for gas–release source localization in CBRN response but more broadly for spatiotemporal backtracking tasks in environmental monitoring and urban analytics.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Chemical Sensor Technologies · Insect Pheromone Research and Control

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

CompuMath AI, 396 Seochodae-ro, Seocho-gu, Seoul 06619, Republic of Korea

Department of Electronic Engineering, School of Aerospace & Advanced Materials, Sunchon National University, Suncheon 57922, Republic of Korea

Agency for Defense Development, Daejeon 34186, Republic of Korea

Funding

Agency For Defense Development

References (48)

Show source-provided references
1. Jones, R., Lehr, W., Simecek-Beatty, D., and Reynolds, M. (2025, September 29). ALOHA® (Areal Locations of Hazardous Atmospheres) 5.4.4: Technical Documentation, Available online: https://books.google.co.kr/books?id=iR47nwEACAAJ.
2. HPAC model studies of selected Jack Rabbit II (JRII) releases and comparisons to test data10.1016/j.atmosenv.2020.117675 ↗
3. Building gas concentration gridmaps with a mobile robot10.1016/j.robot.2004.05.002 ↗
4. Shi, X., Chen, Z., Wang, H., Yeung, D.Y., Wong, W.K., and Woo, W.C. (2015). Convolutional LSTM network: A machine learning approach for precipitation nowcasting. Adv. Neural Inf. Process. Syst., 28.
5. Yeon, A.S.A., Zakaria, A., Zakaria, S.M.M.S., Visvanathan, R., Kamarudin, K., and Kamarudin, L.M. (2022, January 4–5). Gas source localization via mobile robot with gas distribution mapping and deep neural network. Proceedings of the 2022 2nd International Conference on Electronic and Electrical Engineering and Intelligent System (ICE3IS), Yogyakarta, Indonesia.10.1109/ICE3IS56585.2022.10010251 ↗
6. Source localization for hazardous material release in an outdoor chemical plant via a combination of LSTM-RNN and CFD simulation10.1016/j.compchemeng.2019.03.012 ↗
7. A point-source reconstruction from concentration measurements in low-wind stable conditions10.1002/qj.1921 ↗
8. Localization of a source of hazardous substance dispersion using binary measurements10.1016/j.atmosenv.2016.07.011 ↗
9. Son, J., Kang, M., Lee, B., and Nam, H. (2024). Source localization of the chemical gas dispersion using recursive tracking with transformer. IEEE Access.10.1109/ACCESS.2024.3375884 ↗
10. A survey on vision transformer10.1109/TPAMI.2022.3152247 ↗
11. Jang, H.D., Kwon, S., Nam, H., and Chang, D.E. (2024). Chemical Gas Source Localization with Synthetic Time Series Diffusion Data Using Video Vision Transformer. Appl. Sci., 14.10.3390/app14114451 ↗
12. Feichtenhofer, C., Fan, H., Malik, J., and He, K. (November, January 27). SlowFast Networks for Video Recognition. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
13. Lin, J., Gan, C., and Han, S. (November, January 27). TSM: Temporal Shift Module for Efficient Video Understanding. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
14. Liu, X., Zhang, C., Huang, F., Xia, S., Wang, G., and Zhang, L. (IEEE Trans. Neural Netw. Learn. Syst., 2025). Vision Mamba: A Comprehensive Survey and Taxonomy, IEEE Trans. Neural Netw. Learn. Syst., early access.10.1109/TNNLS.2025.3610435 ↗
15. Gu, A., and Dao, T. (2023). Mamba: Linear-time sequence modeling with selective state spaces. arXiv.
16. Li, S., Singh, H., and Grover, A. (2024). Mamba-nd: Selective state space modeling for multi-dimensional data. European Conference on Computer Vision, Springer Nature.10.1007/978-3-031-73414-4_5 ↗
17. Vmamba: Visual state space model
18. Acceleration of stochastic approximation by averaging10.1137/0330046 ↗
19. Tarvainen, A., and Valpola, H. (2017). Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. Adv. Neural Inf. Process. Syst., 30.
20. Vardi, G., Yehudai, G., and Shamir, O. (2022, January 2–5). Width is less important than depth in ReLU neural networks. Proceedings of the Conference on Learning Theory, London, UK.
21. Poli, M., Massaroli, S., Nguyen, E., Fu, D.Y., Dao, T., Baccus, S., Bengio, Y., Ermon, S., and Ré, C. (2023, January 23–29). Hyena hierarchy: Towards larger convolutional language models. Proceedings of the International Conference on Machine Learning, Honolulu, HI, USA.
22. S4nd: Modeling images and videos as multidimensional signals with state spaces
23. Zhu, L., Liao, B., Zhang, Q., Wang, X., Liu, W., and Wang, X. (2024). Vision mamba: Efficient visual representation learning with bidirectional state space model. arXiv.
24. VideoGasNet: Deep learning for natural gas methane leak classification using an infrared camera10.1016/j.energy.2021.121516 ↗
25. Machine vision for natural gas methane emissions detection using an infrared camera10.1016/j.apenergy.2019.113998 ↗
26. Arnab, A., Dehghani, M., Heigold, G., Sun, C., Lučić, M., and Schmid, C. (2021, January 11–17). Vivit: A video vision transformer. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada.10.1109/ICCV48922.2021.00676 ↗
27. Tarantola, A. (2005). Inverse Problem Theory and Methods for Model Parameter Estimation, Society for Industrial and Applied Mathematics.10.1137/1.9780898717921 ↗
28. Enting, I.G. (2002). Inverse Problems in Atmospheric Constituent Transport, Cambridge University Press.10.1017/CBO9780511535741 ↗
29. A comprehensive meteorological modeling system—RAMS10.1007/BF01025401 ↗
30. NOAA’s HYSPLIT atmospheric transport and dispersion modeling system10.1175/BAMS-D-14-00110.1 ↗
31. The ensemble Kalman filter: Theoretical formulation and practical implementation10.1007/s10236-003-0036-9 ↗
32. Kalnay, E. (2003). Atmospheric Modeling, Data Assimilation and Predictability, Cambridge University Press.10.1017/CBO9780511802270 ↗
33. Physics-informed machine learning10.1038/s42254-021-00314-5 ↗
34. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations10.1016/j.jcp.2018.10.045 ↗
35. Tran, D., Bourdev, L., Fergus, R., Torresani, L., and Paluri, M. (2015, January 7–13). Learning spatiotemporal features with 3d convolutional networks. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.510 ↗
36. Carreira, J., and Zisserman, A. (2017, January 22–29). Quo vadis, action recognition? A new model and the kinetics dataset. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Venice, Italy.10.1109/CVPR.2017.502 ↗
37. Is space-time attention all you need for video understanding?
38. Fan, H., Xiong, B., Mangalam, K., Li, Y., Yan, Z., Malik, J., and Feichtenhofer, C. (2021, January 11–17). Multiscale vision transformers. Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada.10.1109/ICCV48922.2021.00675 ↗
39. Gu, A., Goel, K., and Ré, C. (2021). Efficiently modeling long sequences with structured state spaces. arXiv.
40. Ke, W., and Chan, K.H. (2021). A multilayer CARU framework to obtain probability distribution for paragraph-based sentiment analysis. Appl. Sci., 11.10.3390/app112311344 ↗
41. Mmqw: Multi-modal quantum watermarking scheme10.1109/TIFS.2024.3394768 ↗
42. Van Den Oord, A., Dieleman, S., Zen, H., Simonyan, K., Vinyals, O., Graves, A., Kalchbrenner, N., Senior, A., and Kavukcuoglu, K. (2016). Wavenet: A generative model for raw audio. arXiv.
43. Bai, S., Kolter, J.Z., and Koltun, V. (2018). An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv.
44. Touvron, H., Cord, M., Sablayrolles, A., Synnaeve, G., and Jégou, H. (2021, January 11–17). Going Deeper with Image Transformers. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada.10.1109/ICCV48922.2021.00010 ↗
45. Huang, G., Sun, Y., Liu, Z., Sedra, D., and Weinberger, K.Q. (2016, January 11–14). Deep networks with stochastic depth. Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands.10.1007/978-3-319-46493-0_39 ↗
46. Use of Salt Lake City URBAN 2000 field data to evaluate the urban hazard prediction assessment capability (HPAC) dispersion model10.1175/JAM2205.1 ↗
47. Crank, J. (1979). The Mathematics of Diffusion, Oxford University Press.
48. Seinfeld, J.H., and Pandis, S.N. (2016). Atmospheric Chemistry and Physics: From Air Pollution to Climate Change, Wiley. [3rd ed.].