Abstract
Visual cues in urban street environments shape residents’ perceived safety, and these perceptions often differ across social groups. Using Shanghai as a case study, this research focuses on two vulnerable populations: older adults and migrants. In the context of rapid urban transformation and increasingly fine-grained governance, perceived safety not only reflects environmental experience but also relates to whether different social groups can receive equitable perceptual support and access to opportunities for public-space use. We trained a deep learning model and rated perceived safety using over 160,000 street-level images, integrated with demographic census data at the neighborhood level, to systematically examine inequalities in visual environment perception and underlying group-specific mechanisms. However, existing studies have largely relied on small-sample surveys or average-effect analyses, and systematic evidence remains limited that can simultaneously characterize city-scale inequalities in perceived safety, disparities in group exposure, and group-specific mechanisms, while translating findings into actionable guidance for targeted governance. Firstly, we quantified spatial inequality in perceived safety using the Gini coefficient and the Theil T index. Decomposition results indicate that the remaining disparity is primarily associated with between-group differences linked to social structure. Nonparametric tests and multiple linear regression further identified significant interactions between demographic characteristics (the share of older adults and the migrant proportion) and visual environmental features, confirming group-differentiated responses to comparable streetscape conditions. In addition, we developed a priority governance index that combines perceived safety scores with vulnerability indicators to spatially identify neighborhoods requiring targeted interventions. Results suggest relatively low overall spatial inequality in perceived safety at the city scale, while decomposition analyses reveal clear group-structured disparities between central and peripheral areas and between local residents and migrants. Migrants are more frequently concentrated in neighborhoods with lower perceived safety. Priority intervention areas are primarily older-adult communities in central districts and migrant settlements in peripheral areas, characterized by lower perceived safety and higher demographic vulnerability. These findings underscore the need to shift urban renewal from uniform improvements toward differentiated strategies that account for perceptual equity and social identity. Our main contribution is not the development of a new network architecture but the alignment of image-based perception estimates with demographic vulnerability at the neighborhood scale. By combining inequality decomposition with tests of interaction mechanisms, we provide governance-relevant evidence for identifying priority intervention areas and advancing fine-grained renewal decisions oriented toward visual justice.
1. Introduction
Urban street environments continuously influence residents’ subjective judgments of safety through visual cues [1,2]. Elements such as greenery, openness of views, and the maintenance of building façades are rapidly perceived and translated into feelings of safety or unease [3]. Existing research indicates that when streets offer ample greenery and clear visibility, residents are more inclined to linger, socialize, and engage in leisure activities [4,5,6]. Conversely, environments characterized by physical deterioration or visual obstruction reduce residents’ willingness to move freely and interact socially, negatively affecting the economic and social vitality of communities [7]. Accordingly, perceived safety has become an important psychological dimension for assessing urban spatial quality and a key perceptual indicator for urban governance.
However, perceptions of safety shaped by visual cues vary substantially across social groups. Environmental psychology and urban sociology research suggests that older adults, due to mobility limitations and heightened risk sensitivity, rely more heavily on visual signals of environmental safety than the general population [8]. Migrants, facing weaker social ties and greater spatial unfamiliarity, often use street environments as salient cues for evaluating community friendliness and safety [9,10]. Prolonged exposure of these groups to lower-quality street environments may undermine quality of life and health and exacerbate social marginalization [11].
Perceived safety is not merely an individual psychological appraisal. It conditions whether people can comfortably use, dwell in, and benefit from public space in everyday life. When safety-related experiences are systematically patterned across social groups and neighborhoods, they become a justice-relevant outcome rather than a purely perceptual one. Thus, the urban visual environment is not only a matter of spatial efficiency or physical protection; it also shapes how everyday urban conditions are differentially experienced and socially structured, and can therefore be examined through justice-oriented lenses. In this study, perceptual justice refers to the fairness of environmentally produced subjective experiences—including safety, comfort, and controllability—across social groups. We situate this concept within established environmental justice and spatial justice traditions, particularly debates on distributive inequality and recognition in everyday urban experience [12,13]. Building on related work on visual environmental justice, we use visual justice to denote an operational pathway of perceptual justice expressed through street-level visual conditions and everyday visual encounters [14,15,16]. Specifically, visual justice captures the extent to which street-level visual cues provide—or withhold—perceptual support that shapes safety-related affect and behavioral willingness to use public space [13,14]. Specifically, visual justice captures the extent to which street-level visual cues provide—or withhold—perceptual support that shapes safety-related affect and behavioral willingness to use public space.
At the micro scale, perceived safety is often shaped by a set of streetscape cues that can be rapidly perceived. These cues recur in discussions of equity and justice because they may be unevenly distributed across neighborhoods and social groups. Prior research has typically emphasized key variables such as visibility and sightline access, lighting conditions and nighttime legibility, degrees of spatial openness versus enclosure, visual signals related to order and maintenance, and accessibility cues associated with everyday mobility [3,17]. Among these, discussions of visibility and openness, greenery and sky view, and maintenance- and order-related visual signals are especially common, as these elements jointly shape safety-related affective responses and willingness to use public space. When such cues cluster in disadvantaged neighborhoods or in the everyday spaces of particular vulnerable groups, they may translate into more systematic differences in daily safety experiences. This creates a direct link between micro-scale visual conditions and justice-oriented concerns and provides a theoretical motivation for subsequent inequality identification and governance diagnostics [12,13]. However, existing evidence still relies largely on localized surveys, neighborhood audits, or a limited set of manually coded indicators, which constrains robust cross-neighborhood comparisons and limits comparable tests of group-specific mechanisms. As a result, a clear research gap remains in the development of scalable assessment frameworks.
With the growing availability of street-view imagery and advances in computer vision, researchers can now characterize urban visual environments with larger samples and finer spatial resolution, enabling perception-related spatial assessments at scale [18,19,20]. Nevertheless, existing work remains limited in governance-oriented research on perceived safety and group differences. Many studies are either constrained by sample size and spatial coverage or focus primarily on predicting and mapping economic outcomes (e.g., poverty rates and vehicle ownership), leaving analyses of perceived safety and its group disparities comparatively limited and less robust [21]. In addition, most existing work examines a single population group, providing limited evidence for parallel comparisons across multiple disadvantaged groups in multi-vulnerability contexts and limiting our ability to assess whether the same visual cues exert differential effects and operate through distinct mechanisms across groups [22]. Overall, at least three unresolved issues remain in the governance context. First, the measurement of perceived safety still often relies on small-sample surveys or limited street segments, making it difficult to establish a citywide, comparable baseline at governance-relevant scales such as neighborhoods or streets. Second, inequality analyses frequently stop at describing broad spatial patterns, with limited efforts to further decompose disparities and attribute them to demographic stratification or spatial structures such as central–peripheral divides. Third, evidence on whether identical visual cues produce differential effects across groups remains relatively limited, and findings are seldom translated into actionable criteria for prioritizing governance interventions.
As urban demographics become increasingly complex—with population aging and rising migration [23], ensuring an equitable distribution of perceived street safety has become a multidimensional governance challenge spanning public health, social integration, and policy priorities beyond landscape design alone. In this context, understanding the differential impacts of street visual environments on diverse groups and developing evaluation and intervention frameworks informed by visual justice are essential for advancing human-centered and socially equitable urban governance [24,25].
This study examines disparities in perceived visual safety across social groups and investigates how street-level visual cues contribute to these disparities. Our central goal is to provide a governance-oriented, visual-justice-informed understanding of perceived street safety by linking inequality patterns with vulnerable-group exposure, group-specific mechanisms, and actionable prioritization at the subdistrict level. We first characterize the overall degree of spatial inequality in perceived safety across Shanghai at the subdistrict level. We then assess whether older residents and migrant populations are systematically exposed to lower-safety streetscapes, and examine how such exposure contributes to aggregate inequality. Next, we test whether key streetscape cues commonly associated with safety—such as greenery visibility and sky openness—operate differently across groups, revealing potential group-specific mechanisms. Finally, we translate these findings into governance-relevant outputs by identifying priority subdistricts where low perceived safety coincides with high vulnerability, providing an empirical basis for targeted micro-scale interventions.
- What is the overall degree of spatial inequality in perceived safety at the subdistrict level in Shanghai?
- Are vulnerable groups systematically exposed to environments with significantly lower perceived safety? To what extent does this exposure contribute to overall inequality?
- How do interactions between streetscape features and demographic attributes shape group-based differences in perceived safety?
- Which subdistricts should be prioritized in urban safety governance, and what are their spatial characteristics?
2. Literature Review
2.1. Visual Cues and Perceived Safety
Urban environmental characteristics embody the integration of natural, social, and economic systems, encompassing multiple dimensions such as physical spatial forms, ecological functions, socio-cultural atmosphere, and residents’ quality of life [26,27]. Among these, physical spatial form, being the most tangible external manifestation of urban areas, can be precisely described through visual cues such as building density, green coverage, and street visibility. These attributes not only shape the physical appearance of cities [28] but significantly influence residents’ subjective perceptions and psychological responses [29].
Subjective perception represents individuals’ emotional reactions, cognitive evaluations, and behavioral decisions regarding their urban environments, reflecting authentic psychological experiences and tendencies in spatial use [30,31,32]. Research has indicated a significant correlation between objective environmental characteristics including residential density, park accessibility, and transportation convenience and subjective perceptions, such as residential satisfaction, well-being, and perceived safety [33,34,35]. However, mechanisms underlying these relationships vary notably, particularly between positive perceptions, such as aesthetics and comfort, and negative perceptions, such as unease and oppression [36]. While existing studies frequently focus on positive perceptions, systematic exploration of how visual environments induce negative feelings (e.g., insecurity, danger) remains insufficient.
Visual safety perception typically refers to individuals’ subjective emotional and psychological responses concerning spatial safety after observing urban visual environments [37,38]. Early environmental psychology and urban sociology theories have established that negative visual cues, such as building dilapidation, graffiti, visual obstructions, and inadequate greenery, significantly heighten residents’ psychological discomfort and risk perception, thereby reducing their willingness to engage in outdoor activities and community participation [17]. Conversely, positive visual cues, for example, high greenery visibility and open sky views effectively alleviate psychological anxiety, enhance subjective safety, and promote community activities and neighborly interactions [39].
Importantly, existing research predominantly examines average perceptual effects across general populations, often overlooking heterogeneity in visual safety perception among different social groups such as elderly individuals and migrants. Limited studies suggest substantial differences in how visual environments affect various groups [40]. For instance, elderly individuals, constrained by mobility limitations and heightened environmental risk sensitivity, are more negatively impacted by adverse visual cues [41]. Migrants, lacking stable local social networks and information channels, rely more heavily on visual environmental cues [42]. However, such group-specific differences remain in the early stages of visual environmental research without a systematic theoretical or empirical framework.
While existing studies have initially highlighted significant links between visual environmental characteristics and residents’ subjective safety perception, the specific mechanisms by which visual cues differentially affect various social groups remain inadequately explored. This research gap constrains comprehensive understanding of equity issues related to urban visual environments and directly impacts the effective implementation of targeted urban renewal strategies and spatial equity governance. Therefore, further investigation into how visual cues differently influence the subjective safety perceptions of diverse social groups represents an urgent and critical academic task within contemporary urban studies and practices.
2.2. Vulnerable Groups and Visual Justice
Visual environmental justice extends the environmental justice framework to urban visual dimensions, emphasizing equitable access to urban landscape resources across diverse socio-economic groups [15,16]. Originating from long-standing discussions of spatial justice within urban sociology and environmental planning, this concept highlights systemic inequalities in visual environmental quality experienced by disadvantaged populations. Specifically, visual environmental justice encompasses equitable distribution and perception of landscape aesthetics, perceived safety, and visual accessibility—including elements like green spaces and street cleanliness—which directly affect residents’ psychological health and overall urban life quality [12,13]. Recent quantitative analyses using street-level imagery have indicated poorer visual conditions in neighborhoods dominated by low-income and minority groups, exacerbated by inadequate spatial governance and policy interventions, emphasizing the critical role visual equity plays within broader social equity agendas [21].
Vulnerable populations, including elderly individuals, migrants, low-income residents, and children, disproportionately bear the negative impacts of urban visual environments due to socio-economic constraints, physical and cognitive limitations, and weaker social networks [43,44]. Elderly urban residents, experiencing physical decline and increased cognitive sensitivity, are especially vulnerable to anxiety and discomfort resulting from negative visual features such as neglected landscapes, cluttered streets, and poorly maintained public spaces [45,46]. Research in urban design and environmental psychology underscores the importance of visually comforting and tranquil public spaces in reducing older residents’ anxiety and promoting psychological restoration [47], highlighting the critical role of visual environments for older populations.
Migrants’ visual perceptions in unfamiliar urban settings significantly rely on immediate visual cues due to limited local social capital and information networks [9]. Research indicates that migrant neighborhoods typically suffer from poorer visual environments, marked by higher occurrences of negative visual indicators like graffiti, litter, and decaying infrastructure [48,49]. Investigating visual environmental equity can help address spatial segregation and perception-related challenges experienced by migrant communities, enhancing their residential quality and social integration.
Despite increasing recognition, existing studies on visual environmental equity have notable gaps. Traditional research often prioritizes conventional environmental metrics like green space coverage or pollution exposure [50], neglecting visual environment factors directly influencing daily resident perceptions and behaviors. A cohesive theoretical framework explicitly addressing visual environmental equity is still evolving. Moreover, there is insufficient systematic exploration into differences among and within vulnerable populations, constraining theoretical advancement. Additionally, the dominance of research from European and North American contexts leaves visual equity issues in rapidly urbanizing East Asian and other global regions significantly underexplored. Addressing these limitations requires future studies to deeply explore the socio-spatial mechanisms underlying disparities in visual exposure and perception among vulnerable groups.
Further research into visual environmental equity holds substantial practical significance for urban governance and strategic urban planning. Considering the perspectives of vulnerable populations such as older adults and migrants can prompt urban planners and policymakers to re-evaluate public space design and resource distribution. This approach ensures equitable access to visually supportive environments for those most in need, thereby fostering more inclusive and fair urban living conditions. Thus, investigating urban environmental justice through the lens of visual equity enhances spatial justice theory’s multi-dimensional applications and informs equitable, livable city planning and governance practices.
2.3. Street View Methods and Inequality Metrics
Street-level imagery has emerged as a powerful resource in urban research, capturing rich visual environmental information—such as buildings, roads, vegetation, and human activity—through satellites, drones, and ground-based cameras. Its advantages, including broad coverage, relative objectivity, and high spatial resolution, enable the quantification of spatial inequalities in urban visual environments [51,52,53]. The integration of deep learning has further expanded the capacity of image-based analysis, particularly for recognizing and measuring urban visual elements [54,55].
Convolutional neural networks (CNNs) have been widely used for object detection and semantic segmentation in street-level imagery, enabling the identification of key visual features such as building types, infrastructure, vegetation, and signage [56]. For example, DeepResUnet has demonstrated improved performance in detecting irregular and small-scale buildings compared with traditional approaches [57]. Recurrent neural networks (RNNs) and long short-term memory (LSTM) models have been applied to temporal sequences of street images to characterize dynamic changes in urban landscapes [58]. Generative adversarial networks (GANs) can generate synthetic streetscape imagery, providing new tools for scenario testing, urban design, and evaluation [59]. Together, these methods provide technical pathways for measuring visual environments and assessing spatial equity.
Beyond identifying and quantifying streetscape elements, recent research has begun to predict subjective perceptual outcomes directly from street-view images, particularly evaluative variables such as perceived safety. Representative work based on crowdsourced datasets such as Place Pulse converts subjective preferences into continuous safety scores through pairwise comparisons and, with transfer learning, enables cross-city estimation of perceived safety. Unlike conventional detection or segmentation tasks, these “rating tasks” rely more heavily on encoding overall scene structure and cues of order, such as openness, enclosure, visibility, frontage continuity, and maintenance conditions [60]. Recent methodological trends have moved beyond a single CNN representation toward composite features that incorporate semantic segmentation outputs, or toward stronger global-representation architectures (e.g., Transformer-based models) to better capture how spatial organization and visual order shape perceived safety. At the same time, perceived-safety scoring models face substantial challenges related to contextual transfer and cultural differences. Models trained predominantly on Western-city datasets may perform differently when applied to non-Western cities because of differences in urban form, social context, and evaluation baselines. Accordingly, prior work has emphasized the need for small-scale local calibration or validation and for careful interpretation that treats outputs as model-predicted perceived safety on a relative scale rather than as a direct proxy for residents’ “true” perceived safety [61].
Incorporating theories from visual attention and cognitive psychology can further strengthen the interpretive depth of street-image analysis. Visual attention theory explains how individuals selectively focus on salient information in complex settings, shaping perception and evaluation [62]. Empirical studies have reported group-based differences in visual attention, which in turn influence how people perceive and interpret urban environments [29,63,64]. For example, older adults, due to reduced visual capacity and mobility constraints, may be more sensitive to environmental barriers and visual risks. In contrast, migrants may rely more on visible cues such as public safety infrastructure and street maintenance when evaluating unfamiliar environments, given weaker local social ties and lower community familiarity [65].
Nevertheless, several challenges remain, including data coverage biases, privacy concerns, limited generalizability of deep learning models (with domain shift being particularly salient for perception-scoring models trained on cross-cultural crowdsourced data), and high computational demands. In addition, a unified framework that integrates visual attention and cognitive psychology remains underdeveloped, limiting the synthesis and interpretation of findings across studies. Future research should strengthen interdisciplinary integration to clarify group-specific perceptual mechanisms, thereby providing a stronger scientific basis for advancing spatial equity, environmental justice, and sustainable urban governance.
3. Materials and Methods
3.1. Study Area
Shanghai was selected as the study area (Figure 1). As one of China’s megacities, it has undergone rapid urbanization and exhibits a heterogeneous urban structure, including dense inner-city districts and expanding suburban areas [66]. Central districts are characterized by high building density, concentrated commercial activity, compact street networks, and intensive public space use [67]. In contrast, peripheral zones include newly developed residential neighborhoods and industrial parks, with more clearly zoned land uses, wider streets, and larger green spaces. This spatial heterogeneity provides a suitable context for examining how street-level visual environments vary across subdistricts and how such variation relates to perceived safety.
Figure 1.
Study area of Shanghai and its urban-rural structure.
Shanghai also shows a distinctive demographic configuration that is directly relevant to the study objectives [68]. The city is experiencing population aging, and the proportion of older residents differs substantially across subdistricts. At the same time, a large migrant population resides long term in peripheral areas and high-density rental neighborhoods, with different patterns of spatial use and social integration compared to registered residents. Focusing on these two vulnerable groups enables a comparative assessment of whether lower perceived safety and less perception-supportive streetscapes are disproportionately concentrated in the living environments of specific populations, which is central to a perceptual justice perspective.
Finally, Shanghai’s recent policy agenda has increasingly emphasized street-level spatial quality and residents’ subjective perceptions [69]. This governance focus aligns with our analytical design, which uses the subdistrict as a policy-relevant unit to quantify inequality, examine exposure disparities, test group-specific mechanisms, and identify priority areas where low perceived safety coincides with high vulnerability. Taken together, Shanghai’s built-environment diversity, demographic heterogeneity, and governance orientation provide an appropriate empirical setting for examining perceived safety as a justice-relevant outcome of everyday visual environments.
3.2. Analytical Framework
Shanghai was selected as the study area (Figure 2). As one of China’s megacities, it has undergone rapid urbanization and presents a complex urban structure, encompassing both dense inner-city districts and expanding suburban areas [66]. Central areas are characterized by high building density, concentrated commercial activity, compact street networks, and intensive public space usage [67]. In contrast, peripheral zones consist of newly developed residential neighborhoods, industrial parks, and clearly zoned wide streets and green spaces. These spatial distinctions provide an ideal foundation for analyzing variation in visual perception across different environmental contexts.
Figure 2.
Research Framework.
In addition, Shanghai exhibits distinctive demographic characteristics [68]. On one hand, the city faces accelerating population aging, with older residents forming a substantial share of the population in some subdistricts. On the other hand, a substantial migrant population resides long-term in city margins and high-density rental areas, with divergent patterns of spatial use and social integration compared to registered residents. These two vulnerable groups—elderly and migrants—tend to rely more heavily on their surrounding environments in daily life, making them more susceptible to the quality of the visual environment.
Moreover, in recent years, Shanghai’s policy agenda has increasingly emphasized street-level spatial quality and residents’ subjective perceptions [69]. This planning orientation not only provides a practical foundation for this study but also enhances the policy relevance of research on visual perception and equity. Thus, Shanghai’s built environment diversity, demographic structure, and governance focus collectively offer a strong empirical basis for investigating the relationship between urban visual environments and perceptual equity.
3.3. Dependent Variable: Perceived Safety Score
To quantify residents’ subjective evaluations of street-level safety based on visual cues, we employed a perceptual scoring approach using street-view imagery. These scores reflect human judgments of safety-related signals embedded in streetscapes and are widely used in environmental perception research. To enable city-scale estimation, we developed an image-based regression model using ResNet-18 [70], enhanced through transfer learning with weights pre-trained on ImageNet.
The model was trained using labeled data from the Place Pulse 2.0 dataset, which contains street-view images from multiple global cities along with perceived-safety scores derived from crowdsourced pairwise comparisons. Because the training data do not systematically cover Chinese cities, we treat the outputs for Shanghai as model-predicted perceived safety and focus on relative, standardized comparisons across subdistricts and groups rather than interpreting the scores as an absolute measure of locally validated “true” safety. We converted voting proportions into normalized continuous scores as regression targets. During training, we used the Adam optimizer with a mean squared error (MSE) loss, and incorporated learning-rate scheduling and early stopping to improve generalizability. The initial learning rate was set to 0.001 and the batch size to 32. We applied a cosine annealing learning-rate schedule (T max = 50 epochs). The dataset was split into training/validation/test sets at a ratio of 70%/20%/10%, and the model checkpoint was selected based on validation R2. Early stopping monitored validation R2 with a patience of 50. The maximum number of epochs was set to 10,000 as an upper bound, although training typically terminated earlier once improvements became marginal. All images were resized to 224 × 224 and normalized using the ImageNet mean (0.485, 0.456, 0.406) and standard deviation (0.229, 0.224, 0.225). No additional data augmentation was applied beyond resizing and ImageNet normalization, including photometric augmentations such as color jitter, brightness, or contrast. Given that streetscape images may contain key perceptual cues related to orientation and perspective composition, we did not apply geometric augmentations such as random cropping, horizontal flipping, or rotation, in order to preserve consistent visual semantics in the inputs.
We then applied the trained model to the full Shanghai image set to generate standardized perceived-safety scores ranging from 0 (least safe) to 1 (most safe). Predictions were spatially matched to geographic coordinates and aggregated to the subdistrict level using road-length-weighted averaging, yielding a neighborhood-scale perceived safety index for subsequent spatial modeling.
Compared with survey-based approaches, this model-based pipeline provides a scalable and spatially consistent way to estimate perceived safety across large areas, offering a standardized perception layer for subsequent inequality and mechanism analyses. To assess local consistency, we conducted a small-scale manual rating check using a random sample of 50 locations and compared these ratings with the model-predicted scores.
Sj: the weighted subjective safety score for subdistrict
si: the predicted safety score of image within subdistrict
wi: the road segment length associated with image
nj: the total number of images within subdistrict
3.4. Independent Variable
3.4.1. Streetscape Features
Urban streets function not only as physical corridors for daily mobility but also as key visual interfaces through which residents perceive safety and environmental risk [71,72]. Individuals’ subjective sense of safety in street environments often emerges from an integrated perception of various visual elements, including natural features, structural composition, traffic intensity, visual occlusion, and ambient color tone [73]. To systematically characterize these factors, we constructed nine semantic environmental indicators from street-view imagery, organized into five core perceptual dimensions (see Table 1): Natural visibility: Green View Index (GVI), Sky View Factor (SVF); Spatial structurality: Building Ratio (BR), Object Index (OI); Traffic and walkability: Vehicle Ratio (VR), Sidewalk Ratio (SR), Pedestrian Ratio (PR); Visual obstruction: Visual Occlusion Index (VOI); Visual ambiance: Colorfulness (CF). These indicators collectively reflect the structural, functional, and perceptual attributes of urban street space, capturing key visual signals that may contribute to psychological risk or comfort [14,28].
Table 1.
Framework and Construction Logic of Streetscape Environmental Indicators.
Semantic segmentation was performed using the PSPNet model, pre-trained on the ADE20K dataset, to extract pixel-level proportions of key environmental classes from each image [74,75]. Colorfulness was quantified based on channel-wise mean differences and standard deviations in the RGB space, following the formulation proposed by previous study [76], with local adaptations made to reflect the chromatic properties of streetscape imagery.
Each indicator was computed at the image level and then aggregated to the subdistrict level using road-length weighting. This multi-dimensional indicator framework served both as explanatory variables in regression models and as bases for assessing spatial inequalities in perceived safety across neighborhoods.
3.4.2. Literature Statistics and Visualization
Understanding the demographic basis of perceptual disparities is essential when examining urban visual environmental equity. Prior research has demonstrated that certain social groups—particularly elderly individuals and migrant populations—face structural constraints in mobility, risk perception, and access to social resources [77]. These constraints make them more sensitive to negative environmental cues and more vulnerable to diminished perceptions of safety. Accordingly, this study incorporates the proportion of vulnerable groups within a region as a key explanatory variable for social-structural differences in perceived safety [78].
We focus on two representative demographic groups: older residents and migrants. Elderly individuals, due to physical decline and reduced adaptability, are more likely to experience discomfort in environments characterized by high enclosure, visual obstructions, or intense vehicular traffic. At the same time, they may exhibit heightened responsiveness to positive cues such as greenery and sky openness [79]. Migrants, on the other hand, typically lack local household registration, stable housing, and social support networks. Their unfamiliarity with the urban environment and limited social integration make them more reliant on clear visual cues and structured spatial arrangements. Feelings of spatial unfamiliarity and social isolation may further exacerbate their perceptual disadvantages [80]. In this study, the classification of Local and Migrant follows the official definitions used in China’s Seventh National Population Census and corresponds to the household registration system. Local refers to permanent residents holding Shanghai hukou. Migrant refers to permanent residents without Shanghai hukou, corresponding to the census-defined floating (migrant) population. At the subdistrict level, we operationalize these groups using their proportions of the resident population and use them in subsequent grouping and interaction analyses.
To capture these population vulnerabilities, we utilize structurally consistent and spatially comprehensive data from China’s Seventh National Population Census (https://www.stats.gov.cn/sj/pcsj/rkpc/d7c/ accessed on 6 June 2025). From this dataset, we extract two key subdistrict-level indicators:
In terms of spatial processing, both population structure data and streetscape perception scores were aligned at the subdistrict level to ensure geographic consistency. The Age65 and Migrant indicators served not only as independent explanatory variables for assessing structural influences on perceived safety but were also interacted with key environmental features (e.g., GVI, SVF) to capture group-specific perceptual responses to identical visual settings. This enabled us to examine whether the phenomenon of “shared scenes, differentiated perceptions” has a demographic basis. Furthermore, both variables were incorporated into a composite social vulnerability index, which, when combined with perceived safety scores, contributed to the construction of a governance priority index aimed at identifying areas where low safety perception and high demographic risk are significantly coupled.
3.5. Data Analysis
3.5.1. Descriptive Statistics and Correlation Analysis
To ensure the structural validity of variables and the appropriateness of analytical methods, we conducted preliminary statistical diagnostics at the subdistrict level prior to model estimation. These diagnostics aimed to identify skewness, outliers, and multicollinearity—factors that could potentially bias model results. The variables assessed include subjective safety scores, streetscape environmental indicators, and population vulnerability metrics, drawn, respectively, from street-view imagery and national census data, all aggregated to a common subdistrict spatial unit to ensure comparability.
First, we examined the distribution of key variables through visual inspection and statistical assessment to detect skewed distributions and outliers, thereby assessing the suitability of parametric methods. Normality was formally tested using the Shapiro–Wilk test. Second, we calculated Pearson correlation coefficients and visualized inter-variable associations using a correlation heatmap. To further assess multicollinearity, we computed Variance Inflation Factors (VIFs), identifying potential redundancies or interdependencies among predictors.
These diagnostic procedures served as a critical quality control step, providing a methodological foundation for subsequent inequality assessments, group-based exposure analysis, and interaction effect modeling.
3.5.2. Measurement of Perceptual Inequality
To assess the spatial distribution of perceived safety at the subdistrict level in Shanghai, we employed two widely used inequality metrics: the Gini coefficient and the Theil T index, to quantitatively analyze disparities in street-level perception scores. Compared with other commonly used inequality or dispersion measures, both the Gini coefficient and the Theil T index are scale-invariant, enabling consistent and comparable assessments of overall inequality across subdistrict units. By contrast, dispersion measures such as the standard deviation and coefficient of variation primarily capture the magnitude of variation and do not directly convey concentration or inequality. In addition, the Theil T index belongs to the generalized entropy class and has additive and decomposable properties, allowing total inequality to be partitioned into within-group and between-group components and thereby facilitating identification of inequality sources, whereas the Gini coefficient is not inherently decomposable. Compared with indices such as the Atkinson measure, which requires specifying an inequality-aversion parameter, the Gini and Theil indices are less parameter-dependent, making them more suitable for robust comparisons and policy communication within a governance-oriented interpretive framework.
We first used the Gini coefficient to measure the overall concentration of perceived safety across space. A higher Gini value indicates greater inequality and stronger spatial clustering of “perceptual resources” in a limited number of areas [81]. While the Gini coefficient offers intuitive interpretability, its lack of decomposability limits its explanatory potential regarding the sources of inequality.
To address this, We therefore introduced the Theil T index as a decomposable inequality measure for source attribution [82]. Unlike the Gini coefficient, the Theil T index is decomposable into between-group and within-group components, enabling us to unpack the structural underpinnings of perceptual inequality. In this study, we conducted group-based decomposition along two dimensions: Demographic structure (high vs. low aging population; high vs. low migrant population), and Spatial classification (central urban districts vs. peripheral suburban zones). For each grouping, we calculated the respective within-group and between-group contributions to overall inequality, thereby identifying whether social or spatial stratifications primarily drive disparities in perceived safety.
Both the Gini and Theil T indices were population-weighted using permanent resident counts at the subdistrict level to ensure alignment between perception metrics and actual exposure risk. To evaluate robustness, we applied a non-parametric bootstrap approach with 1000 resamples to generate confidence intervals for significance testing.
The results of these inequality measures offer a macro-level backdrop for subsequent analyses of group exposure and interaction mechanisms. Moreover, they help reveal structural biases in the urban distribution of perceptual resources, contributing a foundational layer of evidence to the study of perceptual equity in cities.
To quantify and decompose spatial inequality in perceived safety, the following indices were used:
N: total number of subdistricts
Pj: population of subdistrict
: total population of the city
Sj: perceived safety score in subdistrict
: population-weighted average perceived safety score
,: Lorenz cumulative share of perceived safety up to subdistrict
G: total number of groups
, : total population and safety score of group
Tg: Theil T index within group
3.5.3. Group Exposure Analysis
To examine whether systematic disparities in perceived safety exist under different demographic configurations, we conducted a group-based exposure analysis focusing on two key dimensions: population aging and migrant concentration. Using these dimensions, we constructed a classification strategy and applied non-parametric statistical techniques to compare perceptual outcomes across groups, aiming to uncover underlying mechanisms of perceptual inequality.
First, to account for heterogeneity in subdistrict population sizes, we classified all subdistricts into quintiles using population-weighted distributions of elderly share and migrant share, as reported in China’s Seventh National Population Census. Here, migrant share refers to the census-based proportion of the floating (migrant) population. It captures differences in residential status structure at the subdistrict level and provides a contrast to the share of local hukou residents. Quintile 1 (Q1) and Quintile 5 (Q5, respectively, represent the lowest and highest exposure levels for each demographic dimension, capturing the perceptual impacts under extreme conditions.
For analytical robustness and clarity of visualization, we further consolidated these quintiles: Q1 and Q2 were merged into a “low exposure group,” and Q4 and Q5 into a “high exposure group.” The intermediate group (Q3) was excluded from primary testing but retained for robustness checks and subsequent interaction modeling. This approach enhances the interpretability of extreme group contrasts while minimizing the influence of boundary fluctuations.
Given that normality assumptions were not satisfied for subjective safety scores across most subgroups (as established by prior tests), we employed the Kruskal–Walli’s H test, a non-parametric method suitable for skewed distributions and outlier-prone data. This test was used to assess overall differences in safety perception between the high and low exposure groups.
Where the Kruskal–Walli’s H test yielded significant results (p < 0.05), we conducted Dunn–Bonferroni post hoc tests to perform pairwise comparisons between exposure groups, controlling for the familywise error rate associated with multiple comparisons. To complement significance testing, we reported Cliff’s delta as an effect size metric to quantify the direction and magnitude of distributional differences. Cliff’s delta ranges from −1 to 1, with values further from zero indicating stronger group-level perceptual divergence and is unaffected by sample size.
To ensure the representativeness and interpretability of results, all tests were weighted by subdistrict-level resident population, aligning exposure risk with real-world demographic exposure. Additionally, to reduce the influence of extreme outliers, we applied a 1–99% percentile winsorization to the subjective safety variable (Safer) and repeated the full analysis. Consistent results under both conditions were taken as evidence of robustness in the findings.
3.5.4. Environmental Moderation Modeling
To evaluate the effects of streetscape environmental features and demographic structure on perceived safety, and to further examine potential interaction mechanisms between the two, we employed a multivariate linear regression approach. Model parameters were estimated using Ordinary Least Squares (OLS), a widely adopted method for analyzing relationships between continuous dependent variables and multiple predictors [28]. OLS offers stable and interpretable estimates, making it suitable for assessing additive and interactive effects in perception modeling.
We first specified a main-effects model to assess the independent associations of environmental variables and group-level demographic indicators with perceived safety, controlling for potential confounders (see Equation (7)). To address scale differences among predictors and enhance interpretability of the coefficients, all independent variables were standardized using z-scores prior to modeling.
To mitigate risks of multicollinearity, we calculated Variance Inflation Factors (VIFs) for each predictor and excluded variables exceeding conventional thresholds. This ensured a stable model specification and reduced redundancy among correlated variables.
Building on the main-effects model, we then introduced interaction terms between environmental features (e.g., GVI, SVF) and population vulnerability metrics (e.g., Age65, Migrant) to construct an interaction-effects model (see Equation (8)). This allowed us to test whether the effect of a given environmental feature on perceived safety varies systematically across demographic groups—revealing whether environmental perception pathways are moderated by group-specific characteristics.
Finally, we used marginal effects plots to visualize interaction terms, illustrating how the estimated impact of environmental cues shifts under different demographic conditions. These visualizations support interpretation of the model’s interactive structure and offer insight into mechanisms driving group-based differences in perception.
Xjk: the -th environmental feature for subdistrict
Gjm: the -th group-level demographic variable for subdistrict
δkm: the coefficient for the interaction term between environmental variable k and demographic characteristic m, representing how group attributes moderate the perceptual effect of environmental cues.
3.5.5. Governance Priority Index at the Subdistrict Level
To better inform evidence-based urban renewal and equitable streetscape governance, we developed a composite governance priority index at the subdistrict level (denoted as ). This index identifies areas characterized by low perceived safety and high concentrations of vulnerable populations—serving as a quantitative tool to guide targeted spatial interventions. Specifically, the index integrates three critical spatial dimensions:
- (1)
- Safer: the subdistrict-level indicator of perceived safety, reflecting residents’ subjective evaluations of environmental security and the spatial distribution of perceptual safety resources;
- (2)
- Age65: the proportion of older residents, indicating physical and cognitive vulnerability;
- (3)
- Migrant: the proportion of migrant residents, signaling social and institutional vulnerability.
The combined presence of low Safer scores and high values in Age65 and Migrant highlights urban zones subject to dual risks—diminished safety perception and heightened demographic vulnerability. To ensure comparability across variables, we first standardized all three indicators using z-score transformation. Given that lower safety implies greater urgency for governance action, the standardized Safer scores were reversed in sign (multiplied by −1), so that higher values across all components consistently reflect higher governance priority. We then computed a composite index as the sum of the standardized values:
Subdistricts were ranked based on the composite Governance Priority Index, and the top 25% were designated as priority governance zones. To support implementation, these zones were operationalized using street-level administrative units. The corresponding documentation for the priority governance units is provided in Supplementary File (Table S1). This step translates the subdistrict-level prioritization into an administrative unit that is commonly used for planning and management.
4. Results
To assess the reliability of the image-based regression model for perceived-safety prediction, we first report the final generalization performance of ResNet-18 on an independent test set. The model achieved an R2 of 0.6070, an MSE of 0.0062, an RMSE of 0.0787, and a Pearson correlation of 0.779, indicating strong agreement between model predictions and crowdsourced ratings. Building on this, we conducted a local consistency check by randomly sampling 50 locations from the Shanghai dataset, obtaining anonymous manual ratings on a five-point Likert scale, and comparing them with the model outputs on a point-by-point basis. Manual ratings showed high consistency with model predictions, with a Pearson correlation of 0.856 and a Spearman correlation of 0.832. The mean difference between model predictions and manual ratings was 0.066, and the error levels were MAE = 0.427 and RMSE = 0.512, both computed on the 1–5 scale. After rounding model outputs to the nearest integer category, the exact agreement rate was 60%, and agreement within ±1 point was 100%; the quadratic weighted kappa was 0.770. These results support the use of model outputs as a perceptual layer for subsequent subdistrict-level relative comparisons and mechanism analyses. The paired data for the 50 locations are reported in Appendix A Table A1.
4.1. Sample Characteristics and Variable Associations
To ensure the statistical validity and interpretability of the regression models, we conducted comprehensive diagnostics on the distributional characteristics and inter-variable relationships of the key predictors and the outcome variable (Safer).
Initial assessments of normality (Appendix B Figure A1) showed that GVI, BR, OI, SR, PR, and Age65 closely conformed to theoretical normal distribution lines, with only minor deviations in the tails, indicating general suitability for linear modeling. In contrast, Safer, VR, Migrant, and Colorfulness displayed pronounced non-normality. Safer and VR exhibited left-skewed distributions with concentration below the expected line in the lower tail, while Colorfulness and Migrant showed right-skewed tendencies with potential extreme values in the upper tail. VOI and SVF were approximately normal but showed moderate deviations in the central and tail regions, suggesting potential need for transformation or robust estimation.
Histograms of variable distributions (Appendix C Figure A2) further confirmed these patterns. GVI and SR were relatively symmetric and bell-shaped, suggesting approximately normal distributions. In contrast, BR, VOI, Colorfulness, PR, and Age65 exhibited right-skewed patterns with distributions concentrated at low values and long upper tails—indicating that most subdistricts had relatively low levels of building mass, visual obstruction, color saturation, pedestrian share, and elderly population, with only a few showing elevated levels. PR showed substantial variation across subdistricts, highlighting spatial disparity in pedestrian accessibility. Safer, VR, and Migrant were left-skewed, with peaks at higher values—indicating generally high safety perception and low vehicular interference across the city, though with spatially concentrated migrant populations. Notably, OI and SVF exhibited bimodal distributions, suggesting heterogeneous streetscape morphologies across different urban zones.
To examine bivariate associations, we calculated Pearson correlation coefficients (Figure 3) and annotated statistical significance. Pearson correlations were used as a descriptive diagnostic to summarize the linear covariation structure among continuous variables and to identify potential multicollinearity risks prior to multivariate regression. The correlation results are reported only to describe patterns of covariation and are not used for causal inference; mechanism-related interpretations are instead based on regression and interaction results after controlling for covariates. We found strong positive correlations between Safer and BR (r = 0.75), OI (r = 0.84), VR (r = 0.67), SR (r = 0.61), and PR (r = 0.65), all statistically significant at p < 0.001. The VR measure captures the visual prominence of vehicles in street-view images rather than traffic volume or noise exposure, and is therefore interpreted as a streetscape cue that may co-vary with road hierarchy and traffic organization. Overall, these results indicate that higher Safer scores tend to co-occur with higher BR, OI, VR, SR, and PR, suggesting that these variables may share a common covariation dimension reflecting cues of urban structure and order. This pattern also implies potential redundancy or proxy relationships among some variables. Accordingly, we treat this as an early warning of multicollinearity and address it in subsequent modeling.
Figure 3.
Correlation matrix of perceived safety, streetscape, and vulnerability variables. (* p < 0.05, ** p < 0.01, *** p < 0.001).
Conversely, SVF was strongly negatively correlated with Safer (r = −0.89, p < 0.001), indicating that higher sky openness tended to cooccur with lower predicted safety in this dataset. VOI (r = −0.17, p < 0.05) and Colorfulness (r = −0.55, p < 0.001) were also negatively associated with safety perception, while GVI showed only a weak and statistically non-significant correlation with Safer (r = 0.12). These bivariate patterns are interpreted as covariation and are examined further in the multivariable models.
Significant multicollinearity risks were also detected. BR and OI were highly correlated (r = 0.97, p < 0.001). Variance Inflation Factor (VIF) analysis (Appendix D Table A2) revealed VIFs of 40.56 for BR and 113.89 for OI far exceeding conventional tolerance thresholds indicating substantial redundancy in their representation of spatial enclosure. To ensure robust and interpretable estimation, we did not include BR and OI as predictors in the subsequent OLS models.
4.2. Perceptual Inequality at the Subdistrict Scale
To examine the spatial distribution of perceived safety at the subdistrict level, we quantified perceptual inequality using the Gini coefficient and the decomposable Theil T index. The results show a Gini coefficient of 0.019 (Figure 4), indicating a very low level of overall inequality. Consistently, the Lorenz curve closely follows the line of perfect equality, with only a slight deviation in the lowest 20% of the cumulative population distribution. Overall, perceived safety at the subdistrict level appears to be relatively evenly distributed across the city, with no evidence of pronounced concentration or extreme spatial disparities.
Figure 4.
Lorenz curve and Gini coefficient of perceived safety at subdistrict scale.
Although overall inequality is low, decomposition remains useful for determining whether residual disparities are driven primarily by within-group variation or between-group differences. Accordingly, we applied the decomposable Theil T index and stratified subdistricts by age structure (high vs. low share of residents aged 65 and above) and residential status (local hukou residents vs. migrants) to estimate the relative contributions of within-group and between-group components to perceived-safety inequality (Figure 5a).
Figure 5.
(a) Decomposition of perceived safety inequality using Theil T index. (b) Distributions of perceived safety among population subgroups.
The decomposition results indicate that, despite the small magnitude of overall inequality, the Theil T index is dominated by between-group differences. Across all stratification schemes, the between-group component (T_between) accounts for more than 80% of total inequality. Specifically, subdistricts with higher shares of residents aged 65 and above or higher shares of local hukou residents (High Age65-share and Local) tend to have higher mean perceived-safety scores and more concentrated score distributions. By contrast, subdistricts with lower shares of residents aged 65 and above or higher migrant shares (Low Age65-share and Migrant) exhibit lower mean scores and more dispersed distributions, which explains the between-group component observed in Figure 5a. The distributional patterns in Figure 5b further support this interpretation: the High Age65-share and Local groups show higher perceived-safety scores and stronger clustering, whereas the Low Age65-share and Migrant groups display lower and more dispersed scores, with right-skewed, long-tailed distributions. These group-structured differences provide a basis for subsequent analyses of exposure patterns and group-specific mechanisms.
4.3. Exposure Disparities Among Vulnerable Groups
Following the stratification of subdistricts by elderly and migrant population proportions, we observed significant differences in perceived safety across demographic groups (p < 0.001). As shown in Table 2, the Kruskal–Wallis H test confirms that group-level differences in both dimensions are highly significant (p < 0.001), with Cliff’s delta values of 0.422 and −0.395, respectively. These effect sizes indicate moderate-strength impacts of group composition on perceived safety outcomes.
Table 2.
Non-parametric test results for perceived safety differences between groups.
Specifically, subdistricts with a higher share of older residents reported significantly higher safety perception scores than those with younger populations (δ = 0.422). In contrast, subdistricts with a higher proportion of migrants reported significantly lower safety scores compared to areas dominated by local (registered) populations (δ = −0.395).
These differences are further visualized in Figure 6, where the “High Age65” and “Local” groups show higher mean values and more concentrated, stable distributions of perceived safety. Conversely, the “Low Age65” and “Migrant” groups exhibit left-skewed distributions, highlighting a systematic disadvantage in visual safety perception for these vulnerable populations.
Figure 6.
Disparities in perceived safety across elderly and migrant population groups (*** p < 0.001).
4.4. Moderating Effects of Environment-Group Interaction
4.4.1. Main Effect Estimation and Model Diagnostics
The regression model shows an overall good fit, and the residuals largely satisfy the assumptions of normality and homoscedasticity (Appendix E). Given that subdistrict-level variables may exhibit spatial clustering, we additionally conducted global Moran’s I tests for the dependent variable and key explanatory variables (Appendix F Table A4), and further examined spatial autocorrelation in the OLS residuals (Appendix F Table A5). The results indicate significant spatial autocorrelation in the OLS residuals, suggesting that conventional OLS inference with non-robust standard errors may be affected by spatial dependence. Therefore, while keeping the covariate specification identical to the OLS model, we estimated a spatial lag model and a spatial error model as robustness checks (Appendix F Table A6). The spatial models effectively absorb residual spatial dependence, and the directions of effects for the key variables are broadly consistent with the OLS results, supporting the robustness of our main conclusions.
Figure 7 presents the standardized coefficient estimates, revealing the direction and magnitude of each variable’s effect on perceived safety. Among all predictors, SVF had the most pronounced negative effect (−0.012), with confidence intervals that did not cross zero—suggesting that excessive openness in the visual field may undermine pedestrians’ sense of environmental safety. In contrast, both GVI and BR exhibited significant positive effects, indicating that vegetative visibility and spatial enclosure are key physical contributors to perceived safety. Notably, Colorfulness also showed a stable, statistically significant positive association (0.005), underscoring the psychological relevance of visual aesthetics in shaping safety perceptions.
Figure 7.
Standardized regression coefficients of environment and demographic variables on perceived safety.
For demographic variables, both Migrant share and Age65 share were associated with moderate negative coefficients (−0.0025 and −0.0028, respectively), suggesting that population vulnerability may modestly suppress safety perception, even when controlling for physical environment. Other indicators such as VOI, PR, and SR showed negative tendencies, but their confidence intervals included zero, indicating non-significant independent effects. OI was marginally positive, but its estimate was near zero and accompanied by wide confidence bounds, suggesting limited explanatory power.
The marginal effects plot (Appendix D Table A2) reinforces these patterns, ranking predictors by their absolute influence on safety perception. SVF remained the most influential negative factor, followed by GVI, BR, and Colorfulness—the latter highlighting the policy value of enhancing streetscape chromatic richness. Among population variables, Migrant and Age65 exerted greater negative influence than VOI, PR, or SR, implying the salience of demographic structure in modulating perceptual vulnerability.
Collinearity diagnostics revealed substantial multicollinearity among spatial variables. The VIF for OI reached approximately 110, while SVF and BR exceeded 50 and 40, respectively—well beyond the standard tolerance threshold of 10. These results suggest redundancy among spatial openness, enclosure, and sky exposure measures, potentially destabilizing coefficient estimates. Age65 also showed a moderately elevated VIF, implying latent coupling with spatial or demographic covariates. In contrast, variables such as GVI, Colorfulness, and Migrant demonstrated VIFs below 5, supporting their relative statistical independence and robustness.
In summary, the model reveals a structured influence of urban environment on perceived safety: visual greenness, spatial definition, and color vibrancy serve as key positive factors, while excessive openness (SVF) and population vulnerability constitute notable negative influences. While controlling for spatial and perceptual cues, social structural variables remain significant and should not be overlooked. Finally, the issue of multicollinearity—particularly among spatial form indicators—warrants attention in future modeling efforts, where dimensionality reduction (e.g., PCA), variable synthesis, or exclusion strategies may be employed to enhance model stability and interpretability.
4.4.2. Trends of Perceived Safety Across Core Variables
To further summarize linear trends between core variables and perceived safety, we fitted a standardized OLS model and visualized the bivariate fitted relationships as descriptive regression trend plots in Figure 8. These plots are intended to illustrate direction and magnitude under a linear specification rather than to benchmark against prior studies (Appendix G Table A7).
Figure 8.
Linear trends between core environmental variables and perceived safety: (a) GVI; (b) PR; (c) SR; (d) VOI; (e) VR; (f) Colorfulness; (g) Age65; (h) Migrant. (* p < 0.05, *** p < 0.001).
The results reveal that SR and PR demonstrate clear positive associations with perceived safety (Figure 8b,c). Both exhibit steep regression slopes, with PR showing a particularly strong linear trend, suggesting that well-defined pedestrian infrastructure and moderate pedestrian activity contribute significantly to residents’ sense of safety in street environments.
Interestingly, VR also shows a positive relationship with perceived safety (Figure 8e). This association is reported descriptively under a linear specification, and it is further discussed in Section 4, noting that VR captures the visual prominence of vehicles rather than direct traffic exposure.
In contrast, Colorfulness exhibits a strong negative association (Figure 8f), with a noticeably declining regression slope. This suggests that excessive or chaotic color schemes may introduce visual overstimulation and spatial discomfort, thereby diminishing perceived safety. Similarly, VOI shows a negative trend (Figure 8d), albeit with weaker magnitude, indicating that obstructive visual elements may undermine the perceived openness and transparency of street spaces.
GVI displays a mild positive relationship with perceived safety (Figure 8a), though the effect size is small and statistically insignificant. This may imply that greenery alone is insufficient to enhance safety perceptions unless complemented by other supporting streetscape features.
With respect to demographic variables, both the proportion of older residents (Figure 8g) and migrant population share (Figure 8h) exhibit weak and statistically non-significant associations with perceived safety. Their regression lines remain relatively flat, suggesting that environmental features may exert a stronger influence on safety perceptions than demographic composition alone.
Taken together, these visualizations highlight that pedestrian-friendly infrastructure, human activity, and orderly vehicular flow contribute positively to perceived safety, whereas visual clutter and spatial obstruction undermine it. These insights support the rationale for exploring interaction effects between environmental and demographic variables in subsequent analyses.
4.4.3. Group-Based Variation in Environmental Impact on Perceived Safety
To improve model stability and interpretability, we removed variables exhibiting high multicollinearity and re-estimated the regression model with interaction terms between environmental features and demographic structure (R2 = 0.727). Specifically, interaction terms involving Age65 and Migrant were introduced to examine whether social structural factors moderate the effects of environmental features on perceived safety (Figure 9).
Figure 9.
Linear trends between core environmental variables and perceived safety: (a) Age65. (b) Migrant.
As shown in Figure 9a, the interaction between Colorfulness and Age65 is significantly positive (0.12), suggesting that color diversity has a stronger positive impact on perceived safety among older adults. This may be attributed to older adults population’s heightened sensitivity to environmental comfort and visual legibility. Similarly, interactions between VOI & Age65 and GVI & Age65 also trend positively (Appendix H Table A8), implying that older adults derive more perceptual safety benefits from green coverage and structured visual environments.
Conversely, the interaction VR & Age65 is significantly negative (−0.07), indicating that vehicle visibility may impose cognitive or informational burdens on older individuals, potentially reducing their sense of safety. Interactions between SR & Age65 and PR & Age65 are slightly negative but non-significant, hinting that wider sidewalks and high pedestrian activity may cause mild discomfort or uncertainty for elderly individuals in busy urban areas.
Figure 9b reveals a distinct pattern for the migrant population. The interaction between Colorfulness and Migrant is significantly negative (−0.11), suggesting that color-rich environments may not enhance safety perception among migrants, and may even trigger unfamiliarity or cultural mismatch. Interestingly, VR & Migrant shows a significantly positive effect (0.09), indicating that vehicle presence may be interpreted positively by migrants, perhaps reflecting their higher environmental adaptability and preference for dynamic urban settings.
In contrast, GVI & Migrant and VOI & Migrant exhibit negative moderation effects, suggesting that greenery and spatial complexity do not universally contribute to a sense of safety for this group, and their interpretation likely depends on the functional and social context of specific neighborhoods. Lastly, PR & Migrant is positively associated with safety perception, implying that population density may signal safety through collective activity and social presence, reflecting migrants’ reliance on visible social cues.
In summary, the inclusion of interaction terms—after addressing multicollinearity—reveals clear group-based moderation effects in the relationship between environmental features and perceived safety. Elderly and migrant populations respond to the same physical cues in distinct and often opposite ways, underscoring the social heterogeneity of perception. These findings emphasize the need for targeted, inclusive urban safety design strategies that move beyond one-size-fits-all interventions and instead account for the structural characteristics and perceptual patterns of different population groups.
4.4.4. Marginal Effects of Environmental Variables Across Population Groups
To further explore how demographic structure moderates the influence of streetscape variables on perceived safety, we incorporated Age65 and Migrant proportions as interaction terms and plotted marginal effects graphs. In each plot, the blue, orange, and green lines represent predicted trends at high, medium, and low levels of the moderator variable, respectively, illustrating how perception pathways vary across population groups.
First, results for SR and PR indicate that their positive impacts on perceived safety are more pronounced among older adults and non-migrant residents (Figure 10a). For older adults group, both SR and PR exhibit steeper marginal effect slopes, highlighting the critical role of pedestrian infrastructure and street vitality in enhancing safety perception. The slopes of SR among the Age65 group are 0.0211 (low), 0.0153 (medium), and 0.0096 (high), while those of PR are 0.0056 (low), 0.0105 (medium), and 0.0151 (high), indicating a consistent increasing trend across age levels. By contrast, among migrants, the effects of PR and SR diminish, suggesting that individuals lacking local social ties may derive less perceived security from crowded or active environments (Figure 10b). Specifically, the PR slopes for the migrant group decrease from 0.0181 (low) to 0.0029 (high), while SR shows an upward trend from 0.0094 to 0.0212.
Figure 10.
Marginal effects of environmental variables across population subgroups: (a) Age65. (b) Migrant.
Second, GVI shows notable group-based divergence. Among older adults, the GVI–safety relationship is strongly positive, with steeper slopes indicating a heightened need for restorative natural features. The marginal effect slopes of GVI for Age65 decrease from 0.0035 (low) to 0.0012 (high). In contrast, for the migrant group, the marginal effects of GVI flatten or even vanish. Their corresponding slopes are 0.0042 (low), 0.0023 (medium), and 0.0000 (high), implying minimal impact in areas with high migrant presence.
For Colorfulness, interaction patterns reveal amplified negative effects among both elderly and migrant populations. The steepest marginal slopes are observed in these two groups, suggesting that excessive color saturation leads to stronger negative perceptual impacts. For older adults, the slopes are −0.0106 (low), −0.0108 (medium), and −0.0110 (high), showing a slight intensification of negative perception. For migrants, the slope remains stable at −0.0109 across all three levels.
VOI also exhibits group-sensitive trends. Among older adults, VOI’s negative influence on perceived safety is most pronounced, with the blue line showing the steepest decline (low:0.0002 to high: −0.0059)—implying a greater sensitivity to reduced spatial transparency. Likewise, in high-migrant areas (low: −0.0056 to high: −0.0002), VOI’s negative effects are magnified, possibly reflecting the heightened spatial uncertainty migrants experience in unfamiliar environments.
Lastly, the effect of VR appears positive among elderly and locally registered populations. In the high Age65 group, increased vehicle presence is interpreted as a signal of order and effective traffic control, thereby enhancing safety perception. The VR slopes for Age65 are 0.0125 (low), 0.0137 (medium), and 0.0147 (high), indicating a subtle yet positive trend. Conversely, among migrants, the marginal effects of VR are weaker and trend toward neutral, with slope values decreasing from 0.0145 (low) to 0.0127 (high), suggesting a more muted or ambiguous interpretation of vehicular presence.
Together, these findings reinforce the presence of group-specific perceptual mechanisms. They highlight the necessity of designing urban environments with socially differentiated needs in mind, advancing a shift from one-size-fits-all strategies to tailored, inclusive interventions for safer and more equitable cities.
4.5. Spatial Targeting of Priority Governance Area
To investigate the spatial correlation between perceptual inequality and population vulnerability—and to identify areas requiring focused urban intervention—this study constructed a Priority Governance Index at the subdistrict level, combining scores of perceived safety, elderly population proportion, and migrant population proportion, and analyzed its spatial alignment with other environmental variables (Figure 11).
Figure 11.
Spatial distribution of priority governance index and its component variables.
The index exhibits a non-continuous, polycentric spatial pattern, with high-scoring subdistricts clustered in select urban cores and outer peripheral areas, while subdistricts near the inner ring generally show lower priority values. This indicates that perceptual inequality in urban safety does not follow a simple center–periphery gradient but is shaped by the joint effects of environmental conditions, demographic structure, and subjective perception.
Using a quantile-based classification, the top 25% of subdistricts (53 in total) were identified as priority zones for intervention. These include both inner-city neighborhoods with a high concentration of older residents and peripheral areas densely populated by migrants, reflecting a dual vulnerability in both core and fringe regions. Notably, the values of Age65 and Migrant in these areas are substantially above the citywide average, underscoring their demographic vulnerability.
In terms of streetscape features, peripheral subdistricts often exhibit higher GVI, SVF, and colorfulness scores, yet report lower perceived safety, revealing a misalignment between objective environmental quality and subjective safety perception. In contrast, subdistricts near the inner ring tend to have higher VOI and OI, indicating dense urban form, restricted visual fields, and a lack of spatial legibility and sense of belonging—factors that undermine perceived safety, particularly among migrant populations.
These findings suggest that priority governance zones are characterized by low perceived safety, high demographic vulnerability, and complex visual environments. Addressing these areas through targeted urban renewal and perception-sensitive design is crucial for promoting visual equity and inclusive urban governance.
5. Discussion
5.1. Overview of Key Findings
Based on over 160,000 street-level images and machine learning models, this study maps the spatial distribution of perceived safety among residents in Shanghai at the subdistrict level. By integrating computer vision analysis with census data, we develop an analytical framework centered on visual justice and address four interrelated research questions. The key findings are as follows:
(1) However, our results indicate low overall inequality in perceived safety at the city scale, while group-structured differences remain across central–peripheral locations and between local and migrant populations.
While the spatial distribution of perceived safety does not exhibit extreme polarization, decomposition analysis reveals that inequalities primarily stem from structural disparities between groups—manifested in the spatial divide between central and peripheral areas, and in the differential experiences of local versus migrant populations.
(2) Exposure differences are evident, with migrants showing a stronger tendency to be concentrated in areas with lower perceived safety scores.
Compared to older adults, migrants show a stronger tendency to be spatially concentrated in areas with lower perceived safety. This indicates that migrants are more susceptible to negative environmental influences due to limited spatial choice and constrained perceptual resources, thus facing heightened exposure risks.
(3) Significant interaction effects exist between group attributes and environmental features, revealing “divergent perceptions of the same scene.”
Perceived safety is shaped not solely by environmental conditions but through complex interactions between individual experience, social identity, and the interpretation of visual cues. Streetscape features elicit divergent perceptual responses across groups, underscoring the social foundations of environmental perception.
(4) Priority governance zones are concentrated in elderly dominated neighborhoods in central areas and migrant-dense districts on the urban periphery.
These areas exhibit a dual burden of perceptual discomfort and demographic vulnerability. Despite not necessarily having the worst physical environments, they lack both perceptual support and social resources, making them critical blind spots in urban governance. They should be prioritized in future differentiated and perception-sensitive spatial interventions.
5.2. Spatial Inequality in Perceived Safety at the Subdistrict Scale
In recent years, Shanghai has made substantial investments in street renewal and public space upgrades, reflecting a strong emphasis on physical infrastructure and spatial equilibrium. However, our results indicate low overall inequality in perceived safety at the city scale (Gini = 0.019), while group-structured differences remain across central–peripheral locations and between local and migrant populations. This disparity suggests that equal distribution of urban resources does not automatically translate into equitable experiential outcomes. Instead, such divergence reveals whether space is truly inclusive, beyond its physical completeness.
Although many of Shanghai’s urban renewal initiatives present a visually uniform and orderly image, they often entail the erasure of local symbols and the exclusion of non-mainstream expressions. This phenomenon is especially salient between central and peripheral areas and between local and migrant populations—underscoring the deep entanglement between visual experience and social identity structures. As Soja (2010) argued, this condition—where statistical equality conceals experiential divergence—is not the realization of spatial justice [83]. When formal balance is superficially achieved, planners and officials risk overlooking the heterogeneity in how different groups interpret and emotionally inhabit urban spaces.
From an urban sociological perspective, this perceptual inequality implies that the appearance of resource parity may mask deeper symbolic stratification and a lack of social recognition. As Lefebvre et al. (2013) contend, urban space is not merely a collection of material forms but a manifestation of social relations [84]. Visual landscapes in public spaces often obscure underlying societal tensions—especially in terms of symbolic belonging and identity recognition.
Environmental psychology further reinforces that perceived safety is not solely determined by physical features but co-constructed through lived experience, emotional memory, and socio-cultural identity [85]. Even when the visual scene remains constant, individuals from different social backgrounds may emotionally respond to the same environmental cues in fundamentally divergent ways [73]. Allen et al. (2012) also argue, public space not only facilitates interaction but also shapes how individuals experience dignity and social positioning [86].
Concurrently, visual culture studies remind us that the visual experience of urban space is neither neutral nor homogeneous. As Rose (2023) notes, visual order is inherently tied to social power: visibility and the right to define value are asymmetrically distributed across groups [87]. Municipal promotional materials often foreground the aesthetics of central business districts and waterfront promenades—icons of Shanghai’s global image—while systematically omitting visual references to rental-housing areas, industrial remnants, informal markets, and low-income neighborhoods. This “visual absence” can undermine marginalized groups’ affective ownership of the city. Even when physically present in well-maintained areas, such groups may experience diminished psychological safety and reduced symbolic recognition. In other words, visibility does not necessarily entail legibility or acknowledgment; urban visuals can conceal deeper codes of social exclusion. This form of visual absence is not a neutral representational gap, but a spatial power practice centered on the allocation of visibility. Following Lefebvre et al. (2013), urban space is not only composed of material form but is also produced and reproduced through social relations [84]. Accordingly, when urban narratives repeatedly foreground a particular modernization imagery as the “presentable Shanghai” and systematically downplay urban-village-like residential spaces, rental-housing neighborhoods, or nodes of the informal economy in public communication and design standards, what is excluded is not merely a category of landscapes, but the social subjects connected to them and the legitimacy of their everyday lives. Consistent with Soja (2010) argument on spatial justice, an apparently balanced spatial distribution does not necessarily imply the realization of justice, because justice also depends on who is allowed to be seen and who has the authority to participate in defining the city’s value order [83]. In other words, visual order can operate by continually producing the invisibility of certain spaces and groups, pushing them to the symbolic margins and thereby translating into a more subtle yet more enduring form of symbolic exclusion.
Encouragingly, recent planning initiatives such as the Shanghai Street Design Guidelines have begun to acknowledge the importance of cognitive justice, incorporating elements of psychological safety and environmental identity [88]. However, these frameworks remain primarily centered on accessibility and functionality, lacking mechanisms to meaningfully respond to inter-group differences. For instance, while quantitative criteria are proposed for “visual permeability” and “façade color composition”, no group-specific adjustments are suggested based on gender, age, or socio-economic status. Similarly, the promotion of “artistic street furniture” often prioritizes commercial aesthetics over inclusive design, due to the absence of participatory mechanisms for marginalized communities. This contradiction between aspirational value and institutional inaction limits the guidelines’ capacity to address the root causes of perceptual inequality.
In this context, a genuine shift from hardware equilibrium to perceptual equity requires integrating perceived equality into urban evaluation systems. This involves not only the spatial arrangement of visible features but also subjective interpretations of the environment across social groups. The construction of perception maps—informed by image-based safety scores and demographic profiling—offers a promising approach for dynamically uncovering the complex relationships among space, identity, and perceived safety. Such tools can provide robust data support for upstream planning, downstream evaluation, and iterative governance feedback.
5.3. Disproportionate Exposure of Vulnerable Groups to Perceived Insecurity
Drawing on the data presented in Chapter 3, we find clear evidence of perceptual inequality in subjective safety across subdistricts, particularly among vulnerable populations. Migrants tend to cluster in areas with lower perceived safety, while older adults are more concentrated in areas rated as safer. This asymmetric exposure is not random but the outcome of intersecting social attributes, spatial experiences, and cognitive schemas. As detailed in Section 3.3 and Section 3.4, the spatial co-occurrence of low safety scores and migrant concentration signals the need to explore multi-dimensional mechanisms behind this pattern.
For older adults, higher perceived safety in street environments may stem from deep place attachment and longstanding neighborhood ties. Prior studies suggest that familiarity enhances one’s sense of environmental control and belonging, reinforcing psychological safety [89]. Even in the presence of suboptimal physical conditions, older residents often engage emotional memory and spatial familiarity to evaluate environments positively—what might be called a form of emotional buffering, especially salient in aging-in-place communities.
By contrast, migrants—who typically reside in rental-heavy outer subdistricts or areas undergoing functional transition—lack stable environmental cognition and social anchoring. The absence of local social capital leads them to rely more on rapid visual heuristics to assess safety [90]. Under conditions of cognitive overload and emotional tension, unfamiliarity is easily magnified, which not only skews risk perception but also reinforces psychological defensiveness and spatial detachment. Language barriers, institutional opacity, and cultural discontinuities further contribute to what Low (2011) terms cognitive deprivation, impeding their ability to interpret public signals or assess spatial order effectively [91].
Spatially, areas with the lowest subjective safety tend to be located in outer-ring industrial belts and hybrid-use zones—precisely where migrant populations are most concentrated. In contrast, high-safety subdistricts are typically aging, well-established residential enclaves or legacy danwei-style communities. The interplay between spatial morphology and social identity thus reinforces perceptual inequalities: vulnerable groups are omnipresent in the urban fabric, yet they remain marginalized in terms of psychological safety and affective belonging.
These findings call for a rethinking of environmental justice frameworks. While traditional studies emphasize unequal exposure to pollutants or infrastructure [92], our results foreground psychological exposure as a form of structural inequality—particularly salient for migrant populations. Physical improvements alone may be insufficient to address their latent insecurity.
Although Shanghai’s policy discourse now includes “inclusive communities” and “diverse integration,” implementation still tends to prioritize physical upgrades and informational campaigns, with limited attention to the cognitive and affective needs of different social groups [93]. Bridging this perceptual gap requires strategies that foster psychosocial safety. For example, in low-safety areas, symbolic interventions—such as place-based identity markers and community-relevant narratives—can help rebuild recognition and attachment. Moreover, culturally adaptive spatial co-design (e.g., inclusive street furniture, culturally resonant gathering spaces) may strengthen emotional intelligibility and spatial mastery for migrant communities.
5.4. Divergent Environmental Effects on Perceived Safety Among Older Adults and Migrants
Our analysis of interaction and marginal effects reveals significant group-based differences in how urban streetscape features influence subjective safety—particularly between older adults and migrant populations. These disparities do not stem from the physical environment alone, but from a complex interplay between social identity, psychological needs, and environmental cues.
For older adults, familiar, quiet, and visually sheltered environments tend to evoke a stronger sense of safety. Features such as high green visibility, continuous sidewalks, and street trees offer both physical shade and psychological comfort, creating an impression of being “cared for.” This perceptual pathway aligns with theories from environmental psychology, such as Attention Restoration Theory and Prospect–Refuge Theory, which posit that natural elements and moderate enclosure reduce mental fatigue and foster emotional restoration [94,95].
By contrast, migrant populations, especially recent arrivals, tend to rely on explicit and function-oriented environmental indicators to assess safety. Clear signage, open sight lines, and well-lit pathways reduce uncertainty and promote a sense of spatial order. Vehicle Ratio should be interpreted as a streetscape cue rather than a direct measure of traffic volume, speed, or noise exposure. In this study, VR captures the visual prominence of vehicles in street-view images. In Shanghai’s high-density context, vehicle prominence may co-vary with road hierarchy and the visibility of traffic organization, such as clearer lane structure, signal control, and more explicit separation between pedestrian and vehicular space. These cues may be read as predictability and manageability, which may elevate perceived safety for groups that rely on fast visual heuristics to judge unfamiliar environments. Therefore, the positive association of VR with perceived safety is interpreted as a context-dependent proxy effect of visible urban order rather than a general reversal of traffic anxiety theories. This interpretation also illustrates how identical streetscape cues can yield opposite effects across groups. For example, enclosed corridors may provide a sense of refuge for older adults but induce anxiety among migrants by obscuring information and increasing social detachment. This phenomenon of cue reinterpretation highlights how environmental perception is modulated by group-specific cognitive frameworks.
Social identity theory offers further insight into this process. Individuals interpret environmental cues through the lens of their group affiliations. Recognizable visual symbols—such as neighborhood landmarks or vernacular design elements—can enhance belonging, whereas their absence may trigger feelings of exclusion [96]. Previous research has emphasized that socially marginalized individuals are especially attuned to subtle signals of acceptance or rejection in the built environment. Our findings confirm that migrants’ perceptions of safety are deeply tied to whether they perceive themselves as integrated into the social order of the neighborhood.
From an urban design perspective, these divergent needs signal the necessity of differentiated spatial responses. Older adults benefit from visual softness, natural coverage, and pedestrian-friendly environments that reduce sensory strain. Migrants, by contrast, require strong spatial legibility and identifiable structures to navigate unfamiliar territory and establish cognitive anchoring. Jacobs (1961) noted that “eyes on the street” and neighborhood complexity are key to fostering urban safety—not rigid aesthetic standardization. Yet many urban renewal projects today favor homogenized modernist styles, inadvertently undermining the emotional ties of vulnerable groups [97]. The removal of vernacular elements, cool-tone material palettes, and sanitization of informal nodes often erode the visual familiarity critical for older and migrant populations.
The WHO’s “Age-Friendly Cities” framework rightly emphasizes the need for spatial responses that are tailored, empathetic, and inclusive [98]. Similarly, Newman’s (1978) defensible space theory stresses that safety is built through spatial legibility, continuity of social presence, and perceptual ownership [99]. Our study underscores that subjective safety is not passively received but selectively constructed via social identity and contextual interpretation. This cue reconstruction mechanism suggests that future urban governance must move beyond average-centered planning. Instead, spatial strategies should be user-specific and responsive. In older neighborhoods, this could entail enhancing greenery, comfort, and rest areas. In migrant-dense districts, openness of communal areas and visibility of social functions are key. Only by aligning design with perceptual diversity can urban space truly foster safety and belonging for all [97,98].
5.5. Identifying Governance Priorities Through a Composite Spatial Justice Index
The spatial distribution of the Priority Governance Index reveals a non-random pattern of discontinuous and polycentric clustering. Notably, high-priority subdistricts are not confined to the city’s outskirts or conventionally disadvantaged areas. Rather, they also appear in middle-ring transition zones—areas that have historically received limited policy focus. This observation is consistent with preceding analytical results, which demonstrate that low perceived safety does not always coincide with objective environmental deficits. Instead, psychological safety appears to be modulated by the co-presence of vulnerable populations and ambiguous spatial identity cues.
Our data show that these high-priority subdistricts often exhibit contradictory environmental features. For instance, while indicators such as green visibility and colorfulness are relatively high—traits typically associated with positive environmental perception—the same areas simultaneously register elevated values for visual occlusion and structural enclosure. This coexistence may generate conflicting perceptual signals, particularly for socially vulnerable groups. Migrants and older residents—both of whom rely on clear environmental cues for spatial orientation and psychological anchoring—may find such environments difficult to interpret or emotionally inhabit. These findings resonate with prior work in environmental psychology, which indicates that congruence between environmental signals and user expectations is critical for forming a sense of safety and place attachment [85,100].
The Priority Governance Index, by integrating perceptual scores with demographic vulnerability metrics, reveals that some subdistricts are disproportionately exposed to what may be termed symbolic insecurity: environments where physical conditions are adequate but perceptual and social cues remain ambiguous or contradictory. The “middle-ring” spatial category is particularly instructive in this regard. These areas are neither core urban centers with strong symbolic presence nor fringe zones with clearly designated growth objectives. As a result, they may lack cohesive spatial narratives, cultural markers, or participatory governance mechanisms, thereby contributing to what some scholars describe as cognitive marginality [101].
In these settings, older residents tend to exhibit polarized patterns of safety perception—high in historically familiar neighborhoods, and low in transitional districts where built forms are newer but less legible. Migrant residents, in contrast, display a more evenly distributed spatial presence but disproportionately cluster in zones characterized by high enclosure and weak symbolic identity. The absence of familiar visual cues or clear social boundaries may hinder their ability to form spatial confidence or emotional attachment, compounding feelings of spatial detachment. These interpretations align with the marginal effect results reported in Section 4.4, which indicate divergent responsiveness of the two demographic groups to environmental variables such as VOI, PR, and Colorfulness.
Moreover, mapping results suggest that many of the identified high-priority subdistricts fall outside the policy spotlight of major urban renewal schemes. Despite Shanghai’s recent efforts to implement visual design standards through initiatives such as the Shanghai Street Design Guidelines [89], these areas continue to be underserved. This gap may partly stem from the fact that current planning frameworks still prioritize functional and infrastructural criteria over experiential and symbolic factors. As such, visually complex or ambiguous spaces that defy neat classification are often overlooked in governance hierarchies.
These observations suggest that effective urban intervention may require a shift from traditional physical determinism toward perceptually sensitive and socially responsive governance strategies. A key insight from our findings is that visual comfort alone is insufficient to guarantee psychological safety, particularly among groups with reduced spatial agency. Rather, it is the interpretability, familiarity, and symbolic coherence of environments that matter most in shaping subjective evaluations.
To translate these findings into actionable planning strategies, we propose a three-part governance framework grounded in perceptual identification, group differentiation, and symbolic reconstruction. Specifically, in aging-dominant subdistricts, efforts should focus on reinforcing visual familiarity—through elements such as vegetative continuity, low-speed pedestrian zones, and neighborhood markers that preserve collective memory. In migrant-concentrated areas, meanwhile, governance should prioritize symbolic inclusivity: installing culturally resonant signage, co-designed communal infrastructure, and place-making strategies that reflect the lived experiences of diverse social groups.
Importantly, these recommendations do not imply a complete overhaul of urban morphology. Rather, they advocate for adaptive micro-interventions based on perception mapping data, demographic profiling, and iterative feedback mechanisms. The Priority Governance Index can serve as a spatial filter for targeting such interventions.
5.6. Limitations and Future Research
This study utilized street-level imagery and deep learning techniques to examine the spatial distribution of perceived safety at the subdistrict level and its association with visual environments and demographic structures. The main methodological value of this work lies in the integrated analytical framework rather than in proposing a new deep learning architecture. Specifically, the pipeline provides a scalable and spatially consistent perception layer, aligns image-based predictions with subdistrict-level demographic vulnerability, and translates inequality measurement and interaction-based mechanism testing into a priority mapping that is directly usable for governance discussion. However, several limitations in data, methodology, and research design remain, which may not be fully addressable in the short term.
First, the temporal consistency and spatial coverage of street-view imagery present inherent constraints on data reliability. The images were collected at different times, with inconsistent update frequencies, and some areas suffer from outdated imagery that does not reflect current urban conditions. Moreover, the data predominantly cover daytime and non-peak scenarios, lacking representation of nighttime or holiday periods, which limits the comprehensiveness of perceived safety assessments.
Second, the perceived safety scoring model employed in this study was trained on the PlacePulse dataset, which does not contain labeled samples from Chinese cities. Because locally annotated perceived-safety ratings for Shanghai are not available in this study, we cannot directly validate or calibrate the model for the local context. This introduces potential domain shift and cross-cultural differences in how visual cues—such as building density, greenery, and color saturation—translate into safety judgments. Accordingly, the predicted values are interpreted as model-predicted perceived-safety scores under the learned visual semantics, and our analyses emphasize relative (e.g., standardized or rank-based) differences across space and groups, rather than absolute claims about local safety levels. Future work should validate and calibrate the model with locally grounded ratings and explore domain-adaptation strategies to improve cultural and geographic transferability. In addition, systematic benchmarking across alternative CNN and transformer backbones is beyond the scope of this study. Future work can incorporate locally grounded labels to compare model backbones and improve robustness under cross-cultural transfer.
Third, street-view images, as static two-dimensional visual media, are inherently limited in capturing dynamic behavioral patterns, auditory disturbances, air quality, and other non-visual environmental factors. They also fail to reflect social-psychological mechanisms such as neighborhood trust, governance efficacy, and collective efficacy—factors known to influence perceived safety at a micro level. The absence of these dimensions restricts a comprehensive understanding of the mechanisms underpinning safety perception.
Additionally, the current availability of China’s Seventh National Population Census data at the subdistrict level remains limited in terms of detailed demographic attributes, which constrains the depth of demographic-related analysis.
Future research should seek to expand the temporal and spatial coverage of street-view data by building urban visual databases that encompass multiple time periods, seasons, and dynamic changes. Integrating multi-modal datasets—such as noise levels, thermal conditions, air quality, and pedestrian flows—can complement the limitations of purely visual data. Locally grounded perception studies and virtual scene evaluations could further enhance the model’s cultural adaptability. Furthermore, incorporating a broader range of social group identifiers and applying interpretable AI methods may help uncover perceptual thresholds for key visual features. These efforts will contribute to more refined, inclusive, and context-sensitive urban spatial governance frameworks.
6. Conclusions
This study examines how visual environmental features in urban streetscapes relate to perceived safety through a visual justice perspective. By integrating image-based perceived safety estimates from street-view imagery with subdistrict-level demographic data in Shanghai, we find that overall spatial inequality in perceived safety is low at the city scale. However, the remaining disparity aligns more strongly with demographic stratification than with simple spatial proximity. Subdistricts with higher perceived safety scores tend to coincide with higher shares of local residents and older adults, while migrant populations are more frequently concentrated in peripheral areas with lower perceived safety scores.
We further show that the effects of streetscape cues are not uniform across groups. Significant interaction patterns indicate different perceptions of the same scene, which challenges safety interventions that rely on averaged perceptions or single indicators. To support governance translation, we propose a priority governance index that overlays lower perceived safety with higher population vulnerability, enabling the identification of subdistricts that warrant targeted attention. Overall, perceived safety disparities cannot be understood solely through physical form, and a justice-oriented approach requires addressing the social structure embedded in everyday visual experience to inform more responsive and inclusive public space governance.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/buildings16030538/s1, Table S1: Block-level spatial information and limited governance capacity.
Author Contributions
Conceptualization, Z.F., Y.H.; Formal analysis, Y.H., P.G. and J.Y.; Methodology, Y.H., P.G. and J.Y.; Writing—original draft preparation, X.L., Y.H. and J.Y.; Writing—review and editing, Y.H.; Data curation, Y.H. and P.G. All authors have read and agreed to the published version of the manuscript.
Funding
Shanghai “Science and Technology Innovation Action Plan” Natural Science Foundation Project (24ZR1452700). Shanghai Philosophy and Social Sciences Planning Project (2024BCK008). Shanghai Education Science Research Project “Special Project for Philosophy and Social Sciences Research in Shanghai Higher Education Institutions” (2025ZSD003).
Data Availability Statement
The raw data supporting the conclusions of this article will be made available by the authors on request.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A
Table A1.
Agreement between manual safety ratings and model-generated safety scores (n = 50).
Appendix B
Figure A1.
Q–Q plots for normality assessment of Safer and explanatory variables.
Appendix C
Figure A2.
Histograms with kernel density estimates (KDE) of Safer and explanatory variables.
Appendix D
Table A2.
Diagnostics for multicollinearity and spatial autocorrelation (VIF and Moran’s I).
Appendix E
Table A3.
OLS model summary for safer.
Appendix F
Table A4.
Global Moran’s I permutation test.
Table A5.
Moran’s I tests for Model residuals (OLS, SAR, and SEM).
Table A6.
Coefficient comparison across OLS, SAR-ML, and SEM-ML models.
Appendix G
Table A7.
OLS Regression Results for Safer.
Appendix H
Table A8.
Standardized Regression Results for Safer: Main Effects and Interaction Effects.
References
- Qiu, W.; Li, W.; Liu, X.; Zhang, Z.; Li, X.; Huang, X. Subjective and Objective Measures of Streetscape Perceptions: Relationships with Property Value in Shanghai. Cities 2023, 132, 104037. [Google Scholar] [CrossRef] [Scilit]
- Wang, L.; Han, X.; He, J.; Jung, T. Measuring Residents’ Perceptions of City Streets to Inform Better Street Planning through Deep Learning and Space Syntax. ISPRS-J. Photogramm. Remote Sens. 2022, 190, 215–230. [Google Scholar] [CrossRef] [Scilit]
- Rahm, J.; Sternudd, C.; Johansson, M. “In the Evening, I Don’t Walk in the Park”: The Interplay between Street Lighting and Greenery in Perceived Safety. Urban Des. Int. 2021, 26, 42–52. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Sun, Y.; Sun, Y.; He, T. Unveiling the Magic of Mega-City Block Environments: Investigating the Intriguing Mechanisms Shaping Children’s Spontaneous Play Preferences. Front. Psychol. 2024, 15, 1354236. [Google Scholar] [CrossRef] [Scilit]
- Wen, L.; Kenworthy, J.; Marinova, D. Higher Density Environments and the Critical Role of City Streets as Public Open Spaces. Sustainability 2020, 12, 8896. [Google Scholar] [CrossRef] [Scilit]
- Zhang, L.; Cao, H.; Han, R. Residents’ Preferences and Perceptions toward Green Open Spaces in an Urban Area. Sustainability 2021, 13, 1558. [Google Scholar] [CrossRef] [Scilit]
- Semenza, J.C. The Intersection of Urban Planning, Art, and Public Health: The Sunnyside Piazza. Am. J. Public Health 2003, 93, 1439–1441. [Google Scholar] [CrossRef] [Scilit]
- Galvez-Perez, D.; Guirao, B.; Ortuno, A.; Picado-Santos, L. The Influence of Built Environment Factors on Elderly Pedestrian Road Safety in Cities: The Experience of Madrid. Int. J. Environ. Res. Public Health 2022, 19, 2280. [Google Scholar] [CrossRef] [Scilit]
- He, J.; Chen, L.; Zhang, W. Satisfaction Differences in Urban Features Between Natives and Floating Population: Evidence from Eleven Cities in China. J. Urban Plan. Dev. 2022, 148, 05022038. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Yue, X.; Zhang, H.; Su, Y.; Qin, J. Relationship between Urban Floating Population Distribution and Livability Environment: Evidence from Guangzhou’s Urban District, China. Sustainability 2021, 13, 13477. [Google Scholar] [CrossRef] [Scilit]
- Cassarino, M.; Shahab, S.; Biscaya, S. Envisioning Happy Places for All: A Systematic Review of the Impact of Transformations in the Urban Environment on the Wellbeing of Vulnerable Groups. Sustainability 2021, 13, 8086. [Google Scholar] [CrossRef] [Scilit]
- Harris, E.; Franz, A.; O’Hara, S. Promoting Social Equity and Building Resilience through Value-Inclusive Design. Buildings 2023, 13, 2081. [Google Scholar] [CrossRef] [Scilit]
- Zhang, X.; Lin, E.S.; Tan, P.Y.; Qi, J.; Waykool, R. Assessment of Visual Landscape Quality of Urban Green Spaces Using Image-Based Metrics Derived from Perceived Sensory Dimensions. Environ. Impact Assess. Rev. 2023, 102, 107200. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Ito, K.; Biljecki, F. Assessing the Equity and Evolution of Urban Visual Perceptual Quality with Time Series Street View Imagery. Cities 2024, 145, 104704. [Google Scholar] [CrossRef] [Scilit]
- Haque, M.N.; Sharifi, A. Justice in Access to Urban Ecosystem Services: A Critical Review of the Literature. Ecosyst. Serv. 2024, 67, 101617. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Z.; Xu, Z. Detecting the Pedestrian Shed and Walking Route Environment of Urban Parks with Open-Source Data: A Case Study in Nanjing, China. Int. J. Environ. Res. Public Health 2020, 17, 4826. [Google Scholar] [CrossRef] [Scilit]
- Dai, D.; Bo, M.; Zhou, Y. How Do the Young Perceive Urban Parks? A Study on Young Adults’ Landscape Preferences and Health Benefits in Urban Parks Based on the Landscape Perception Model. Int. J. Environ. Res. Public Health 2022, 19, 14736. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Yabuki, N.; Fukuda, T. Measuring Visual Walkability Perception Using Panoramic Street View Images, Virtual Reality, and Deep Learning. Sust. Cities Soc. 2022, 86, 104140. [Google Scholar] [CrossRef] [Scilit]
- Wu, Y.; Liu, Q.; Hang, T.; Yang, Y.; Wang, Y.; Cao, L. Integrating Restorative Perception into Urban Street Planning: A Framework Using Street View Images, Deep Learning, and Space Syntax. Cities 2024, 147, 104791. [Google Scholar] [CrossRef] [Scilit]
- Yao, Y.; Liang, Z.; Yuan, Z.; Liu, P.; Bie, Y.; Zhang, J.; Wang, R.; Wang, J.; Guan, Q. A Human-Machine Adversarial Scoring Framework for Urban Perception Assessment Using Street-View Images. Int. J. Geogr. Inf. Sci. 2019, 33, 2363–2384. [Google Scholar] [CrossRef] [Scilit]
- Yuan, Y.; Wang, R.; Niu, T.; Liu, Y. Using Street View Images and a Geographical Detector to Understand How Street-Level Built Environment Is Associated with Urban Poverty: A Case Study in Guangzhou. Appl. Geogr. 2023, 156, 102980. [Google Scholar] [CrossRef] [Scilit]
- Zhang, S.; Zhang, K.; Zhang, M.; Liu, X. Evaluation of the Visually Impaired Experience of the Sound Environment in Urban Spaces. Front. Psychol. 2022, 12, 731693. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gu, D.; Andreev, K.; Dupre, M.E. Major Trends in Population Growth Around the World. China CDC Wkly. 2021, 3, 604–613. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jiang, B.; Li, D.; Larsen, L.; Sullivan, W.C. A Dose-Response Curve Describing the Relationship Between Urban Tree Cover Density and Self-Reported Stress Recovery. Environ. Behav. 2016, 48, 607–629. [Google Scholar] [CrossRef] [Scilit]
- Loukaitou-Sideris, A. Safe on the Move: The Importance of the Built Environment. In The Urban Fabric of Crime and Fear; Ceccato, V., Ed.; Springer: Dordrecht, The Netherlands, 2011; pp. 85–110. ISBN 978-94-007-4209-3. [Google Scholar]
- Brady, E.; Prior, J. Environmental Aesthetics: A Synthetic Review. People Nat. 2020, 2, 254–266. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Zhou, T.; Yu, W. Analysis of Changes in Ecological Environment Quality and Influencing Factors in Chongqing Based on a Remote-Sensing Ecological Index Mode. Land 2024, 13, 227. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Ma, X.; Hu, L.; Lu, S.; Ye, X.; You, S.; Tan, Z.; Li, X. Information in Streetscapes-Research on Visual Perception Information Quantity of Street Space Based on Information Entropy and Machine Learning. ISPRS Int. J. Geo-Inf. 2022, 11, 628. [Google Scholar] [CrossRef] [Scilit]
- Dai, L.; Zheng, C.; Dong, Z.; Yao, Y.; Wang, R.; Zhang, X.; Ren, S.; Zhang, J.; Song, X.; Guan, Q. Analyzing the Correlation between Visual Space and Residents’ Psychology in Wuhan, China Using Street-View Images and Deep-Learning Technique. City Environ. Interact. 2021, 11, 100069. [Google Scholar] [CrossRef] [Scilit]
- Gheitasi, M.; Gine, D.S.; Fagerholm, N.; Albert, Y.P. Using Public Participation GIS to Assess Effects of Industrial Zones on Risk and Landscape Perception: A Case Study of Tehran Oil Refinery, Iran. Earth 2024, 5, 371–387. [Google Scholar] [CrossRef] [Scilit]
- Kothencz, G.; Blaschke, T. Urban Parks: Visitors’ Perceptions versus Spatial Indicators. Land Use Policy 2017, 64, 233–244. [Google Scholar] [CrossRef] [Scilit]
- Van Cauwenberg, J.; Van Holle, V.; Simons, D.; Deridder, R.; Clarys, P.; Goubert, L.; Nasar, J.; Salmon, J.; De Bourdeaudhuij, I.; Deforche, B. Environmental Factors Influencing Older Adults’ Walking for Transportation: A Study Using Walk-along Interviews. Int. J. Behav. Nutr. Phys. Act. 2012, 9, 85. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Liu, H. The Influence of Subjective and Objective Characteristics of Urban Human Settlements on Residents’ Life Satisfaction in China. Land 2021, 10, 1400. [Google Scholar] [CrossRef] [Scilit]
- Nakamura, K. The Relationship between Walkability and QOL Outcomes in Residential Evaluation. Cities 2022, 131, 104008. [Google Scholar] [CrossRef] [Scilit]
- Zhang, J.; Zheng, Y.; Wen, T.; Yang, M.; Feng, Q.M. The Impact of Built Environment on Physical Activity and Subjective Well-Being of Urban Residents: A Study of Core Cities in the Yangtze River Delta Survey. Front. Psychol. 2022, 13, 1050486. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sadeghi, A.R.; Ebadi, M.; Shams, F.; Jangjoo, S. Human-Built Environment Interactions: The Relationship between Subjective Well-Being and Perceived Neighborhood Environment Characteristics. Sci. Rep. 2022, 12, 21844. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Shach-Pinsly, D. Measuring Security in the Built Environment: Evaluating Urban Vulnerability in a Human-Scale Urban Form. Landsc. Urban Plan. 2019, 191, 103412. [Google Scholar] [CrossRef] [Scilit]
- Yin, Y.; Shao, Y.; Meng, Y.; Hao, Y. The Effects of the Natural Visual-Aural Attributes of Urban Green Spaces on Human Behavior and Emotional Response. Front. Psychol. 2023, 14, 1186806. [Google Scholar] [CrossRef] [Scilit]
- Elsadek, M.; Liu, B.; Xie, J. Window View and Relaxation: Viewing Green Space from a High-Rise Estate Improves Urban Dwellers’ Wellbeing. Urban For. Urban Green. 2020, 55, 126846. [Google Scholar] [CrossRef] [Scilit]
- Song, X.P.; Richards, D.R.; Tan, P.Y. Using Social Media User Attributes to Understand Human-Environment Interactions at Urban Parks. Sci. Rep. 2020, 10, 808. [Google Scholar] [CrossRef] [Scilit]
- Freiberger, E.; Sieber, C.C.; Kob, R. Mobility in Older Community-Dwelling Persons: A Narrative Review. Front. Physiol. 2020, 11, 881. [Google Scholar] [CrossRef] [Scilit]
- Cao, Y.; Hua, Z.; Chen, T.; Li, X.; Li, H.; Tao, D. Understanding Population Movement and the Evolution of Urban Spatial Patterns: An Empirical Study on Social Network Fusion Data. Land Use Policy 2023, 125, 106454. [Google Scholar] [CrossRef] [Scilit]
- Gemmell, E.; Ramsden, R.; Brussoni, M.; Brauer, M. Influence of Neighborhood Built Environments on the Outdoor Free Play of Young Children: A Systematic, Mixed-Studies Review and Thematic Synthesis. J. Urban Health 2023, 100, 118–150. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Seyedrezaei, M.; Becerik-Gerber, B.; Awada, M.; Contreras, S.; Boeing, G. Equity in the Built Environment: A Systematic Review. Build. Environ. 2023, 245, 110827. [Google Scholar] [CrossRef] [Scilit]
- Chen, Y.; Huang, X.; White, M. A Study on Street Walkability for Older Adults with Different Mobility Abilities Combining Street View Image Recognition and Deep Learning—The Case of Chengxianjie Community in Nanjing (China). Comput. Environ. Urban Syst. 2024, 112, 102151. [Google Scholar] [CrossRef] [Scilit]
- Lu, J.; Dai, M.; Li, F.; Qin, L.; Cheng, B.; Li, Z.; Yao, Z.; Wu, R.; Xu, D. The Impact of Urban Built Environments on Elderly People’s Sense of Safety and Adaptation to Aging: A Case Study of Three Major Urban Agglomerations in China. Land 2023, 12, 1486. [Google Scholar] [CrossRef] [Scilit]
- Shu, S.; Meng, L.; Piao, X.; Geng, X.; Tang, J. Effects of Audio-Visual Interaction on Physio-Psychological Recovery of Older Adults in Residential Public Space. Forests 2024, 15, 266. [Google Scholar] [CrossRef] [Scilit]
- Cercleux, A.-L. Graffiti and Street Art between Ephemerality and Making Visible the Culture and Heritage in Cities: Insight at International Level and in Bucharest. Societies 2022, 12, 129. [Google Scholar] [CrossRef] [Scilit]
- Wen, Y.; Qi, H.; Long, T. Quantitative Analysis and Design Countermeasures of Space Crime Prevention in Old Residential Area Quarters. J. Asian Archit. Build. Eng. 2024, 23, 2071–2090. [Google Scholar] [CrossRef] [Scilit]
- Kato-Huerta, J.; Geneletti, D. A Distributive Environmental Justice Index to Support Green Space Planning in Cities. Landsc. Urban Plan. 2023, 229, 104592. [Google Scholar] [CrossRef] [Scilit]
- Feng, L.; Chen, S.; Zhang, C.; Zhang, Y.; He, Y. A Comprehensive Review on Recent Applications of Unmanned Aerial Vehicle Remote Sensing with Various Sensors for High-Throughput Plant Phenotyping. Comput. Electron. Agric. 2021, 182, 106033. [Google Scholar] [CrossRef] [Scilit]
- Xia, Y.; Yabuki, N.; Fukuda, T. Development of a System for Assessing the Quality of Urban Street-Level Greenery Using Street View Images and Deep Learning. Urban For. Urban Green. 2021, 59, 126995. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Z.; Zhu, L. A Review on Unmanned Aerial Vehicle Remote Sensing: Platforms, Sensors, Data Processing Methods, and Applications. Drones 2023, 7, 398. [Google Scholar] [CrossRef] [Scilit]
- He, N.; Li, G. Urban Neighbourhood Environment Assessment Based on Street View Image Processing: A Review of Research Trends. Environ. Chall. 2021, 4, 100090. [Google Scholar] [CrossRef] [Scilit]
- Kang, Y.; Zhang, F.; Gao, S.; Lin, H.; Liu, Y. A Review of Urban Physical Environment Sensing Using Street View Imagery in Public Health Studies. Ann. GIS 2020, 26, 261–275. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Peng, L.; Wu, C.; Zhang, J. Street View Imagery (SVI) in the Built Environment: A Theoretical and Systematic Review. Buildings 2022, 12, 1167. [Google Scholar] [CrossRef] [Scilit]
- Yi, Y.; Zhang, Z.; Zhang, W.; Zhang, C.; Li, W.; Zhao, T. Semantic Segmentation of Urban Buildings from VHR Remote Sensing Imagery Using a Deep Convolutional Neural Network. Remote Sens. 2019, 11, 1774. [Google Scholar] [CrossRef] [Scilit]
- Liang, X.; Zhao, T.; Biljecki, F. Revealing Spatio-Temporal Evolution of Urban Visual Environments with Street View Imagery. Landsc. Urban Plan. 2023, 237, 104802. [Google Scholar] [CrossRef] [Scilit]
- Wu, A.N.; Stouffs, R.; Biljecki, F. Generative Adversarial Networks in the Built Environment: A Comprehensive Review of the Application of GANs across Data Types and Scales. Build. Environ. 2022, 223, 109477. [Google Scholar] [CrossRef] [Scilit]
- Harvey, C.; Aultman-Hall, L.; Hurley, S.E.; Troy, A. Effects of Skeletal Streetscape Design on Perceived Safety. Landsc. Urban Plan. 2015, 142, 18–28. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Zhang, C.; Li, W. Does the Visibility of Greenery Increase Perceived Safety in Urban Areas? Evidence from the Place Pulse 1.0 Dataset. ISPRS Int. J. Geo-Inf. 2015, 4, 1166–1183. [Google Scholar] [CrossRef] [Scilit]
- Orquin, J.L.; Lahm, E.S.; Stojic, H. The Visual Environment and Attention in Decision Making. Psychol. Bull. 2021, 147, 597–617. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, N.; Deng, Z.; Hu, F.; Guan, Q.; Chao, Y.; Wan, L. Urban Perception Assessment from Street View Images Based on a Multifeature Integration Encompassing Human Visual Attention. Ann. Am. Assoc. Geogr. 2024, 114, 1424–1442. [Google Scholar] [CrossRef] [Scilit]
- Zhen, W.; Yang, L.; Kwan, M.-P.; Zuo, Z.; Wan, B.; Zhou, S.; Li, S.; Ye, Y.; Qian, H.; Pan, X. Capturing What Human Eyes Perceive: A Visual Hierarchy Generation Approach to Emulating Saliency-Based Visual Attention for Grid-like Urban Street Networks. Comput. Environ. Urban Syst. 2020, 80, 101454. [Google Scholar] [CrossRef] [Scilit]
- He, J.; Dang, Y.; Zhang, W.; Chen, L. Perception of Urban Public Safety of Floating Population with Higher Education Background: Evidence from Urban China. Int. J. Environ. Res. Public Health 2020, 17, 8663. [Google Scholar] [CrossRef] [Scilit]
- Wu, C.; Li, J.; Wang, C.; Song, C.; Haase, D.; Breuste, J.; Finka, M. Estimating the Cooling Effect of Pocket Green Space in High Density Urban Areas in Shanghai, China. Front. Environ. Sci. 2021, 9, 657969. [Google Scholar] [CrossRef] [Scilit]
- Liu, D.; Shi, Y. The Influence Mechanism of Urban Spatial Structure on Urban Vitality Based on Geographic Big Data: A Case Study in Downtown Shanghai. Buildings 2022, 12, 569. [Google Scholar] [CrossRef] [Scilit]
- Wu, L.; Li, W.; Wang, S.; Weihua, G.; Wang, X. Research on the Health Status and Influencing Factors of the Older Adult Floating Population in Shanghai. Front. Public Health 2024, 12, 1361015. [Google Scholar] [CrossRef] [Scilit]
- Shanghai Municipal People’s Government. The Refined ‘14th Five-Year’ Urban Management Plan and Updated Municipal Traffic Engineering Guidelines; Shanghai Municipal People’s Government: Shanghai, China, 2021.
- Park, M.; Kim, T. Applicability of ResNet-18 Based Transfer Learning for Quality Assessment of High-Resolution Satellite Images. Korean J. Remote Sens. 2025, 41, 301–310. [Google Scholar] [CrossRef] [Scilit]
- Li, M.; Liu, J.; Lin, Y.; Xiao, L.; Zhou, J. Revitalizing Historic Districts: Identifying Built Environment Predictors for Street Vibrancy Based on Urban Sensor Data. Cities 2021, 117, 103305. [Google Scholar] [CrossRef] [Scilit]
- Zou, H.; Liu, R.; Cheng, W.; Lei, J.; Ge, J. The Association between Street Built Environment and Street Vitality Based on Quantitative Analysis in Historic Areas: A Case Study of Wuhan, China. Sustainability 2023, 15, 1732. [Google Scholar] [CrossRef] [Scilit]
- Nasar, J.L. Urban Design Aesthetics: The Evaluative Qualities of Building Exteriors. Environ. Behav. 1994, 26, 377–401. [Google Scholar] [CrossRef] [Scilit]
- Chen, M.; Cai, Y.; Guo, S.; Sun, R.; Song, Y.; Shen, X. Evaluating Implied Urban Nature Vitality in San Francisco: An Interdisciplinary Approach Combining Census Data, Street View Images, and Social Media Analysis. Urban For. Urban Green. 2024, 95, 128289. [Google Scholar] [CrossRef] [Scilit]
- Dong, L. Assessing Impacts of Objective Features and Subjective Perceptions of Street Environment on Running Amount: A Case Study of Boston. Landsc. Urban. Plan. 2023, 235, 104756. [Google Scholar] [CrossRef] [Scilit]
- Hasler, D.; Suesstrunk, S.E. Measuring Colorfulness in Natural Images. In Proceedings of the Human Vision and Electronic Imaging VIII, Santa Clara, CA, USA, 20–24 January 2003; Volume 5007, pp. 87–95. [Google Scholar]
- Maresova, P.; Krejcar, O.; Maskuriy, R.; Bakar, N.A.A.; Selamat, A.; Truhlarova, Z.; Horak, J.; Joukl, M.; Vítkova, L. Challenges and Opportunity in Mobility among Older Adults—Key Determinant Identification. BMC Geriatr. 2023, 23, 447. [Google Scholar] [CrossRef] [Scilit]
- Liang, X.; Li, Q.; Zuo, W.; Wu, R. How Does Mobility and Urban Environment Affect the Migrants’ Settlement Intention? A Perspective from the Intergenerational Differences. Front. Public Health 2024, 12, 1343300. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- 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] [Scilit]
- Modai-Snir, T.; Plaut, P.O. Immigrants’ Spatial Integration Dynamics in Tel-Aviv: An Analysis of Residential Mobility and Sorting. Urban Stud. 2021, 58, 845–862. [Google Scholar] [CrossRef] [Scilit]
- Yang, J.; Lee, S.; Im, J.; Cho, K.; Park, H. Perceptual Disparities in Transportation Accessibility, Neighborhood Quality, and Satisfaction across Metro, Urban, and Rural Areas. Sens. Mater. 2024, 36, 3899. [Google Scholar] [CrossRef] [Scilit]
- Theil Index. Wikipedia. 2025. Available online: https://en.wikipedia.org/wiki/Theil_index (accessed on 18 January 2026).
- Soja, E.W. Seeking Spatial Justice; Globalization and Community; University of Minnesota Press: Minneapolis, MN, USA, 2010; ISBN 978-0-8166-6668-3. [Google Scholar]
- Lefebvre, H.; Nicholson-Smith, D.; Lefebvre, H. The Production of Space, 33rd ed.; Blackwell Publishing: Malden, MA, USA, 2013; ISBN 978-0-631-18177-4. [Google Scholar]
- Nasar, J.L.; Jones, K.M. Landscapes of Fear and Stress. Environ. Behav. 1997, 29, 291–323. [Google Scholar] [CrossRef] [Scilit]
- Allen, J.; Cars, G.; Madanipour, A. Social Exclusion in European Cities: Processes, Experiences and Responses; Regions and Cities; Routledge: Hoboken, NJ, USA, 2012; ISBN 978-0-11-702372-7. [Google Scholar]
- Rose, G. Visual Methodologies: An Introduction to Researching with Visual Materials, 5th ed.; Sage: Thousand Oaks, CA, USA, 2023; ISBN 978-1-5297-6719-3. [Google Scholar]
- Shanghai Planning and Land Resources Administration Bureau; Shanghai Municipal Transportation Commission; Shanghai Urban Planning and Design Research Institute. Shanghai Street Design Guidelines; Shanghai Planning and Land Resources Administration Bureau: Shanghai, China, 2016.
- Scannell, L.; Gifford, R. Defining Place Attachment: A Tripartite Organizing Framework. J. Environ. Psychol. 2010, 30, 1–10. [Google Scholar] [CrossRef] [Scilit]
- Wang, D.; Li, F.; Chai, Y. Activity Spaces and Sociospatial Segregation in Beijing. Urban Geogr. 2012, 33, 256–277. [Google Scholar] [CrossRef] [Scilit]
- Low, S.M. Claiming Space for an Engaged Anthropology: Spatial Inequality and Social Exclusion. Am. Anthropol. 2011, 113, 389–407. [Google Scholar] [CrossRef] [Scilit]
- Harner, J.; Warner, K.; Pierce, J.; Huber, T. Urban Environmental Justice Indices. Prof. Geogr. 2002, 54, 318–331. [Google Scholar] [CrossRef] [Scilit]
- China Center for Health Education. Healthy City Evaluation Index System; China Center for Health Education: Beijing, China, 2018. [Google Scholar]
- Kaplan, R.; Kaplan, S. The Experience of Nature: A Psychological Perspective; Cambridge University Press: Cambridge, UK, 1989; ISBN 978-0-521-34139-4. [Google Scholar]
- Ulrich, R.S. View Through a Window May Influence Recovery from Surgery. Science 1984, 224, 420–421. [Google Scholar] [CrossRef] [Scilit]
- Böhm, R.; Rusch, H.; Baron, J. The Psychology of Intergroup Conflict: A Review of Theories and Measures. J. Econ. Behav. Organ. 2020, 178, 947–962. [Google Scholar] [CrossRef] [Scilit]
- Jacobs, J. The Death and Life of Great American Cities; Random House: New York, NY, USA, 1961. [Google Scholar]
- WHO. Global Age-Friendly Cities: A Guide. Available online: https://www.who.int/publications/i/item/9789241547307 (accessed on 30 May 2025).
- Newman, O. Defensible Space: Crime Prevention Through Urban Design, 3rd ed.; Architecture, Urban Affairs; Collier Books: New York, NY, USA, 1978; ISBN 978-0-02-000750-0. [Google Scholar]
- Gifford, R. Environmental Psychology: Principles and Practice, 5th ed.; Optimal Books: Colville, WA, USA, 2014; ISBN 978-0-9937719-0-3. [Google Scholar]
- Low, S.M. Spatializing Culture: The Ethnography of Space and Place; Routledge: London, UK; New York, NY, USA, 2017; ISBN 978-1-138-94560-9. [Google Scholar]
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. |
© 2026 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.


























