Skip to Content
BuildingsBuildings
  • Article
  • Open Access

29 November 2026

29 Pages

Decoding Nonlinear and Spatially Varying Relationships Between Streetscape Color and Urban Vitality Using GeoShapley Machine Learning in Harbin, China

and
1
School of Architecture and Design, Harbin Institute of Technology, Harbin 150001, China
2
Key Laboratory of Cold Region Smart Human Settlement Environment Science and Technology, Ministry of Industry and Information Technology, Harbin 150001, China
*
Author to whom correspondence should be addressed.
Buildings2026, 16(23), 4785;https://doi.org/10.3390/buildings16234785 
(registering DOI)
This article belongs to the Section D. Architectural Design, Urban Science, and Real Estate

Abstract

Optimizing streetscape color is of great significance for improving environmental esthetic perception and streetscape quality, which is particularly prominent in high-latitude cities. However, in existing studies, whether nonlinear and spatially heterogeneous associations exist between streetscape color and urban vitality remains insufficiently understood. Considering that summer in high-latitude cities is a precious peak season for outdoor public activity, this study therefore uses this favorable window to estimate the baseline response potential of streetscape color to urban vitality. Using Harbin as a case study, we develop a multisource urban vitality and streetscape color analytical framework (MUV-SC) and integrate a GeoShapley-based machine-learning approach to explore the relationship between color and urban vitality. The results show that: (1) Streetscape colors exhibit nonlinear associations with urban vitality, displaying certain threshold patterns. Among them, color compatibility is a relatively important color factor. (2) Synergistic patterns exist among streetscape color attributes across the two dimensions of color spatial attributes and color compositional order. Their combined contribution patterns differ from those observed when considering each variable individually. (3) Streetscape color response exhibits a core-periphery gradient pattern of spatial heterogeneity, providing empirical evidence for adopting differentiated streetscape color esthetic strategies across various locational contexts. These findings provide a data-driven case reference for streetscape color planning and design in Harbin, offering methodological insights for similar high-latitude cities.

1. Introduction

As a crucial indicator of a built environment’s appeal, urban vitality is fundamentally linked to the diversity of spatial interactions. For high-latitude cities, however, inherent geographical and climatic constraints severely complicate the maintenance of such vibrancy [1]. The combination of prolonged winters, low solar angles, and dense industrial zoning frequently produce visually monotonous, cool-toned streetscapes [2,3,4]. This weakens psychological comfort and can also reduce outdoor activities [5]. In this context, how to optimize the visual environment and make public space more attractive through a low-cost micro-renewal strategy has become an urgent challenge for high-latitude urban planning [6].
Among various visual elements, streetscape color is the key medium to shape environmental perception and break the visual monotony [7,8,9,10]. In high-latitude cities, there are few evergreen plants, so artificial colors such as building exterior walls and street facilities have become the main factors affecting the visual experience [11,12,13]. The progress of computer vision technology allows us to measure the color characteristics from large-scale street view pictures [14,15,16,17,18]. Recent empirical studies have confirmed that high-quality visual environments and appropriate color perceptions can significantly enhance psychological comfort and spatial attractiveness [19,20,21]. However, the majority of existing case studies on streetscape visual quality or color are concentrated in mid-to-low latitude cities with temperate or tropical climates. Related research specifically focusing on high-latitude cities like Harbin remains scarce. These studies often overlook the complex interactions between color spatial attributes and color compositional order, failing to treat color as a non-linear factor within the complex urban system. Consequently, they seldom quantify the response relationship of urban vitality to color characteristics in a specific geographical environment [22]. As a result, the specific extent and spatial patterns of the color-vitality association have yet to be fully understood [23].
To accurately evaluate streetscape color requires selecting an appropriate temporal window [24,25]. Although high-latitude cities are known for cold climates, summer is their golden season. At this time, residents often engage in outdoor activities and urban life is the most lively [26]. Because severe winter conditions in high-latitude cities act as the dominant limiting factor for outdoor activities and often visually mask streetscapes with snow cover, summer provides a crucial baseline where these climatic penalties are lifted [1,6]. This seasonal context therefore provides a favorable window for examining the relationship between streetscape color and urban vitality under peak-demand conditions [27,28]. In this study, summer is used as a key observational period to estimate the baseline vitality-related potential of streetscape color under relatively favorable seasonal conditions [29,30,31]. Focusing on this period aligns with recent data-driven approaches that emphasize evaluating urban vitality and environmental perception under representative seasonal conditions [32,33].
Despite the fact that the study window has been determined, several methodological limitations make it difficult for us to fully understand the role of streetscape color [34]. Traditional linear models struggle to accommodate the threshold effects of streetscape color effectiveness [35,36]. Also, conventional machine-learning models often have limited interpretability because of their black-box nature. This makes it difficult to understand how different streetscape color variables interact in relation to urban vitality outcomes [37,38]. Apart from methodological problems, previous studies often fail to capture the geographical variation across urban spaces [39]. The same strategy of color optimization in streetscapes may perform differently across various areas of a city [40,41,42]. Without incorporating spatial location into the explanatory framework, urban color planning is unlikely to move beyond the limitations of spatially uniform strategies [43,44,45].
With the growing availability of urban big data, researchers have increasingly shifted from traditional questionnaire surveys to large-scale measurement of urban vitality via multi-source geospatial data, such as street view images (SVI), points of interest (POI), and location-based services (LBS) [46,47]. However, traditional single-source data analyses often fail to capture its complexity [48]. Contemporary urban theory increasingly conceptualizes the city as a complex adaptive system, and recent studies advocate a broader conception of urban vitality [49,50]. Within this framework, research has gradually adopted data-driven feature profiling and association analysis to reveal complex urban patterns, rather than isolating a single factor [51].
To address these gaps, we choose Harbin, a representative high-latitude megacity in China, as a case study and propose the MUV-SC analytical framework. This framework goes beyond existing street view-based machine learning studies by shifting from global, black-box predictions to spatially aware, interpretable modeling. It uses summer peak period data as a benchmark to estimate the potential of streetscape color effects under favorable seasonal conditions. It combines deep learning technology with explainable machine learning based on GeoShapley. Compared to conventional approaches, the GeoXAI framework incorporates spatial features into model interpretation, enabling the disentanglement of the nonlinear and spatially varying responses of urban vitality to streetscape colors. Against this background, the major contributions of the study are threefold:
  • In terms of methodology, the study compiles a streetscape color semantic dataset comprising six indicators across two dimensions of color spatial attributes and color combination sequences. It also develops a composite urban vitality indicator system by integrating four dimensions of geospatial big data, which quantifies vitality more representatively than traditional single data source methods.
  • This study explores the nonlinear threshold patterns and spatially heterogeneous associations between streetscape color and urban vitality using the GeoShapley machine learning approach, revealing the synergistic patterns among streetscape colors, and moving beyond a simple linear more-is-better assumption.
  • The research provides empirical support for theories of complexity and order within environmental psychology in urban design, offering a data-driven case reference to support context-specific color governance strategies in high-latitude cities.

2. Methodology

2.1. Study Area

Harbin, located in the northeast of China, was chosen as an example of the cold climate urban environment in this study. The study area lies within the urban ring expressway (45°36′–45°55′ N, 126°24′–126°55′ E), including the main urban areas (Nangang, Daoli, Daowai, Xiangfang and Songbei) and the neighboring suburbs of Hulan. This region represents the most densely populated and functionally complex area within Harbin. Although this area of 420 km2 only accounts for 24% of the built-up area, it is home to nearly 65% of the total urban population [52].
As shown in Figure 1, the study area is divided into three concentric zones, each with different functions and landscape features [53]. The historic downtown is surrounded by the First Ring Road, which is densely populated and has strict protection regulations on the colors of old buildings and city streetscapes. Around this core area, the corridor between the Second and Third Ring Roads functions as the primary engine of urban development. This area is a blend of academic institutions, business districts and industrial parks. The outermost area extends all the way to the Fourth Ring Road, representing a new expansion boundary dominated by high-tech and cultural tourism. However, its southeastern and western edges are still in a transitional stage, and its development is uneven.
Figure 1. Geographical context of the research site. (a) Position of Heilongjiang Province in Northeast China, (b) Position of the study area in Harbin, (c) Study area.

2.2. Research Workflow

To systematically analyze the effectiveness of streetscape color in Harbin’s high-latitude context and reveal its nonlinear and spatially heterogeneous patterns, this study proposed an MUV-SC analysis framework. We hypothesize that streetscape color features share a nonlinear and spatially heterogeneous association with multi-dimensional urban vitality, and that these associations vary across different urban contexts. To test this hypothesis, we utilized multi-source geospatial data alongside street view imagery. The analytical framework utilizes semantic segmentation to isolate artificial built elements for accurate color feature extraction. Furthermore, genetic algorithm-based machine learning and GeoShapley are applied for nonlinear modeling and spatial interpretation. Figure 2 shows the structure of this framework, which includes four main stages:
Figure 2. Research framework.
Step 1: Data collection and semantic processing. A multi-source geospatial database was compiled by integrating WorldPop, Baidu Heat Map, Points of Interest (POI), and social media check-in data to represent multi-dimensional urban vitality. Street view imagery was also collected. A workflow including illumination correction, histogram equalization, and semantic segmentation, was then applied to remove natural elements and extract color information from the artificial built environment.
Step 2: Construction of the MUV-SC indicator system. Transforming abstract visual perceptions into computable quantitative indicators. For the independent variables, six-dimensional streetscape color features were quantified based on the HSV and LAB color spaces. These features were then used to construct a streetscape color dataset specifically for high-latitude cities.
Step 3: Nonlinear modeling and optimization using Genetic Algorithm-based Machine Learning (GAML). To address the linearity constraints of traditional models, a GAML workflow was implemented to jointly optimize hyperparameters and evaluate seven candidate machine learning models. The best-performing model was selected based on comparative cross-validation results and used as the basis for subsequent interpretability analysis.
Step 4: GeoShapley-based interpretation of spatially heterogeneous associations. GeoShapley was applied to decompose model outputs into the contributions of facade color features, GEO components, and spatial interactions. In Harbin’s summer urban context, this step was used to identify nonlinear patterns, context-dependent interactions, and spatial heterogeneity, thereby generating case-based insights for optimizing streetscape color effectiveness in high-latitude cities.

2.3. Data Collection and Pre-Processing

In this study, the data frame of MUV-SC is established, and its core data set includes multi-dimensional urban vitality indicators and street view images. Because the spatial resolution of multi-source data sets is different, we choose a regular hexagonal grid with an area of about 0.3 km2 as the basic analysis unit. This size is like the traditional 500 m × 500 m square grid. However, the hexagonal structure can better reduce sampling deviation and edge effects, making it more suitable for describing irregular urban built environments [54]. Hexagon grids totaling 2638 in number covered the study region. Then different kinds of data were aggregated by counts, densities, or averages based on each data type (Section 2.4). In this study, 798 invalid hexagons that did not have street-view or urban vitality data (including water bodies and unoccupied land) were discarded, and 1840 hexagons with complete data were selected for subsequent machine learning modeling.

2.3.1. Urban Vitality Data

We integrate four different geospatial data sets to study the temporal and spatial changes in urban vitality in high-latitude cities. These data represent static population distribution, dynamic crowd gathering, functional facility density, and social media preferences (Figure 3).
Figure 3. Spatial patterns of composite urban vitality: (a) composite vitality, (b) Population vitality, (c) Facility vitality, (d) Crowd vitality, (e) Social media vitality.
Population distribution data. The 2023 WorldPop gridded population dataset (https://www.worldpop.org, accessed on 30 December 2023)), with a spatial resolution of 100 m × 100 m, was used to represent the baseline population carrying capacity of the study area.
Crowd aggregation data. These data were obtained from the Baidu Maps Open Platform (https://lbsyun.baidu.com, accessed on 30 December 2023), reflecting real-time crowd aggregation intensity based on mobile-device LBS positioning. Data were collected continuously from 1 June to 30 June 2023, producing 720 hourly temporal slices over the month. The original heat maps were georeferenced and reclassified in ArcGIS Pro 3.3, and the mean heat value of each grid cell was calculated to characterize short-term dynamic vitality.
POI data. The Amap API (https://lbs.amap.com, accessed on 30 December 2023) was used to obtain the major urban facility data in June 2023, covering 12 principal categories, including catering, shopping, and transportation. A total of 312,881 valid POI records were retained after deduplication and data cleaning to quantify the spatial supply intensity of urban functions.
Social media check-in data. Geo-tagged user check-in data for June 2023 were obtained through the Sina Weibo API (https://open.weibo.com, accessed on 30 December 2023). A total of 62,574 valid records after filtering out invalid coordinates and inactive users were retained to reflect users’ subjective visitation preferences and social activity in urban space.

2.3.2. Street-View Image Acquisition and Preprocessing

Street view imagery collection and pre-processing. Sampling points were generated at 50-m intervals along road centerlines based on OpenStreetMap road network data (https://www.openstreetmap.org, accessed on 30 December 2023). SVIs in four directions (0°, 90°, 180°, and 270°) were retrieved via the Baidu Maps API (https://map.baidu.com, accessed on 30 December 2023) for each sampling point using imagery acquired in June 2023. Image registration was performed in Python (version 3.12.3) to create a panoramic image with a resolution of 540 × 2592 pixels for each sampling point. These panoramic street-view images were primarily used to extract relatively stable color features on building facades, and ultimately, to construct an initial dataset of 96,316 panoramic images for the study area.
Color correction and illumination normalization. Abnormal images affected by overcast weather, haze, and similar conditions were first removed using brightness- and contrast-thresholding algorithms, supplemented by manual inspection. A Python-based pre-processing algorithm was then applied for white balance correction, histogram equalization, and shadow detection, thereby reducing color distortion caused by local shadows and temporal differences in image acquisition and ensuring that the corrected images more closely approximated actual visual conditions.
Semantic segmentation and the extraction of relatively stable artificial elements. This study aims to exclude the interference of seasonal vegetation and sky during color analysis and pay special attention to the controllable colors in the artificial built environment. To achieve this, we use the Mask2Former deep learning model trained on the Mapillary Vistas dataset. Unlike ordinary scene datasets, Mapillary Vistas is a high-definition dataset specifically designed for diverse street view imagery, comprising 65 complex streetscape categories [55]. Based on the backbone of Swin Transformer, this model is obviously better than traditional CNN models when dealing with complex occlusion and small object edges [56]. This model can accurately identify and extract the semantic mask of artificial elements, such as building facades, walls and street furniture [57]. These masks serve as the spatial boundary limits of color quantization.
Color feature identification. From the initial dataset of 96,316 panoramic images, we excluded 3321 images, representing a rejection rate of 3.45%. These exclusions occurred because valid colors could not be extracted due to severe occlusion, extreme lighting anomalies, or a lack of artificial elements, which ultimately left 92,995 valid images for subsequent analysis. We used the Hishoku algorithm to measure color in the segmented artificial-element regions. It is based on K-Means clustering. This algorithm converts pixels into HSV and LAB color spaces, extracts 8 main colors and their proportions from each picture, and then maps them to the Munsell color system. This method has been verified for urban landscape work. The feasibility of this approach for streetscape visual analysis was recently confirmed by Song et al. (2025) [7]. Using the results of this work, we then used the data we acquired to calculate our target color metrics (see Figure S1 for examples of extraction).

2.4. Variable Selection and Calculation

2.4.1. Dependent Variable

A composite urban vitality index is the dependent variable for this research. This measure is used to evaluate the overall effectiveness of urban vitality in high-latitude cities, whether such cities can effectively encourage, aggregate, and sustain human activities. To account for the strong seasonal variations in these locations, the index is calculated using only summer months, as this timeframe aligns with the peak of outdoor engagement [49]. To solve the problem of a single data source and limited scales in prior studies, we have established a multi-dimensional evaluation framework, which integrates four different indicators. Population distribution and functional facilities establish the foundational carrying capacity and service potential for urban vitality, whereas dynamic crowd density and social media check-ins reflect the real-time intensity and social popularity of human activities. By integrating data from multiple sources, this method provides a comprehensive perspective, covering the population trend at the macro scale to the activity intensity at the meso- and micro-scale.
From a macro perspective, the population vitality indicator can represent the spatial population distribution and aggregation, so that we can see the basic ability of urban areas to support human activities for a long time [58]. At the meso-micro scale, we use a crowd vitality indicator based on Baidu Heat Map data. It captures real-time, short-term changes in human flow and the intensity of spatial activities [59]. As a basic indicator for measuring the facility vitality, the density of Points of Interest (POIs) can directly reflect the degree of function aggregation and service capacity of a specific areas [60]. Social media vitality reflects the temporal visitation preferences of crowds for specific locations, thereby effectively assessing an area’s social vitality and popularity [61]. The four sub-indicators are summarized in Table 1.
Table 1. Definitions and summary statistics of urban vitality sub-indicators.
Given differences in scale and distribution across indicators, the raw data were first normalized using min-max scaling. The entropy weight method was then used to determine the weight of each indicator. Driven by objective data based on the inherent data structure, this approach reflects the information entropy in the data and helps reduce bias from subjective weighting [33,39,62]. The composite vitality index Vc was calculated using Equations (1)–(3).
H k = − ∑ i = 1 n v ki ln ( v ki )
w k = 1 − H k ∑ k = 1 4 ( 1 − H k )
V c , i = ∑ k = 1 4 w k v ki
where vki represents the normalized value of the kth vitality indicator in the ith grid cell. Hk denotes the information entropy of the kth indicator, and wk is the calculated objective weight. The entropy-weighted index was highly correlated with the indices constructed using the PCA-based and equal-weighting methods (all r > 0.96, p < 0.001; Figure S2), supporting the robustness of the composite urban vitality measure to alternative weighting schemes.

2.4.2. Independent Variables

We developed a database of independent variables based on a streetscape color framework derived from color psychology and urban design theories. We selected six important streetscape color variables (SC), which belong to two aspects including color spatial attributes and color compositional order. According to the existing urban color research and basic image theory, we developed a measurement method for each index (see Table 2 for algorithms and Figure 4 for spatial patterns).
Figure 4. Spatial patterns of color characteristics across Harbin (thresholds defined via natural breaks classification).
  • Colorfulness (Cof). This indicator measures the vividness and brightness of the streetscape color environment. It is calculated according to the method of evaluating urban color vividness proposed by Song et al. [7].
  • Color compatibility and color diversity. Color harmony was calculated by the classic Moon and Spencer model. To avoid natural interference, all calculations were limited to the extracted built environment masks. Color compatibility reflects the harmony of streetscape color combinations, which is defined as the ratio of the order factor to the complexity factor. Color diversity is measured by the complexity factor, indicating the richness of color types and combinations in the scene [63,64].
  • Color balance. Drawing upon the image measurement method established by Wang et al., we employed Shannon entropy calculations to evaluate data purity [65]. This metric quantifies the distributional mixture and proportional homogeneity of colors within the streetscape.
  • Warm color intensity. This indicator is defined as the chroma-weighted sum of area proportions of dominant warm colors within the built environment visual field [66]. It extends prior approaches that use warm colored pixel share alone by explicitly weighting color intensity. The index is defined using the CIELAB color space and the Munsell hue system [67]. For high latitude cities, warm colored pixels identified by the Munsell system are quantified within the built environment to evaluate streetscape color temperature.
  • Streetscape color similarity. To capture local color continuity in the built streetscape, this study calculated color similarity using only stable artificial elements extracted by semantic segmentation, including building facades, walls, and street furniture. At each sampling point, retained RGB pixels were quantified into 512 bins to form a color histogram, and pairwise similarity was measured as the cosine similarity between histograms. The streetscape color similarity (Scsi) of point i was defined as the mean similarity between point i and all sampling points within 100 m. Higher Scsi values indicate greater local continuity in the color composition of stable artificial elements [7].
Table 2. Variable definitions and calculation formulas.

2.5. Development of Machine Learning Models

The study developed a GAML workflow. It was designed to capture complex nonlinear mappings between streetscape color elements and urban vitality. It also helped identify the best-performing predictive model. In contrast to conventional modeling techniques, the GAML system employed evolutionary algorithms to co-optimize both the model architecture and hyperparameters. This framework dynamically selected the most effective structure from a possible algorithm library, and adjusted the parameter settings to make the modeling effect and stability better [69]. By simulating natural selection, it maintained high prediction accuracy while minimizing manual parameter tuning. Such features make the framework highly effective for high-dimensional data processing and nonlinear pattern recognition tasks. Across seven candidate models, the framework systematically screened and optimized hyperparameters to maximize predictive performance. These ranged from different types of learning algorithms, including a linear model (ElasticNet), kernel-based approaches (support vector regression, Gaussian Process Regression) and several tree-based algorithms (Random Forest, XGBoost, LightGBM and CatBoost).
We performed a 5-fold cross-validation, and to ensure the validity and robustness of the models, a series of robustness checks were conducted (Texts S6–S8). We chose the coefficient of determination (R2) as our principal evaluation metric for goodness of fit, since it is a direct measure of the explained variance of the target variable. Computing the RMSE and MAE helped us quantify the average deviation of the prediction, and helped assess the sensitivities of the prediction model to larger errors [70].
To support the chosen feature selection and the application of nonlinear ML methods, multicollinearity checks and linear spatial model tests were carried out. Variables showed minimal multicollinearity based on pairwise correlation and VIF evaluations (Figure 5a,b, Text S4). The maximum VIF was 1.47, which did not exceed the threshold of 5. Thus, all variables were included in the subsequent analysis [5].
Figure 5. Multicollinearity checks and model fit comparisons for the spatial linear benchmarks.
For preliminary testing, Geographically Weighted Regression (GWR) and Multiscale GWR (MGWR) were used to assess the linear spatial relationships between streetscape colors and urban vitality [5,71]. As shown in Figure 5c and Text S5, MGWR fits the data better (R2 = 0.562) than traditional GWR (R2 = 0.464), as it takes account of spatial scale variations among variables. However, with both models showing limited overall explanatory power (R2 < 0.6), traditional linear models are clearly inadequate at capturing the nonlinear complexities of the links between color elements and vitality. Traditional linear methods often fail to capture non-linear complexity. To overcome this, we devised the GAML workflow to unearth the actual underlying associations.

2.6. GeoShapley

In order to better examine the role that different street colors play in terms of urban vitality depending on the location, the GeoShapley approach was integrated into our GAML framework. This method is based on the use of standard SHAP values but additionally takes into consideration geographic coordinates to partition model predictions and separate the effects of the features themselves (non-spatial component) from the contextual influences of the surrounding geography (spatial interactive component) [72]. The projected UTM centroid of each hexagonal grid serves as the geographic coordinates. By addressing the inability of standard SHAP to account for spatial heterogeneity, this method allows us to assess location-specific impacts. The prediction for each spatial unit is decomposed into four distinct elements. The decomposition is detailed in Equation (4):
y ^ i = ϕ 0 + ϕ GEO + ∑ j = 1 p ϕ j + ∑ j = 1 p ϕ ( GEO , j )
Here, ∅0 represents the baseline prediction. The remaining terms isolate specific effects: ∅GEO measures the pure spatial influence on urban vitality, while ∅j denotes the independent contribution of the j-th streetscape color feature. The interaction term ∅(GEO,j) is introduced to capture spatial heterogeneity, modeling how the geographic context modifies the impact of variable j. The calculation for ∅GEO relies on standard Shapley value principles, as defined in Equation (5):
ϕ GEO = ∑ S ⊆ M ∖ { GEO } | S | ! ( p − | S | − 1 ) ! p ! [ f ( S ∪ { GEO } ) − f ( S ) ]
Here, M denotes the complete set of p input variables, S represents any arbitrary subset without the geographic feature (GEO), while f(S) produces the conditional prediction of that subset. To further capture the spatial heterogeneity, we leverage the Spatially Varying Coefficient (SVC) framework [73] to evaluate how the predictive impact of individual SC variables fluctuates across different spatial locations (u,ν), calculated in Equation (6):
β j ( u , v ) = ϕ j + ϕ ( GEO , j ) X j − E ( X j )
where βj(u, v) captures the SVC extracted from the GeoShapley decomposition [74]. To ensure that subsequent comparisons are not biased by different measurement scales, we center the feature Xj in the denominator by subtracting its mean value, E(Xj).
We combined quantitative methods with various visual tools to explore the relationship between street colors and urban vitality. Our findings reveal a clear nonlinear relationship and further show that this relationship varies across spatial locations.

3. Results

3.1. Performance Comparison of Machine Learning Models

Seven candidate algorithms were assessed in GAML in order to select the best one for our dataset, with the hyperparameters of each algorithm optimized using five-fold cross-validation. Table 3 presents the obtained values of R2, RMSE, and MAE along with the final optimized parameter settings of each algorithm.
Table 3. Performance metrics and optimized hyperparameters of candidate models.
There are obvious differences in the performance of the tested models. Such differences largely depend on the mechanism used by each particular algorithm. It was shown that linear regression algorithms presented obvious drawbacks. For example, the ElasticNet algorithm provided an extremely low average value of R2, which equals 0.026. This means that this model hardly explains the variation in urban vitality based on the input variables. The connection between streetscape colors and urban vitality cannot be treated as a basic linear equation. There are quite complicated nonlinear threshold effects and interactions in this case, which cannot be captured with basic linear models. Kernel-based methods such as SVR and Gaussian Process Regression were examined. However, although there was some improvement, the results of the R2 metric were from 0.210 to 0.280, which is not enough to provide reliable predictions or a clear mechanistic understanding.
Tree-based ensemble algorithms demonstrated a distinct performance advantage in the analysis. The above process confirmed their ability to process complex, non-linear urban data effectively. In the case of assessment of the influence of streetscape colors on urban vitality, CatBoost proved to be the most effective. For this particular algorithm, the average value of R2 equaled 0.763, whereas the value of RMSE was the lowest 0.095. XGBoost (R2 = 0.751) and LightGBM (R2 = 0.741) provided almost the same level of accuracy. However, CatBoost is slightly better in terms of cross-validated performance. This may be related to the symmetric tree structure of the algorithm and its ability to handle categorical features. The Random Forest model also provided a reasonable fit (R2 = 0.671), but its explanatory capacity was lower than that of the gradient boosting algorithms.
Given the comparative results, CatBoost was selected as the primary analytical model. The model was capable of effectively detecting the nonlinear dependencies in the data and demonstrated good predictive performance with a high level of stability in the cross-validation process. The next step was combining the optimized CatBoost model with the GeoShapley framework. This combination helps reveal how specific streetscape color features contribute to model predictions and helps identify spatial heterogeneity in the relationship between streetscape colors and urban vitality.

3.2. Variable Contributions and Importance

GeoShapley was used to evaluate the nonlinear relationship between streetscape color variables and urban vitality by applying it to the optimized CatBoost model. Different from conventional SHAP analysis, GeoShapley separates the geographical location effect (GEO) from the contributions of other predictors, allowing a clearer assessment of color-related contributions after accounting for spatial effects. Figure 6a shows the distribution of the directional contributions of each variable to the model predictions, and Figure 6b shows the ranking of global variable importance.
Figure 6. GeoShapley-based global importance and influence distribution of streetscape color features and spatial effects (GEO) on urban vitality.
GEO represents the combined contribution of geographic location. For non-spatial color indicators, the names of the features were used, while their interactions with location were denoted by the “×” symbol. The x-axis shows the GeoShapley values, and the color scale indicates the magnitude of the feature value. GEO and color compatibility had the highest importance among all the variables and were significantly ahead of others. GEO exhibited a prominent overall importance and a broad distribution of GeoShapley values, indicating that spatial context remains a crucial factor in explaining urban vitality. Color compatibility is an important non-spatial indicator. While geographical location plays an important role in providing the spatial context of urban vitality, micro-level color compatibility could be seen as an important design dimension associated with higher predicted urban vitality within similar spatial settings.
After taking into account the contribution of geographical location, different contribution patterns of SC indicators appeared. Among them, color compatibility turned out to be the important SC predictor. According to the beeswarm plot, values with high compatibility (red) are mainly concentrated in the positive SHAP region, which means that in general, higher compatibility is associated with higher predicted urban vitality. In complex urban environments, better color coherence and lower visual entropy are also associated with better predicted vitality values. These contribution patterns are broadly consistent with classical esthetic theories. The contribution of warm color intensity tends to become negative at higher values. This is evident from the predominance of the high-value points (red) in the negative SHAP area. Higher warm color intensity is not uniformly associated with more positive urban vitality predictions, producing a negative marginal effect within the prediction model. Color balance is characterized by a predominantly negative contribution pattern. Higher color balance is associated with less favorable predicted outcomes for urban vitality. As such, a certain level of asymmetry or variation in color composition may be beneficial in the current urban setting.
Several interaction terms were incorporated in the model and indicate that the contribution of color to urban vitality is location-dependent. The importance of the interactions, such as color balance × GEO, color compatibility × GEO, and warm color intensity × GEO, is higher compared to that of the main effects of color variables alone. The wide dispersal of the interaction terms in the beeswarm plot confirms that geographic location significantly moderates the effects of color. Similar color interventions can result in contrasting outcomes depending on the city location. As such, a one-size-fits-all approach to color interventions may be less appropriate, and interventions may need to be adapted to specific local contexts.

3.3. Nonlinear Effects Patterns of SC on Urban Vitality

There are six primary color indicators that have nonlinear relationships with predicted urban vitality and show sensitive intervals and possible threshold-like behavior (Figure 7). These patterns can be identified by comparing the actual values of the variables with their corresponding standard SHAP scores reflecting marginal contributions to the model predictions. The thresholds were identified using 95% confidence intervals.
Figure 7. The nonlinear patterns of streetscape color on the vitality of Harbin.
Among the primary color indicators, color compatibility demonstrates the highest importance and shows a nonlinear relationship with predicted urban vitality: when the compatibility is below approximately 0.68, the marginal contribution is mainly negative. When the value exceeds this level, the contribution rises within the higher interval. Such a pattern could relate to differences in visual coherence associated with varying levels of color coordination. As regards Harbin, the findings suggest that adjusting color compatibility might be a potentially important design direction associated with more favorable predicted vitality outcomes.
The correlation between the color balance index and urban vitality is characterized by a clear trend downwards: above the pivotal point of 0.44, the higher the uniformity, the lower the vitality. Such a pattern is unlikely to be universal, it may reflect a context-specific mechanism in Harbin’s high-latitude context, where excessive color balance dilutes visual focus and produces bland streetscapes. Lower balance typically indicates that an emphatic or primary color is at play. These focal points may gather urban vitality by introducing crucial visual tension into an otherwise monotonous environment.
The pattern of color diversity is nonlinear: the data support the idea of moderation in urban planning as a vital principle. There is an inverted U-shaped pattern between color diversity and urban vitality. There is a key threshold at 0.83. Up to this point, increasing diversity successfully enhances both the visual experience and overall vitality. Beyond this mark, however, the effect reverses because excessive change generates fragmentation and clutter. This necessity to balance diversity against chaos and monotony aligns with similar nonlinear dynamics corroborated in other high-density Asian contexts, such as Seoul [75].
In the case of high-latitude cities such as Harbin, warm colors are important visual highlights and also convey psychological warmth, but only up to a certain limit. The relationship with urban vitality is not a simple linear decline but rather depends on a critical threshold of 0.76. When warm color intensity is at a low to medium level, the SHAP values remain relatively stable and mostly positive. However, the higher the intensity becomes, the less the positive contribution remains. A sharp drop into negative SHAP values happens once the threshold is crossed. In this situation, excessive warm tones probably cause visual fatigue by clashing with the city’s naturally cool landscape palette, thus making spaces less attractive.
To sustain urban activity, streetscapes in Harbin need a careful mix of architectural identity and visual diversity. This balance is empirically reflected in the moderate inverted U-shaped pattern of street color similarity, where positive impacts are confined to a 0.64–0.73 interval. Falling below this range drives SHAP scores negative, likely due to visual disorder, while exceeding it may trigger homogeneity-induced esthetic fatigue.

3.4. Interactions and Synergistic Patterns Among Predictors

Because the relationships among the extracted streetscape color indicators are complex, we use SHAP dependence plots (Figure 8) and 2D Accumulated Local Effects (ALE) interaction plots (Figure 9) to analyze the interaction between them. The results indicate a nonlinear interaction between two dimensions of streetscape color attributes, color spatial attributes and color compositional order. Visual stimulation derived from color spatial attributes interacts synergistically with a unified visual background derived from color compositional order, and their joint contribution pattern differs from the patterns observed when each variable is considered separately.
Figure 8. Primary synergistic patterns of streetscape color variables on urban vitality.
Figure 9. Selected ALE interaction plots of streetscape color variables on urban vitality: (a) Color Balance and Street Color Similarity; (b) Color Balance and Warm Color Intensity; (c) Color Compatibility and Color Balance; (d) Color Compatibility and Street Color Similarity; (e) Color Compatibility and Warm Color Intensity; (f) Color Diversity and Color Balance; (g) Color Diversity and Color Compatibility; (h) Color Diversity and Street Color Similarity; (i) Color Diversity and Warm Color Intensity; (j) Colorfulness and Color Balance; (k) Colorfulness and Color Compatibility; (l) Colorfulness and Color Diversity; (m) Colorfulness and Street Color Similarity; (n) Colorfulness and Warm Color Intensity; (o) Street Color Similarity and Warm Color Intensity.

3.4.1. Synergy Between Colorfulness and Color Compatibility

SHAP and ALE plots indicate a pronounced synergistic interaction between colorfulness and color compatibility. An overlap between medium-high color vividness and high color coordination creates a synergistic effect, corresponds to a region of highly positive contribution within the ALE diagram. SHAP dependency analysis also confirms this point, indicating that the positive role of color richness is most evident under conditions of high coordination in Harbin.

3.4.2. Interaction Between Colorfulness and Similarity

Interaction between colorfulness and street color similarity (Figure 9m) implies that there are stronger positive interaction effects between these parameters when relatively high color vividness is combined with a more unified color background. The most pronounced positive marginal effects are reached when medium-high colorfulness is paired with high street color similarity. Such interaction allows us to define more clearly what effective richness should be. High-energy streets are not defined by colorful chaos. They presuppose a high degree of color coordination, for example, coordinated building facades or unified main colors, together with distinct colors of medium-high saturation. In Harbin, the pattern implies that streetscapes associated with higher predicted vitality often maintain an overall unified visual palette while introducing contrast through signs or decorations. Such a configuration may preserve perceptual order while adding visual stimulation and is associated with more favorable model-estimated vitality outcomes than either random color disorder or excessive visual uniformity.

3.4.3. Visual Order for Warm Color Intensity

Within Harbin’s high-latitude urban context, the relationship between warm color intensity and predicted urban vitality appears to vary with the level of color compatibility. Figure 9e shows that the most positive joint ALE response occurs when a moderate warm color intensity is combined with high color compatibility. The results do not support a simple ‘more is better’ relationship. When warm color intensity becomes excessive, the marginal contribution starts to drop significantly, implying that the model-estimated effect is likely either reduced or reversed at higher levels. This interaction highlights the significance of color compatibility. The positive response associated with warm color intensity remains weak when color compatibility is low. However, a pronounced positive peak is observed only when color compatibility is high. In general, the most favorable model-estimated pattern occurs when warm color intensity is moderate and color compatibility is high. Conversely, an increase in warm color intensity without a coordinated color context is associated with lower predicted vitality outcomes.

3.5. Spatial Heterogeneity of GEO and SCs

The GeoShapley approach allows us to divide the impact of geographical location into three parts: the independent locational effect, the total contribution of color features, and their interaction effect. The GeoShapley approach helps to reveal the spatial heterogeneity of color characteristics as reflected in their varying associations with urban vitality across Harbin.

3.5.1. The Intrinsic Contribution of Location

Figure 10 depicts the intrinsic predictive contribution of location. The results reveal a core-periphery gradient pattern. The core areas (Daoli, Nangang) are marked by positive GEO values (red), indicating that these geographic locations themselves provide a positive contribution to the predicted urban vitality. As the distance from the city center increases, the positive locational effects gradually diminish. In the peripheral zones, particularly beyond the Third Ring Road, GEO values predominantly turn negative (blue). This suggests that these peripheral locations offer limited contributions to the vitality prediction, reflecting a diminished locational advantage at greater distances from the urban core.
Figure 10. Spatial effects of GeoShapley values for geographic locations.

3.5.2. Total Contribution and Sensitivity

GeoShapley value and the spatial distribution of SVC (Figure 11) show an obvious center-periphery dichotomy. The SVC map (Figure 11, col. 3) verifies this model, which intuitively shows the local sensitivity of vitality to color changes. The figures show the transition from the positive response (red) in the core area to the negative resistance (blue) in the peripheral area. This proves that the effectiveness of streetscape color is restricted by the background of urban form.
Figure 11. GeoShapley distribution heat map of streetscape color indicators.
Visual capital of the urban core area. In the central area of the Second Ring Road, color compatibility, colorfulness, and warm color intensity show obvious positive aggregation (Figure 11a,d,e). In the corresponding SVC map, the area is deep red, showing high positive sensitivity (Figure 11m,p,q). The core region appears relatively sensitive to esthetic changes, where slight enhancements in color quality are associated with more positive vitality responses. The overlap of high compatibility and warm colors indicates that the orderly stimulation pattern (Section 3.4) might be particularly effective in urban core areas.
Visual defects in marginal regions. Marginal regions display extensive negative effects, primarily in street color similarity and balance (Figure 11b,f). The SVC mode of these regions apparently shifts towards blue (negative value) (Figure 11n,r), meaning that the marginal regions are less responsive to color variations. It suggests the existence of a negative marginal effect, where simply increasing color intensity or diversity may not be associated with more positive vitality outcomes. This pattern may also reflect a locational mismatch of color configuration elements. Despite the fact that color diversity displays some scattered positive effects in the transitional zone, it fails to form a close cluster in the marginal regions. The uneven spatial distribution of color assets corresponds to the observed vitality disparities.

3.5.3. Spatial Interaction Patterns of GEO

As GeoShapley analysis shows, the spatial distribution is evidently non-uniform and displays a concentric zoning structure (Figure 11). The core area (within the second ring) is characterized by positive interaction, while the influence of the marginal area is almost negligible. Thus, it becomes evident that geographical location is a key effective factor, not just a control variable.
Positive Spatial Dependence in the Urban Core
Location seems to amplify the effect of color, because there is a clear positive correlation between color collocation, vividness and warm tone intensity. In the city center, SVCs remain high and positive, suggesting that urban core areas may strengthen these associations. These results suggest a potential dual mechanism. One potential explanation lies in the location-dependent visual efficacy. The geographic centrality of the core area may act as a catalyst, potentially amplifying the impact of visual elements. As captured by the spatial interaction between geographic location and color features, the specific context of the urban core activates the physical characteristics of color. Thus, static design elements placed in these central locations are more effectively transformed into dynamic urban quality. Another explanation involves mitigating visual clutter in the environment. Because of the high density of the core area and too much visual information, the obvious interaction between color compatibility and similarity (Figure 11g,l) is particularly important. In this complex space, visual order is a valuable resource. Therefore, the establishment of color unification can bring great benefits.
Attenuated Color Contributions in the Peripheral Areas
In the urban expansion areas outside the Third Ring Road, the prevalence of negative SVCs (blue) indicates that the geographic context in these peripheral zones tends to attenuate the positive association between streetscape colors and urban vitality. We hypothesize that this spatial inhibition is associated with a potential locational mismatch. Peripheral areas typically present macro-scale environments with distinct spatial scales and functional layouts compared to the urban core. In such settings, the visual impact of micro-level streetscape colors may be diluted by physical distance. Thus, the direct association between color features and urban vitality appears limited in these zones.
The Spatial Dialectics of Order and Vitality
The interaction diagram (Figure 11h,l) and SVC map (Figure 11n,r) show that the visual order requires opposite space. In the central city, high similarity and a strong sense of order are extra points (red), because they may help alleviate the visual pressure caused by high-density congestion. But in the sparse suburbs, these factors have become a reduction item. Excessive visual unity may aggravate sensory monotony and thus be associated with lower urban vitality.

4. Discussion

In this study, we established the MUV-SC analysis framework to explore the complex relationship between street color and urban vitality. The analysis focuses on peak outdoor activity periods in high-latitude cities. We combine the GAML and GeoShapley interpretable machine learning framework, which helps to solve the limitation of black-box prediction. This method allows us to understand the nonlinearity and spatial heterogeneity. The patterns discussed herein represent complex predictive correlations captured by the model, which enrich existing urban design theories with new spatial perspectives.

4.1. The Complex Patterns of Streetscape Color

Urban morphology’s complexity-order theory emphasizes a balance between stimulation and coherence [76], and this pattern is also reflected in our Harbin’s high-latitude findings. The results suggest that streetscape color performance is associated with an optimal range rather than a simple linear increase. Color compatibility appears to function as a prerequisite condition. Its positive association with urban vitality increases markedly once it exceeds a specific baseline threshold. In high-latitude environments, establishing a basic level of visual order may therefore be especially important. Designs falling below this level may be less likely to benefit fully from further color adjustments. According to the analysis, there is a clear nonlinear boundary in the vitality-related advantages of warm colors in Harbin. When warm color intensity exceeds the saturation threshold, its positive association with urban vitality begins to weaken. These data appear more consistent with Berlyne’s arousal theory regarding visual overstimulation [77]. Consequently, the findings suggest that cool tones may not need to be indiscriminately replaced, highlighting the potential value of selectively introducing bright warm colors at moderate intensities as a flexible reference.
The color interaction analysis reveals that color compatibility serves as a key conditioning factor. Colorfulness and warmer designs were shown to be positively related to urban vitality only if the level of color compatibility was relatively high. This observation conforms to the principle of order in complexity. Without a harmonious foundation, excessive color stimulation may cause visual overload and weaken its positive association with urban vitality. Analysis of ALEs shows that the most favorable vitality response is observed when relatively high color diversity coexists with moderate street color similarity. Previous studies have often treated diversity and similarity of elements in urban space as opposing attributes [78]. However, according to the nonlinear interaction model obtained in this study, they can complement each other under certain conditions. In Harbin’s high-latitude context, a relatively coherent street interface and similar color background may provide a unified visual base, while small elements introduce variation and detail. This cooperative pattern is associated with a more positive vitality response compared to an exclusive focus on either diversity or similarity.
Using GeoShapley to assess the role of geographic context, we found a clear core–edge gradient difference in color-related responses. Compared with OLS and GWR, the proposed approach effectively disentangles the intrinsic contributions of color features from their spatial contextual influences [74]. It provides a clearer basis for understanding spatial heterogeneity in color-related patterns. In city centers, where urban activities are highly concentrated, this unique geographic context provides rich visual capital for color intervention. The results show that there is a strong demand for orders in these areas. It is consistent with Salingaros’ theory that in a high information environment, orderly complexity is essential to avoid visual confusion [76]. In the urban periphery, spatial marginality is associated with a locational disadvantage, coinciding with attenuated positive color-vitality associations. We hypothesize that this phenomenon could be theoretically interpreted through the lens of Salingaros’ information field theory [79]. In these peripheral areas, which often feature more open spaces, visual stimuli might be harder to concentrate, potentially causing color signals to fade into background noise.

4.2. Planning and Design Implications of GeoShapley Analysis

GeoShapley analysis identifies spatial non-stationarity, revealing the spatially heterogeneous associations between streetscape color and urban vitality. It may be necessary to shift from general guidelines toward fine-grained color design strategies tailored to local conditions. The synergistic patterns of streetscape color in downtown areas indicate the need for orderly optimization strategies that balance coordination and diversity. In information-dense environments, unifying dominant colors and enriching micro-interface details help manage visual color clutter. These insights can inform design practices aimed at improving the visual order of streetscape colors, potentially reducing the sensory burden of colors and better supporting the quality of existing street spaces. Large, open spaces and monotonous environments in peripheral areas indicate the need for greater attention to locational adaptation and a shift in design perspective. While visual harmony is essential in core areas, peripheral areas may become monotonous with the same harmony [80]. Large-scale uniformity may flatten the built environment [81] and reduce the color impact of buildings. Therefore, introducing visual friction in architectural color planning could potentially help overcome this locational disadvantage. Creating focal points with small amounts of warm, vivid colors at key nodes could potentially help partially mitigate the dominance of the macro-background as visual anchors. However, isolated esthetic color interventions might be insufficient to compensate for the lack of real functions in peripheral areas. Thus, color planning in these areas could potentially benefit from being considered alongside functional interventions or specific land uses.

4.3. Limitations and Future Work

There are several limitations in this study. First, regarding data availability, there is a lack of winter street-view imagery for Harbin across current platforms. Furthermore, to avoid snow interference and accurately extract the relatively stable inherent architectural colors, we sampled only summer street-view imagery. This approach is based on the baseline response logic of urban vitality to streetscape color under favorable seasonal conditions, but it does not reflect the visual experience of high-latitude winters. Considering that summer is the most active season for outdoor public life in Harbin, it makes sense to evaluate the peak-season environmental attractiveness response patterns. Future work could introduce multi-temporal street-view data to enable a seasonal comparative analysis. Second, although static street-view imagery is suitable for city-scale analysis, it may not fully capture the dynamic and multisensory visual experiences of pedestrians in real-world urban spaces. Future research will consider using panoramic cameras for long-term continuous measurement and autonomous data collection. Third, the measurement of urban vitality integrates multi-source data to mitigate the limitations of single-source data. Because older adults and children have relatively lower digital engagement, they may still be underrepresented in LBS and social media data. Future research combining macro-level LBS data with psychophysiological measurements, such as EEG or eye-tracking [82], could help explore micro-scale perceptual preferences among different demographic groups. Finally, the relationships revealed by the GeoShapley framework are fundamentally correlational. Future research could expand this color study to other cities and distinct functional zones, conducting quantitative cross-validation to deepen the empirical investigation.

5. Conclusions

Using Harbin’s high-latitude urban context as a case, we established the MUV-SC framework based on multi-source geospatial big data and street view imagery. By combining GAML and GeoShapley, this study moves beyond the black-box limitations of traditional machine-learning models. The study reveals the nonlinear threshold responses, synergistic patterns, and spatially heterogeneous associations between streetscape colors and urban vitality in summer. The main conclusions are as follows:
  • Nonlinear threshold patterns were revealed, moving beyond the traditional linear assumption of the more-is-better esthetic paradigm for streetscape colors. Color compatibility emerges as a crucial color factor, positively associating with vitality after reaching a baseline threshold. Although warm colors are generally preferred in cold climates, the positive associations diminish when exceeding a specific threshold. The study reveals the necessity of adopting a more refined approach focusing on effective response ranges in vitality-oriented architectural facade color planning.
  • The findings reveal synergistic patterns among streetscape color attributes. Visual order, reflected in color compositional order through high color compatibility and similarity, provides a crucial foundation for effective visual stimulation captured by color spatial attributes. Color diversity, colorfulness, and moderate warm colors intensity show more positive vitality-related response patterns only when aligned with a unified visual background.
  • GeoShapley analysis reveals that streetscape color response exhibits a core-periphery gradient pattern of spatial heterogeneity. In urban core areas, the superior locational context gathers rich visual capital, which can positively moderate the association between colors and urban vitality. In contrast, locational disadvantage in peripheral areas coincides with attenuated positive color-vitality associations. These findings provide empirical evidence for adopting differentiated streetscape color esthetic strategies across various locational contexts.
The proposed GeoXAI framework moves urban visual environment assessment beyond traditional esthetic assumptions toward a more spatially differentiated mode of analysis. It captures nonlinear response patterns under peak summer conditions in the high-latitude study context, highlighting the limitations of one-size-fits-all color-planning strategies. These findings provide a data-driven reference for planners and architects, helping them align facade color design with local spatial conditions. As a meso-scale diagnostic tool, the GeoShapley framework can help identify areas where facade color features show higher vitality-related associations, thereby providing deeper insights for potential planning interventions in existing-stock urban regeneration.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/buildings16234785/s1: Text S1: Urban Color Scheme Extraction Methodology; Text S2: Robustness check using alternative weighting schemes; Text S3: Order Factor Coefficients; Text S4: The VIF; Text S5: Comparative Analysis of Spatial Linear Benchmark Models: GWR and MGWR; Text S6: Robustness Check Incorporating Built Environment Covariates; Text S7: Spatial Block Cross-Validation Analysis; Text S8: Details of the GAML Hyperparameter Optimization; Figure S1: Urban Color Scheme Extracted by Hishoku Algorithm (Sample ID: 52577); Figure S2: Pearson correlation matrix of three weighting methods; Figure S3: MGWR Bandwidth Summary Statistics; Figure S4: GeoShapley-based global importance and influence distribution of streetscape color features after accounting for built environment covariates; Table S1: Order Factor Coefficients (data obtained from Moon and Spencer); Table S2: VIF for each explanatory variable; Table S3: Diagnostic comparison between GWR and MGWR models; Table S4: Detailed diagnostics and bandwidth statistics for the MGWR model; Table S5: Sample sizes of the spatial cross-validation blocks; Table S6: Performance metrics for candidate models under spatial block cross-validation incorporating additional built environment covariates; Table S7: Configuration of the genetic algorithm procedure; Table S8: Search spaces and optimized hyperparameters of the GAML models.

Author Contributions

Conceptualization, Z.Z. and Y.D.; methodology, Z.Z. and Y.D.; investigation, Z.Z.; data curation, Z.Z.; formal analysis, Z.Z.; visualization, Z.Z.; writing—original draft preparation, Z.Z.; validation, Y.D.; supervision, Y.D.; project administration, Y.D.; funding acquisition, Y.D.; writing—review and editing, Y.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 52478015, and the Key Research and Development Program of Heilongjiang Province, China (Innovation Base), grant number JD2023SJ01.

Data Availability Statement

The code supporting this study will be made available by the corresponding author upon reasonable request, but due to platform restrictions, the original dataset cannot be made publicly available.

Acknowledgments

The authors gratefully acknowledge the support provided by the project funding and institutional research environment.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
SCsStreetscape color variables
MUV-SCMultisource urban vitality and streetscape color
CofColorfulness
CobColor balance
CopColor compatibility
CodColor diversity
WrWarm color intensity
ScsStreet color similarity
GAMLA genetic algorithm-based machine learning workflow
VIFVariance inflation factor
GEOGeographic location
SVCSpatially varying coefficient

References

  1. Liang, S.; Leng, H. Residents’ seasonal behavior patterns and spatial preferences in public open spaces of severely cold regions: Evidence from Harbin, China. Habitat Int. 2025, 156, 103279. [Google Scholar] [CrossRef] [Scilit]
  2. Yan, T.K.; Jin, Y.M.; Jin, H. Combined effects of the visual-thermal environment on the subjective evaluation of urban pedestrian streets in severely cold regions of China. Build. Environ. 2023, 228, 109895. [Google Scholar] [CrossRef] [Scilit]
  3. Yang, S.J.; Chong, A.D.; Liu, P.Y.; Biljecki, F. Thermal comfort insight: Thermal affordance and its visual assessment for sustainable streetscape design. Build. Environ. 2025, 271, 112569. [Google Scholar] [CrossRef] [Scilit]
  4. Zhu, G.; Chen, Y.; Wu, W.; Liu, R.; Tang, Y.; Li, P.; Xu, A. Coupling relationships between urban block spatial morphology and microclimate in severe cold regions. iScience 2023, 26, 108313. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Yu, S.W.; Chen, J.F.; Jue, G.; Liu, J.Y.; Wang, J.Q. Bridging or dividing? The Matthew effect of climate-resilient built environments on community walkability in cold cities. Sustain. Cities Soc. 2025, 132, 106824. [Google Scholar] [CrossRef] [Scilit]
  6. Caili, L.; Maruthaveeran, S.; Shahidan, M.F.; Caiwen, L. Cold city outdoor space utilisation patterns and constraints: A systematic review of empirical evidence. Urban For. Urban Green. 2024, 99, 128439. [Google Scholar] [CrossRef] [Scilit]
  7. Song, M.K.; Xiao, Y. Does streetscape color matter for urban perceptions? A deep learning approach to street view images. Land Use Policy 2025, 155, 107581. [Google Scholar] [CrossRef] [Scilit]
  8. Chen, N.J.; Wang, L.; Xu, T.; Wang, M. Perception of urban street visual color environment based on the CEP-KASS framework. Landsc. Urban Plan. 2025, 259, 105359. [Google Scholar] [CrossRef] [Scilit]
  9. He, F.; He, Y.; Sun, L. Gender differences in color perceptions and preferences of urban facades based on a virtual comparison. Build. Environ. 2023, 245, 110907. [Google Scholar] [CrossRef] [Scilit]
  10. Cheng, X.; Zhao, G.; Xie, M. Color in Urban Public Spaces: A Systematic Review for Evidence-Based Design. Buildings 2025, 15, 4474. [Google Scholar] [CrossRef] [Scilit]
  11. Liang, X.C.; Zhao, T.H.; Biljecki, F. Revealing spatio-temporal evolution of urban visual environments with street view imagery. Landsc. Urban Plan. 2023, 237, 104802. [Google Scholar] [CrossRef] [Scilit]
  12. Guo, S.; Jang, K.M.; Duarte, F.; Kang, Y.; Ratti, C. Urban visual uniqueness: A landmark-free framework to quantify city’s identity and distinctiveness from everyday scenes. Comput. Environ. Urban Syst. 2025, 122, 102351. [Google Scholar] [CrossRef] [Scilit]
  13. Ma, L.; Guo, Z.; Lu, M.; He, S.; Wang, M. Developing an urban streetscape indexing based on visual complexity and self-organizing map. Build. Environ. 2023, 242, 110549. [Google Scholar] [CrossRef] [Scilit]
  14. Zhang, C.; Tan, G.Z. Quantifying architectural color Quality: A Machine learning integrated framework driven by quantitative color metrics. Ecol. Indic. 2023, 157, 111237. [Google Scholar] [CrossRef] [Scilit]
  15. Ding, M.C. Quantitative contrast of urban agglomeration colors based on image clustering algorithm: Case study of the Xia-Zhang-Quan metropolitan area. Front. Archit. Res. 2021, 10, 692–700. [Google Scholar] [CrossRef] [Scilit]
  16. Ma, H.R.; Li, J.; Ye, X.Y. Deep learning meets urban design: Assessing streetscape aesthetic and design quality through AI and cluster analysis. Cities 2025, 162, 105939. [Google Scholar] [CrossRef] [Scilit]
  17. Yan, L.A.; Li, Q.; Zhang, Y.; Zhu, C. Computer vision quantization research on the architectural color of Avenida de Almeida Ribeiro in Macau based on the human eye perspective. Front. Comput. Neurosci. 2022, 16, 951718. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. He, Q.; Zhang, R.; Liu, X. A Color Attribute–Organization–Perception (CAOP) Framework for Assessing Urban Building Color Perception Based on Street-View Images: A Case Study of Shenyang, China. Buildings 2026, 16, 3759. [Google Scholar] [CrossRef] [Scilit]
  19. Ren, Y.; Guo, Y.; Xu, N.; Liu, K.; Xu, X. Quantitative evaluation of color system of small and medium-sized cities based on color recognition of street view images: A case study of Feng County, China. Front. Archit. Res. 2025, 14, 429–448. [Google Scholar] [CrossRef] [Scilit]
  20. Yang, R.; Deng, X.; Shi, H.; Wang, Z.; He, H.; Xu, J.; Xiao, Y. A novel approach for assessing color harmony of historical buildings via street view image. Front. Archit. Res. 2024, 13, 764–775. [Google Scholar] [CrossRef] [Scilit]
  21. Tang, N.; Wang, S.; Lyu, M. Urban Style and Features’ Visual Quality and Influencing Factors: A Case Study of Fangcheng Historical and Cultural District in Shenyang, China. Buildings 2026, 16, 1455. [Google Scholar] [CrossRef] [Scilit]
  22. Bian, W. Study on the Characteristics and the Causes of Urban Color Evolution Based on New Contextualism. In Proceedings of the IOP Conference Series: Earth and Environmental Science, Paris, France, 7–9 February 2018. [Google Scholar]
  23. Ma, Z. Deep exploration of street view features for identifying urban vitality: A case study of Qingdao city. Int. J. Appl. Earth Obs. Geoinf. 2023, 123, 103476. [Google Scholar] [CrossRef] [Scilit]
  24. Wang, Z.Y.; 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]
  25. Wu, C.; Ye, Y.; Gao, F.Z.; Ye, X.Y. Using street view images to examine the association between human perceptions of locale and urban vitality in Shenzhen, China. Sustain. Cities Soc. 2023, 88, 104291. [Google Scholar] [CrossRef] [Scilit]
  26. Xu, S.; Guo, F.; Zhu, P.S.; Zhang, H.C.; Li, W.S.; Miao, S.Y.; Zhao, J.; Dong, J. Winter-summer trade-offs and spatial heterogeneity of the urban thermal environment in a cold coastal city: A Local Climate Zone-based in. Build. Environ. 2026, 290, 114130. [Google Scholar] [CrossRef] [Scilit]
  27. Xi, T.Y.; Wang, Q.C.; Qin, H.; Jin, H. Influence of outdoor thermal environment on clothing and activity of tourists and local people in a severely cold climate city. Build. Environ. 2020, 173, 106757. [Google Scholar] [CrossRef] [Scilit]
  28. Formolli, M.; Schön, P.; Kleiven, T.; Lobaccaro, G. Solar accessibility in high latitudes urban environments: A methodological approach for street prioritization. Sustain. Cities Soc. 2024, 103, 105263. [Google Scholar] [CrossRef] [Scilit]
  29. Duan, J.; Wang, H.; Liu, L.; Zhang, J. The attraction gradient of urban functions: How does functional mix at multiple scales predict urban vitality. Cities 2025, 156, 105516. [Google Scholar] [CrossRef] [Scilit]
  30. Kang, C.G.; Fan, D.W.; Jiao, H.Z. Validating activity, time, and space diversity as essential components of urban vitality. Environ. Plan. B-Urban Anal. City Sci. 2021, 48, 1180–1197. [Google Scholar] [CrossRef] [Scilit]
  31. Liang, S.; Leng, H.; Yuan, Q.; Wang, B.; Yuan, C. How does weather and climate affect pedestrian walking speed during cool and cold seasons in severely cold areas? Build. Environ. 2020, 175, 106811. [Google Scholar] [CrossRef] [Scilit]
  32. He, H.; Sun, R.; Li, J.; Li, W. Urban landscape and climate affect residents’ sentiments based on big data. Appl. Geogr. 2023, 152, 102902. [Google Scholar] [CrossRef] [Scilit]
  33. Huang, B.; Zhou, Y.L.; Li, Z.G.; Song, Y.M.; Cai, J.X.; Tu, W. Evaluating and characterizing urban vibrancy using spatial big data: Shanghai as a case study. Environ. Plan. B-Urban Anal. City Sci. 2020, 47, 1543–1559. [Google Scholar] [CrossRef] [Scilit]
  34. Tam, N.V. How generative AI reshapes construction and built environment: The good, the bad, and the ugly. Build. Environ. 2025, 284, 113526. [Google Scholar] [CrossRef] [Scilit]
  35. Xie, X.; Mao, W.; Yang, Z.; Hu, S.; Xu, Y.; Wu, L.; Xie, Z. A hybrid spatial learning method integrating graph neural networks and explainable AI to understand urban vitality. Sustain. Cities Soc. 2025, 134, 106920. [Google Scholar] [CrossRef] [Scilit]
  36. Ren, L.; Zhuang, J. Nonlinear Mechanisms Underlying Rural Streetscape Aesthetics: Threshold and Interaction Effects via Interpretable Machine Learning. Buildings 2026, 16, 3357. [Google Scholar] [CrossRef] [Scilit]
  37. Pachano, J.E.; Nuevo-Gallardo, C.; Fernández Bandera, C. An empirical comparison of a calibrated white-box versus multiple LSTM black-box building energy models. Energy Build. 2025, 333, 115485. [Google Scholar] [CrossRef] [Scilit]
  38. Dong, S.; Wang, Y.; Wang, C.; Dou, M.; Gong, J. Discovering the nonlinear association between the built environment and metro ridership: Global and local perspectives. Cities 2026, 169, 106561. [Google Scholar] [CrossRef] [Scilit]
  39. Huang, Y.; Du, J.; Chen, M.; Lin, Y.; Huang, S.; Cai, Y. Evaluating the spatial-temporal impact of urban nature on urban vitality in Vancouver: A social media and GPS data approach. Land Use Policy 2026, 160, 107824. [Google Scholar] [CrossRef] [Scilit]
  40. Fang, Y.-N.; Tian, J.; Namaiti, A.; Zhang, S.; Zeng, J.; Zhu, X. Visual aesthetic quality assessment of the streetscape from the perspective of landscape-perception coupling. Environ. Impact Assess. Rev. 2024, 106, 107535. [Google Scholar] [CrossRef] [Scilit]
  41. Ren, L.; Xiong, W.; Li, J.; Namaiti, A.; Zhuang, J. Revealing the nonlinear effects of traditional rural streetscape features on visual quality based on the XGBoost-SHAP model. Environ. Impact Assess. Rev. 2026, 118, 108282. [Google Scholar] [CrossRef] [Scilit]
  42. Gao, F.; Liu, Y.; Liao, S.; Zhang, J.; Jiao, Z.; Hu, X.; Wu, J.; Chen, W.; Li, G. Lively Guangzhou: Deciphering the divergent intra-urban vibrancy across historic districts and CBD using interpretable machine learning. Cities 2025, 167, 106345. [Google Scholar] [CrossRef] [Scilit]
  43. Kang, N.; Liu, C. Towards landscape visual quality evaluation: Methodologies, technologies, and recommendations. Ecol. Indic. 2022, 142, 109174. [Google Scholar] [CrossRef] [Scilit]
  44. Xue, X.; Tian, Z.H.; Yang, Y.T.; Wang, J.Q.; Cao, S.J. Sustaining the local color of a global city. Nat. Cities 2025, 2, 400–412. [Google Scholar] [CrossRef] [Scilit]
  45. Gou, A.; Wang, J. Research on the location characters of urban color plan in China. Color Res. Appl. 2008, 33, 68–76. [Google Scholar] [CrossRef] [Scilit]
  46. Zeng, C.; Song, Y.; He, Q.; Shen, F. Spatially explicit assessment on urban vitality: Case studies in Chicago and Wuhan. Sustain. Cities Soc. 2018, 40, 296–306. [Google Scholar] [CrossRef] [Scilit]
  47. Biljecki, F.; Ito, K. Street view imagery in urban analytics and GIS: A review. Landsc. Urban Plan. 2021, 215, 104217. [Google Scholar] [CrossRef] [Scilit]
  48. Li, Y.; Yabuki, N.; Fukuda, T. Exploring the association between street built environment and street vitality using deep learning methods. Sustain. Cities Soc. 2022, 79, 103656. [Google Scholar] [CrossRef] [Scilit]
  49. Zhang, Z.; Liu, J.; Wang, C.; Zhao, Y.; Zhao, X.; Li, P.; Sha, D. A spatial projection pursuit model for identifying comprehensive urban vitality on blocks using multisource geospatial data. Sustain. Cities Soc. 2024, 100, 104998. [Google Scholar] [CrossRef] [Scilit]
  50. Doan, Q.C.; Zhang, X. A systematic review of urban vitality studies: Trends and research opportunities. Land Use Policy 2025, 158, 107745. [Google Scholar] [CrossRef] [Scilit]
  51. Liu, S.; Ge, J.; Ye, X.; Wu, C.; Bai, M. Urban vitality assessment at the neighborhood scale with geo-data: A review toward implementation. J. Geogr. Sci. 2023, 33, 1482–1504. [Google Scholar] [CrossRef] [Scilit]
  52. Main Data Bulletin of the Seventh National Population Census of Harbin in 2020. Available online: https://www.harbin.gov.cn/haerbin/c104569/202105/c01_70396.shtml (accessed on 22 July 2026).
  53. Li, G.G.; Ren, Z.H.; Zhan, C.H. Sky View Factor-based correlation of landscape morphology and the thermal environment of street canyons: A case study of Harbin, China. Build. Environ. 2020, 169, 106587. [Google Scholar] [CrossRef] [Scilit]
  54. Birch, C.P.D.; Oom, S.P.; Beecham, J.A. Rectangular and hexagonal grids used for observation, experiment and simulation in ecology. Ecol. Model. 2007, 206, 347–359. [Google Scholar] [CrossRef] [Scilit]
  55. Cheng, B.; Misra, I.; Schwing, A.G.; Kirillov, A.; Girdhar, R. Masked-attention Mask Transformer for Universal Image Segmentation. In Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022. [Google Scholar]
  56. Neuhold, G.; Ollmann, T.; Bulò, S.R.; Kontschieder, P. The Mapillary Vistas Dataset for Semantic Understanding of Street Scenes. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017. [Google Scholar]
  57. Zhou, M.; Yin, P.; Cui, J.; Lou, H.; Yang, Z.; Liu, J.; Peng, C. From pixels to 3D models: Mask2Former-driven automated reconstruction of Jiangnan traditional villages using remote sensing images. J. Build. Eng. 2025, 114, 114277. [Google Scholar] [CrossRef] [Scilit]
  58. Qing, Y.; Wu, H.; Qi, K.; Gui, Z.; Liu, Y.; Li, Z.; Li, R. Integrating street-view imagery and points of interest for refining population spatialization: A case study in Wuhan City. Sustain. Cities Soc. 2024, 115, 105883. [Google Scholar] [CrossRef] [Scilit]
  59. Li, J.; Li, J.; Yuan, Y.; Li, G. Spatiotemporal distribution characteristics and mechanism analysis of urban population density: A case of Xi’an, Shaanxi, China. Cities 2019, 86, 62–70. [Google Scholar] [CrossRef] [Scilit]
  60. Wang, X.X.; Zhang, Y.J.; Yu, D.L.; Qi, J.H.; Li, S.J. Investigating the spatiotemporal pattern of urban vibrancy and its determinants: Spatial big data analyses in Beijing, China. Land Use Policy 2022, 119, 106162. [Google Scholar] [CrossRef] [Scilit]
  61. Chen, T.; Hui, E.C.M.; Wu, J.; Lang, W.; Li, X. Identifying urban spatial structure and urban vibrancy in highly dense cities using georeferenced social media data. Habitat Int. 2019, 89, 102005. [Google Scholar] [CrossRef] [Scilit]
  62. Cheng, H.X.; Zhang, M.H. Groundwater quality evaluation model based on multi-scale fuzzy comprehensive evaluation and big data analysis method. J. Water Clim. Change 2021, 12, 2908–2919. [Google Scholar] [CrossRef] [Scilit]
  63. Chen, N.; Xu, X.; Tan, M.; Wang, X. A Spatial Analysis of Urban Color Harmony in Five Global Metropolises. J. Resour. Ecol. 2022, 13, 238–246. [Google Scholar] [CrossRef] [Scilit]
  64. Lu, P.; Peng, X.; Yuan, C.; Li, R.; Wang, X. Image color harmony modeling through neighbored co-occurrence colors. Neurocomputing 2016, 201, 82–91. [Google Scholar] [CrossRef] [Scilit]
  65. Wang, B.; Wei, B.W.; Kang, Z.T.; Hu, L.; Li, C.Y. Fast color balance and multi-path fusion for sandstorm image enhancement. Signal Image Video Process. 2021, 15, 637–644. [Google Scholar] [CrossRef] [Scilit]
  66. Gao, X.P.; Xin, J.H. Investigation of human’s emotional responses on colors. Color Res. Appl. 2006, 31, 411–417. [Google Scholar] [CrossRef] [Scilit]
  67. CIE. CIE Recommendations on Uniform Color Spaces, Color-Difference Equations, and Metric Color Terms. Color Res. Appl. 1977, 2, 5–6. [Google Scholar] [CrossRef] [Scilit]
  68. Ou, L.C.; Luo, M.R.; Woodcock, A.; Wright, A. A study of colour emotion and colour preference. part II: Colour emotions for two-colour combinations. Color Res. Appl. 2004, 29, 292–298. [Google Scholar] [CrossRef] [Scilit]
  69. Meng, X.; Xu, G.; Xu, X.; Liu, Z.; Ge, J.; Jiang, J. A diversity enhanced tree-seed algorithm based on double search with genetic and automated learning search strategies for image segmentation. Appl. Soft Comput. 2025, 176, 113143. [Google Scholar] [CrossRef] [Scilit]
  70. Duan, H.; Dong, Y.; Ji, Q. Multi-objective optimization of windows and PV louvers on the south façade for cold-region office buildings using machine learning and NSGA-II. Build. Environ. 2026, 288, 113984. [Google Scholar] [CrossRef] [Scilit]
  71. Wu, C.; Ye, X.; Ren, F.; Du, Q. Check-in behaviour and spatio-temporal vibrancy: An exploratory analysis in Shenzhen, China. Cities 2018, 77, 104–116. [Google Scholar] [CrossRef] [Scilit]
  72. Foroutan, E.; Hu, T.; Li, Z. Revealing key factors of heat-related illnesses using geospatial explainable AI model: A case study in Texas, USA. Sustain. Cities Soc. 2025, 122, 106243. [Google Scholar] [CrossRef] [Scilit]
  73. Wang, X.; Zhang, Y.; Li, C.; Yin, C.; Shao, C. Investigating nonlinear and spatially heterogeneous impacts of the built environment on urban vitality. Sustain. Cities Soc. 2025, 135, 107033. [Google Scholar] [CrossRef] [Scilit]
  74. Li, Z.Q. GeoShapley: A Game Theory Approach to Measuring Spatial Effects in Machine Learning Models. Ann. Am. Assoc. Geogr. 2024, 114, 1365–1385. [Google Scholar] [CrossRef] [Scilit]
  75. Lee, S.; Cho, N. Nonlinear and interaction effects of multi-dimensional street-level built environment features on urban vitality in Seoul. Cities 2025, 165, 106145. [Google Scholar] [CrossRef] [Scilit]
  76. Salingaros, N.A. A Theory of Architecture; Umbau-Verlag: Solingen, Germany, 2006; pp. 105–128. [Google Scholar]
  77. Berlyne, D.E. Aesthetics and Psychobiology; Appleton-Century-Crofts: New York, NY, USA, 1971; pp. 86–89. [Google Scholar]
  78. Song, Q.W.; Fang, Y.X.; Li, M.K.; van Ameijde, J.; Qiu, W.S. Exploring the coherence and divergence between the objective and subjective measurement of streetscape perceptions at the neighborhood level: A case study in Shanghai. Environ. Plan. B-Urban Anal. City Sci. 2025, 52, 1231–1251. [Google Scholar] [CrossRef] [Scilit]
  79. Salingaros, N.A. Urban space and its information field. J. Urban Des. 1999, 4, 29–49. [Google Scholar] [CrossRef] [Scilit]
  80. Ellard, C. Boring Places. In Places of the Heart: The Psychogeography of Everyday Life, 1st ed; Bellevue Literary Press: New York, NY, USA, 2015; Chapter 4; pp. 75–100. [Google Scholar]
  81. Sohn, D.W.; Moudon, A.V.; Lee, J. The economic value of walkable neighborhoods. Urban Des. Int. 2012, 17, 115–128. [Google Scholar] [CrossRef] [Scilit]
  82. Ren, L.; Li, J.; Zhuang, J. Integrating Electroencephalography (EEG) and Machine Learning to Reveal Nonlinear Effects of Streetscape Features on Perception in Traditional Villages. Buildings 2025, 15, 4087. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.