Interpretable Machine Learning for Population Spatialization and Optimal Grid Scale Selection in Shanghai
Source abstract
Abstract
Fine-scale population distribution information is crucial for applications in urban public safety, planning, and management. However, when using machine learning methods for population spatialization, issues such as data overfitting and limited interpretability need to be addressed. This study introduced a combined approach using eXtreme Gradient Boosting (XGBoost) and SHapley Additive exPlanation (SHAP) to estimate population spatialization at various grid scales and interpret the key influencing factors, then we applied accuracy evaluation metrics and landscape ecology indices to identify the optimal grid scale. The results showed that the XGBoost model outperformed the WorldPop dataset in accuracy across all grid scales, with determination coefficients (R2) consistently exceeding 0.83. The SHAP analysis revealed that the primary influencing factors were the address, access, and dwelling characteristics of points of interest (POIs). The influence of these factors showed regional variations, with urban centers having a strong positive effect, while the negative influence increased with the distance to suburban areas. The population density estimates across different grid scales consistently exhibited a spatial gradient pattern of decreasing density from the urban center toward suburban areas. Based on comprehensive evaluations of accuracy and spatial heterogeneity, the 100 m grid was identified as the optimal scale for Shanghai’s population spatialization. The proposed XGBoost-SHAP population spatialization method demonstrates high reliability and generalizability, effectively explaining the heterogeneity of population distribution. This approach not only provides critical decision-making support for urban planning but also serves as a methodological reference for high-resolution population spatialization studies in other cities.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Human Mobility and Location-Based Analysis
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Mining and Geomatics Engineering, Hebei University of Engineering, Handan 056038, China
Funding
Humanities & Social Sciences Youth Fund of Ministry of Education of China · National Natural Science Foundation of China
References (53)
Show source-provided references
1. A comparative study of population spatialization based on NPP/VIIRS and LJ1-01 night light data: Taking Beijing for an example
2. Geospatial modeling for a sustainable urban development zoning map using AHP in Ismailia Governorate, Egypt
3. A review of population spatial distribution based on nighttime light data
4. Research progress on spatio-temporal distribution estimation of urban population
5. WorldPop, open data for spatial demography10.1038/sdata.2017.4 ↗
6. Research progress in spatialization for population data
7. On Evolution of Metropolitan Spatial Structure Based on Population Density Models: A Case Study of Tianjin
8. The spatial variation of urban population densities10.2307/213456 ↗
9. Evolutional trends of population spatial distribution in western under-developed city—A case study of Lanzhou
10. An evaluation of small area population estimation techniques using open access ancillary data10.1111/gean.12012 ↗
11. Hybrid areal interpolation of census counts from 2000 blocks to 2010 geographies10.1016/j.compenvurbsys.2016.10.001 ↗
12. Jin, Y., Liu, R., Fan, H., Li, P., Liu, Y., and Jia, Y. (2023). Multi-Resolution Population Mapping Based on a Stepwise Downscaling Approach Using Multisource Data. Remote Sens, 15.10.3390/rs15071947 ↗
13. A semi-parametric geographically weighted (S-GWR) approach for modeling spatial distribution of population10.1016/j.ecolind.2017.11.028 ↗
14. Space–time multiple regression model for grid-based population estimation in urban areas10.1080/13658816.2016.1143099 ↗
15. Method of population spatialization under the support of geographic national conditions data
16. A review on the spatial disaggregation of socioeconomic statistical data
17. Fine spatio-temporal scale estimation of urban population’s socio-economic characteristics based on big data: Data, methods and applications
18. Zhang, Y., Wang, H., Luo, K., Wu, C., and Li, S. (2024). Study on Spatialization and Spatial Pattern of Population Based on Multi-Source Data—A Case Study of the Urban Agglomeration on the North Slope of Tianshan Mountain in Xinjiang, China. Sustainability, 16.10.3390/su16104106 ↗
19. Uncovering temporal changes in Europe’s population density patterns using a data fusion approach10.1038/s41467-020-18344-5 ↗
20. An ensemble method to generate high-resolution gridded population data for China from digital footprint and ancillary geospatial data
21. Population distribution pattern and influencing factors in Tibet based on random forest model
22. He, M., Xu, Y., and Li, N. (2020). Population spatialization in Beijing city based on machine learning and multisource remote sensing data. Remote Sens., 12.10.3390/rs12121910 ↗
23. Mapping Population Distribution Based on XGBoost Using Multisource Data10.1109/JSTARS.2021.3125197 ↗
24. Chen, T., He, T., Benesty, M., Khotilovich, V., and Tang, Y. (2015). Xgboost: Extreme Gradient Boosting. R package version 0.4-2, pp. 1–4.
25. Ribeiro, M.T., Singh, S., and Guestrin, C. (2016, January 13–17). “Why should I trust you?” Explaining the predictions of any classifier. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939778 ↗
26. From local explanations to global understanding with explainable AI for trees10.1038/s42256-019-0138-9 ↗
27. Liu, T., Zhang, Q., Li, T., and Zhang, K. (2023). Dynamic Vegetation Responses to Climate and Land Use Changes over the Inner Mongolia Reach of the Yellow River Basin, China. Remote Sens., 15.10.3390/rs15143531 ↗
28. Li, L., Zeng, Z., Zhang, G., Duan, K., Liu, B., and Cai, X. (2022). Exploring the Individualized Effect of Climatic Drivers on MODIS Net Primary Productivity through an Explainable Machine Learning Framework. Remote Sens., 14.10.3390/rs14174401 ↗
29. Interpretable and explainable AI (XAI) model for spatial drought prediction10.1016/j.scitotenv.2021.149797 ↗
30. Li, X., Wu, C., Meadows, M.E., Zhang, Z., Lin, X., Zhang, Z., Chi, Y., Feng, M., Li, E., and Hu, Y. (2021). Factors Underlying Spatiotemporal Variations in Atmospheric PM2.5 Concentrations in Zhejiang Province, China. Remote Sens., 13.10.3390/rs13153011 ↗
31. Research on the evaluation method of population spatialization suitable grid
32. (2017). General Administration of Quality Supervision, Inspection and Quarantine of the People’s Republic of China, National Standardization Administration. Classification and Coding of Geographic Information Points of Interest (Standard No. GB/T 35648-2017).
33. (2017). Current Land Use Classification. General Administration of Quality Supervision, Inspection Quarantine of P. R. C. (Standard No. GB/T21010-2017).
34. Chen, T., and Guestrin, C. (2016, January 13–17). Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
35. An extreme gradient boosting method for identifying the factors contributing to crash/near-crash events: A naturalistic driving study10.1139/cjce-2018-0117 ↗
36. Explaining prediction models and individual predictions with feature contributions10.1007/s10115-013-0679-x ↗
37. Lundberg, S.M., and Lee, S.-I. (2017). A Unified Approach to Interpreting Model Predictions. arXiv.
38. A value for n-person games
39. Bao, W., Gong, A., Zhao, Y., Chen, S., Ba, W., and He, Y. (2022). High-Precision Population Spatialization in Metropolises Based on Ensemble Learning: A Case Study of Beijing, China. Remote Sens., 14.10.3390/rs14153654 ↗
40. Investigating spatiotemporal patterns of landscape diversity in response to urbanization10.1016/j.landurbplan.2009.07.002 ↗
41. Spatiotemporal patternsof population in China’s mainland, 1990 to 201010.1038/sdata.2016.5 ↗
42. China’s population spatialization based on three machine learning models10.1016/j.jclepro.2020.120644 ↗
43. Unraveling near real-time spatial dynamics of population using geographical ensemble learning
44. Combining Luojia1-01 nighttime light and points-of-interest data for fine mapping of population spatialization based on the zonal classification method10.1109/JSTARS.2023.3238188 ↗
45. Using POI and multisource satellite datasets for mainland China’s population spatialization and spatiotemporal changes based on regional heterogeneity10.1016/j.scitotenv.2023.169499 ↗
46. Huang, D., Yang, X., Dong, N., and Cai, H. (2017). Evaluating grid size suitability of population distribution data via improved ALV method: A case study in Anhui Province, China. Sustainability, 10.10.3390/su10010041 ↗
47. Study on the distribution pattern of China’s population in 2000 based on GIS: Comparison with Hu Huanyong’s research in 1935
48. Determining Global Population Distribution: Methods, Applications and Data10.1016/S0065-308X(05)62004-0 ↗
49. World population in a grid of spherical quadrilaterals10.1002/(SICI)1099-1220(199709)3:3<203::AID-IJPG68>3.0.CO;2-C ↗
50. LandScan: A global population database for estimating populations at risk
51. Dong, N., Yang, X., Cai, H., and Xu, F. (2017). Research on grid size suitability of gridded population distribution in urban area: A case study in urban area of Xuanzhou district, China. PLoS ONE, 12.10.1371/journal.pone.0170830 ↗
52. The grid scale effect analysis on town leveled population statistical data spatialization
53. Population spatialization by considering pixel-Level attribute grading and spatial association