Using GeoXAI to reveal gender differences in the spatially nonstationary influence of built environment on area-level happiness.
Cuicui Ye, Zheng Ding
College of Art, Wuyi University, Wuyishan, Fujian, China. · College of Landscape Architecture and Art, Fujian Agriculture and Forestry University, Fuzhou, China.
Key points
From the paper's conclusion- These results locate contiguous gender differences in area-level happiness across Shanghai and provide evidence for locally targeted, gender-responsive urban and public-health planning.
Abstract
Gendered activity patterns can create unequal exposure to urban environments, yet city-scale evidence rarely combines gender-specific happiness, nonlinear modelling, and local spatial variation. We analysed 678,120 geotagged Weibo posts across 33,591 500 m grids in Shanghai using LSTM-CNN sentiment classification, HRNet streetscape segmentation, XGBoost, SHAP, partial dependence plots, and spatially varying contributions. After screening, 320,618 female-labelled and 187,089 male-labelled posts entered the analysis. Sentiment classification achieved 0.942 accuracy; random-fold XGBoost R 2 was 0.898 and 0.930 for female- and male-labelled happiness, and remained positive under spatial separation and the 20-user threshold. Results showed: (1) positive expression accounted for 73.64% of female-labelled posts and 74.30% of male-labelled posts. Female-labelled grid scores were higher and more variable (4.06 ± 2.13 versus 2.94 ± 1.71); both surfaces were spatially clustered (Moran's I = 0.909 and 0.666) but modestly correlated (r = 0.325; ρ = 0.273). (2) Population count and the Gini coefficient showed opposite correlations between groups. SHAP ranked NDVI first for the female-labelled model and Population count first for the male-labelled model, with Greenness, the Gini coefficient, and Distance to city center also prominent. (3) The same 5D dimension dominated only 43.3% of paired grids. Destination accessibility and Distance to Transit contributed more to female-labelled happiness in 95.1 and 84.0% of grids, whereas Design contributed more to male-labelled happiness in 68.0%. All five dimension-level differences were spatially clustered (Moran's I = 0.571-0.788). These results locate contiguous gender differences in area-level happiness across Shanghai and provide evidence for locally targeted, gender-responsive urban and public-health planning.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Blue–Green Space Provision and Health-Related Well-Being Perception: Spatial Matching and Environmental Associations in ShanghaiLand · 2026
- Modeling Spatiotemporal Associations Between Multiscale Urban Greenness and Metro Ridership: Evidence from Nanjing, ChinaISPRS International Journal of Geo-Information · 2026
- Perceptions of Urban Architectural Environments and Weibo Sentiment in the Yangtze River Delta: Spatial Differentiation and Same-Grid CorrespondenceSustainability · 2026
- Spatial Inequality in Urban Functional Systems and Subjective Well-Being: Evidence from Chinese CitiesSystems · 2026
- Understanding happiness among lesbian, gay, bisexual, and transgender populations through a data-driven path analysis in a Chinese sample: A three capitals model.American journal of community psychology · 2026
- Survey-Weighted Explainable Gradient Boosting for Regional Disparities in PHQ-9-Defined Depression in Korea: 2024 Korea Community Health Survey.Asian nursing research · 2026