Abstract
With the advancement of Artificial Intelligence (AI) techniques in different areas of our society, namely with the use of Machine and Deep Learning models, some challenges must be faced. One of these challenges is responding to the lack of transparency in these models, which makes it difficult to explain the results they obtained. This research centres on predicting the concentration of nitrogen dioxide (NO\({_2}\)), a critical air pollutant, using a Long Short-Term Memory model (LSTM) along with applying Explainable AI (XAI) techniques to understand the predictions made. Two explainability techniques were applied: an ante-hoc approach with an Attention layer and a post-hoc approach using Shapley Additive Explanations (SHAP). The Attention layer identified carbon monoxide (CO) and NO\({_2}\) as the most powerful features, while the SHAP analysis highlighted NO\({_2}\) as the predominant contributor to the predictions, followed by particulate matter (PM\(_{2.5}\)) and CO. The results demonstrated that the target value significantly impacts the model’s forecast for both XAI techniques.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ahmed, D.M., Hassan, M.M., Mstafa, R.J.: A review on deep sequential models for forecasting time series data. Appl. Comput. Intell. Soft Comput. 2022(1), 6596397 (2022). https://doi.org/10.1155/2022/6596397
Bacanin, N., et al.: The explainable potential of coupling hybridized metaheuristics, XGBoost, and shap in revealing toluene behavior in the atmosphere. Sci. Total Environ. 929, 172195 (2024)
Chamola, V., Hassija, V., Sulthana, A.R., Ghosh, D., Dhingra, D., Sikdar, B.: A review of trustworthy and explainable artificial intelligence (XAI). IEEE Access (2023). https://doi.org/10.1109/ACCESS.2023.3294569
Dwivedi, R., et al.: Explainable AI (XAI): core ideas, techniques, and solutions. ACM Comput. Surv. 55(9), 1–33 (2023). https://doi.org/10.1145/356104
Hossain, M.R.: Killing billions to save millions? Analyzing the double jeopardy of fossil-fuel-led economic development in bangladesh. Environ. Dev. Sustain. 1–32 (2023). https://doi.org/10.1007/s10668-023-03497-2
Manisalidis, I., Stavropoulou, E., Stavropoulos, A., Bezirtzoglou, E.: Environmental and health impacts of air pollution: a review. Front. Public Health 8, 14 (2020). https://doi.org/10.3389/fpubh.2020.00014
Mukhamediev, R.I., et al.: Review of artificial intelligence and machine learning technologies: classification, restrictions, opportunities and challenges. Mathematics 10(15), 2552 (2022). https://doi.org/10.3390/math10152552
Orellano, P., Reynoso, J., Quaranta, N., Bardach, A., Ciapponi, A.: Short-term exposure to particulate matter (pm10 and pm2. 5), nitrogen dioxide (no2), and ozone (O3) and all-cause and cause-specific mortality: systematic review and meta-analysis. Environ. Int. 142, 105876 (2020). https://doi.org/10.1016/j.envint.2020.105876
Ozyegen, O., Ilic, I., Cevik, M.: Evaluation of interpretability methods for multivariate time series forecasting. Appl. Intell. 1–17 (2022). https://doi.org/10.1007/s10489-021-02662-2
Pantiskas, L., Verstoep, K., Bal, H.: Interpretable multivariate time series forecasting with temporal attention convolutional neural networks. In: 2020 IEEE Symposium Series on Computational Intelligence (SSCI), pp. 1687–1694. IEEE (2020)
Retzlaff, C.O., et al.: Post-hoc vs ante-hoc explanations: XAI design guidelines for data scientists. Cogn. Syst. Res. 86, 101243 (2024). https://doi.org/10.1016/j.cogsys.2024.101243
Sen, J., Mehtab, S.: Long-and-short-term memory (LSTM) networks architectures and applications in stock price prediction. Emerg. Comput. Paradigms: Principles Adv. Appl. 143–160 (2022). https://doi.org/10.1002/9781119813439.ch8
Sunder, M.S., Tikkiwal, V.A., Kumar, A., Tyagi, B.: Unveiling the transparency of prediction models for spatial PM2. 5 over Singapore: comparison of different machine learning approaches with explainable artificial intelligence. AI 4(4), 787–811 (2023)
Taye, M.M.: Understanding of machine learning with deep learning: architectures, workflow, applications and future directions. Computers 12(5), 91 (2023). https://doi.org/10.3390/computers12050091
Van Zyl, C., Ye, X., Naidoo, R.: Harnessing explainable artificial intelligence for feature selection in time series energy forecasting: a comparative analysis of grad-cam and shap. Appl. Energy 353, 122079 (2024). https://doi.org/10.1016/j.apenergy.2023.122079
Vega, G.M., Aznarte José, L.: Shapley additive explanations for NO2 forecasting. Eco. Inform. 56, 101039 (2020)
Wang, Y., et al.: Contrasting trends of PM2. 5 and surface-ozone concentrations in China from 2013 to 2017. Natl. Sci. Rev. 7(8), 1331–1339 (2020). https://doi.org/10.1093/nsr/nwaa032
Acknowledgements
This work is financed by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia within project 2022.06822.PTDC (https://doi.org/10.54499/2022.06822.PTDC). The work of Pedro Oliveira was supported by the doctoral Grant PRT/BD/154311/2022 financed by the Portuguese Foundation for Science and Technology (FCT), and with funds from European Union, under MIT Portugal Program.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2025 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Oliveira, P., Franco, F., Bessa, A., Durães, D., Novais, P. (2025). Employing Explainable AI Techniques for Air Pollution: An Ante-Hoc and Post-Hoc Approach in Dioxide Nitrogen Forecasting. In: Julian, V., et al. Intelligent Data Engineering and Automated Learning – IDEAL 2024. IDEAL 2024. Lecture Notes in Computer Science, vol 15346. Springer, Cham. https://doi.org/10.1007/978-3-031-77731-8_30
Download citation
DOI: https://doi.org/10.1007/978-3-031-77731-8_30
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-77730-1
Online ISBN: 978-3-031-77731-8
eBook Packages: Computer ScienceComputer Science (R0)