Modeling Urban Population Dynamics Using Spatial Deep Learning: A Comparative Framework for Baghdad and Basra

https://doi.org/10.22146/ijg.120098

Yasir Aldabbagh(1*)

(1) Department of Administrative and Finance Affairs, Al-Muthanna University, Al-Samawah, 66001, Iraq
(*) Corresponding Author

Abstract


This study compares Linear Regression, Random Forest (RF), CNN, and Conv1D-LSTM+Attention for estimating WorldPop-derived population density on 500 m grids in Baghdad and Basra, Iraq (2015–2020). The raw panel contained 13,530 cell-year records, with 12,678 retained after excluding zero-population cells. Alongside conventional random partitions, all four models were evaluated using leave-one-quadrant-out spatial cross-validation. Mean spatial R² was negative for every model in both cities; for example, RF achieved −0.751 ± 1.130 in Basra and −1.096 ± 0.359 in Baghdad. These results contrast with random-split Conv1D-LSTM+Attention performance (R² = 0.833 in Basra; 0.199 in Baghdad), indicating that random partitions overstate out-of-area predictive skill. Moran’s I confirmed strong spatial dependence (Baghdad = 0.847; Basra = 0.946; both p = 0.001). In Basra, a naïve persistence baseline achieved R² = 0.692. Explainability analyses agreed strongly in Basra, where CNN permutation importance and RF-SHAP both identified nighttime lights as dominant; agreement was partial in Baghdad, where CNN ranked LST first while RF-SHAP ranked nighttime lights first. Bidirectional CNN and RF transfer increased RMSE by 33.6–303.8%, indicating poor cross-city portability. Overall, spatial validation is essential for satellite-based population modeling, and WorldPop circularity means the models primarily approximate an existing population surface rather than independent census ground truth.

Received: 2026-06-02 Revised: 2026-08-11 Accepted: 2026-08-24 Published: 2026-08-27  

 


Keywords


urban population; deep learning; ConvLSTM; nighttime lights; SHAP



References

Brown, C. F., et al. (2022). Dynamic World. Scientific Data, 9, 251.

Choubin, B., et al. (2025). XAI for flood susceptibility. Results in Engineering, 105976.

Christiawan, P. I., & Nguyen, T. P. L. (2024). Demographic transition and peri-urbanization. Indonesian Journal of Geography, 56(2).

Deros, S. N. M., et al. (2025). XAI for land subsidence. Total Environment Advances, 200129.

Doda, S., Kahl, M., Ouan, K., Obadic, I., Wang, Y., Taubenböck, H., & Zhu, X. X. (2024). Interpretable deep learning for consistent large-scale urban population estimation using Earth observation data. International Journal of Applied Earth Observation and Geoinformation, 128, 103731. https://doi.org/10.1016/j.jag.2024.103731

Du, P., et al. (2020). Four ML methods for spatial data. J. Geovisualization Spat. Anal., 4(1), 13.

Fang, Y., et al. (2025). Spatial–temporal graph attention network. Expert Syst. Appl., 264, 125718.

Fang, Z., & Liu, Z. (2025). Digital innovations for sustainability. Sustainability, 17(5), 2186.

Hashim, B. M., et al. (2022). LULC and LST 1984–2020: Baghdad. Natural Hazards, 112, 1723–1746.

Hou, Z.-W., et al. (2019). Geographic data preparation. ISPRS Int. J. Geo-Inf., 8(9), 376.

Jabbar, M. T., & Zhou, J. X. (2013). Environmental degradation: Basra. Environ. Earth Sci., 70(5), 2203–2214.

Jeong, B., & Lee, B. K. (2025). Popnet for gridded population. Int. J. Geogr. Inf. Sci., 39, 217–236.

Jiang, L., et al. (2025). Spatial-temporal attention for traffic. Meas. Sci. Technol., 36(6), 066114.

Lebakula, V., Datla, V., Wanik, D. W., & Cosby, A. G. (2024). Predicting county-level population from VIIRS nighttime light imagery with deep learning. IEEE Sensors Journal, 24(8), 13477–13487. https://doi.org/10.1109/JSEN.2024.3363693

Maselli, G., & Nesticò, A. (2025). ML and XAI for valuation. Real Estate, 2(3), 12.

Mncube, Z., Xulu, S., & Mbatha, N. (2026). Evaluating the efficacy of hybrid deep learning models in assessing temporal night-time light trends for the cities of Cape Town, Durban and Johannesburg in South Africa. Frontiers in Remote Sensing, 7, 1723667. https://doi.org/10.3389/frsen.2026.1723667

Nam, K., et al. (2025). XAI for flood susceptibility Seoul. Remote Sensing, 17(13), 2244.

Noviani, E., et al. (2025). Urbanization effects Indonesia. Indonesian J. Geography, 57(1).

Ploton, P., et al. (2020). Spatial validation of ecological models. Nature Communications, 11, 4540.

Thomson, D. R., et al. (2022). Gridded population sampling. Int. J. Health Geogr., 21, 1–27.

United Nations. (2018). World urbanization prospects. Dept. Econ. Soc. Affairs.

Vijayaraghavalu, S. S., et al. (2025). Urbanization dynamics. Results in Engineering, 106572.

Wang, Y., et al. (2022). Deep learning for urban mobility. Inf. Syst. Res., 33(2), 579–598.

WorldPop. (2020). Global population denominators project. https://www.worldpop.org

Zeng, H., et al. (2025). Mamba state space models. Knowledge-Based Syst., 316, 113347.



DOI: https://doi.org/10.22146/ijg.120098

Article Metrics

Abstract views : 2




Copyright (c) 2026 Authors

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

The Indonesian Journal of Geography

is an international journal published by the Faculty of Geography, Universitas Gadjah Mada in collaboration with The Indonesian Geographers Association. The content of this website is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

Accredited Journal, Based on Decree of the Minister of Research, Technology and Higher Education, Republic of Indonesia Number 225/E/KPT/2022, Vol 54 No 1 the Year 2022 - Vol 58 No 2 the Year 2026 Accreditation certificate download

Address

Faculty of Geography, Building B 1st floor
Universitas Gadjah Mada
Bulaksumur, Yogyakarta 55281, Indonesia.

Contact

Editor in Chief: Eko Haryonoo
Email: ijg@ugm.ac.id
Phone: +62 0274 6492326
Fax: +62 0274 589595

Web
Analytics IJG STATISTIC