Explainable Artificial Intelligence for Carbon EmissionManagement in Smart Cities

Authors

  • Omar Arif Al-Kamari Pandawan Incorporation
  • Bonar Napitupulu University of Brawijaya image/svg+xml

DOI:

https://doi.org/10.33050/76r44102

Keywords:

Machine Learning, Carbon Emission, Explainable Artificial Intelligence, SHAP, XGBoost

Abstract

Rapid smart city expansion has intensified the need for effective carbon emission management, as rising energy consumption, transportation, industrial operations, and urban development accelerate environmental degradation. This study develops an Explainable Artificial Intelligence (XAI) framework to predict urban carbon emissions and identify their primary drivers. The framework integrates Extreme Gradient Boosting (XGBoost) to model nonlinear relationships across eight urban and environmental variables energy consumption, transportation activity, industrial activity, population density, building energy use, renewable energy usage, traffic volume, and temperature with SHapley Additive exPlanations (SHAP) to quantify feature contributions. Model performance is evaluated on an independent testing dataset using Root Mean Square Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and the coefficient of determination (R²). Experimental results demonstrate strong predictive accuracy, achieving an RMSE of 14.28 tCO₂e, an MAE of 10.15 tCO₂e, a MAPE of 5.42%, and an R² of 0.926. Furthermore, global and local SHAP analyses reveal that energy consumption (mean |SHAP| = 18.42) and transportation activity (mean |SHAP| = 12.75) are the strongest positive drivers of predicted emissions, followed by industrial activity and building energy use, whereas renewable energy usage (mean SHAP = -7.64) exerts a notable mitigating effect. These findings confirm that combining XGBoost with SHAP provides both accurate emission prediction and transparent, interpretable evidence, enabling smart city managers to design targeted carbon reduction strategies and advance data-driven sustainable urban planning.

References

[1] S. Bilotta, L. A. I. Palesi, and P. Nesi, “Exploiting open data for co2 estimation via artificial intelligence and explainable ai,” Expert Systems With Applications, vol. 291, p. 128598, 2025.

[2] T. Chen and R. Debnath, “The need of explainability in low-carbon urban system design using ai: A systematic review,” Machine Learning: Earth, vol. 1, no. 1, p. 011001, 2025.

[3] K. U. Khan, G. Ali, N. Murtaza, Y. Pan, and V. Kysucky, “Toward net-zero emissions: the role of smart city technologies in reducing carbon emissions in china,” Urban Science, vol. 9, no. 9, p. 374, 2025.

[4] U. Rahardja, Q. Aini, P. A. Sunarya, D. Manongga, and D. Julianingsih, “The use of tensorflow in analyzing air quality artificial intelligence predictions pm2. 5,” Aptisi Transactions on Technopreneurship (ATT), vol. 4, no. 3, pp. 313–324, 2022.

[5] M. Ning, “Artificial intelligence-driven decision support systems for sustainable energy management in smart cities.” International Journal of Advanced Computer Science & Applications, vol. 15, no. 9, p. 523, 2024.

[6] Y. Zhang, B. K. Teoh, M. Wu, J. Chen, and L. Zhang, “Data-driven estimation of building energy consumption and ghg emissions using explainable artificial intelligence,” Energy, vol. 262, p. 125468, 2023.

[7] A. R. Javed, W. Ahmed, S. Pandya, P. K. R. Maddikunta, M. Alazab, and T. R. Gadekallu, “A survey of explainable artificial intelligence for smart cities,” Electronics, vol. 12, no. 4, p. 1020, 2023.

[8] H. Moraliyage, S. Dahanayake, D. De Silva, N. Mills, P. Rathnayaka, S. Nguyen, D. Alahakoon, and A. Jennings, “A robust artificial intelligence approach with explainability for measurement and verification of energy efficient infrastructure for net zero carbon emissions,” Sensors, vol. 22, no. 23, p. 9503, 2022.

[9] M. F. Fazri, L. B. Kusuma, R. B. Rahmawan, H. N. Fauji, and C. Camille, “Implementing artificial intelligence to reduce marine ecosystem pollution,” IAIC Transactions on Sustainable Digital Innovation (ITSDI), vol. 4, no. 2, pp. 101–108, 2023.

[10] T. Yigitcanlar, R. Mehmood, and J. M. Corchado, “Green artificial intelligence: Towards an efficient, sustainable and equitable technology for smart cities and futures,” Sustainability, vol. 13, no. 16, p. 8952, 2021.

[11] M. Lahby, U. Kose, and A. K. Bhoi, Explainable Artificial Intelligence for Smart Cities. CRC Press, 2021.

[12] K. I. A. Almaazmi, S. J. Almheiri, M. A. Khan, A. A. Shah, S. Abbas, and M. Ahmad, “Enhancing smart city sustainability with explainable federated learning for vehicular energy control,” Scientific reports, vol. 15, no. 1, p. 23888, 2025.

[13] D. Apriliasari, Q. Aini, N. A. Santoso, and A. D. Garcia, “Explainable ai framework for optimizing urban waste management toward sustainable smart cities,” ADI Journal on Recent Innovation (AJRI), vol. 8, no. 1, pp. 61–72, 2026.

[14] G. M. I. Alam, S. Arfin Tanim, S. K. Sarker, Y. Watanobe, R. Islam, M. Mridha, and K. Nur, “Deep learning model based prediction of vehicle co2 emissions with explainable ai integration for sustainable environment,” Scientific Reports, vol. 15, no. 1, p. 3655, 2025.

[15] S. T. Turlybekkyzy and K. A. Alikhanovna, “Explainable ai in smart city management: Transparent decision-making for urban sustainability,” Universum: , vol. 9, no. 12 (141), pp. 48–55, 2025.

[16] B. Fang, J. Yu, Z. Chen, A. I. Osman, M. Farghali, I. Ihara, E. H. Hamza, D. W. Rooney, and P.-S. Yap, “Artificial intelligence for waste management in smart cities: a review,” Environmental chemistry letters, vol. 21, no. 4, pp. 1959–1989, 2023.

[17] A. H. Hassan, E. M. Ahmed, J. M. Hussien, R. bin Sulaiman, M. Abdulhak, and H. Kahtan, “A cyber physical sustainable smart city framework toward society 5.0: Explainable ai for enhanced sdgs monitoring,” Research in Globalization, vol. 10, p. 100275, 2025.

[18] M. Rakhmansyah, U. Rahardja, M. F. Fazri, and N. Ivanov, “A modular business intelligence architecture for predictive student admission decision support,” International Journal of Cyber and IT Service Management, vol. 6, no. 2, pp. 172–184, 2026.

[19] M. Alfayan and H. Hagras, “Towards an explainable artificial intelligence approach for smart grid systems,” Discover Artificial Intelligence, vol. 5, no. 1, p. 40, 2025.

[20] D. Szpilko, F. J. Naharro, G. L˘az˘aroiu, E. Nica, and A. de la Torre Gallegos, “Artificial intelligence in the smart city—a literature review,” Engineering Management in Production and Services, vol. 15, no. 4, pp. 53–75, 2023.

[21] J. Li, S. Shirowzhan, G. Pignatta, and S. M. Sepasgozar, “Data-driven net-zero carbon monitoring: Applications of geographic information systems, building information modelling, remote sensing, and artificial intelligence for sustainable and resilient cities,” Sustainability, vol. 16, no. 15, p. 6285, 2024.

[22] M. H. Kabir, K. F. Hasan, M. K. Hasan, and K. Ansari, “Explainable artificial intelligence for smart city application: A secure and trusted platform,” in Explainable artificial intelligence for cyber security: next generation artificial intelligence. Springer, 2022, pp. 241–263.

[23] U. Rahardja, N. P. L. Santoso, F. P. Oganda, M. Madani, and M. S. T. Saputra, “Digital innovation in smart waste sorting using renewable energy for sustainable startups,” Startupreneur Business Digital (SABDA Journal), vol. 5, no. 1, pp. 42–54, 2026.

[24] G. M. I. Alam, S. A. Tanim, S. K. Sarker, Y. Watanobe, R. Islam, M. F. Mridha, and K. Nur, “Deep learning model based prediction of vehicle co2 emissions with explainable ai integration for sustainable environment,” Scientific Reports, vol. 15, p. 3655, Jan. 2025. [Online]. Available:

https://pmc.ncbi.nlm.nih.gov/articles/PMC11779888/

[25] A. Procopiou and T. M. Chen, “Explainable ai in machine/deep learning for intrusion detection in intelligent transportation systems for smart cities,” Explainable Artificial Intelligence for Smart Cities, pp. 297–321, 2021.

[26] E. X. Neo, K. Hasikin, K. W. Lai, M. I. Mokhtar, M. M. Azizan, H. F. Hizaddin, S. A. Razak et al., “Artificial intelligence-assisted air quality monitoring for smart city management,” PeerJ Computer Science, vol. 9, p. e1306, 2023.

[27] K. Konh¨auser and T. Werner, “Uncovering the financial impact of energy-efficient building characteristics with explainable artificial intelligence,” Applied Energy, vol. 374, p. 123960, 2024.

[28] N. Lutfiani, S. Wijono, U. Rahardja, A. Iriani, Q. Aini, and R. A. D. Septian, “A bibliometric study: Recommendation based on artificial intelligence for ilearning education,” Aptisi Transactions on Technopreneurship (ATT), vol. 5, no. 2, pp. 109–117, 2023.

[29] S. Kumar, A. K. Verma, and A. Mirza, “Artificial intelligence-driven governance systems: smart cities and smart governance,” in Digital transformation, artificial intelligence and society: opportunities and challenges. Springer, 2024, pp. 73–90.

[30] H. Elmousalami, F. K. Peng Hui, and A. A. Alnaser, “Enhancing smart and zero-carbon cities through a hybrid cnn-lstm algorithm for sustainable ai-driven solar power forecasting (sai-spf),” Buildings, vol. 15, no. 15, p. 2785, 2025.

[31] S. Munir, M. R. Pradhan, S. Abbas, and M. A. Khan, “Energy consumption prediction based on lightgbm empowered with explainable artificial intelligence,” IEEE Access, vol. 12, pp. 91 263–91 271, 2024.

[32] M. Abbass, U. Abbas, R. Jafri, S. M. Arif, and S. Akhai, “Ai and machine learning applications in sustainable smart cities,” in Sustainable smart cities and the future of urban development. IGI Global Scientific Publishing, 2025, pp. 1–32.

[33] P. A. Sunarya, R. A. Sunarjo, M. Abbas, O. A. Al-Kamari, and S. Maulana, “Ai-driven educational data analytics and intelligent tutoring in learning factory environments,” International Transactions on Education Technology (ITEE), vol. 4, no. 1, pp. 14–30, 2025.

[34] P. Bedi, S. Goyal, A. S. Rajawat, R. N. Shaw, and A. Ghosh, “Application of ai/iot for smart renewable energy management in smart cities,” in AI and IoT for smart city applications. Springer, 2022, pp. 115–138.

[35] T. T. Le, P. Sharma, S. M. Osman, M. Dzida, P. Q. P. Nguyen, M. H. Tran, D. N. Cao, and V. D. Tran, “Forecasting energy consumption and carbon dioxide emission of vietnam by prognostic models based on explainable machine learning and time series,” Clean Technologies and Environmental Policy, vol. 26, no. 12, pp. 4405–4431, 2024.

[36] J. Hua, R. Wang, Y. Hu, Z. Chen, L. Chen, A. I. Osman, M. Farghali, L. Huang, J. Feng, J. Wang et al., “Artificial intelligence for calculating and predicting building carbon emissions: a review,” Environmental Chemistry Letters, vol. 23, no. 3, pp. 783–816, 2025.

[37] M. F. Fazri, K. Lutfiyah, L. Pasha, and L. Maria, “Vision-based pattern recognition models for intelligent human robot interaction in smart spaces,” International Transactions on Artificial Intelligence, vol. 4, no. 2, pp. 207–218, 2026.

[38] M. R. Maarif, A. R. Saleh, M. Habibi, N. L. Fitriyani, and M. Syafrudin, “Energy usage forecasting model based on long short-term memory (lstm) and explainable artificial intelligence (xai),” Information, vol. 14, no. 5, p. 265, 2023.

Downloads

Published

2026-11-25

Issue

Section

Articles