Architectural Design of a Deep Learning Framework for Real-Time Urban Air Quality Anomaly Detection
DOI:
https://doi.org/10.68012/shem.v2i2.317Keywords:
Deep Learning Architecture, Urban Air Quality, Real-Time Anomaly Detection, Smart City Infrastructure, Sustainable Development GoalsAbstract
The background of this research addresses the escalating environmental crisis caused by rapid urbanization and the urgent need for advanced technological interventions to monitor atmospheric conditions. Rapid industrial growth has led to severe air pollution which directly threatens public health and sustainable development across the globe. Therefore the primary object of this study is the architectural design of a highly efficient predictive framework capable of identifying sudden spikes in air pollution levels across smart city infrastructures. To achieve this the proposed method utilizes a novel deep learning architecture that synergizes one dimensional Convolutional Neural Networks and Long Short Term Memory networks. This combination is specifically designed to extract spatial features from environmental sensors and analyze temporal sequences without relying on extensive empirical datasets or physical surveys. Through the formulation of the algorithm and the presentation of the core source code the theoretical result demonstrates a lightweight yet robust processing pipeline. This architectural blueprint significantly reduces computational overhead while maintaining high precision in anomaly identification during continuous data streaming. Ultimately the conclusion emphasizes that implementing this conceptual design will profoundly impact modern environmental technology. By providing a scalable software foundation for environmental agencies this framework directly supports the global sustainability agenda specifically aligning with the United Nations Sustainable Development Goals by empowering policymakers with proactive tools to mitigate atmospheric degradation and safeguard communities in rapidly growing urban centers worldwide.
Downloads
References
[1] Q. Aini, D. Manongga, U. Rahardja, I. Sembiring, and Y.-M. Li, “Understanding behavioral intention to use of air quality monitoring solutions with emphasis on technology readiness,” International Journal of Human–Computer Interaction, pp. 1–21, 2024.
[2] R. Rakholia, Q. Le, K. Vu, B. Q. Ho, and R. S. Carbajo, “Accurate pm2. 5 urban air pollution forecasting using multivariate ensemble learning accounting for evolving target distributions,” Chemosphere, vol. 364, p. 143097, 2024.
[3] U. Rahardja, Q. Aini, D. Manongga, I. Sembiring, and Y. P. A. Sanjaya, “Enhancing machine learning with low-cost p m2. 5 air quality sensor calibration using image processing,” APTISI Transactions on Management, vol. 7, no. 3, pp. 201–209, 2023.
[4] W. E. Villegas, S. Sanchez-Viteri, and S. Luj´ an-Mora, “Real-time recognition and tracking in urban spaces´ through deep learning: A case study,” IEEE Access, vol. 12, pp. 95599–95612, 2024.
[5] A. W. Kusuma, Y. Jumaryadi, A. Fitriani et al., “Examining the joint effects of air quality, socioeconomic factors on indonesian health,” Aptisi Transactions on Technopreneurship (ATT), vol. 5, no. 2sp, pp. 186– 195, 2023.
[6] N. N. Anjum, S. Sumathi, R. D. Dhayalan, R. Rampavithran, A. J. Anand, and M. Sathiyanarayanan, “Smart sensors for smart city environmental monitoring systems,” in Digital twin, blockchain, and sensor networks in the healthy and mobile city. Elsevier, 2025, pp. 17–33.
[7] L. Sitoay, M. V. A. Sin, S. Riyadi, M. Daeli, and J. Parker, “Smart urban mental health mapping through iot sensor networks and ai analysis,” Journal of Orange Technology, vol. 1, no. 2, pp. 19–28, 2024.
[8] F. A. Alijoyo, “Ai-powered deep learning for sustainable industry 4.0 and internet of things: Enhancing energy management in smart buildings,” Alexandria Engineering Journal, vol. 104, pp. 409–422, 2024.
[9] C. I. Alvarez, C. A. Ulloa Vaca, and N. A. Echeverria Llumipanta, “Machine learning for urban air quality prediction using google alphaearth foundations satellite embeddings: a case study of quito, ecuador,” Remote Sensing, vol. 17, no. 20, p. 3472, 2025.
[10] R. Salam, Q. Aini, B. A. A. Laksminingrum, B. N. Henry, U. Rahardja, and A. A. Putri, “Consumer adoption of artificial intelligence in air quality monitoring: A comprehensive utaut2 analysis,” in 2023 Eighth International Conference on Informatics and Computing (ICIC). IEEE, 2023, pp. 1–6.
[11] Y. Xi, X. Jia, and H. Zhang, “Real-time multimodal route optimization and anomaly detection for crossborder logistics using deep reinforcement learning,” Academia Nexus Journal, vol. 3, no. 3, 2024.
[12] J. Renaud, R. Karam, M. Salomon, and R. Couturier, “Deep learning and gradient boosting for urban environmental noise monitoring in smart cities,” Expert Systems with Applications, vol. 218, p. 119568, 2023.
[13] F. P. Oganda, M. H. R. Chakim, W. E. Septian, E. D. Astuti et al., “User involvement on air quality in incubation rooms in banten-indonesia,” ADI Journal on Recent Innovation, vol. 5, no. 1, pp. 86–92, 2023.
[14] A. Khan and K. Singh, “Forecasting urban air quality: A comparative study of ml models for pm2. 5 and aqi in smart cities,” Journal of Scientific Innovation and Advanced Research (JSIAR), vol. 1, no. 2, pp. 192–199, 2025.
[15] E. El-Shafeiy, M. Alsabaan, M. I. Ibrahem, and H. Elwahsh, “Real-time anomaly detection for water quality sensor monitoring based on multivariate deep learning technique,” Sensors, vol. 23, no. 20, p. 8613, 2023.
[16] Q. Aini, I. Sembiring, A. Setiawan, I. Setiawan, and U. Rahardja, “Perceived accuracy and user behavior: Exploring the impact of ai-based air quality detection application (aiku),” Indonesian Journal of Applied Research (IJAR), vol. 4, no. 3, pp. 209–224, 2023.
[17] S. S. Kumar, R. Chandra, and S. Agarwal, “Rule based complex event processing for an air quality monitoring system in smart city,” Sustainable Cities and Society, vol. 112, p. 105609, 2024.
[18] Y. Wei, J. Jang-Jaccard, W. Xu, F. Sabrina, S. Camtepe, and M. Boulic, “Lstm-autoencoder-based anomaly detection for indoor air quality time-series data,” IEEE Sensors Journal, vol. 23, no. 4, pp. 3787–3800, 2023.
[19] D. Laton, J. Grela, A. O´ zadowicz, and L. Wisniewski, “Artificial intelligence and machine learning ap-˙ proaches for indoor air quality prediction: a comprehensive review of methods and applications,” Energies, vol. 18, no. 19, p. 5194, 2025.
[20] M. Hardini, R. A. Sunarjo, M. Asfi, M. H. R. Chakim, and Y. P. A. Sanjaya, “Predicting air quality index using ensemble machine learning,” ADI Journal on Recent Innovation, vol. 5, no. 1Sp, pp. 78–86, 2023.
[21] T.-P. Nguyen, “Aiot-based indoor air quality prediction for building using enhanced metaheuristic algorithm and hybrid deep learning,” Journal of Building Engineering, vol. 105, p. 112448, 2025.
[22] M. Lamrini, M. Y. Chkouri, and A. Touhafi, “Evaluating the performance of pre-trained convolutional neural network for audio classification on embedded systems for anomaly detection in smart cities,” Sensors, vol. 23, no. 13, p. 6227, 2023.
[23] J. Park, Y. Seo, and J. Cho, “Unsupervised outlier detection for time-series data of indoor air quality using lstm autoencoder with ensemble method,” Journal of Big Data, vol. 10, no. 1, p. 66, 2023.
[24] T. S. Goh, D. Jonas, B. Tjahjono, V. Agarwal, and M. Abbas, “Impact of ai on air quality monitoring systems: A structural equation modeling approach using utaut,” Smart Human-centered Emerging Research in Machine Intelligence, vol. 1, no. 1, pp. 9–19, 2025.
[25] A. A. Aserkar, S. R. Godla, Y. A. Baker El-Ebiary, J. V. Naga Ramesh et al., “Real-time air quality monitoring in smart cities using iot-enabled advanced optical sensors.” International Journal of Advanced Computer Science & Applications, vol. 15, no. 4, p. 840, 2024.
[26] U. Rahardja, Q. Aini, D. Manongga, I. Sembiring, and I. D. Girinzio, “Implementation of tensor flow in air quality monitoring based on artificial intelligence,” International Journal of Artificial Intelligence Research, vol. 6, no. 1, 2023.
[27] S. Tariq, J. Loy-Benitez, and C. Yoo, “Multi-sensor fault detection and correction for automated iaq monitoring in smart buildings through attention-aware autoencoders with spatial prediction module,” Journal of Building Engineering, vol. 96, p. 110573, 2024.
[28] M. Dissem, M. Amayri, and N. Bouguila, “Neural architecture search for anomaly detection in timeseries data of smart buildings: A reinforcement learning approach for optimal autoencoder design,” IEEE Internet of Things Journal, vol. 11, no. 10, pp. 18059–18073, 2024.
[29] O. Alsamrai, M. D. Redel-Macias, and M. Dorado, “Real-time intelligent monitoring of outdoor air quality in an urban environment using iot and machine learning algorithms,” Applied Sciences, vol. 15, no. 16, p. 9088, 2025.
[30] A. Borah, “Deep learning based anomaly detection approach for air pollution assessment,” IEEE Transactions on Big Data, vol. 11, no. 2, pp. 414–425, 2024.
[31] S. B. Veesam, B. T. Rao, Z. Begum, R. L. Patibandla, A. A. Dcosta, S. Bansal, K. Prakash, M. R. I. Faruque, and K. Al-Mugren, “Multi-camera spatiotemporal deep learning framework for real-time abnormal behavior detection in dense urban environments,” Scientific Reports, vol. 15, no. 1, p. 26813, 2025.
[32] O. Yildiz and H. S. Sucuoglu, “Development of real-time iot-based air quality forecasting system using machine learning approach,” Sustainability, vol. 17, no. 19, p. 8531, 2025.
[33] F. Rollo, C. Bachechi, and L. Po, “Anomaly detection and repairing for improving air quality monitoring,” Sensors, vol. 23, no. 2, p. 640, 2023.
[34] J. Han, W. Zhang, H. Liu, and H. Xiong, “Machine learning for urban air quality analytics: A survey,” arXiv preprint arXiv:2310.09620, 2023.
[35] S. Hameed, A. Islam, K. Ahmad, S. B. Belhaouari, J. Qadir, and A. Al-Fuqaha, “Deep learning based multimodal urban air quality prediction and traffic analytics,” Scientific Reports, vol. 13, no. 1, p. 22181, 2023.
[36] S. Kalaiselvi, V. Anitha, V. Manimaran, and T. S. Lawrence, “Air quality prediction using multi-source remote sensing data integration with hybrid deep learning framework,” Scientific Reports, vol. 16, no. 1, p. 2688, 2025.
[37] M. Rajesh, R. G. Babu, U. Moorthy, and S. V. Easwaramoorthy, “Machine learning-driven framework for realtime air quality assessment and predictive environmental health risk mapping,” Scientific reports, vol. 15, no. 1, p. 28801, 2025.
[38] D. B. Pazhanivel, A. N. Velu, and B. S. Palaniappan, “Design and enhancement of a fog-enabled air quality monitoring and prediction system: An optimized lightweight deep learning model for a smart fog environmental gateway,” Sensors, vol. 24, no. 15, p. 5069, 2024.
[39] Q. Aini, U. Rahardja, D. Manongga, I. Sembiring, M. Hardini, and H. Agustian, “Iot-based indoor air quality using esp32,” in 2022 IEEE Creative Communication and Innovative Technology (ICCIT). IEEE, 2022, pp. 1–5.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 James Anderson, Nuke Puji Lestari Santoso, Anandha Fitriani, Aman Jaiswal (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.


