An Interpretable Machine Learning Approach to Studying Environmental Safety Perception Among Elderly Residents in Pocket Parks
Abstract
1. Introduction
2. Research Methodology
2.1. Research Area and Data Collection
2.1.1. Research Area
2.1.2. Data Collection
- 1.
- No points are required for sections shorter than 5 m.
- 2.
- Points should be placed at the midpoint of sections ranging from 5 to 10 m.
- 3.
- For sections exceeding 10 m, points should be spaced at 20 m intervals.
- 4.
- Additionally, points should be positioned at every intersection to ensure coverage.
2.2. Extraction and Quantification of Visual Elements
2.2.1. Extraction of Visual Variables
2.2.2. Quantification of Visual Variables
2.3. Construction of Environmental Safety Perception Model
2.4. Quantify the Impact of Visual Elements on Environmental Safety Perception Based on SHAP and PDP
3. Results
3.1. Spatial Distribution and Assessment of Perception of Environmental Safety
3.2. SHAP Feature Contribution Results
3.3. Univariate Key Visual Elements Contribute to Shaping Elderly Individuals’ Perception of Environmental Safety
3.4. Bivariate Key Visual Elements Contribute to Shaping Elderly Individuals’ Perception of Environmental Safety
4. Discussion
4.1. The Nonlinear Impact Dynamics of Key Visual Elements
4.2. The Interaction, Coordination and Restraint Mechanism of Visual Elements
4.3. The Theoretical and Practical Significance of the Research
- (1)
- Optimize pedestrian pathways: Create wide, continuous, and barrier-free walking areas using slip-resistant materials like EPDM rubber floors. Design interconnected paths to form a circular or networked layout, minimizing narrow or sharp turns for safety.
- (2)
- Restrict vehicular access: Establish no-parking zones with clear signage and surveillance. Install safety barriers, such as greenbelts or bollards, to shield parks adjacent to roads, reducing vehicle threats and promoting low-carbon travel.
- (3)
- Enhance social space: Place rest seats and social facilities in safe, sheltered areas to accommodate the physical needs and social preferences of users. These arrangements foster interaction and community engagement.
- (4)
- Design effective signage: Position notice boards at prominent locations (e.g., entrances and along walkways) to convey park maps, facility details, and event schedules. Include health-related information boards to meet educational needs while maintaining visual clarity.
- (5)
- Select appropriate vegetation: Plant tall trees for shade and opt for low-growing, non-toxic plants. Prioritize layered vegetation layouts with transparency for safety. Regular maintenance ensures cleanliness and aesthetic appeal.
- (6)
- Plan grassland areas: Design grassy zones based on park scale and functionality. Use durable, soft grass species (e.g., ryegrass) and incorporate seating or pathways along edges to enhance accessibility.
4.4. The Limitations of the Research and Future Prospects
- (1)
- Cross-regional and cross-cultural comparative studies could be conducted by selecting cities or regions with distinct characteristics. This would allow for a more rigorous examination of the universality and boundary conditions of the current findings.
- (2)
- Dynamic video data and time-series image analysis could be employed to systematically capture and analyze environmental dynamics, including changes in pedestrian and vehicular flows, diurnal lighting variations, and seasonal landscape shifts. This would enhance the understanding of real-time safety perceptions among the elderly.
- (3)
- A multi-sensory environmental perception model could be developed by integrating multi-source data collection techniques. These techniques include in-depth field questionnaire surveys, continuous behavioral observations, physiological index measurements (e.g., heart rate variability and skin conductance response), and wearable sensor data. This integrated approach would help reveal the complex relationships between environmental characteristics and perceived safety.
- (4)
- Differentiated studies targeting subgroups of the elderly (e.g., advanced-age vs. young-old populations, those with varying health conditions, and individuals from diverse socio-economic backgrounds) could be conducted. This would enable a deeper analysis of their distinct safety concerns and environmental preferences, thereby offering robust scientific evidence and design insights for developing inclusive, tailored, and diversified age-friendly environments.
5. Conclusions
- (1)
- Key positive factors include sufficient walkable areas, which ensure safe and barrier-free mobility for the elderly, and moderate group activities, which foster community vitality and enhance perceived safety.
- (2)
- The relationship between natural elements and safety perception is nonlinear. While moderate greening improves environmental quality and reduces stress, excessive vegetation can obstruct vision, diminish path clarity, and introduce safety risks.
- (3)
- Complex synergistic relationships exist between visual elements. For instance, the combination of spacious pedestrian areas, vibrant social activity, and optimal greening yields the highest safety perception among the elderly.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Guo, N.; Xia, F.; Yu, S. Enhancing elderly well-being: Exploring interactions between neighborhood-built environment and outdoor activities in old urban area. Buildings 2024, 14, 2845. [Google Scholar] [CrossRef]
- Onose, D.A.; Onose, D.A.; Iojă, I.C.; Niță, M.R.; Vânău, G.O.; Popa, A.M. Too old for recreation? How friendly are urban parks for elderly people? Sustainability 2020, 12, 790. [Google Scholar] [CrossRef]
- Shan, W.; Xiu, C.; Ji, R. Creating a healthy environment for elderly people in urban public activity space. Int. J. Environ. Res. Public Health 2020, 17, 7301. [Google Scholar] [CrossRef] [PubMed]
- Kimic, K.; Polko, P. The use of urban parks by older adults in the context of perceived security. Int. J. Environ. Res. Public Health 2022, 19, 4184. [Google Scholar] [CrossRef]
- Kerishnan, P.B.; Maruthaveeran, S. Factors contributing to the usage of pocket parks―A review of the evidence. Urban For. Urban Green. 2021, 58, 126985. [Google Scholar] [CrossRef]
- Wang, X.; Li, G.; Pan, J.; Shen, J.; Han, C. The difference in the elderly’s visual impact assessment of pocket park landscape. Sci. Rep. 2023, 13, 16895. [Google Scholar] [CrossRef]
- Lu, S.; Oh, W.; Ooka, R.; Wang, L. Effects of environmental features in small public urban green spaces on older adults’ mental restoration: Evidence from Tokyo. Int. J. Environ. Res. Public Health 2022, 19, 5477. [Google Scholar] [CrossRef]
- Yang, Y.; Lu, Y.; Yang, H.; Yang, L.; Gou, Z. Impact of the quality and quantity of eye-level greenery on park usage. Urban For. Urban Green. 2021, 60, 127061. [Google Scholar] [CrossRef]
- Meng, L.; Wen, K.H.; Zeng, Z.; Brewin, R.; Fan, X.; Wu, Q. The impact of street space perception factors on elderly health in high-density cities in Macau—Analysis based on street view images and deep learning technology. Sustainability 2020, 12, 1799. [Google Scholar] [CrossRef]
- Zhou, H.; Wang, J.; Wilson, K.; Widener, M.; Wu, D.Y.; Xu, E. Using street view imagery and localized crowdsourcing survey to model perceived safety of the visual built environment by gender. Int. J. Appl. Earth Obs. Geoinf. 2025, 139, 104421. [Google Scholar] [CrossRef]
- Chen, S.; Lin, S.; Yao, Y.; Zhou, X. Urban public space safety perception and the influence of the built environment from a female perspective: Combining street view data and deep learning. Land 2024, 13, 2108. [Google Scholar] [CrossRef]
- Fan, C.; Li, S.; Liu, Y.; Jin, C.; Zhou, L.; Gu, Y.; Gai, Z.; Liu, R.; Qiu, B. Using social media text data to analyze the characteristics and influencing factors of daily urban green space usage—A case study of Xiamen, China. Forests 2023, 14, 1569. [Google Scholar] [CrossRef]
- Zeng, E.; Dong, Y.; Yan, L.; Lin, A. Perceived safety in the neighborhood: Exploring the role of built environment, social factors, physical activity and multiple pathways of influence. Buildings 2023, 13, 2. [Google Scholar] [CrossRef]
- Larkin, A.; Krishna, A.; Chen, L.; Amram, O.; Avery, A.R.; Duncan, G.E.; Hystad, P. Measuring and modelling perceptions of the built environment for epidemiological research using crowd-sourcing and image-based deep learning models. J. Expo. Sci. Environ. Epidemiol. 2022, 32, 892–899. [Google Scholar] [CrossRef] [PubMed]
- Behera, R.K.; Bala, P.K.; Rana, N.P. Creation of sustainable growth with explainable artificial intelligence: An empirical insight from consumer packaged goods retailers. J. Clean. Prod. 2023, 399, 136605. [Google Scholar] [CrossRef]
- Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. In Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
- Lan, Y.; Li, Z.; Lin, W. “Why Should I Trust You?”: Exploring Interpretability in Machine Learning Approaches for Indirect SHM. e-J. Nondestruct. Test. Ultrason. 2024, 29. [Google Scholar] [CrossRef]
- Hassija, V.; Chamola, V.; Mahapatra, A.; Singal, A.; Goel, D.; Huang, K.; Scardapane, S.; Spinelli, I.; Mahmud, M.; Hussain, A. Interpreting black-box models: A review on explainable artificial intelligence. Cogn. Comput. 2024, 16, 45–74. [Google Scholar] [CrossRef]
- Rui, J. Exploring the association between the settlement environment and residents’ positive sentiments in urban villages and formal settlements in Shenzhen. Sustain. Cities Soc. 2023, 98, 104851. [Google Scholar] [CrossRef]
- Lin, X.; Yusoff, W.F.M.; Mat, M.K.A. Assessment of Xiamen Community Parks to Promote Physical Activity for Older Adults. J. Arch. Urban Des. 2024, 1, 1–13. [Google Scholar] [CrossRef]
- Song, Y.; Wang, X.; Liao, M.; Baldwin, A.S.; Liu, L. Binocular function in the aging visual system: Fusion, suppression, and stereoacuity. Front. Neurosci. 2024, 18, 1360619. [Google Scholar] [CrossRef]
- Mo, Y.; Wu, Y.; Yang, X.; Liu, F.; Liao, Y. Review the state-of-the-art technologies of semantic segmentation based on deep learning. Neurocomputing 2022, 493, 626–646. [Google Scholar] [CrossRef]
- Guo, Y.; Nie, G.; Gao, W.; Liao, M. 2d semantic segmentation: Recent developments and future directions. Future Internet 2023, 15, 205. [Google Scholar] [CrossRef]
- Wang, X.; Zhang, Y.; Xu, W.; Wang, H.; Cai, J.; Qin, Q.; Wang, Q.; Zeng, J. Construction of Multi-Scale Fusion Attention Unified Perceptual Parsing Networks for Semantic Segmentation of Mangrove Remote Sensing Images. Appl. Sci. 2025, 15, 976. [Google Scholar] [CrossRef]
- Ueda, Y.; Wada, M.; Adachi, M.; Miyamoto, R. Dataset Creation for Segmentation to Enhance Visual Navigation in a Targeted Indoor Environment. In Proceedings of the 2023 17th International Conference on Signal-Image Technology & Internet-Based Systems (SITIS), Bangkok, Thailand, 8–10 November 2023. [Google Scholar] [CrossRef]
- Sánchez, I.A.V.; Labib, S. Accessing eye-level greenness visibility from open-source street view images: A methodological development and implementation in multi-city and multi-country contexts. Sustain. Cities Soc. 2024, 103, 105262. [Google Scholar] [CrossRef]
- Elharrouss, O.; Al-Maadeed, S.; Subramanian, N.; Ottakath, N.; Almaadeed, N.; Himeur, Y. Panoptic segmentation: A review. arXiv 2021, arXiv:2111.10250. [Google Scholar] [CrossRef]
- Shafiq, M.; Gu, Z. Deep residual learning for image recognition: A survey. Appl. Sci. 2022, 12, 8972. [Google Scholar] [CrossRef]
- Du, F.; Wu, S. ECMNet: Lightweight Semantic Segmentation with Efficient CNN-Mamba Network. arXiv 2025, arXiv:2506.08629. [Google Scholar] [CrossRef]
- Woo, S.; Debnath, S.; Hu, R.; Chen, X.; Liu, Z.; Kweon, I.S.; Xie, S. Convnext v2: Co-designing and scaling convnets with masked autoencoders. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada, 18–22 June 2023. [Google Scholar] [CrossRef]
- Hajihosseinlou, M.; Maghsoudi, A.; Ghezelbash, R. A novel scheme for mapping of MVT-type Pb–Zn prospectivity: LightGBM, a highly efficient gradient boosting decision tree machine learning algorithm. Nat. Resour. Res. 2023, 32, 2417–2438. [Google Scholar] [CrossRef]
- Özgür, S.; Orman, M. Application of deep learning technique in next generation sequence experiments. J. Big Data 2023, 10, 160. [Google Scholar] [CrossRef]
- Ramani, R.; Mary, A.R.; Raja, S.E.; Shunmugam, D.A. Optimized data management and secured federated learning in the Internet of Medical Things (IoMT) with blockchain technology. Biomed. Signal Process. Control 2024, 93, 106213. [Google Scholar] [CrossRef]
- Nohara, Y.; Matsumoto, K.; Soejima, H.; Nakashima, N. Explanation of machine learning models using shapley additive explanation and application for real data in hospital. Comput. Methods Programs Biomed. 2022, 214, 106584. [Google Scholar] [CrossRef]
- Croff, R.; Aron, S.; Wachana, A.; Fuller, P.; Mattek, N.; Towns, J.; Kaye, J. Walking and social reminiscence in gentrifying neighborhoods: Feasibility and impact on cognitive, physical, and mental health among older black adults in the SHARP study. Gerontologist 2024, 64, gnae019. [Google Scholar] [CrossRef]
- Kim, Y.; Choi, B.; Choi, M.; Ahn, S.; Hwang, S. Enhancing pedestrian perceived safety through walking environment modification considering traffic and walking infrastructure. Front. Public Health 2024, 11, 1326468. [Google Scholar] [CrossRef]
- Williams, T.G.; Logan, T.M.; Zuo, C.T.; Liberman, K.D.; Guikema, S.D. Parks and safety: A comparative study of green space access and inequity in five US cities. Landsc. Urban Plan. 2020, 201, 103841. [Google Scholar] [CrossRef]
- Ferguson, L.A.; Taff, B.D.; Blanford, J.I.; Mennitt, D.J.; Mowen, A.J.; Levenhagen, M.; White, C.; Monz, C.A.; Francis, C.D.; Barber, J.R.; et al. Understanding park visitors’ soundscape perception using subjective and objective measurement. PeerJ 2024, 12, e16592. [Google Scholar] [CrossRef] [PubMed]
- Ren, X.; Wei, P.; Wang, Q.; Sun, W.; Yuan, M.; Shao, S.; Zhu, D.; Xue, Y. The effects of audio-visual perceptual characteristics on environmental health of pedestrian streets with traffic noise: A case study in Dalian, China. Front. Psychol. 2023, 14, 1122639. [Google Scholar] [CrossRef]
- Park, Y.; Garcia, M. Pedestrian safety perception and urban street settings. Int. J. Sustain. Transp. 2020, 14, 860–871. [Google Scholar] [CrossRef]
- Ren, W.; Zhan, K.; Chen, Z.; Hong, X.C. Research on Landscape Perception of Urban Parks Based on User-Generated Data. Buildings 2024, 14, 2776. [Google Scholar] [CrossRef]
- Cozens, P.M.; Saville, G.; Hillier, D. Crime prevention through environmental design (CPTED): A review and modern bibliography. Prop. Manag. 2005, 23, 328–356. [Google Scholar] [CrossRef]
- Gooren, J. The logic of CPTED for public space or the social potential of physical security. Crime Law Soc. Change 2023, 79, 417–436. [Google Scholar] [CrossRef]
- Kim, Y.-A.; Kim, J. Examining the effects of physical environment and structural characteristics on the spatial patterns of crime in Daegu, South Korea. Crime Delinq. 2024, 70, 2166–2194. [Google Scholar] [CrossRef]
- Aceves-González, C.; Ekambaram, K.; Rey-Galindo, J.; Rizo-Corona, L. The role of perceived pedestrian safety on designing safer built environments. Traffic Inj. Prev. 2020, 21 (Suppl. S1), S84–S89. [Google Scholar] [CrossRef]
- Ariffin, N.D.M.; Ibrahim, R.; Maulan, S.; Bakar, S.A. Manicured Versus Naturalistic Landscape Style: Public Preference of Urban Park’s Landscape in Kuala Lumpur, Malaysia. Int. J. Acad. Res. Bus. Soc. 2024, 14, 1184–1201. [Google Scholar] [CrossRef]
- Lis, A.; Pardela, Ł.; Iwankowski, P. Impact of vegetation on perceived safety and preference in city parks. Sustainability 2019, 11, 6324. [Google Scholar] [CrossRef]
- Kim, D. The transportation safety of elderly pedestrians: Modeling contributing factors to elderly pedestrian collisions. Accid. Anal. Prev. 2019, 131, 268–274. [Google Scholar] [CrossRef]
- Veitch, J.; Flowers, E.; Ball, K.; Deforche, B.; Timperio, A. Designing parks for older adults: A qualitative study using walk-along interviews. Urban For. Urban Green. 2020, 54, 126768. [Google Scholar] [CrossRef]
- Basu, N.; Oviedo-Trespalacios, O.; King, M.; Kamruzzaman, M.; Haque, M.M. The influence of the built environment on pedestrians’ perceptions of attractiveness, safety and security. Transp. Res. Part F Traffic Psychol. Behav. 2022, 87, 203–218. [Google Scholar] [CrossRef]
- Wu, H.; Chen, Y.; Zhang, Z.; Jiao, J. The impact of street characteristics on older pedestrians’ perceived safety in Shanghai, China. J. Transp. Land Use 2020, 13, 469–490. [Google Scholar] [CrossRef]
- Yin, Y.; Shao, Y.; Wang, Y.; Wu, L. Developing a pocket park prescription program for human restoration: An approach that encourages both people and the environment. Int. J. Environ. Res. Public Health 2023, 20, 6642. [Google Scholar] [CrossRef]
- Lv, M.; Wang, N.; Yao, S.; Wu, J.; Fang, L. Towards healthy aging: Influence of the built environment on elderly pedestrian safety at the micro-level. Int. J. Environ. Res. Public Health 2021, 18, 9534. [Google Scholar] [CrossRef] [PubMed]
- Beneduce, C.; Lepri, B.; Luca, M. Urban Safety Perception Through the Lens of Large Multimodal Models: A Persona-based Approach. arXiv 2025, arXiv:2503.00610. [Google Scholar] [CrossRef]
- Jacobs, J. The Death and Life of Great American Cities; Random House: New York, NY, USA, 1961. [Google Scholar] [CrossRef]
- Tchinda, P.E.; Kim, S.-N. The paradox of “eyes on the street”: Pedestrian density and fear of crime in Yaoundé, Cameroon. Sustainability 2020, 12, 5300. [Google Scholar] [CrossRef]
- Aruona, V.A.; Harris, N.; Munera, M.; Cifuentes, C.A. Reimagining Assistive Walkers: An Exploration of Challenges and Preferences in Older Adults. arXiv 2025, arXiv:2504.18169. [Google Scholar] [CrossRef]
- Zhu, W.; Chen, Z.; Wang, X.; Hu, F. Research on the influence of the visual perception characteristics of fitness trail landscape space based on psychological perception: A case study of Hunnan District, Shenyang, China. Front. Psychol. 2025, 16, 1595451. [Google Scholar] [CrossRef]
- Sezavar, N.; Pazhouhanfar, M.; Van Dongen, R.P.; Grahn, P. The importance of designing the spatial distribution and density of vegetation in urban parks for increased experience of safety. J. Clean. Prod. 2023, 403, 136768. [Google Scholar] [CrossRef]
- Wei, D.; Wang, Y.; Jiang, Y.; Guan, X.; Lu, Y. Deciphering the effect of user-generated content on park visitation: A comparative study of nine Chinese cities in the Pearl River Delta. Land Use Policy 2024, 144, 107259. [Google Scholar] [CrossRef]
- Wang, R.; Jiang, Y.; Liu, D.; Peng, H.; Cao, M.; Yao, Y. Is perceived safety a prerequisite for the relationship between green space availability, and the use and perceived comfort of green space? Wellbeing Space Soc. 2025, 8, 100247. [Google Scholar] [CrossRef]
Feature Pair | Calculation Range (Maximum PD–Minimum PD) | Classification of Impact Amplitude |
---|---|---|
grass_vegetation | 0.6021 | Low |
vegetation_billboard | 0.7145 | Low |
vegetation_car | 0.7847 | Low |
grass_car | 0.801 | Medium |
grass_billboard | 0.8075 | Medium |
person_vegetation | 0.8618 | Medium |
car_billboard | 0.9519 | Medium |
pedestrian area_vegetation | 0.9639 | Medium |
grass_person | 0.9708 | Medium |
grass_pedestrian area | 1.004 | High |
person_car | 1.043 | High |
person_billboard | 1.065 | High |
pedestrian area_car | 1.127 | High |
pedestrian area_billboard | 1.13 | High |
pedestrian area_person | 1.164 | High |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wu, S.; Wu, S.; Chen, J.; Pan, C. An Interpretable Machine Learning Approach to Studying Environmental Safety Perception Among Elderly Residents in Pocket Parks. Buildings 2025, 15, 3411. https://doi.org/10.3390/buildings15183411
Wu S, Wu S, Chen J, Pan C. An Interpretable Machine Learning Approach to Studying Environmental Safety Perception Among Elderly Residents in Pocket Parks. Buildings. 2025; 15(18):3411. https://doi.org/10.3390/buildings15183411
Chicago/Turabian StyleWu, Shengzhen, Sichao Wu, Jingru Chen, and Chen Pan. 2025. "An Interpretable Machine Learning Approach to Studying Environmental Safety Perception Among Elderly Residents in Pocket Parks" Buildings 15, no. 18: 3411. https://doi.org/10.3390/buildings15183411
APA StyleWu, S., Wu, S., Chen, J., & Pan, C. (2025). An Interpretable Machine Learning Approach to Studying Environmental Safety Perception Among Elderly Residents in Pocket Parks. Buildings, 15(18), 3411. https://doi.org/10.3390/buildings15183411