He, Z., Cai, C. and Rui, J. (2026) Perceived safety and crime risk across day and night contexts in Shanghai. Journal of Geovisualization and Spatial Analysis, 10 (2). 48. ISSN: 2509-8810
Abstract
Safety perception plays a crucial role in promoting sustainable urban development, as it influences residents’ spatial use behaviors, social interaction patterns, and neighborhood cohesion. However, existing studies have largely focused on single temporal contexts or relied on perception data derived from Western urban environments, leaving day–night differences in the relationship between safety perception and crime risk insufficiently understood. This study integrates generative artificial intelligence with questionnaire-based perception ratings to examine differences in safety perception between daytime and nighttime and their associations with crime risk. Focusing on central Shanghai, we analyzed adjudicated and publicly disclosed criminal cases from 2017 to 2019, generated corresponding nighttime street-view images (SVI) using a CycleGAN-based Day-to-Night (D2N) model, and obtained safety perception ratings for 1,751 valid SVI samples through a survey of 65 Shanghai residents. We then employed graph convolutional neural network weighted regression (GCNNWR) and bootstrap-based mediation analysis to examine the relationships between daytime and nighttime crime rates and related factors. The results show that the mean safety perception score decreased from 6.29 during daytime to 6.02 at nighttime, with low nighttime safety perception exhibiting more pronounced spatial clustering. Activity density was positively associated with crime rates, whereas the negative association between police facilities and crime rates weakened at night. In addition, TCI and LSU exhibited indirect pathways associated with nighttime crime rates through safety perception. These findings provide empirical support for incorporating nighttime safety experiences into urban safety governance and for implementing more temporally and spatially targeted governance strategies.
Metadata
| Item Type: | Article |
|---|---|
| Authors/Creators: |
|
| Copyright, Publisher and Additional Information: | © 2026 The Authors. Except as otherwise noted, this author-accepted version of a journal article published in Journal of Geovisualization and Spatial Analysis is made available via the University of Sheffield Research Publications and Copyright Policy under the terms of the Creative Commons Attribution 4.0 International License (CC-BY 4.0), which permits unrestricted use, distribution and reproduction in any medium, provided the original work is properly cited. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ |
| Keywords: | Perceived safety; Crime risk; Day-night contexts; Crime prevention |
| Dates: |
|
| Institution: | The University of Sheffield |
| Academic Units: | The University of Sheffield > Faculty of Social Sciences (Sheffield) > School of Geography and Planning |
| Date Deposited: | 27 Oct 2026 14:21 |
| Last Modified: | 27 Oct 2026 14:21 |
| Status: | Published |
| Publisher: | Springer Science and Business Media LLC |
| Refereed: | Yes |
| Identification Number: | 10.1007/s41651-026-00291-2 |
| Sustainable Development Goals: | |
| Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:247257 |
Download
Filename: Manuscript (clean version).pdf
Licence: CC-BY 4.0


CORE (COnnecting REpositories)
CORE (COnnecting REpositories)