Generative AI and causal-spatial modeling for understanding nighttime pedestrian risk in urban systems

Urban environments exhibit intricate spatial and visual structures that complicate efforts to model and interpret human-environment interactions. This complexity challenges our ability to capture how perceptual and spatial factors jointly shape movement and exposure patterns in cities, particularly under low-light conditions. However, most spatial analytics frameworks lack high-resolution nighttime visual data and rely on context-insensitive models that overlook spatiotemporal heterogeneity. This study developed an integrated computational framework that combines Generative AI-based visual synthesis with causal-spatial machine learning to characterize urban visual environments and their influence on pedestrian crash risk. To this end, a citywide dataset of AI-synthesized nighttime street view imagery was established using a CycleGAN model fine-tuned on local Hong Kong data, enabling a realistic representation of street-level illumination and visibility. The derived visual metrics were then incorporated into a geographically weighted causal random forest integrated with double machine learning to estimate localized causal effects while addressing confounding and nonlinearity. The results reveal that visual overload from dense built structures increases pedestrian crash risk, whereas clear spatial boundaries and balanced lighting contrast reduce hazards in low-light conditions. Nighttime visibility of walking paths shows stronger protective effects than overall brightness, suggesting that excessive illumination may impair rather than enhance safety. The study highlights the value of combining generative visual analytics with causal-spatial inference for large-scale, perception-aware analysis of urban environments. The proposed framework advances computational urban analytics and provides transferable tools for data-driven, context-sensitive street design and pedestrian safety planning. • AI-synthesized nighttime imagery for citywide pedestrian risk modeling. • Causal machine learning integrated with geographically weighted modeling. • Visual overload from dense infrastructure linked to higher daytime risk. • Path visibility outperforms brightness in modeling nighttime perception. • Localized causal effects reveal spatially uneven pedestrian vulnerability patterns.

Authors

Institutions

Publication Details

Journal
Computers Environment and Urban Systems
Published
2026-04-03
DOI
https://doi.org/10.1016/j.compenvurbsys.2026.102436
Primary Topic
Evacuation and Crowd Dynamics
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Generative AI and causal-spatial modeling for understanding nighttime pedestrian risk in urban systems

Chenming Niu, Junshi Xu, Muyi Zhu, Yuankai Wang et al.
Computers Environment and Urban Systems
Evacuation and Crowd Dynamics
article

Generative AI and causal-spatial modeling for understanding nighttime pedestrian risk in urban systems

Chenming Niu, Junshi Xu, Muyi Zhu, Yuankai Wang, Waishan Qiu, Xiaotong Ye
article en

Abstract

Urban environments exhibit intricate spatial and visual structures that complicate efforts to model and interpret human-environment interactions. This complexity challenges our ability to capture how perceptual and spatial factors jointly shape movement and exposure patterns in cities, particularly under low-light conditions. However, most spatial analytics frameworks lack high-resolution nighttime visual data and rely on context-insensitive models that overlook spatiotemporal heterogeneity. This study developed an integrated computational framework that combines Generative AI-based visual synthesis with causal-spatial machine learning to characterize urban visual environments and their influence on pedestrian crash risk. To this end, a citywide dataset of AI-synthesized nighttime street view imagery was established using a CycleGAN model fine-tuned on local Hong Kong data, enabling a realistic representation of street-level illumination and visibility. The derived visual metrics were then incorporated into a geographically weighted causal random forest integrated with double machine learning to estimate localized causal effects while addressing confounding and nonlinearity. The results reveal that visual overload from dense built structures increases pedestrian crash risk, whereas clear spatial boundaries and balanced lighting contrast reduce hazards in low-light conditions. Nighttime visibility of walking paths shows stronger protective effects than overall brightness, suggesting that excessive illumination may impair rather than enhance safety. The study highlights the value of combining generative visual analytics with causal-spatial inference for large-scale, perception-aware analysis of urban environments. The proposed framework advances computational urban analytics and provides transferable tools for data-driven, context-sensitive street design and pedestrian safety planning. • AI-synthesized nighttime imagery for citywide pedestrian risk modeling. • Causal machine learning integrated with geographically weighted modeling. • Visual overload from dense infrastructure linked to higher daytime risk. • Path visibility outperforms brightness in modeling nighttime perception. • Localized causal effects reveal spatially uneven pedestrian vulnerability patterns.

Computers Environment and Urban SystemsVol. 127
University of Hong Kong (HK)
National Natural Science Foundation of China, University of Hong Kong
Sustainable cities and communities
Openalex Percentile: Top 9%
Evacuation and Crowd Dynamics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.