Explainable AI for Urban Retail Site Selection: SHAP-PDP-Bayesian Network Modeling of Facility Synergy and Perceptual Thresholds
DOI:
https://doi.org/10.63646/GNLW9684Categories
Keywords:
Explainable AI; urban retail site selection; SHAP; partial dependence plots; bayesian network; street-view perception; facility synergy; geospatial analyticsAbstract
Urban retail site selection increasingly depends on complex interactions among consumer mobility, facility complementarity, commercial competition, street-level perception, and transport accessibility. Conventional retail-location models are often useful for descriptive mapping but provide limited support for explaining nonlinear thresholds and conditional facility synergies. This study develops an explainable artificial intelligence framework for evaluating urban retail site suitability with multi-source geospatial data. The framework integrates point-of-interest density, mobility proxies, road-network accessibility, neighboring facility functions, and computer-vision-derived streetscape perception into a 500 m grid representation. XGBoost is used to estimate nonlinear suitability patterns for convenience-format and anchor-format retail sites, SHAP values identify the relative contribution and directional role of each determinant, partial dependence plots reveal threshold effects, and Bayesian network modeling converts model explanations into probabilistic decision rules. The empirical demonstration shows that the XGBoost model improves predictive performance over linear and semi-parametric baselines. Facility synergy and perceptual quality jointly explain more than one-third of model importance for anchor-format sites, while competition intensity and service-gap signals are more decisive for convenience-format sites. Partial dependence identifies ranges where fitted suitability changes rapidly. These are model-specific patterns across observed grid characteristics, rather than minimum facilities required for a commercially viable site. The results indicate that explainable AI can support site screening, commercial land-use planning, and retail network optimization without reducing urban retail decisions to opaque prediction scores.
How to Cite
References
Adadi,A.,& Berrada,M. (2018). Peeking inside the black-box: A survey on explainable artificial intelligence. IEEE Access,6,52138-52160. https://doi.org/10.1109/access.2018.2870052
Apley,D. W.,& Zhu,J. (2020). Visualizing the effects of predictor variables in black box supervised learning models. Journal of the Royal Statistical Society: Series B,82(4),1059-1086. https://doi.org/10.1111/rssb.12377
Arrieta,A. B.,Diaz-Rodriguez,N.,Del Ser,J.,Bennetot,A.,Tabik,S.,Barbado,A.,Garcia,S.,Gil-Lopez,S.,Molina,D.,Benjamins,R.,Chatila,R.,& Herrera,F. (2020). Explainable Artificial Intelligence (XAI): Concepts,taxonomies,opportunities and challenges toward responsible AI. Information Fusion,58,82-115. https://doi.org/10.1016/j.inffus.2019.12.012
Belle,V.,& Papantonis,I. (2021). Principles and practice of explainable machine learning. Frontiers in Big Data,4,688969. https://doi.org/10.3389/fdata.2021.688969
Biljecki,F.,& Ito,K. (2021). Street view imagery in urban analytics and GIS: A review. Landscape and Urban Planning,215,104217. https://doi.org/10.1016/j.landurbplan.2021.104217
Boeing,G. (2017). OSMnx: New methods for acquiring,constructing,analyzing,and visualizing complex street networks. Computers,Environment and Urban Systems,65,126-139. https://doi.org/10.1016/j.compenvurbsys.2017.05.004
Breiman,L. (2001). Random forests. Machine Learning,45,5-32. https://doi.org/10.1023/a:1010933404324
Burkart,N.,& Huber,M. F. (2021). A survey on the explainability of supervised machine learning. Journal of Artificial Intelligence Research,70,245-317. https://doi.org/10.1613/jair.1.12228
Carvalho,D. V.,Pereira,E. M.,& Cardoso,J. S. (2019). Machine learning interpretability: A survey on methods and metrics. Electronics,8(8),832. https://doi.org/10.3390/electronics8080832
Chen,T.,& Guestrin,C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining,785-794. https://doi.org/10.1145/2939672.2939785
Cheng,B.,Schwing,A.,& Kirillov,A. (2021). Per-pixel classification is not all you need for semantic segmentation. Advances in Neural Information Processing Systems,34,17864-17875. Author version. https://doi.org/10.48550/arxiv.2107.06278
Cheng,B.,Misra,I.,Schwing,A. G.,Kirillov,A.,& Girdhar,R. (2022). Masked-attention Mask Transformer for universal image segmentation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,1280-1289. https://doi.org/10.1109/cvpr52688.2022.00135
Cordts,M.,Omran,M.,Ramos,S.,Rehfeld,T.,Enzweiler,M.,Benenson,R.,Franke,U.,Roth,S.,& Schiele,B. (2016). The Cityscapes dataset for semantic urban scene understanding. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition,3213-3223. https://doi.org/10.1109/cvpr.2016.350
Darwiche,A. (2009). Modeling and Reasoning with Bayesian Networks. Cambridge University Press. https://doi.org/10.1017/cbo9780511811357
Deng,J.,Dong,W.,Socher,R.,Li,L.-J.,Li,K.,& Fei-Fei,L. (2009). ImageNet: A large-scale hierarchical image database. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition,248-255. https://doi.org/10.1109/cvpr.2009.5206848
Doshi-Velez,F.,& Kim,B. (2017). Towards a rigorous science of interpretable machine learning. arXiv. https://doi.org/10.48550/arxiv.1702.08608
Elith,J.,Leathwick,J. R.,& Hastie,T. (2008). A working guide to boosted regression trees. Journal of Animal Ecology,77(4),802-813. https://doi.org/10.1111/j.1365-2656.2008.01390.x
Fan,Z.,Zhang,F.,Loo,B. P. Y.,& Ratti,C. (2023). Urban visual intelligence: Uncovering hidden city profiles with street view images. Proceedings of the National Academy of Sciences,120(27),e2220417120. https://doi.org/10.1073/pnas.2220417120
Fotheringham,A. S.,Crespo,R.,& Yao,J. (2015). Geographical and temporal weighted regression (GTWR). Geographical Analysis,47(4),431-452. https://doi.org/10.1111/gean.12071
Friedman,J. H. (2001). Greedy function approximation: A gradient boosting machine. Annals of Statistics,29(5),1189-1232. https://doi.org/10.1214/aos/1013203451
Gebru,T.,Krause,J.,Wang,Y.,Chen,D.,Deng,J.,Aiden,E. L.,& Fei-Fei,L. (2017). Using deep learning and Google Street View to estimate the demographic makeup of neighborhoods across the United States. Proceedings of the National Academy of Sciences,114(50),13108-13113. https://doi.org/10.1073/pnas.1700035114
Goldstein,A.,Kapelner,A.,Bleich,J.,& Pitkin,E. (2015). Peeking inside the black box: Visualizing statistical learning with plots of individual conditional expectation. Journal of Computational and Graphical Statistics,24(1),44-65. https://doi.org/10.1080/10618600.2014.907095
Goodchild,M. (2007). Citizens as sensors: The world of volunteered geography. GeoJournal,69(4),211-221. https://doi.org/10.1007/s10708-007-9111-y
Greenwell,B. M. (2017). pdp: An R package for constructing partial dependence plots. The R Journal,9(1),421-436. https://doi.org/10.32614/rj-2017-016
Guidotti,R.,Monreale,A.,Ruggieri,S.,Turini,F.,Giannotti,F.,& Pedreschi,D. (2018). A survey of methods for explaining black box models. ACM Computing Surveys,51(5),Article 93. https://doi.org/10.1145/3236009
Gunning,D.,& Aha,D. W. (2019). DARPA's explainable artificial intelligence program. AI Magazine,40(2),44-58. https://doi.org/10.1609/aimag.v40i2.2850
Haklay,M.,& Weber,P. (2008). OpenStreetMap: User-generated street maps. IEEE Pervasive Computing,7(4),12-18. https://doi.org/10.1109/mprv.2008.80
Hastie,T.,Tibshirani,R.,& Friedman,J. (2009). The Elements of Statistical Learning: Data Mining,Inference,and Prediction. Springer. https://doi.org/10.1007/978-0-387-84858-7
He,K.,Zhang,X.,Ren,S.,& Sun,J. (2016). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition,770-778. https://doi.org/10.1109/cvpr.2016.90
Hewamalage,H.,Bergmeir,C.,& Bandara,K. (2021). Recurrent neural networks for time series forecasting: Current status and future directions. International Journal of Forecasting,37(1),388-427. https://doi.org/10.1016/j.ijforecast.2020.06.008
Hou,Y.,& Biljecki,F. (2022). A comprehensive framework for evaluating the quality of street view imagery. International Journal of Applied Earth Observation and Geoinformation,115,103094. https://doi.org/10.1016/j.jag.2022.103094
Huff,D. L. (1964). Defining and estimating a trading area. Journal of Marketing,28(3),34-38. https://doi.org/10.1177/002224296402800307
Janowicz,K.,Gao,S.,McKenzie,G.,Hu,Y.,& Bhaduri,B. (2020). GeoAI: Spatially explicit artificial intelligence techniques for geographic knowledge discovery and beyond. International Journal of Geographical Information Science,34(4),625-636. https://doi.org/10.1080/13658816.2019.1684500
Kang,C. D. (2018). The S + 5Ds: Spatial access to pedestrian environments and walking in Seoul,Korea. Cities,77,130-141. https://doi.org/10.1016/j.cities.2018.01.019
Kang,Y.,Zhang,F.,Gao,S.,Lin,H.,& Liu,Y. (2020). A review of urban physical environment sensing using street view imagery in public health studies. Annals of GIS,26(3),261-275. https://doi.org/10.1080/19475683.2020.1791954
Kim,S. (2025). Urban vitality measurement through big data and Internet of Things technologies. ISPRS International Journal of Geo-Information,14(1),14. https://doi.org/10.3390/ijgi14010014
Kirillov,A.,He,K.,Girshick,R.,Rother,C.,& Dollar,P. (2019). Panoptic segmentation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,9404-9413. https://doi.org/10.1109/cvpr.2019.00963
Kitchin,R. (2014). The real-time city? Big data and smart urbanism. GeoJournal,79(1),1-14. https://doi.org/10.1007/s10708-013-9516-8
Kitchin,R.,Lauriault,T. P.,& McArdle,G. (2015). Knowing and governing cities through urban indicators,city benchmarking and real-time dashboards. Regional Studies,Regional Science,2(1),6-28. https://doi.org/10.1080/21681376.2014.983149
Korb,K. B.,& Nicholson,A. E. (2010). Bayesian Artificial Intelligence. CRC Press. https://doi.org/10.1201/b10391
Krizhevsky,A.,Sutskever,I.,& Hinton,G. E. (2017). ImageNet classification with deep convolutional neural networks. Communications of the ACM,60(6),84-90. https://doi.org/10.1145/3065386
Kuznetsova, A., Rom, H., Alldrin, N., Uijlings, J., Krasin, I., Pont-Tuset, J., Kamali, S., Popov, S., Malloci, M., Kolesnikov, A., Duerig, T., & Ferrari, V. (2020). The Open Images Dataset V4: Unified Image Classification, Object Detection, and Visual Relationship Detection at Scale. International Journal of Computer Vision, 128(7), 1956–1981. https://doi.org/10.1007/s11263-020-01316-z
Kwan,M.-P. (2012). The uncertain geographic context problem. Annals of the Association of American Geographers,102(5),958-968. https://doi.org/10.1080/00045608.2012.687349
LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436–444. https://doi.org/10.1038/nature14539
LeSage,J. P.,& Pace,R. K. (2009). Introduction to Spatial Econometrics. CRC Press. https://doi.org/10.1201/9781420064254
Letham,B.,Rudin,C.,McCormick,T. H.,& Madigan,D. (2015). Interpretable classifiers using rules and Bayesian analysis: Building a better stroke prediction model. Annals of Applied Statistics,9(3),1350-1371. https://doi.org/10.1214/15-aoas848
Li,X.,Zhang,C.,Li,W.,Ricard,R.,Meng,Q.,& Zhang,W. (2015). Assessing street-level urban greenery using Google Street View and a modified green view index. Urban Forestry & Urban Greening,14(3),675-685. https://doi.org/10.1016/j.ufug.2015.06.006
Li, D., Han, H., Wang, J., & Xiao, X. (2025). Explaining Urban Vitality Through Interpretable Machine Learning: A Big Data Approach Using Street View Images and Environmental Factors. Sustainability, 17(11), 4926. https://doi.org/10.3390/su17114926
Lin,T.-Y.,Maire,M.,Belongie,S.,Hays,J.,Perona,P.,Ramanan,D.,Dollar,P.,& Zitnick,C. L. (2014). Microsoft COCO: Common objects in context. European Conference on Computer Vision,740-755. https://doi.org/10.1007/978-3-319-10602-1_48
Lipton,Z. C. (2018). The mythos of model interpretability. Communications of the ACM,61(10),36-43. https://doi.org/10.1145/3233231
Liu,Y.,Liu,X.,Gao,S.,Gong,L.,Kang,C.,Zhi,Y.,Chi,G.,& Shi,L. (2015). Social sensing: A new approach to understanding our socioeconomic environments. Annals of the Association of American Geographers,105(3),512-530. https://doi.org/10.1080/00045608.2015.1018773
Longley,P. A.,& Adnan,M. (2016). Geo-temporal Twitter demographics. International Journal of Geographical Information Science,30(2),369-389. https://doi.org/10.1080/13658816.2015.1089441
Lundberg,S. M.,Erion,G.,Chen,H.,DeGrave,A.,Prutkin,J. M.,Nair,B.,Katz,R.,Himmelfarb,J.,Bansal,N.,& Lee,S.-I. (2020). From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence,2(1),56-67. https://doi.org/10.1038/s42256-019-0138-9
Miller,T. (2019). Explanation in artificial intelligence: Insights from the social sciences. Artificial Intelligence,267,1-38. https://doi.org/10.1016/j.artint.2018.07.007
Mittelstadt,B.,Russell,C.,& Wachter,S. (2019). Explaining explanations in AI. Proceedings of the Conference on Fairness,Accountability,and Transparency,279-288. https://doi.org/10.1145/3287560.3287574
Molnar,C.,Casalicchio,G.,& Bischl,B. (2020). Interpretable machine learning: A brief history,state-of-the-art and challenges. Communications in Computer and Information Science,1323,417-431. https://doi.org/10.1007/978-3-030-65965-3_28
Molnar,C.,Koenig,G.,Herbinger,J.,Freiesleben,T.,Dandl,S.,Scholbeck,C. A.,Casalicchio,G.,Grosse-Wentrup,M.,& Bischl,B. (2022). General pitfalls of model-agnostic interpretation methods for machine learning models. Lecture Notes in Computer Science,13200,39-68. https://doi.org/10.1007/978-3-031-04083-2_4
Naik,N.,Kominers,S. D.,Raskar,R.,Glaeser,E. L.,& Hidalgo,C. A. (2017). Computer vision uncovers predictors of physical urban change. Proceedings of the National Academy of Sciences,114(29),7571-7576. https://doi.org/10.1073/pnas.1619003114
Porta,S.,Crucitti,P.,& Latora,V. (2006). The network analysis of urban streets: A primal approach. Environment and Planning B: Planning and Design,33(5),705-725. https://doi.org/10.1068/b32045
Reed,C.,Yu,T. E.,& Hughes,D. (2023). Evaluating the factors influencing the location strategies of specialty grocers versus traditional supermarkets in the United States. Applied Geography,158,103034. https://doi.org/10.1016/j.apgeog.2023.103034
Ribeiro,M. T.,Singh,S.,& Guestrin,C. (2016). 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,1135-1144. https://doi.org/10.1145/2939672.2939778
Roig-Tierno,N.,Baviera-Puig,A.,Buitrago-Vera,J.,& Mas-Verdu,F. (2013). The retail site location decision process using GIS and the analytical hierarchy process. Applied Geography,40,191-198. https://doi.org/10.1016/j.apgeog.2013.03.005
Rudin,C. (2019). Stop explaining black box machine learning models for high-stakes decisions and use interpretable models instead. Nature Machine Intelligence,1,206-215. https://doi.org/10.1038/s42256-019-0048-x
Rzotkiewicz,A.,Pearson,A. L.,Dougherty,B. V.,Shortridge,A.,& Wilson,N. (2018). Systematic review of the use of Google Street View in health research: Major themes,strengths,weaknesses and possibilities for future research. Health & Place,52,240-246. https://doi.org/10.1016/j.healthplace.2018.07.001
Salesses,P.,Schechtner,K.,& Hidalgo,C. A. (2013). The collaborative image of the city: Mapping the inequality of urban perception. PLOS ONE,8(7),e68400. https://doi.org/10.1371/journal.pone.0068400
Scutari,M. (2010). Learning Bayesian networks with the bnlearn R package. Journal of Statistical Software,35(3),1-22. https://doi.org/10.18637/jss.v035.i03
Shmueli,G. (2010). To explain or to predict? Statistical Science,25(3),289-310. https://doi.org/10.1214/10-sts330
Talen,E. (2003). Neighborhoods as service providers: A methodology for evaluating pedestrian access. Environment and Planning B: Planning and Design,30(2),181-200. https://doi.org/10.1068/b12977
Teller,C.,& Reutterer,T. (2008). The evolving concept of retail attractiveness: What makes retail agglomerations attractive when customers shop at them? Journal of Retailing and Consumer Services,15(3),127-143. https://doi.org/10.1016/j.jretconser.2007.03.003
Warfield,J. N. (1974). Developing interconnection matrices in structural modeling. IEEE Transactions on Systems,Man,and Cybernetics,SMC-4(1),81-87. https://doi.org/10.1109/tsmc.1974.5408524
Wood,S.,& Browne,S. (2007). Convenience store location planning and forecasting: A practical research agenda. International Journal of Retail & Distribution Management,35(4),233-255. https://doi.org/10.1108/09590550710736184
Wu,M.,Pei,T.,Wang,W.,Guo,S.,Song,C.,& Chen,J. (2021). Roles of locational factors in the rise and fall of restaurants: A case study of Beijing with POI data. Cities,113,103185. https://doi.org/10.1016/j.cities.2021.103185
Wu, C., Ye, Y., Gao, F., & Ye, X. (2023). Using street view images to examine the association between human perceptions of locale and urban vitality in Shenzhen, China. Sustainable Cities and Society, 88, 104291. https://doi.org/10.1016/j.scs.2022.104291
Xu,L.,Li,F.,Huang,K.,& Ning,J. (2023). A two-layer location choice model reveals what is new in the new retail. Annals of the American Association of Geographers,113(3),635-657. https://doi.org/10.1080/24694452.2022.2115972
Yao,Y.,Li,X.,Liu,X.,Liu,P.,Liang,Z.,Zhang,J.,& Mai,K. (2017). Sensing spatial distribution of urban land use by integrating points-of-interest and Google Word2Vec model. International Journal of Geographical Information Science,31(4),825-848. https://doi.org/10.1080/13658816.2016.1244608
Zhang,F.,Zhou,B.,Liu,L.,Liu,Y.,Fung,H. H.,Lin,H.,& Ratti,C. (2018). Measuring human perceptions of a large-scale urban region using machine learning. Landscape and Urban Planning,180,148-160. https://doi.org/10.1016/j.landurbplan.2018.08.020
Zheng,Y.,Capra,L.,Wolfson,O.,& Yang,H. (2014). Urban computing: Concepts,methodologies,and applications. ACM Transactions on Intelligent Systems and Technology,5(3),1-55. https://doi.org/10.1145/2629592
Zhou,B.,Liu,L.,Oliva,A.,& Torralba,A. (2014). Recognizing city identity via attribute analysis of geo-tagged images. Lecture Notes in Computer Science,8925,519-534. https://doi.org/10.1007/978-3-319-10578-9_34
Zhou,T.,& Clapp,J. M. (2015). The location of new anchor stores within metropolitan areas. Regional Science and Urban Economics,50,87-107. https://doi.org/10.1016/j.regsciurbeco.2014.11.003
Zhou,B.,Lapedriza,A.,Khosla,A.,Oliva,A.,& Torralba,A. (2018). Places: A 10 million image database for scene recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence,40(6),1452-1464. https://doi.org/10.1109/tpami.2017.2723009







