1. Introduction
Driven by the dual imperatives of the global climate crisis and the sustainable development agenda, the carbon reduction performance of cities, as key sources of emissions, has become a focal point of international attention. Cities serve as engines of economic growth, contributing over 60% of global greenhouse gas emissions and consuming more than 78% of energy. By 2050, the global urban population is projected to increase by 2.5 billion people, with nearly 90% of this growth concentrated in Asia and Africa. As one of the countries experiencing the fastest urbanization globally, China’s dramatic evolution of urban spatial structures has driven economic development while simultaneously creating severe challenges including ecological space compression, intensified resource consumption, and rising carbon emissions [
1,
2]. Traditional urban development models, whether characterized by uncontrolled sprawl or a simplistic pursuit of compactness, struggle to adequately address the complex challenges of climate change and carbon reduction targets [
3,
4]. Therefore, moving beyond binary qualitative judgments of urban morphology as ‘good’ or ‘bad’ to deeply explore the complex relationships between its multi-dimensional characteristics and carbon emission intensity holds critical theoretical and practical urgency for formulating precise, efficient, and spatially adaptive low-carbon urban planning and management policies.
Urban morphology, referring to the structure, pattern, and three-dimensional characteristics of urban physical spaces, is widely recognized as a key adjustable variable influencing urban carbon metabolism processes [
5,
6,
7]. Existing research has accumulated rich findings from multiple dimensions. At the theoretical framework level, scholars have systematically elaborated on how urban morphology affects urban thermal environments, air quality, and carbon metabolism by altering surface energy balance, material flows, and human activity patterns [
8,
9,
10]. Sharifi (2019), from the perspective of resilient cities, demonstrated that macro-scale morphological characteristics (such as polycentricity and connectivity) may indirectly improve environmental performance by enhancing system adaptability and resilience [
11]. In terms of empirical research, substantial work has focused on revealing associations between specific morphological indicators and individual environmental elements. For instance, the positive correlation between building density, floor area ratio, and urban heat island intensity (UHI) has been confirmed by multiple studies [
12,
13], while green space ratio and blue–green space connectivity have been shown to play positive roles in mitigating heat island effects and improving air quality [
14,
15,
16]. With advances in remote sensing and geographic information system (GIS) technologies, research on the environmental effects of urban three-dimensional morphology, such as building height, sky view factor, and surface roughness, has become increasingly sophisticated, revealing the important role of vertical dimensions in regulating wind environments and solar radiation reception [
17,
18].
Despite these fruitful achievements, the existing literature still contains several gaps that require deepening and integration when explaining the complex geographical relationship between urban morphology and carbon emission intensity. First, most studies rely on traditional econometric models such as linear regression and correlation analysis, which assume stable, homogeneous linear relationships between variables [
19]. However, urban systems, as typical complex adaptive systems, likely exhibit nonlinear, threshold, and saturation effects in the interactions among their internal elements [
20]. For example, the ecological benefits of green space areas may only become significant after reaching a certain threshold, while increased building density may reduce per capita energy consumption through intensive effects in the initial stage but produce negative effects beyond a critical point due to obstructed ventilation and aggravated heat accumulation [
21,
22]. Such nonlinear mechanisms have not been adequately revealed and quantified in the existing research dominated by linear thinking. Second, existing studies often focus on single or several morphological indicators, lacking a comprehensive analytical framework that can systematically integrate multi-dimensional characteristics of urban development scale, spatial pattern, and socio-economic density. Urban ecological environments result from multi-dimensional interactions between natural substrates and artificial built environments, and fragmented analyses may overlook key interactive responses and synergistic effects [
23].
Third, conventional urban classification schemes frequently rely on administrative boundaries, economic aggregates, or demographic thresholds, which often obscure intrinsic spatial configurations and their distinct associations with emission patterns [
24]. Such predefined categorization methods may introduce arbitrary boundaries and overlook latent morphological heterogeneity within broadly defined city groups. To address this limitation, this study adopts a data-driven clustering approach grounded in multi-dimensional morphological indicators. Unlike traditional typologies, this methodology allows urban spatial categories to emerge empirically from observed physical configurations, thereby establishing a more coherent alignment between spatial form and carbon emission intensity category assignment. The application of spectral clustering further accommodates complex feature relationships and yields balanced category distributions, providing a structured foundation for subsequent classification modeling. This morphology-driven framework offers a complementary perspective to existing urban typologies, facilitating differentiated spatial governance strategies tailored to distinct form–emission trajectories.
Fourth, while spatial form constitutes a critical adjustable variable, carbon emission intensity is concurrently shaped by socio-economic, technological, and institutional factors. Economic structure, particularly industrial composition and regional energy intensity, remains a primary determinant of emission trajectories [
25]. Technological advancement and energy efficiency improvements consistently demonstrate mitigating associations with carbon output [
26]. Demographic characteristics, including population density and urbanization levels, influence baseline energy demands and transportation networks [
27]. Furthermore, regional climate conditions and policy interventions introduce contextual variability in urban emission performance [
28]. Acknowledging these multi-dimensional drivers is necessary for isolating the specific contribution of urban morphology. By incorporating these factors as control variables in the analytical framework, the study can more systematically attribute variations in emission category assignment to spatial form rather than confounding socio-economic or technological shifts. Finally, methodologically traditional models have limited capabilities in handling high dimensionality, collinearity, and complex interactions, making it difficult to accurately capture and explain nonlinear and non-additive relationship structures among variables. Although some scholars have begun applying Geodetector to detect spatial differentiation [
29,
30,
31], or using machine learning methods such as Random Forest for prediction [
32], how to deeply integrate powerful machine learning predictive capabilities with result interpretability to clearly elucidate the independent contributions, nonlinear marginal effects, and interaction mechanisms of various morphological factors on carbon emission intensity remains a cutting-edge challenge facing current research.
To systematically address these challenges, this study employs data from 336 prefecture-level cities (excluding Taiwan Province, Hong Kong SAR, and Macao SAR) in China for 2010, 2015, and 2020, yielding a total of 1008 samples. Based on this dataset, the study aims to construct an analytical system integrating multi-dimensional urban landscape pattern (urban morphology) indicators and adopt an innovative dual-interpretability machine learning framework to reveal their nonlinear influence mechanisms on carbon emission intensity. Specifically, the study will first construct a comprehensive morphological indicator system covering multi-dimensional characteristics. Subsequently, spectral clustering will be employed to classify national cities into different types based on morphological characteristics to identify their underlying heterogeneity. On this basis, this study will construct and optimize a gradient boosting model, combined with a SHAP (Shapley Additive exPlanations) and partial dependence plot (PDP) interpretability framework [
33]. While SHAP quantitatively decomposes the global contribution and importance ranking of each morphological feature, PDPs are explicitly utilized to visualize the average marginal effects and nonlinear response trajectories of these features on carbon emission intensity. This dual approach addresses the interpretability challenges of traditional ‘black-box’ models: it maintains robust predictive performance while enabling the identification of critical thresholds and variations in influence patterns. This offers a detailed perspective on how specific morphological changes relate to carbon dynamics, extending beyond conventional feature ranking.
The potential contributions of this study lie in the following three aspects:
First, at the theoretical level, this study extends existing understanding by challenging the assumption that simplifies the relationship between urban morphology and carbon emission intensity into linear connections. By employing a classified modeling perspective, it empirically characterizes the prevalent nonlinear responses and context-dependent threshold effects between the two. This perspective shifts the focus from mere prediction of continuous values to identifying key morphological pathways associated with carbon emission intensity variations, offering deeper insights into the complex nonlinear dynamics in urban systems.
Second, at the methodological level, this study addresses the trade-off between predictive performance and interpretability in continuous variable regression modeling. By integrating the gradient boosting tree model with the SHAP-PDP interpretability framework, a robust analytical framework is constructed. This method enhances model generalization while quantifying the differentiated contributions of various morphological features to carbon emission intensity levels and their nonlinear influence patterns, providing a valuable methodological reference for related research.
Third, at the practical level, based on the above theory and methods, the study conducts empirical analysis on national urban samples. The research conclusions offer evidence to identify key morphological factors and their potential threshold ranges that could be considered for regulation to support low-carbon goals in different types of cities. This provides scientific evidence for national and local governments to implement typified, differentiated territorial spatial planning and targeted low-carbon urban management.
4. Results
4.1. City Types Based on Urban Morphology
To accurately identify urban groups with similar morphological characteristics, this study did not pre-set a single clustering algorithm but systematically evaluated the comprehensive performance of four mainstream clustering methods under different data integration strategies. First, to obtain more representative city-level characteristics and smooth annual fluctuations, an integrated dataset based on long-term trends of panel data was constructed. To ensure robustness of analysis conclusions, primary and secondary different data integration strategies were adopted to capture the central tendency of urban morphology, forming two sets of comparable but logically different foundational data. Subsequently, for each dataset, four algorithms including K-means clustering, Gaussian mixture model, agglomerative hierarchical clustering, and spectral clustering were applied. For each method, the optimal number of clusters on corresponding data was automatically determined based on multiple internal validity indicators, including silhouette coefficient, Calinski–Harabasz index, and Davies–Bouldin index. Evaluation not only focused on clustering structure compactness and separation but also specifically introduced balance scores to measure the balance of sample sizes across categories, avoiding invalid categories with too few samples.
Comprehensive evaluation results show significant differences in performance among different clustering methods. As shown in
Figure 2, spectral clustering demonstrates the highest comprehensive scores under both primary and secondary integration strategies. Specifically, under the primary integration strategy, spectral clustering has a silhouette coefficient of 0.191, slightly lower than K-means (0.296), but its balance score reaches 0.737, far superior to other methods, indicating that its four categories have the most balanced sample size distribution (as shown in
Figure 3a, category sample sizes are 74, 114, 61, and 87). Under the alternative integration strategy, spectral clustering also leads with a balance score of 0.823, ensuring statistical validity of classification (as shown in
Figure 3b, category sample sizes are 69, 107, 73, and 87). In contrast, K-means and agglomerative hierarchical clustering produce extremely unbalanced sample sizes among categories in most cases (
Figure 3c), with balance scores often approaching zero. Gaussian mixture model performance shows greater volatility across different data foundations (
Figure 3d,e).
Therefore, this study ultimately selects spectral clustering as the optimal method for urban morphological classification. This method performs partitioning based on similarity graphs of data points, excelling at identifying complex, non-spherical data distribution structures. Through t-SNE and PCA dimensionality reduction techniques for visualizing spectral clustering results under different integration strategies, the different urban categories formed show good separation trends in low-dimensional feature space, and the core category structures remain consistent between primary and secondary strategies. This systematic method comparison and sensitivity testing process, comprehensively considering clustering quality, sample balance, and conclusion robustness, ultimately ensuring the scientificity and reliability of urban type classification.
Based on a clustering analysis of urban morphological characteristics, Chinese cities were classified into four distinct groups (
Figure 4). By grouping cities with similar morphological features, this approach effectively controls for within-group variation in urban forms while highlighting between-group differences in their relationship with carbon emission intensity. This classification avoids the confounding effects that would arise from analyzing cities with divergent morphological types together, thereby providing a robust basis for examining how urban form influences carbon emission intensity across different spatial development patterns.
The resulting groups exhibit pronounced spatial clustering that aligns with the regional altimetry and topographical gradients outlined in
Section 2.1. Cluster 0 (C0) is predominantly distributed across central and Western China, as well as the southern inland regions, covering Sichuan, Chongqing, Guizhou, Hubei, Hunan, Jiangxi, and Anhui. This is the most spatially extensive cluster. Cities in this group share similar morphological characteristics, shaped largely by the topographical constraints of mountainous and hilly terrain in inland areas, with consistency observed in built-up area structure and density patterns. Cluster 1 (C1) is primarily located along the northern frontiers, the northwest, and the coastal margins of South China, including Inner Mongolia, Xinjiang, Qinghai, Gansu, Heilongjiang, Jilin, Northern Liaoning, Southern Guangdong and Guangxi, and Western Fujian. These cities are generally situated in sparsely populated or ecologically sensitive regions. Morphologically, these areas display low-density and dispersed spatial patterns with limited continuity in built-up zones, a characteristic that aligns with the development trajectories of resource-based and frontier cities. Cluster 2 (C2) is highly concentrated in the eastern coastal region and the core areas of the middle and lower Yangtze River, encompassing Shanghai, Jiangsu, Zhejiang, Eastern Anhui, and Eastern Fujian. This cluster corresponds to China’s most economically advanced coastal areas. Morphologically, these cities are characterized by high-density compact urban forms with highly contiguous built-up areas, reflecting the mature stage of urbanization typical of the eastern seaboard. Cluster 3 (C3) is mainly distributed across the North China Plain and the Bohai Rim region, covering Beijing, Tianjin, Hebei, Shandong, Henan, Shanxi, and Southern Liaoning. Cities in this group exhibit medium-to-high-density urban forms with monocentric ring-like expansion patterns. The consistency in morphological metrics across this cluster aligns with the spatial characteristics typical of traditional industrial bases and densely populated agglomerations in Northern China.
4.2. Gradient Boosting Model Fitting Results
Guided by the research objectives and insights from the existing literature, this study adopts a classification modeling framework in the machine learning stage. We acknowledge the valuable contributions of prior studies, such as Huang et al. (2026) [
21], Cheng et al. (2026) [
49], and Ru et al. (2026) [
50], which effectively employed regression-based predictive models to capture continuous variations in urban efficiency. While regression is well-suited for modeling continuous variables, policy formulation often requires clear, qualitative distinctions to enable targeted interventions. Specifically, decision-makers benefit from directly identifying whether a city operates in a low-carbon or high-carbon efficiency state, rather than interpreting abstract continuous scores that require additional thresholding. To address this practical need, this study shifts to a classification framework that directly outputs categorical judgments, thereby providing an end-to-end analytical tool that enhances policy relevance and operational clarity. To further ensure the robustness and generalizability of the classification model, we integrate the Synthetic Minority Oversampling Technique (SMOTE) to address sample imbalance, Bayesian optimization for systematic hyperparameter tuning, and an early stopping strategy to mitigate overfitting risk. These methodological enhancements collectively advance the reliability of the model while aligning closely with the differentiated analytical requirements of urban carbon governance.
To determine the optimal modeling method, this study systematically compares six mainstream machine learning algorithms, including gradient boosting, Random Forest, Multi-Layer Perceptron, eXtreme Gradient Boosting, Logistic Regression, and Support Vector Machine. Model performance is comprehensively evaluated through mean accuracy of ten-fold cross-validation and multiple indicators, including accuracy, precision, recall, F1 score, and AUC. Model performance comparison results are shown in
Figure 5a. gradient boosting model performs optimally across multiple indicators, with test set accuracy reaching 64.4%, mean cross-validation accuracy of 60.6%, and AUC value of 0.67, significantly outperforming other models in comprehensive performance. Benefiting from the naturally balanced class distribution (504 low-carbon vs. 504 high-carbon samples), the gradient boosting model demonstrated effective discriminative capability, yielding balanced recall and precision across both categories without the need for synthetic oversampling. Its performance evaluation confusion matrix, ROC curve, and precision–recall curve are detailed in
Figure 5b. In comparison, the Random Forest model has the highest AUC value of 0.689, with performance evaluation shown in
Figure 5c; while Support Vector Machine and other models show relatively weaker comprehensive performance, with specific evaluations shown in
Figure 5d.
To further improve prediction stability and accuracy, this study explores ensemble learning strategies based on single models, constructing voting ensemble and stacking ensemble models. Ensemble model evaluation results show that stacking ensemble slightly outperforms voting ensemble in accuracy, F1 score, and AUC value, with AUC reaching 0.689 and accuracy of 64% (
Figure 5e,f). However, considering that stacking ensemble model structure is more complex with higher computational costs while performance improvement is relatively limited, gradient boosting model maintains high prediction performance while having advantages of model simplicity, strong interpretability, and high computational efficiency. Therefore, after comprehensive weighing of performance, complexity, and interpretability, this study ultimately selects gradient boosting model as the optimal model for subsequent in-depth feature importance and mechanism analysis.
4.3. SHAP-PDP Analysis of Driving Factors
In terms of methodological design, this study references the previous work of Huang et al. (2026) but does not follow their adopted OPGD method for feature screening and interaction detection [
21]. The main consideration is that OPGD, as a classical statistical method based on spatial differentiation, has analytical logic not entirely consistent with the internal mechanism of subsequent machine learning models, and its discretization process may introduce subjective bias. To ensure overall logical consistency from feature analysis to model interpretation, this study chooses to directly use the optimized gradient boosting model and complete all feature importance ranking, influence direction determination, and nonlinear relationship characterization using the SHAP framework. This approach not only fully leverages modern advantages of machine learning methods in interpretability but also avoids redundancy and inconsistency that may arise from mixed methods.
To further elucidate the specific response patterns of carbon emission intensity to urban morphological changes, we employed partial dependence plots (PDPs) to visualize the average marginal effects of key features (
Figure 6b–i). The PDP results reveal predominantly nonlinear relationships, with clear threshold effects that complement the SHAP-based feature importance rankings. SHAP and partial dependence plots serve as model interpretability tools but differ in calculation logic and interpretive meaning. The PDP method marginalizes other features to reveal the global average effect of a single variable on classification probability. This approach focuses on macro trends and critical thresholds. SHAP relies on cooperative game theory to quantify the local contribution of each feature to individual predictions. It naturally captures interactions between features. These two methods produce complementary rather than contradictory results. They connect macro average trends with micro individual variations. The SHAP distribution does not conflict with the PDP curve. It supplements the PDP findings by displaying the actual dispersion of samples around the average trend.
For proportion of built-up area, ED, and PD, the global average trend shows a monotonic increase in the predicted probability of high carbon emission intensity as these variables rise, indicating that higher urbanization intensity and fragmentation consistently elevate emission risk. In contrast, CLUMPY and SHAPE_MN exhibit decreasing trends, suggesting that greater spatial aggregation and more regular patch shapes are associated with a lower likelihood of high emissions. Several variables—including LSI, LPI, and AI—display complex nonlinear responses with multiple inflection points, where the direction or magnitude of their effect on emission intensity shifts at specific threshold values. These PDP-derived patterns confirm that the influence of urban morphology is not uniform but is highly context-dependent, reinforcing the need for nuanced, threshold-aware policy interventions.
Complementing these trend observations, the SHAP summary plot based on the full sample (
Figure 6a) quantifies the relative magnitude of each factor’s contribution. The analysis identifies proportion of built-up area as the most critical determinant, possessing the highest mean absolute SHAP value of 0.0200, which underscores its dominant global impact on carbon emission intensity. Following closely are SHAPE_MN (0.0193) and LSI (0.0188), highlighting the substantial role of landscape configuration. Economic density and LPI round out the top five influential characteristics with mean absolute SHAP values of 0.0173 and 0.0135, respectively. Together, the PDP trends and SHAP magnitudes offer a comprehensive view, where built-up proportion is the primary driver in terms of strength, while the configuration of the landscape (shape and density) plays an equally critical role in shaping the trajectory of urban carbon emissions.
C0, as the high-emission intensity urban cluster (
Figure 7a), has AREA_MN as its most important characteristic, with a mean absolute SHAP value reaching 0.0311, ranking first among all important cluster characteristics. CLUMPY ranks second with a mean absolute SHAP value of 0.0174, and LSI follows closely with 0.0113. Proportion of built-up area and SPLIT enter the top five important characteristics with mean absolute SHAP values of 0.0102 and 0.0096, respectively.
C1, as the medium-emission ecological urban cluster (
Figure 7b), has SHAPE_MN as its most important morphological characteristic, with a mean absolute SHAP value of 0.0266. LSI ranks second with a mean absolute SHAP value of 0.0160, and COHESION ranks third with 0.0094. Proportion of built-up area and AI enter the top five important characteristics with mean absolute SHAP values of 0.0090 and 0.0089, respectively.
In C2, representing the medium-emission urban cluster (
Figure 7c), CLUMPY becomes the most important characteristic with a mean absolute SHAP value of 0.0223. LSI ranks second with a mean absolute SHAP value of 0.0183, and economic density ranks third with 0.0125. SHAPE_MN and AI enter the top five important characteristics with mean absolute SHAP values of 0.0124 and 0.0080, respectively.
C3, as the low-emission urban cluster (
Figure 7d), has LSI as its most important characteristic, with a mean absolute SHAP value as high as 0.0562, far higher than the importance of this characteristic in other clusters. AI ranks second with a mean absolute SHAP value of 0.0244, and MESH and CLUMPY tie for third with 0.0202. Economic density enters the top five important characteristics with a mean absolute SHAP value of 0.0145.
Cross-cluster comparative analysis shows that LSI enters the top five important characteristics in all four clusters, indicating that this characteristic has universal importance across different city types, particularly showing the highest importance in C3 low-emission cluster (0.0562), which reflects the significant impact of landscape shape complexity on carbon emissions in all city types. Proportion of built-up area ranks first at the full sample level and enters the top five in C0 and C1 clusters, indicating its most significant overall impact on urban carbon emissions. CLUMPY appears in three clusters—C0, C2, and C3—indicating that this characteristic has important influence on cities with different emission levels. However, dominant characteristics vary across different clusters: the high-emission urban cluster (C0) is dominated by AREA_MN, reflecting the impact of large continuous patches on high emissions; the ecological urban cluster (C1) is dominated by SHAPE_MN, indicating the importance of patch shape regularity for medium-emission ecological cities; the medium-emission urban cluster (C2) is dominated by CLUMPY, reflecting the influence of patch aggregation degree; and the low-emission urban cluster (C3) is dominated by LSI, highlighting the prominent role of landscape boundary complexity in emission reduction.
Comparison with full sample analysis results reveals that proportion of built-up area has the highest importance at the full sample level (0.0200), though importance rankings vary significantly across clusters, only entering the top five in C0 and C1 but not in C2 and C3, indicating that the global importance of this characteristic may be dominated by some high-weight cities. LSI ranks third at the full sample level (0.0188), but enters the top five in all clusters, even reaching 0.0562 in C3, demonstrating its universal importance across city types. These findings indicate that SHAP analysis based on the full sample can identify globally important characteristics, while clustering analysis can reveal heterogeneity of characteristic influence under different urban types, providing basis for differentiated emission reduction policy formulation.
4.4. SHAP Results Based on the Bayesian-Optimized Gradient Boosting Model
4.4.1. Nonlinear and Threshold Effects of Urban Morphology Indicators on Carbon Emission Intensity
In C0, AREA_MN, CLUMPY, and LSI dominate the classification outcome.
Figure 8a demonstrates that all three features consistently increase the probability of assigning a city to the high carbon intensity category. AREA_MN exerts the strongest marginal contribution toward high carbon classification. Higher CLUMPY values similarly elevate this probability. LSI also shifts predictions toward the high carbon category, although its probabilistic impact increases more gradually. This pattern suggests that cities with larger, more aggregated, and more complex landscape patches face a higher likelihood of high carbon intensity classification. From a physical and socio-economic perspective, larger patch sizes and higher aggregation often correspond to lower land-use mixing and relatively dispersed spatial structures, which may extend commuting distances and limit public transport network coverage, thereby reducing overall transport efficiency. Concurrently, complex landscape boundary configurations (LSI) may imply there are increased exterior surface areas of building envelopes, elevating heating and cooling energy demands and collectively steering the model toward high carbon intensity classification.
In C1, SHAPE_MN, LSI, and COHESION exert the greatest influence on classification decisions.
Figure 8b reveals complex nonlinear relationships for these indicators. SHAPE_MN substantially increases the probability of high carbon classification. This indicates that more irregular patch shapes elevate the likelihood of this outcome. Conversely, LSI and COHESION decrease the probability of high carbon classification and instead promote assignment to the low carbon category. The opposing directional effects between SHAPE_MN and LSI imply that individual patch shape irregularity and overall landscape pattern complexity alter classification results through distinct pathways. Specifically, high irregularity in individual patch shapes (SHAPE_MN) typically reflects fragmented land use or disordered development, which may compromise the connectivity of road and municipal utility networks and increase energy consumption for infrastructure deployment and maintenance. In contrast, increased overall landscape complexity (LSI) and enhanced inter-patch connectivity (COHESION) are often associated with mature mixed-use zones or highly integrated urban networks. These configurations facilitate shorter travel distances and improve accessibility for public transit and active mobility, thereby promoting low carbon category assignment at the system level.
In C2, CLUMPY, LSI, and economic density emerge as the primary classification drivers.
Figure 8c shows that CLUMPY and LSI both reduce the probability of high carbon classification. Higher landscape aggregation and greater shape complexity therefore favor the low carbon category. Economic density produces the opposite effect by substantially increasing the likelihood of high carbon classification as economic activity density rises. This divergence demonstrates that landscape morphology and economic density exert opposing forces on the model decision boundary within this cluster. This phenomenon reflects a dynamic balance between spatial form optimization and economic activity intensity. Higher landscape aggregation and morphological complexity may indicate that urban areas have entered a compact development phase, where agglomeration effects promote the intensive utilization of infrastructure and improve energy system efficiency. However, increased economic density is directly associated with the concentration of commercial and industrial activities, which entails higher electricity consumption, logistics turnover, and production energy use. The resulting direct and embodied carbon emissions may partially offset the decarbonization potential derived from morphological optimization, leading to opposing effects within the classification decision.
In C3, LSI, AI, and MESH rank as the most influential indicators.
Figure 8d displays a distinct classification pattern. LSI generates the strongest positive contribution to high carbon classification probability among all features across every cluster. AI exerts an equally strong but opposing effect by markedly decreasing this probability and reinforcing low carbon classification. MESH shows a modest tendency to increase the high carbon classification likelihood. These results indicate that extreme landscape shape complexity acts as the primary driver elevating the probability of high carbon intensity. Higher landscape aggregation conversely serves as a key factor promoting low carbon classification. The positive influence of extreme morphological complexity (LSI) may correlate with historical irregular street networks or inefficient spatial layouts, which increase travel detour probabilities and energy transmission losses. Highly aggregated spatial structures (AI) typically correspond to contiguous and compact urban fabrics that support centralized heating, regional energy planning, and efficient public service coverage, thereby reinforcing low carbon category assignment. The modest positive contribution of MESH may reflect the presence of large single-function zones, such as industrial parks or core commercial districts, which are characterized by concentrated energy consumption patterns and specific emission profiles.
Examination of the SHAP dependence plots (
Figure 7 and
Figure 8) indicates that most morphological indicators do not exhibit linear relationships with carbon intensity classification. Several curves display consistent directional trends. The rate of probability shift varies across the feature range. This variation suggests that predictive contribution changes as indicator values fluctuate. Certain intervals produce sharper changes in class probability. Other intervals yield gradual shifts. This pattern reflects varying marginal contributions to the model decision boundary. These nonlinear probability responses indicate that urban morphology likely involves complex threshold effects on category assignment. When a morphological indicator reaches specific levels, its incremental impact on classification likelihood shifts substantially or stabilizes. Such nonlinear responses may correspond to critical states of urban infrastructure capacity, inflection points in transport network efficiency, or transitions in building energy consumption patterns. The variation in feature importance and directional effects across clusters further reflects heterogeneity in developmental stages, industrial structures, geographic constraints, and spatial planning policies. For instance, regions undergoing spatial expansion are more susceptible to patch scale effects, whereas economically dense areas are predominantly driven by the intensity of industrial and commercial activities. These mechanistic hypotheses provide a physical and socio-economic interpretive framework for understanding the linkage between morphological characteristics and carbon emission categories. The subsequent interaction analysis will further clarify whether these morphological indicators produce synergistic or antagonistic effects on classification outcomes.
4.4.2. Interactive Effects of Urban Morphology Indicators on Carbon Emission Intensity
Analysis of the complete dataset identifies three indicator pairs with the strongest interaction effects.
Figure 9a presents the interaction between proportion of built-up area and LPI with an interaction value of 0.0057.
Figure 9b displays the interaction between proportion of built-up area and SHAPE_MN with a value of 0.0056.
Figure 9c illustrates the interaction between AI and CLUMPY with a value of 0.0043. High interaction intensity indicates that these feature pairs jointly shape the model decision boundary and substantially influence classification outcomes. The direction of the interaction values further clarifies how these combinations alter category assignments.
Examining the strongest pair of proportion of built-up area and LPI reveals predominantly negative SHAP interaction values across most value ranges. Negative values indicate that simultaneous changes in these two features jointly decrease the probability of assigning a city to the high carbon intensity category. This combined effect consistently promotes classification into the low carbon intensity category rather than increasing the likelihood of high carbon outcomes. This suggests that a high proportion of built-up areas, when coupled with a dominant largest patch, signifies a compact urban structure. Such compactness likely reduces transportation energy consumption and promotes economies of scale in infrastructure, thereby enhancing carbon emission intensity.
The interaction between proportion of built-up area and SHAPE_MN follows a comparable directional pattern. Conversely, the interaction between AI and CLUMPY shifts between positive and negative contributions across different value intervals. This variation demonstrates that their combined impact on classification probability is highly context dependent and reflects complex joint decision pathways within the model. Specifically, the transition from positive to negative values implies that while moderate aggregation might initially support development, excessive clumping without proper functional organization could lead to inefficiencies, highlighting the need for balanced spatial layouts.
Analysis of distinct urban development clusters reveals substantial heterogeneity in dominant interaction patterns, confirming the context-dependent nature of morphological impacts on carbon classification.
In C0, the strongest joint effects occur between AREA_MN and CLUMPY (
Figure 9d, interaction value 0.0021) and between AREA_MN and LSI (
Figure 9e, interaction value 0.0021). Within specific value ranges, the AREA_MN and CLUMPY combination yields strongly positive SHAP interaction values. This indicates that large patch sizes combined with high aggregation synergistically increase the probability of high carbon classification. From a planning perspective, this reveals a “scale inefficiency” in this cluster. It implies that simply merging small patches into larger aggregated blocks without optimizing internal functions may increase carbon intensity, suggesting that urban renewal in these areas should focus on internal structural optimization rather than mere expansion. The interaction between patch density and LSI similarly exhibits a tendency to elevate this classification likelihood (
Figure 9f).
In C1, the interaction network centers on LSI and SHAPE_MN, which produce the strongest joint effect (
Figure 9g, interaction value 0.0065). Predominantly positive interaction values across most ranges demonstrate that combining overall landscape complexity with irregular patch shapes synergistically elevates the probability of high carbon classification. This suggests that in these cities, the morphological penalty of having both complex landscapes and irregular shapes is severe. Notable interactions also emerge between LSI and COHESION (
Figure 9h) and between the aggregation index and SHAPE_MN (
Figure 9i), further confirming that spatial configuration and shape regularity are the dominant morphological determinants for carbon intensity in this cluster.
In C2, strong interactions are observed among key morphological indicators, specifically involving aggregation and shape metrics. The economic density and LSI pairing dominates (
Figure 9j, interaction value 0.0064). Strongly positive interaction values in specific intervals indicate that high economic density combined with landscape complexity substantially increases the likelihood of high carbon classification. Regarding pure morphological interactions, significant joint effects also characterize the CLUMPY and AI combination (
Figure 9k) and the CLUMPY and LPI combination (
Figure 9l). These results highlight that in C2, the spatial aggregation of patches (CLUMPY and AI) interacts intensely with landscape composition, playing a critical role alongside economic factors.
In C3, LSI anchors the interaction network, exhibiting the strongest joint effect with CLUMPY (
Figure 9m, interaction value 0.0066). High concurrent values generate strongly positive interactions that markedly increase the probability of high carbon classification. Conversely, the LSI and PD interaction yields negative values at low indicator levels, indicating a synergistic reduction in high carbon classification likelihood. This suppressive effect diminishes as either of the metrics rise (
Figure 9n). This implies that while low-density, simple landscapes are carbon efficient, uncontrolled increases in complexity and aggregation can rapidly degrade environmental performance. Therefore, maintaining low landscape complexity is critical for sustaining low carbon intensity in C3 cities. The economic density and MESH interaction remains comparatively weak (
Figure 9o). These patterns underscore that managing landscape shape complexity alongside spatial aggregation patterns is critical for accurate classification in this cluster.
5. Discussion
5.1. Nonlinear Effects of Urban Morphology on Carbon Emission Intensity
Prior research has predominantly examined linear relationships between urban morphology and continuous environmental metrics, with limited attention to the complex nonlinear mechanisms governing carbon intensity category assignment. Departing from this tradition, the present study integrates a gradient boosting classifier with a dual-interpretability framework. This methodology systematically quantifies the nonlinear contributions of morphological features to categorical prediction and examines their heterogeneity across distinct urban types. Results indicate that morphological features exert nonlinear effects on carbon category assignment, with the magnitude and direction of their contributions varying across city types. Partial dependence plots reveal distinct class probability trajectories, demonstrating that the relationship between morphological indicators and classification likelihood rarely follows a monotonic pattern. Instead, it frequently exhibits threshold regions where the predicted probability of category membership shifts noticeably. The detailed examination of these threshold dynamics and their quantitative benchmarks is provided in
Section 5.2.
Specifically, this study identifies multiple pathways through which urban morphology influences carbon intensity category assignment. First, spatial configurations regulate the distribution and interaction of human activities and material flows. Higher spatial aggregation and landscape connectivity may enhance operational efficiency yet require alignment with economic density. When local capacity constraints are approached, these features can shift the classification probability toward higher emission categories. Second, morphological characteristics influence category assignment by modulating local microclimates. Landscape complexity and fragmentation affect ventilation and surface evaporation, thereby altering building energy demands. The nonlinear probability trajectories clarify how these microclimatic influences transition from reducing to increasing the likelihood of classification into specific intensity categories as morphological complexity rises. Finally, morphological attributes interact with the spatial distribution of socio-economic activities. Combined contributions of economic density and specific morphological metrics, such as effective mesh size, can noticeably shift classification likelihood across urban categories. Fundamentally, urban landscape patterns operate as complex systems in which spatial configuration influences category assignment through threshold-dependent nonlinear contributions. This perspective offers an alternative to linear frameworks and provides a structured reference for developing context-specific low-carbon spatial planning strategies.
5.2. Threshold Effects of Urban Morphology on Carbon Emission Intensity
The influence of key morphological indicators on carbon emission intensity category assignment does not follow a linear trajectory. Instead, the directional impact and contribution intensity of these indicators undergo observable shifts within distinct value ranges. As demonstrated in the analytical results and visualized in
Figure 6, PDPs identify critical transition zones where these directional changes occur, offering measurable reference points for spatial regulation. For example, the marginal effect of urban land proportion (proportion of built-up area) on classification probability shifts from reducing to increasing the likelihood of high emission category assignment as urban expansion progresses. Similarly, the landscape shape index (LSI) exhibits a clear inflection point, beyond which increased boundary complexity consistently correlates with a higher probability of assignment to high emission categories. The mean urban patch shape index (SHAPE_MN) demonstrates a stabilizing influence up to a certain level, after which its marginal contribution gradually diminishes. These threshold-dependent patterns align with classical urban economic theory, particularly the dynamic trade-off between agglomeration economies and congestion effects. Within the present analytical framework, initial morphological compactness generates efficiency gains through shared infrastructure and reduced spatial friction; however, once critical thresholds are surpassed, these agglomeration benefits are progressively offset by congestion externalities and capacity constraints, consistent with established expectations of diminishing returns in urban spatial systems. Recognizing these nonlinear response trajectories enables planners to anticipate critical transition points and adjust spatial configurations proactively before adverse emission outcomes materialize.
Crucially, these threshold effects exhibit substantial heterogeneity across urban clusters. In the high-emission C0 cluster, thresholds for spatial aggregation and patch size appear at lower values compared to other groups, suggesting that capacity constraints emerge earlier in cities with terrain-induced spatial fragmentation. In the medium-emission ecological C1 cluster, the threshold for shape complexity interacts differently with cohesion metrics, indicating that maintaining regular patch shapes up to a certain level supports lower-emission classification. The medium-emission developmental C2 cluster shows that economic density modifies morphological thresholds, with high economic activity lowering the tolerance for landscape complexity before classification probability shifts upward. In the low-emission C3 cluster, the landscape shape index threshold is particularly pronounced, highlighting that strict control of boundary irregularity is essential to maintain low-emission status. These divergent trajectories suggest that optimizing single morphological indicators is not universally applicable. Strategies aimed at influencing category assignment through spatial regulation should account for local baseline conditions, recognizing that exceeding context-specific thresholds may yield limited or counterproductive outcomes. Furthermore, interaction effects among morphological factors indicate that combined thresholds shift under different variable pairings, reinforcing the need to evaluate morphological regulation within an integrated, cluster-specific framework.
5.3. Implications for Urban Planning and Management
Urban spatial form functions as a direct regulatory instrument for carbon management rather than a passive physical backdrop. The identified nonlinear thresholds and interaction patterns provide measurable targets for spatial planning and development control. To systematically translate these findings into actionable governance, it is essential to categorically align spatial interventions with the distinct economic development models characterizing each cluster. The four categories reflect divergent developmental trajectories, each exhibiting a unique mechanism through which economic activities interact with urban form to either exacerbate or mitigate carbon intensity. Effective implementation requires explicitly mapping these development models to ensure morphological adjustments directly support low-carbon economic transitions.
Cities in the high-emission cluster (i.e., C0) typically follow an extensive expansion model constrained by complex topography and reliant on resource intensive industries. Economic growth in these regions drives continuous physical land consumption. Planning authorities must enforce strict boundaries for urban expansion and mandate minimum landscape aggregation thresholds. Directing new industrial development toward existing compact nodes reduces infrastructure duplication and lowers transportation emissions. Municipal zoning codes should require regular plot shapes and integrated green corridors to counteract ventilation blockage from fragmented layouts. Assertively, transitioning from extensive land-driven growth to morphological consolidation constitutes the critical pathway to decouple economic expansion from carbon escalation in terrain-constrained regions. This morphological consolidation directly links spatial efficiency to reduced carbon intensity while sustaining industrial output.
Cities in the medium-emission ecological cluster (i.e., C1) operate under a dispersed development model driven by resource extraction and ecological conservation mandates. Spatially scattered economic activities increase transport distances and buildings’ energy demands. Planning must prioritize consolidating isolated settlements into coordinated service hubs. Regulatory instruments should establish connectivity standards that link functional zones without increasing overall landscape complexity. Investment in centralized heating networks and shared logistics facilities within these hubs directly couples economic efficiency with morphological carbon reduction. Crucially, shifting from dispersed resource-dependent expansion to hub-based consolidation ensures that ecological preservation mandates are structurally reinforced by compact spatial organization, directly translating economic activity into measurable carbon reduction. Consolidating economic functions while maintaining ecological corridors ensures resource activities do not trigger disproportionate emission increases.
Cities in the medium-emission developmental cluster (i.e., C2) exhibit a dense compact growth model characteristic of mature economic centers. Substantial economic output per unit area generates localized emission pressures from concentrated commercial and industrial activities. Urban management should decouple economic intensification from spatial congestion by promoting vertical mixed-use zoning and expanded underground infrastructure. Planning regulations must cap landscape shape complexity while preserving designated ventilation corridors. Allocating high value commercial functions to transit oriented nodes and relocating heavy logistics to peripheral zones ensures economic density improvements translate into measurable emission reductions. Fundamentally, economic intensification in mature centers must be structurally decoupled from horizontal sprawl; enforcing vertical densification and strict spatial boundaries guarantees that economic agglomeration yields proportional carbon intensity reduction rather than compounding environmental loads. Maintaining strict spatial boundaries while upgrading vertical capacity allows economic growth to proceed without increasing landscape fragmentation.
Cities in the low-emission cluster (i.e., C3) follow a traditional industrial development model characterized by monocentric ring expansion. Historical industrial layouts and aging infrastructure sustain moderate baseline emissions within an already efficient spatial configuration. Economic revitalization must avoid uncontrolled boundary irregularity. Municipal authorities should adopt control standards that limit the landscape shape index at current levels while mandating energy efficient retrofits for existing industrial facilities. Development incentives should prioritize brownfield redevelopment within established urban rings to preserve ecological buffers. Specifically, preserving the existing monocentric equilibrium while channeling economic revitalization inward demonstrates that morphological stability, rather than outward expansion, is the most effective driver of carbon reduction in historically industrialized cities. Channeling economic investment into existing industrial cores rather than expanding outward preserves the current reduced emission morphological equilibrium and prevents carbon intensity escalation.
The successful application of these spatial governance measures depends on integrating morphological thresholds directly into municipal development approval workflows. Local planning departments should establish automated compliance checks that evaluate proposed land use changes against cluster specific emission probability curves. Regular monitoring of landscape metric shifts will allow authorities to adjust zoning parameters before threshold crossings occur. This targeted approach ensures that economic development strategies consistently align with spatial configurations that minimize carbon intensity across diverse urban contexts.
5.4. Limitations and Future Directions
This study examines the nonlinear, threshold-dependent, and interactive contributions of urban morphology to carbon emission intensity category assignment. Given the constraints of available data and methodological scope, several limitations remain, and future research may extend the analysis in the following directions.
First, the interpretability framework primarily identifies contribution patterns and relative importance, but the underlying physical and socio-economic mechanisms driving these threshold shifts require further exploration. Future studies could integrate multi-source datasets, such as high-resolution building energy consumption records, traffic mobility patterns, or microclimate observations, and combine these with urban climate or transportation models to provide more detailed mechanistic explanations for the observed threshold and interaction effects.
Second, the current analyses relies on cross-sectional panel data, which captures static associations across discrete time points. Urban morphology and carbon emission patterns are inherently dynamic, and longitudinal changes may involve cumulative effects, lagged responses, or path dependencies. Constructing continuous temporal datasets and applying spatiotemporal modeling techniques or sequential machine learning approaches could help clarify the long-term evolution of morphological influences on category assignment.
Third, this study primarily focuses on morphological indicators, while carbon emission intensity is also shaped by non-morphological factors such as energy structure, industrial composition, technological adoption, and policy interventions. These variables are not explicitly included in the current model and may operate as unobserved influences. As a result, the importance rankings of morphological features may partly reflect correlations with these unmeasured variables rather than their intrinsic causal effects. While this study establishes robust statistical associations between urban morphology and carbon emission categories, the results do not imply direct causality. Instead, urban morphology acts as a “spatial constraint framework” that shapes carbon emission patterns indirectly by influencing traffic efficiency, energy consumption modes, and built environment configurations. Future frameworks could incorporate broader socio-economic and policy indicators (where data availability permits) to more comprehensively assess the relative contributions of morphological factors and explore their synergistic pathways with technological and institutional variables.
6. Conclusions
Based on a sample of 336 Chinese cities, this study constructs an urban morphological indicator system encompassing multi-dimensional characteristics to classify urban carbon emission intensity levels. To identify urban typologies, the K-means clustering algorithm, Gaussian mixture models, agglomerative hierarchical clustering, and spectral clustering were systematically compared. Comparative evaluation indicates that spectral clustering yields comparatively balanced category distributions, which supports the subsequent statistical representation of distinct urban types. Consequently, this study applies spectral clustering to partition the sample into four urban clusters characterized by differing development trajectories. Integrating a Bayesian optimized gradient boosting classifier with a dual-interpretability framework combining SHAP and PDPs, the study examines the relationship between urban morphology and carbon emission intensity category assignment from three perspectives. These perspectives include feature relevance, nonlinear probability transitions, and interaction mechanisms. While SHAP quantify global feature contributions to category assignment, PDPs illustrate average marginal probability shifts, facilitating the identification of transition boundaries and nonlinear classification trajectories. The results suggest that the association between urban morphology and emission category assignment exhibits nonlinearity and threshold dependency, with dominant features, directional influences, and probability transition ranges varying across urban types.
The findings indicate that uniform morphological regulation approaches may not suit all urban contexts. Within the high-emission intensity cluster, mean urban patch area and urban clumpiness demonstrate positive associations with higher emission category assignment. PDPs indicate probability transition ranges beyond which spatial expansion and extensive agglomeration correspond with elevated classification probabilities, suggesting the need for measured development controls. In the medium-ecological cluster, complex interactions and compensatory relationships exist among shape indicators. Spatial planning may benefit from coordinating morphological complexity across landscape and patch scales within probability ranges associated with lower emission categories. Within the medium-emission developmental cluster, interaction effects between economic density and morphological characteristics are notable, suggesting that spatial adjustments during development may help moderate the association between economic intensification and higher emission category assignment. In the low emission cluster, landscape shape complexity correlates with increased classification probabilities, whereas spatial aggregation demonstrates a mitigating association. PDPs indicate a probability shift boundary for the landscape shape index, suggesting that monitoring this metric may support category stability.
Furthermore, interaction effects among morphological factors exhibit considerable complexity. Analysis using SHAP indicates that combinations of key morphological features produce non-additive effects on category assignment probabilities. The magnitude and direction of these interactions demonstrate substantial variation across urban clusters. Identical feature pairs may exhibit synergistic, compensatory, or statistically neutral associations depending on the urban context. Complementing this observation, stratified partial dependence plots demonstrate how these interaction dynamics influence probability distributions and transition boundaries across different urban settings.
Overall, this study examines the nonlinear, threshold, and interaction patterns associated with the relationship between urban morphology and carbon emission intensity categories across national and subregional scales. By utilizing partial dependence plots to identify probability transition ranges and SHAP to assess feature relevance, this research offers a reference framework for developing differentiated spatial planning strategies across varying urban development contexts. Additionally, the analytical framework may be applied to examine the relationship between urban morphology and other ecological indicators, offering methodological considerations for spatial optimization and urban resilience assessment.