Skip to main navigation Skip to search Skip to main content

The urban greening paradox: Measuring day-night perceived safety divergences from paired street view images using generative AI

Jiajing Dai, Yuankai Wang, Waishan Qiu, Jun Ma, Da Chen

Research output: Contribution to journalArticlepeer-review

1   Link opens in a new tab Citation (SciVal)

Abstract

Whether nighttime is the better half of life varies across cities depending on how safe residents perceive their neighborhood environments to be. Although street view imagery (SVI) is instrumental in auditing perceived safety, city-wide nighttime SVI does not exist. Consequently, the extent to which day-night safety perceptions diverge remains unclear. Although emerging studies have used day-to-night (D2N) translations to generate nighttime SVIs, the model convergence and transferability are unknown. Using paired day-night SVIs from U.S. and Chinese cities, we confirmed the converging sample size (∼2000 pairs) and demonstrated both cross-density and cross-cultural transferability of the D2N model. Medium-density SVIs achieved the best cross-density transferability, while models trained on U.S. samples outperformed those trained on Chinese samples, indicating moderate concerns about the adequacy of cross-cultural training data for applying D2N models across regions. Moreover, interpretable machine learning reveals a pronounced day–night asymmetry in perceptual mechanisms: daytime safety perception is primarily shaped by pedestrian-oriented configurations, whereas nighttime safety perception relies more on visibility-related cues. Meanwhile, brightness emerges as a key positive predictor in both periods. Additionally, urban greening intensifies day–night divergence in perceived safety disproportionately rather than uniformly enhancing perceived safety. This pattern illustrates the urban greening paradox: trees and plants increase daytime perceived safety, yet are linked to lower perceived safety after dark. Lastly, city-scale mapping in Boston reveals salient spatial heterogeneity: central and northwest corridors retain relatively high safety perception after dark, while southern areas experience the steepest nighttime declines. Our scalable GenAI framework extends urban scene studies to the nighttime domain and enables city-wide mapping of perceived safety after dark, informing more inclusive nighttime urban planning.

Original languageEnglish
Article number129350
Number of pages32
JournalUrban Forestry and Urban Greening
Volume118
Early online date16 Feb 2026
DOIs
Publication statusE-pub ahead of print - 16 Feb 2026

Data Availability Statement

Complete day-night image data will be made available upon reasonable requests. A random sample of day-night street view image pairs and day-night perceived safety survey results has been uploaded to Google Drive: https://drive.google.com/drive/folders/1Y91bgBWiMRyD04znYjIzq_TRtKCNv6B-?usp=sharing

Keywords

  • Cross-city transferability
  • Day-to-night translation
  • Generative AI
  • Nighttime perceived safety
  • Nighttime street view image

ASJC Scopus subject areas

  • Forestry
  • Ecology
  • Soil Science

Fingerprint

Dive into the research topics of 'The urban greening paradox: Measuring day-night perceived safety divergences from paired street view images using generative AI'. Together they form a unique fingerprint.

Cite this