Abstract
Despite the growing prevalence of online-merge-offline life services and increased spatiotemporal flexibility in human activities, few studies examine how social media platforms and spatial layout elements jointly influence spatial vitality, hindering sustainable development in the digital era. To address this gap, this study employs Light Gradient Boosting Machine (LightGBM) interpreted by SHapley Additive exPlanations (SHAP) to analyze the nonlinear impacts of Internet word-of-mouth (IWOM) and spatial layout elements of life services on spatial vitality in Shanghai. Key findings reveal that: (1) IWOM drives a shift in life service access from location determinism to a digital visibility-driven mode through spatial activation and interaction, thereby redistributing spatial vitality; (2) The impact of IWOM varies significantly by service type: retail commerce and convenience services exhibit the strongest enhancement effects, with both showing a minimum threshold in activating vitality; (3) Significant interactive effects exist, particularly between plot ratio and IWOM of multiple life services, reinforcing the trend of online service penetration into vertical spaces. These findings advance the theoretical understanding of how information and communication technologies (ICT) enhance spatial vitality and provide a practical basis for guiding the digital transformation of life service configuration.
Keywords
Introduction
With rising living standards, social interactions outside home and workplace have become the primary source of spatial vitality (Oldenburg and Brissett, 1982). As a core component of sustainable development, spatial vitality manifests in multiple dimensions, including the accumulation of social capital at the economic level and the enhancement of life quality and community cohesion at the human-oriented level (Park and Kim, 2025; Williams and Pocock, 2010). The emergence of Online to Offline (O2O) behavior, in which social media platforms influence travel decisions (Wan et al., 2023; Wu et al., 2024a; Xiao, 2022), has further transformed social interaction, imbuing it with characteristics of spatial fragmentation and dynamic continuity (Li et al., 2023; Xiao, 2022). This shift leads to the rapid growth of global O2O market, which reached 178 billion USD in 2023 with a compound annual growth rate of 12.3% (DataIntelo, 2023). Specifically, in the world’s largest digital consumer market, 59% of users in China conduct O2O consumption at least three times weekly (Iimedia Research, 2023). Thus, quantifying spatial vitality in the digital era and identifying its drivers have become research priorities for fostering sustainable urban development within fields such as urban-rural planning, transportation, and consumption studies.
In travel behavior theory, social interaction outside home and workplace refers to the process of accessing life services, encompassing maintenance activities (e.g., shopping, dining, healthcare) and leisure activities (e.g., cultural experiences, entertainment) (He et al., 2024; Wei et al., 2023; Gong et al., 2020). Among them, the configuration of life services is shaped by physical spatial layout and social media platforms (Liao et al., 2024), with the former determining five dimensions of service opportunities: density, diversity, design, transit proximity, and accessibility (Li et al., 2022; Wang et al., 2024; Xia et al., 2020). Meanwhile, social media platforms provide information that influences when, where, and how individuals access these opportunities (Park and Kim, 2024, 2025). Specifically, the information can be categorized into two types: (1) Visual-textual review, which conveys individual experiences and subjective feedback (Chen and Yeh, 2021; Shao et al., 2023); (2) Rating score, often termed digital word-of-mouth (IWOM), derived from public perceptions and algorithmically weighted to represent service quality (Zhang and Long, 2024). Owing to its relative objectivity and trend representativeness, IWOM enables efficient preliminary screening of service providers, making it a key factor in shaping individual decisions and reshaping urban spatial patterns.
Traditionally, spatial vitality has been measured by the intensity of maintenance and leisure activities, which are closely associated with the spatial layout of life services (Jacobs, 1961). This association arises because the location of service opportunities is shaped by urban functions, such as land use and facility density, while their quantity is influenced by building forms, including floor area ratios and architectural design (Pyrialakou et al., 2016; Wang et al., 2025). In addition, individuals’ willingness to access services is affected by their perception of travel convenience, which is largely determined by network connectivity. Accordingly, urban planning practices generally concentrate services in central areas to enhance recognizability and reduce travel costs, linking spatial vitality to the distribution of objective opportunities. However, the emergence of social media platforms has altered this logic by enhancing users’ awareness of available choice sets through location-based recommendations (Wang et al., 2025) and perceived service attractiveness through virtual intentions (Zhang and Long, 2024). This shift promotes decentralized urban activity patterns (Dadashpoor and Yousefi, 2018), boosting activity intensity in peripheral or low-accessibility areas through improved digital accessibility, and in turn regenerating spatial vitality (Zhang et al., 2025).
However, existing research on the relationship between life service configuration and spatial vitality in virtual-physical contexts reveals two notable gaps: (1) while O2O behaviors increasingly exhibit spatially fragmented and dynamically connected forms, most spatial vitality studies still emphasize static agglomeration (Ge et al., 2024), overlooking the role of dynamic interaction reflected in human flows; (2) although the influence of IWOM on activity distribution has been examined (Lin et al., 2023; Zhang and Long, 2024), few studies investigate how IWOM and spatial layout elements jointly shape activity intensity, limiting the design of optimization strategies for digital-era spatial vitality. To address these gaps, this study advances in two ways. First, it measures composite spatial vitality by integrating both static aggregation and dynamic interaction, using Shanghai’s township‑level units for visualization and 1km × 1km grids for analysis. Second, it applies interpretable machine learning to quantify the relative importance and nonlinear interactive effects of IWOM and spatial layout elements across different life services. Theoretically, this study clarifies the social interaction shift from geography-determined to digital visibility-driven mode. Practically, it offers a scientific basis for optimizing the configuration of life services, thereby informing strategies aimed at pursuing sustainable urban spatial vitality (Figure 1).

Conceptual framework.
Literature review
Measurement of spatial vitality in the online-merge-offline context
Spatial vitality reflects the quality and livability of urban development through multiple dimensions, notably human activity, spatial function, and economic levels. Among these, human activity, particularly maintenance and leisure activities, is a direct indicator of social aggregation and spatial vitality (Gehl, 1992; Jacobs, 1961). Accordingly, spatial vitality is directly reflected in the intensity of human activity within a space (Cao et al., 2022; Yang et al., 2023). The concentration of physical elements (facilities, transport, environment) generates and attracts these activities, while the spatial clustering of industry and investment provides a macro-level socioeconomic indicator (Liu et al., 2022).
The online-merge-offline configuration of life services has rendered residents’ offline activities more spatially fragmented and interactively dynamic. Consequently, measuring vitality must expand beyond static aggregation of people to include dynamic connectivity between activities. However, existing research remains limited: Luo and Zhen (2019) modeled activity links as a weighted network to assess spatial centrality, and Liu et al. (2023b) used mobile data to compare activity and road networks. Few studies integrate both aggregation and connectivity to reflect vitality holistically, though Sun et al. (2022) stressed the need to combine dynamic networks with static elements like density.
In short, current measures rely heavily on population density and activity extent, overlooking activity connectivity and composite perspectives. This limits their ability to capture vitality in an era of spatiotemporally flexible behavior and to assess the attraction of life services in the online-merge-offline context.
Impacts of the configuration elements of life services on spatial vitality
The relationship between IWOM of life services and spatial vitality
Research on IWOM of life services has primarily examined its influence on the distribution of human activities, which indirectly reflects spatial vitality. Studies indicate that IWOM expands the spatial range of service access, reducing travel time and frequency for suburban residents while maintaining established patterns in urban centers (Niu et al., 2023; Yan, 2017). Zhang and Long (2024) observed that, while leisure activities remain concentrated in superior locations at a macro scale, IWOM itself tends to cluster in micro-scale disadvantaged sites. Similarly, implicit consumption spaces, namely the shops attracting customers through IWOM, still follow traditional location logic but are often linked to public spaces via indirect pathways (Jia et al., 2024).
The influence of IWOM also varies by type of activity. For leisure services, it can generate short‑term, highly clustered, and interactive visitation patterns (Zou, 2025). For maintenance activities, IWOM plays a supporting role in providing information and atmosphere, but high frequency and time‑sensitivity keep related behavior spatially bounded (Wu et al., 2024a). Additionally, different forms of IWOM correlate with distinct residential preferences: traditional e‑commerce is linked to suburban living, whereas on‑demand delivery and digital public services are associated with central‑city agglomeration (Wu et al., 2024b).
In summary, existing work details how IWOM reshapes activity patterns and distributions but seldom quantifies its direct effect on spatial vitality as measured through human activity. This gap limits our understanding of how IWOM contributes to vitality formation and to what extent online channels can enhance the utilization efficiency of life services in the digital era.
Nonlinear impacts of the spatial layout elements of life services on spatial vitality
Research on how the spatial layout elements, encompassing the type, quantity, location, and connectivity of resources, shapes spatial vitality is extensive and can be organized by scale. At the regional scale, factors like mixed land use, transport accessibility, and compact urban form are found to enhance socio-economic vitality (Chen et al., 2022; Xie et al., 2024). At the neighborhood scale, the density of public and commercial facilities, walkable street design, and accessible open spaces promote outdoor activity and daily service use, thereby supporting vitality (Gao et al., 2024; Li et al., 2022). At the street scale, elements like intersection density, building façade quality, and parking management influence pedestrian flow and staying.
The influence of spatial layout elements on spatial vitality is often nonlinear, manifesting in three ways: (1) Marginal effects: the impact of a single factor (e.g., building or intersection density) often peaks within an optimal range, exhibiting inverted U-shaped relationships (Li et al., 2022; Xie et al., 2024); (2) Spatial heterogeneity: the effect of the same element can vary in direction or strength across different urban contexts, requiring tailored strategies (Gao et al., 2024); (3) Interaction effects: factors can interact synergistically (e.g., street accessibility and building density) or antagonistically (e.g., road density and sidewalk width), altering their combined impact on vitality (Li et al., 2022; Yang et al., 2023).
While thresholds and interactions among spatial layout elements are well studied, few works specifically examine those elements characterizing life services’ spatial layout. More importantly, the interaction between these elements and the IWOM of services remains unexplored, limiting the ability to integrate virtual and physical factors in digitally-informed planning.
Methodology
Study area
Shanghai is in a leading position in China in the digital field of life services. On the one hand, the government has set goals such as building 100 benchmark scenarios for the digital transformation of life, 50 hospitals for digital transformation, and 15,000 intelligent parcel lockers (Shanghai Municipal People’s Government, 2021). On the other hand, Shanghai ranks first in China’s overall digital development index, demonstrating leadership in digital economy, infrastructure, society, and government (Xinhua News Agency, 2023). Therefore, this study takes Shanghai as the research area (Figure 2) and divides it into two spatial scales: firstly, to characterize the patterns of maintenance and leisure activities, township-level administrative divisions (streets, towns, townships), main urban areas, and urban circles are used as visualization boundaries. It should be noted that compared to administrative divisions, main urban areas and urban circles are basic units for spatial organization and resource allocation in urban centers and suburbs (Shanghai Municipal Planning and Natural Resources Bureau, 2021), better reflecting the characteristics of accessing life services at the regional level. Secondly, considering the sample size requirements of machine learning methods, 1 km × 1 km square grids are used as the basic units for variable statistics, totaling 2,095 grids.

Research area.
Data
Table 1 presents the description of research data. (1) Geospatial data. Six first-level and 20 second-level life services (Supplementary Note 1) significantly influenced by Information and Communication Technology (ICT) are selected. It should be noted that the IWOM for the above services only serves as an information medium, and individuals still need to visit physical spaces to obtain them; (2) Data from
Description of research data.
Measurement of spatial vitality based on travel data
Screening of travel data for accessing life services
Table 2 presents a sample of the travel dataset derived from mobile signaling. First, to validate its representativeness of Shanghai residents’ travel patterns, this study estimated the size of the permanent and employed populations within each administrative district based on time segments and travel purposes. Specifically, the permanent population was approximated by the number of users whose destination was “home” during the nighttime period (21:00-08:00), while the employed population was estimated from users with a “home-to-work” trip purpose during daytime hours (09:00-17:00). A Pearson correlation analysis was then performed between these estimates and the corresponding data from the 7th national population census (Table 3). The high correlation coefficients confirm that the dataset reliably captures travel patterns in reality.
Sample of the travel dataset.
Pearson correlation between mobile signaling and census population.
Second, to extract trips associated with maintenance and leisure activities, records with the travel purpose “others” during the daytime were selected. To ensure representativeness, only trips that appeared consistently throughout the sampling period were retained. This resulted in 1,202,556 valid trip records with both origin and destination located within the study area.
Measurement of spatial vitality
Static aggregation (population density) and dynamic connection (spatial interaction intensity) were used to measure spatial vitality (Table 2).
(1) Population density. This indicator measures the aggregation degree of human activities in urban spaces. In this study, the weighted in-degree centrality
(2) Spatial interaction intensity. The activity flow and the corresponding number of travelers are abstracted into the edges and their weights of the activity network, reflecting the ability of each spatial unit, as a network node, to promote or attract the flow. Specifically, this study selects four second-level indicators, namely PageRank centrality, closeness centrality, betweenness centrality, and average clustering coefficient, for representation:
PageRank centrality. This indicator measures the importance of nodes in attracting dynamic connections. The calculation formula is:
Closeness centrality. This indicator measures the proximity between a node and other nodes in the activity network, reflecting the locational advantage of the spatial node
Betweenness centrality. This indicator measures the frequency of a node appearing on the shortest path, reflecting the locational characteristics of the spatial node
Local clustering coefficient. This indicator measures the clustering or grouping tendency of a node with other nodes in the network, so as to the activity connection patterns. The calculation ormula is:
Next, the weights of the above indicators were derived using the entropy weight method. After normalizing these indicators, the spatial vitality of each unit was calculated by weighted summation. The entropy weight method evaluates the variation of an indicator across samples: a smaller entropy value indicates greater dispersion, and thus a higher assigned weight. This weighting approach is objective and accounts for inter‑relationships among elements, making it suitable for this study. The method was applied twice: first to weight the second-level indicators of dynamic interaction intensity, and then to weight the primary indicators of spatial vitality (Table 4).
Indicators of spatial vitality.
Nonlinear impacts of the configuration elements of life services on spatial vitality
Explanatory variables
Table 5 shows the IWOM and spatial layout of life services, ultimately selecting 20 indicators across five dimensions as explanatory variables.
(1) IWOM of life services reflects the richness of information on spaces, products, and manual services that residents obtain from virtual platforms, influencing or determining individuals’ activity destinations (Zhang and Long, 2024); (2) Spatial accessibility and diversity indicate the availability and variety of specific life services within each unit (Gao et al., 2024). Differences in the scale and form of service supply are further distinguished by weighting various points of interest (POIs) with service‑capacity indices (Liu et al., 2023a) (Supplementary Note 1); (3) Transport accessibility is measured using roads density at different levels, bus‑stop coverage, and metro‑station coverage, capturing the commuting efficiency and population‑aggregation capacity of service locations (Xie et al., 2024); (4) Architectural and environmental design is represented by building density (horizontal layout) and floor‑area ratio (vertical layout), together with the proportion of water area as a typical natural element, to assess their role in attracting and concentrating people (Xie et al., 2024); (5) Spatial location is expressed as the distance from each grid to the geometric centers of regional‑level spatial‑organization and resource‑allocation units, reflecting the capacity to attract economic and social activity (Meng et al., 2025).
Description of explanatory variables.
Control variables
Focusing on life services, the selection of independent variables is centered on maintenance and leisure activities. However, actual trips also include mandatory activities such as living and commuting (Gong et al., 2020; He et al., 2024). Driven by inelastic demand, these activities are directly dominated by spatial layout elements and not influenced by social media platforms. Accordingly, this study incorporates the densities of POIs related to residence, education and office functions as control variables (Table 6).
Description of control variables.
Nonlinear impacts of the configuration elements of life services
Machine learning models have significant advantages in explaining the impacts of built environment elements on urban development, spatial vitality, and residents’ transportation patterns (Gao et al., 2023; Peng et al., 2023). In this study, Python is used to divide samples into a 70% training set and a 30% test set. GridSearch method is employed for five-fold cross-validation, and model performance is compared across multiple machine learning models using average R2 and root mean square error (RMSE). Among ensemble learning methods such as Random Forest (RF), Light Gradient Boosting Machine (LightGBM), and EXtreme Gradient Boosting (XGBoost), the LightGBM model is selected due to its highest average R2 (0.63) and lowest RMSE (0.071) for explaining variable relationships.
Compared with traditional linear regression models, LightGBM model offers the following advantages: (1) It can automatically capture complex nonlinear relationships between features and target variables (Xiao et al., 2021); (2) It can handle multicollinearity issues that linear regression cannot address. Compared with other ensemble machine learning models, its advantages lie in: (1) Compared with XGBoost, it uses histogram algorithms and parallel training, resulting in faster operation speed and lower memory usage; (2) Compared with RF, it has stronger capabilities in nonlinear relationship modeling and generalization.
This study uses SHapley Additive exPlanations (SHAP) via Python to interpret the regression results of the trained LightGBM model, where the Shapley values of samples are used to explain the influence degree of explanatory variables on dependent variables (Guo et al., 2023). Specifically, this study first determines the impact of IWOM of life services on spatial vitality; second, analyzes the effective influence thresholds of impactful elements; finally, investigates the interaction effects between IWOM and spatial layout elements to derive optimization methods for the configuration of life services in the online-merge-offline context.
Results
Analysis of spatial vitality based on activity aggregation and connection
Multi-dimensional indicators of spatial vitality
Each dimensional indicator is divided into levels 1 to 4 from low to high using the Natural Breaks method, revealing spatial vitality patterns (Figure 3): (1) For population density representing activity aggregation, the weighted in-degree centrality decreases from the main urban area to integrated and comprehensive development urban circles, with high values concentrated in the main urban area; (2) For interaction intensity representing activity connection, while the spatial patterns of each dimension indicator are discussed in detail in Supplementary Note 2, this section analyzes the spatial pattern of the comprehensive indicator (sum of weighted values): the distribution curve is a left-skewed inverted “U-shaped” when sorted from low to high, meaning most units have few activity connections with other units. Additionally, visual analysis of population flow patterns for maintenance and leisure activities shows that, using township-level administrative regions as origin points and the OD data with the largest traffic to represent dominant activity flows (35 groups of coincident flows are not marked), the dominant flow direction generally shows that people in the “central urban area-main urban area-urban circles” flow toward centers within their respective scopes. In terms of flow scale, the distribution follows an upward concave “L-shaped” curve, indicating significant differences in activity connection scales. Specifically, activity flows within the main urban area mainly correspond to high values of levels 3-5, while each urban circle has at least one activity flow reaching level 3 or above, confirming that second-level centers at the regional level have certain attraction in suburbans.

Spatial vitality patterns of multi-dimensional indicators.
Spatial vitality patterns based on the weighted indicators
The entropy weight method yields a much higher weight for population density (0.858) than for interaction intensity (0.142), indicating that the ability of units to attract population aggregation per unit area differs more significantly than their ability to facilitate activity flows. In terms of spatial patterns (Figure 3), township-level administrative regions with spatial vitality of levels 3-4 are mainly concentrated within and on the edges of the main urban area, with some forming clustered distributions; level 2 townships are relatively evenly distributed on the edges of the main urban area and at regional centers within urban circles. In terms of data distribution, the it shows an upward concave “L-shaped” curve from low to high, indicating significant regional gaps in spatial vitality.
Nonlinear impacts of the configuration elements of life services on spatial vitality
Relative importance of the configuration elements of life services
First, based on the proportion of absolute Shapley values of explanatory variables, the importance ranking of each dimension is analyzed (Figure 4): spatial accessibility and diversity of life services (46.86%) > IWOM of life services (18.14%) > traffic accessibility (13.20%) > architectural and environmental design (11.63%) > spatial location (10.17%). Specifically, the influence of elements across dimensions is as follows: (1) For spatial accessibility and diversity of life services, the relative importance ranking is: retail commercial services (1/20) > catering services (2/20) > medical and health services (4/20) > leisure and entertainment services (7/20) > convenient services (9/20) > life service diversity (12/20).

Importance ranking of each dimension of explanatory variables.
Second, regarding the importance ranking and impact directions of different elements (Figure 5), (1) when spatial accessibility of leisure and entertainment services and life service diversity have high values, they exhibit complex effects of both promoting and inhibiting human activities, while other elements show clear positive effects; (2) For IWOM of life services, only IWOM of retail commercial services (5/20) and convenient services (5/20) have relatively significant impacts, and high values of elements in this dimension exhibit obvious dual positive and negative effects; (3) For the other three dimensions, three elements significantly influence spatial vitality: distance to the geometric center of central urban area (3/20), plot ratio (6/20), and road density at the regional scale (8/20).

Importance ranking and impact directions of explanatory variables.
Threshold effects of the configuration elements of life services
Based on the Shapley values of all grids corresponding to explanatory variables, they are sorted from smallest to largest, and trend lines are fitted to uncover influence thresholds and their spatial patterns. Due to space constraints, this study introduces the top 6 elements by relative importance (Figure 6), with the subsequent 6 elements discussed in detail in Supplementary Note 3:
(1) Spatial accessibility of retail commercial services (X2-1): When this element reaches 1 km−2 in a unit grid, its impact no longer increases significantly, stabilizing within the range of 0.004-0.006. In terms of impact patterns, grids with level 5 influence are evenly distributed in local centers of each urban circle.
(2) Spatial accessibility of catering services (X2-2): The impact curve of this element first rises slowly, then rapidly, and gradually flattens. When the element is in the range of 0-0.25 km−2, it has a negative impact on spatial vitality; when approaching 1 km−2, its impact reaches a threshold of approximately 0.005. In terms of impact patterns, compared to retail commercial services, grids with level 5 influence are significantly more concentrated, showing a pattern of “high concentration in the main urban area-scattered distribution in suburbs”.
(3) Distance to the geometric center of central urban area (X5-2): The impact curve of this element first declines rapidly and then rises gradually. When the element is within 0-8 km of the grid, its impact decreases from 0.015 to 0, after which it has almost no effect. In terms of impact patterns, locations in the central urban area and comprehensive development urban circles have positive effects, while those in integrated improvement urban circles show negative effects.
(4) Spatial accessibility of medical and health services (X2-4): The impact curve of this element shows a slow initial rise followed by a rapid increase. When the element is in the range of 0-0.075 km−2, the impact increases minimally; however, in the range of 0.075-0.1 km−2, the impact rises rapidly and reaches a threshold of approximately 0.05. This indicates that the element has an effective impact range with minimum and maximum thresholds. Its spatial layout is similar to retail commercial services, showing a homogeneous impact pattern within the region.
(5) IWOM of retail commercial services (X1-1): The impact of this element exhibits a curve that rises sharply and then plateaus, transitioning from a negative to a positive correlation. When the element reaches approximately 200 reviews/km2, it achieves an effective impact threshold of 0.01. In terms of impact patterns, grids in the central urban area show levels 3-5 impacts with positive effects, while most other grids have Level 2 impacts.
(6) Plot ratio (X4-2): When this element is between 0-3.2, it has a negative impact; in the range of 3.2-4, the impact increases rapidly and reaches a threshold of 0.01. Additionally, in terms of impact patterns, grids with level 5 impacts are concentrated in the central urban area, indicating that high plot ratios significantly promote spatial vitality in this area.

Threshold effects of the configuration elements of life services.
Interaction effects between IWOM and spatial layout elements of life services
To avoid obscured interaction effects due to dimensional differences, independent and dependent variables are first normalized using range standardization. Then, SHAP algorithm is used to evaluate pairwise interactions among the 20 explanatory variables. Finally, the top 25% (100 out of 400 pairs) of interaction effects by average value are selected for analysis, resulting in 7 groups of explanatory variable combinations involving significant interactions between IWOM and spatial layout elements (Figure 7).

Synergistic effects between IWOM and spatial layout elements of life services.
Overall, plot ratio exhibits significant interaction effects with the IWOM of multiple life services, including retail commerce, medical and health services, and leisure and entertainment services. Additionally, IWOM of retail commercial services interacts with spatial accessibility, plot ratio, distance to the geometric center of central urban area, and road density at the regional scale. Among the five life services, only IWOM of convenient services shows no significant interaction with any spatial layout elements.
Specifically: (1) When both IWOM of leisure and entertainment, medical and health services (X1-4, X1-5) and building plot ratio (X4-2) in a grid exceed certain values, they exhibit a clear positive interaction; (2) When IWOM of retail commercial services (X1-1) in a grid exceeds a certain value, it interacts with spatial accessibility (X2-1) and plot ratio (X4-2); and within a certain range, it shows clear interaction with road density at the regional scale (X3-2); when below a certain value, it significantly interacts with distance to the geometric center of central urban area (X5-2).
Discussion
Impact and threshold effects of IWOM of life services on spatial vitality
This study finds that IWOM of life services significantly influences spatial vitality, with explanatory power second only to spatial accessibility and diversity. The result aligns with the broader shift of social interaction under digital transformation from a geography‑determined toward a digital visibility‑driven paradigm (Park and Kim, 2024). Specifically, IWOM enhances spatial vitality through two pathways: 1) Spatial activation: by weakening the constraints of location and transport (Park and Kim, 2025; Wang et al., 2025), it offers low‑cost online visibility to small and medium‑sized merchants in disadvantaged areas, promoting a more balanced geography of vitality (Jia et al., 2024; Zhang et al., 2025); (2) Spatial interaction: it converts online attention into offline gathering, fostering multi‑layered spatial patterns, such as “core business districts-backstreet economy-building economy”, and intensifying agglomeration in traditionally strong locations. Nevertheless, the role of IWOM has limitations: (1) Groups highly dependent on social media platforms are prone to being influenced by algorithmic recommendations and preference filtering, falling into information cocoons composed of homogeneous information (Chen et al., 2025; Yan et al., 2025), which may deepen social segregation in physical space and undermine vitality balance; (2) Its core role is to enhance service perception, but differences in digital literacy among various groups lead to gaps in service cognition and screening capabilities (Liu et al., 2025), exacerbating inequities in resource access and reducing the inclusiveness of spatial vitality.
Notably, spatial layout factors of life services still dominate spatial vitality, including the accessibility of commercial, catering, and medical services, as well as the location advantages of central urban areas. This indicates that the independent impact of IWOM on spatial vitality is limited, which is consistent with the research conclusion of Zhang and Long (2024) on leisure consumption spaces in Beijing: IWOM has a specific distribution tendency, i.e., aggregating in locations with macro advantages but micro disadvantages (e.g., inside residential buildings near large urban business districts). Therefore, the integrated virtual‑physical model enhances spatial vitality in traditional core areas while activating surrounding disadvantaged ones, fostering a more balanced distribution of urban vitality and improving service quality.
Second, regarding IWOM of different life services, the impact ranking is: retail commercial services (5/20) > convenient services (11/20) > catering services (13/20) > medical and health services (16/20) > leisure and entertainment services (18/20), with retail commercial services’ IWOM playing a dominant role. This is because they occupy an absolute advantage in the life service system, so their IWOM greatly influences residents’ activity decisions. Additionally, convenient and catering services correspond to high usage frequencies and comprehensive supply forms, so IWOM mainly provides supplementary information on spatial environments and service quality, with limited influence on residents’ behavioral habits. In contrast, medical and health services provide relatively scarce manual services, while leisure and entertainment services offer fixed spatial experiences, so their spatial layouts restrict consumers’ choice ranges, resulting in limited roles for their IWOM in shaping spatial vitality. Wu et al. (2024b) noted differentiated effects of virtual amenities on residential mobility, attributing this to varying needs for face-to-face contact among services under the influence of ICT. This study further reveals significant differences in the capacity of digital-era life service configuration to shape spatial vitality. The findings suggest that giving priority to the online-merge-offline configuration of commercial and convenience services represents an effective approach to enhancing spatial vitality.
Finally, focusing on the threshold effects of IWOM of retail commercial and convenient services on spatial vitality: both exhibit significant promotion of spatial vitality when number of service reviews exceeds a minimum threshold. This differs from the threshold effects of physical elements like building density and intersection density, which show significant impacts only within specific value ranges (Li et al., 2022; Xie et al., 2024; Xiao et al., 2021). This provides refined guidance for promoting spatial vitality through retail commercial and convenient service configurations: leveraging the minimum threshold role of virtual platforms to activate spatial vitality while selecting space layout elements adapted to different scenarios. In terms of impact patterns, IWOM of convenient services generally enhances vitality across the entire urban area, while that of retail commercial services only has positive effects in the central urban area. This further reflects spatial differences in IWOM’s role in promoting spatial vitality: for retail commercial services, IWOM enhances agglomeration effects, exacerbating “service level differentiation” between central and peripheral areas; for convenient services, it plays a protective and wide-coverage role, narrowing regional gaps in service accessibility.
Interaction effects between IWOM and spatial layout elements of life services
First, except for convenient services, plot ratio interacts significantly with IWOM of retail commerce, medical and health, and leisure and entertainment services. This reflects that IWOM drives life services to penetrate vertical spaces, forming new gathering points of spatial vitality in the digital era. This result confirms that, beyond indoor leisure services (e.g., nail salons, gyms, private cinemas) and takeout catering services, other service types are also adopting the layout trend of “online virtual clustering and offline vertical distribution” (Jia et al., 2024; Talamini et al., 2022). On one hand, this provides a theoretical basis for activating the vitality of high-rise office buildings and idle commercial spaces by introducing more life services vertically at the block scale. Planning strategies for urban renewal should therefore incorporate vertical space evaluation and optimize vertical transportation connections: the former aims to enhance the functional richness and flexibility of high-rise buildings by introducing or dynamically adjusting life service types; the latter improves vertical accessibility by ensuring connectivity between high-rise buildings and public transport nodes. On the other hand, using IWOM to achieve precise resource matching and population aggregation has become a key direction for digital-era life service configuration, such as forming virtual clusters through recommendation algorithms while guiding business aggregation to meet diverse needs and sustain spatial vitality in vertical spaces.
Additionally, under the interaction of IWOM of retail commercial services with high resource accessibility, proximity to the central urban area, appropriate external traffic road density, and high plot ratio, spatial vitality is more effectively promoted. This not only indicates that retail commercial services are more adaptable to the online-merge-offline configuration compared to other life services but also provides specific guidelines for their spatial layout. The synergistic effects of superior location, traffic connectivity, and IWOM at the macro scale align with the conclusion that online attractiveness further amplifies agglomeration effects in highly accessible areas (Zhang et al., 2025), confirming that the configuration of retail commercial services with “high accessibility and online exposure” is a crucial source of spatial vitality.
Conclusion
This study focuses on resource configuration in the digital era and analyzes the nonlinear impacts of IWOM and spatial layout elements of life services on spatial vitality. On one hand, regarding the role of IWOM: (1) Overall, it significantly drives spatial vitality, reshaping the distribution logic of urban spatial vitality by shifting life service usage from “location determinism” to “digital visibility-driven approach” through spatial activation and interaction; (2) Specifically, spatial layout elements remain the primary drivers of spatial vitality, emphasizing the limited standalone effect of IWOM and the necessity of integration with physical spaces; (3) IWOM impacts vary across life services, with retail commerce and convenient services being more effective. Additionally, both exhibit a “minimum threshold” role in activating vitality, though their impact patterns differ spatially. On the other hand, regarding interaction effects between IWOM and spatial layout: (1) The significant interaction between plot ratio and IWOM of multiple life services not only demonstrates the trend of IWOM driving life services into vertical spaces but also highlights the potential of using IWOM for precise resource matching and population aggregation; (2) Compared to other life services, the online-merge-offline configuration of retail commercial services is the most effective in promoting vitality, characterized by “high geographic accessibility and online exposure”.
These findings hold significant implications: Theoretically, they reveal the impacts of IWOM itself and its interactions with spatial layout elements on spatial vitality, enriching the connotations of spatial vitality shaping in the digital era and providing new support for exploring new life service configuration methods. Practically, they emphasize the necessity of vertical space penetration of life services under IWOM influence and spatial layout transformation methods for retail commercial services, helping to enhance spatial vitality in the digital era and promote sustainable urban development.
However, this study has certain limitations. (1) Existing indicators used to measure spatial vitality are incomplete, future research should optimize activity flow analyses from the complex network perspective to accurately depict activity connection characteristics. (2) Mobile signaling data adopted in this study has inherent user base bias, tending to favor younger, more digitally connected groups while underrepresenting elderly residents and low-frequency consumers, which may affect the comprehensiveness of spatial vitality assessment. (3) Due to data constraints, this study characterizes IWOM only by the volume of online reviews. While this reflects the availability of service options in individual decision-making, it overlooks other diagnostic dimensions, such as review valence (emotional tone) and variance (perceptual heterogeneity), that also shape final choices (Babić Rosario et al., 2016; Li et al., 2025; Zhang et al., 2025). Future work could integrate multimodal large-language models to analyze textual and visual content of reviews, capturing dimensions like sentiment polarity and review focus (e.g., product, space, or service). This would support more refined, digitally informed service-allocation models and ultimately contribute to spatial vitality and urban quality.
Supplemental Material
sj-docx-1-tus-10.1177_27541231261426518 – Supplemental material for Nonlinear impacts of the configuration elements of life services on spatial vitality in the online-merge-offline context: A case study of Shanghai, China
Supplemental material, sj-docx-1-tus-10.1177_27541231261426518 for Nonlinear impacts of the configuration elements of life services on spatial vitality in the online-merge-offline context: A case study of Shanghai, China by Jing He, He Zhang, Linghong Ke, Wenpei Zhou and Jingyi Peng in Transactions in Urban Data, Science, and Technology
Footnotes
Author Note
We declare that this manuscript is original, has not been published before and is not currently being considered for publication elsewhere.
We confirm that the manuscript has been read and approved for submission by all the named authors.
Funding
The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the National Natural Science Foundation of China [grant number 52078328].
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Supplemental material
Supplemental material for this article is available online.
