Knowledge-Aware Klima Intelligence: A Logic-Guided Attention Optimized Framework for Air Quality Prediction in IoT-Smart City Systems
DOI:
https://doi.org/10.55003/ETH.430407Keywords:
Air Quality Prediction, Smart City, Internet of Things (IoT), Deep Learning, OptimizationAbstract
Air quality prediction is one of the most important components of the IoT-based smart city systems since the excessive urbanization and industrialization led to the increase in pollution of the air, which is a severe hazard of human well-being and environment. Proper and timely forecasting of air quality is able to provide a proactive control of the pollution, an early warning and even planning of cities. Even though some advances have been achieved, some of the challenges to current air quality prediction models include existence of noisy and heterogeneous data of IoT sensors, lack of capability to capture complex spatio-temporal dependencies, high computation and poor integration of domain knowledge. In order to overcome these flaws, in the current paper, a novel model is proposed and called Logic-guided Attention Knowledge-aware Klima Analytics (LAKKA) to the smart air quality prediction. In the proposed model, logic-guided constraints are used with the attention-based deep learning that involves domain information in pollutant-meteorological interactions to increase interpretability and stability. In addition, the other hybrid optimization method is recommended, which is the ZebraAlgae Scale Optimizer (ZASO), which theorizes the positional encoding scale estimation of the Transformer architecture in an adaptive way. The LAKKA-ZASO framework has been experimentally tested to be effective on a large scale. The model is characterized by a high prediction accuracy 99% and a high level of precision and F1-score as compared to the existing methods with low computational time.
References
[1] M. Njaime, F. Abdallah, H. Snoussi, J. Akl, K. Chaaban, and H. Omrani, “Transfer learning based solution for air quality prediction in smart cities using multimodal data,” International Journal of Environmental Science and Technology, vol. 22, no. 3, pp. 1297–1312, 2025, doi: 10.1007/s13762-024-05722-5.
[2] T. Madan, S. Sagar, D. Virmani, D. Rastogi, and T. A. Tran, “Air Quality Prediction using Ensemble Classifiers and Single Decision Tree,” Journal of Advanced Research in Applied Sciences and Engineering Technology, vol. 52, no. 1, pp. 56–67, 2024, doi: 10.37934/araset.52.1.5667.
[3] S. Kant, “From data to decision-making: utilizing decision tree for air quality monitoring in smart urban areas,” International Journal of Information Technology, vol. 17, no. 1, pp. 665–672, 2025, doi: 10.1007/s41870-024-02208-y.
[4] X. B. Jin, H. Ma, J. Y. Xie, J. Kong, M. Deveci, and S. Kadry, “Ada-STGMAT: An adaptive spatio-temporal graph multi-attention network for intelligent time series forecasting in smart cities,” Expert Systems with Applications, vol. 269, 2025, Art. no. 126428, doi: 10.1016/j.eswa.2025.126428.
[5] F. Jiang and J. Ma, “Environmental Justice in the 15-Minute City: Assessing Air Pollution Exposure Inequalities Through Machine Learning and Spatial Network Analysis,” Smart Cities, vol. 8, no. 2, 2025, Art. no. 53, doi: 10.3390/smartcities8020053.
[6] S. Banerjee, “AI in Monitoring and Improving Air and Water Quality for Green Innovation,” in Advancing Social Equity Through Accessible Green Innovation, P. William and S. Kulkarni, Eds. Hershey, PA, USA: IGI Global Scientific Publishing, 2025, ch. 3, pp. 33–46, doi: 10.4018/979-8-3693-9471-7.ch003.
[7] K. S. Rautela, M. K. Goyal, and R. Y. Surampalli, “AI and Machine Learning for Optimizing Waste Management and Reducing Air Pollution,” Journal of Hazardous, Toxic, and Radioactive Waste, vol. 29, no. 3, 2025, Art. no. 04025014, doi: 10.1061/JHTRBP.HZENG-1483.
[8] P. Das, A. Gogineni, K. Patel, and A. Jain, “Integration of IoT and Machine Learning to Monitor the Air Quality by Measuring the Block Carbon Levels,” in Proc. 2025 International Conference on Engineering, Technology & Management (ICETM), Oakdale, NY, USA, May 13–14, 2025, pp. 1–6, doi: 10.1109/ICETM63734.2025.11051864.
[9] M. N. Ramyasri and A. N. Raju, “Air Quality Strategies, Exploratory Data Analysis using Machine Learning,” International Journal of Management Research and Reviews, vol. 15, no. 2s, pp. 134–142, 2025.
[10] H. Mirzadeh and H. Omranpour, “Extended random forest for multivariate air quality forecasting,” International Journal of Machine Learning and Cybernetics, vol. 16, no. 2, pp. 1175–1199, 2025, doi: 10.1007/s13042-024-02329-7.
[11] U. Akram, S. N. Khosa, M. F. Mushtaq, M. Rizwan, W. Hussain, R. Fatima, and S. Shafiq,“A Deep Learning Approach for Modeling Air Quality Dynamics using Historical Environmental Data,” Journal of Computing & Biomedical Informatics, vol. 9, no. 1, pp. 1–14, 2025, doi: 10.56979/901/2025.
[12] J. Alotaibi, “Secure and federated vision-based parking management using a hybrid deep learning and privacy-preserving framework for smart cities,” Computing, vol. 108, no. 1, 2026, Art. no. 12, doi: 10.1007/s00607-025-01610-z.
[13] J. Kuruvilla and V. Srividhya, “Accurate Air Quality Index Prediction Using MPRKDNN with Optimized Feature Selection,” Journal of Current Science and Technology, vol. 16, no. 1, 2026, Art. no. 148, doi: 10.59796/jcst.V16N1.2026.148.
[14] 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, 2025, Art. no. 112448, doi: 10.1016/j.jobe.2025.112448.
[15] S. Sigamani, “Air quality index prediction with optimisation enabled deep learning model in IoT application,” Environmental Technology, vol. 46, no. 11, pp. 1892–1908, 2025, doi: 10.1080/09593330.2024.2409993.
[16] I. Rojek, D. Mikołajewski, K. Galas, and A. Piszcz, “Advanced Deep Learning Algorithms for Energy Optimization of Smart Cities,” Energies, vol. 18, no. 2, 2025, Art. no. 407, doi: 10.3390/en18020407.
[17] G. Chen, S. Chen, D. Li, and C. Chen, “A hybrid deep learning air pollution prediction approach based on neighborhood selection and spatio-temporal attention,” Scientific Reports, vol. 15, no. 1, 2025, Art. no. 3685, doi: 10.1038/s41598-025-88086-1.
[18] S. Jayaraman, N. T, A. S, and S. G, “Enhancing urban air quality prediction using time-based-spatial forecasting framework,” Scientific Reports, vol. 15, 2025, Art. no. 4139, doi: 10.1038/s41598-024-83248-z.
[19] A. K. Rad, M. J. Nematollahi, A. Pak, and M. Mahmoudi, “Predictive modeling of air quality in the Tehran megacity via deep learning techniques,” Scientific Reports, vol. 15, 2025, Art. no. 1367, doi: 10.1038/s41598-024-84550-6.
[20] S. Kumari, A. Choudhury, P. Karki, M. Simon, J. Chowdhry, A. Nandra, P. Sharma, A. Sengupta, A. Yadav, M. P. Raju et al., “Next-Generation Air Quality Management: Unveiling Advanced Techniques for Monitoring and Controlling Pollution,” Aerosol Science and Engineering, vol. 10, no. 1, pp. 5–26, 2026, doi: 10.1007/s41810-024-00281-1.
[21] A. Ansari and A. R. Quaff, “Advanced Machine Learning Techniques for Precise hourly Air Quality Index (AQI) Prediction in Azamgarh, India,” International Journal of Environmental Research, vol. 19, 2025, Art. no. 15, doi: 10.1007/s41742-024-00684-5.
[22] C. B. Pande, N. Radwan, S. Heddam, K. O. Ahmed, F. Alshehri, S. C. Pal, and M. Pramanik, “Forecasting of monthly air quality index and understanding the air pollution in the urban city, India based on machine learning models and cross-validation,” Journal of Atmospheric Chemistry, vol. 82, no. 1, 2025, Art. no. 1, doi: 10.1007/s10874-024-09466-x.
[23] R. Zayed and M. Abbod, “Air Quality Index Prediction Using DNN-Markov Modeling,” Applied Artificial Intelligence, vol. 38, no. 1, 2024, Art. no. 2371540, doi: 10.1080/08839514.2024.2371540.
[24] A. Binbusayyis, M. A. Khan, M. M. Ahmed A, and W. R. S. Emmanuel, “A deep learning approach for prediction of air quality index in smart city,” Discover Sustainability, vol. 5, no. 1, 2024, Art. no. 89, doi: 10.1007/s43621-024-00272-9.
[25] N. B. Bahadure, S. Gonge, D. Parashar, B. Shah, P. D. Patil, M. Renugadevi, and N. Raju, “SVR machine learning and SARIMA-based air quality index classification and forecasting system,” Discover Applied Sciences, vol. 7, no. 9, 2025, Art. no. 994, doi: 10.1007/s42452-025-07327-0.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 School of Engineering, King Mongkut’s Institute of Technology Ladkrabang

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The published articles are copyrighted by the School of Engineering, King Mongkut's Institute of Technology Ladkrabang.
The statements contained in each article in this academic journal are the personal opinions of each author and are not related to King Mongkut's Institute of Technology Ladkrabang and other faculty members in the institute.
Responsibility for all elements of each article belongs to each author; If there are any mistakes, each author is solely responsible for his own articles.



