An Explainable Multi-Modal Deep Learning Framework for Investigating the Influences of Dynamic Environmental Exposure on Momentary Stress.
Environmental science & technology · 2026
Abstract originale
Urban stressors pose critical public health concerns by adversely affecting residents' mental health. However, past studies have mostly focused on single-modal stressors under static exposure paradigms, with limited exploration of nonlinear environment-stress relationships. This study proposes an explainable multimodal deep learning framework that integrates remote sensing imagery (RSI), street-view imagery (SVI), mobile sensor data, and points of interest (POIs) to accurately predict and explain momentary stress in urban environments. Using 4342 momentary stress records and 125,440 min-level environmental exposure records collected in Hong Kong, we validated the framework, achieving an accuracy of 78.26% and an AUC-ROC of 82.77%. A multilevel gradient-based explainability analysis reveals that (i) environmental exposure within the most recent 25 min exerts the strongest influence on momentary stress and notable spatial heterogeneity exists in stress prediction, highlighting the importance of capturing exposure dynamics; (ii) specific environmental thresholds were identified, including 55 dBA for noise, 25 μg/m3 for PM2.5, 32 °C for temperature, 40%-70% for humidity, and 25% for greenery visibility; and (iii) from an aerial perspective, open spaces consistently suppress stress, while the influence of buildings varies depending on surrounding spatial configuration. This study provides an integrative and explainable tool offering actionable insights for public health interventions.
Parole chiave
Leggi il testo integrale originale
Testo estratto dalla pubblicazione: sono esclusi immagini, media, supplementi e parti soggette a diritti distinti.
An
Explainable Multi-Modal
Deep Learning Framework
for Investigating the Influences of Dynamic Environmental Exposure
on Momentary Stress
Urban stressors pose
critical public health concerns
by adversely
affecting residents’ mental health. However, past studies have
mostly focused on single-modal stressors under static exposure paradigms,
with limited exploration of nonlinear environment-stress relationships.
This study proposes an explainable multimodal deep learning framework
that integrates remote sensing imagery (RSI), street-view imagery
(SVI), mobile sensor data, and points of interest (POIs) to accurately
predict and explain momentary stress in urban environments. Using
4342 momentary stress records and 125,440 min-level environmental
exposure records collected in Hong Kong, we validated the framework,
achieving an accuracy of 78.26% and an AUC-ROC of 82.77%. A multilevel
gradient-based explainability analysis reveals that (i) environmental
exposure within the most recent 25 min exerts the strongest influence
on momentary stress and notable spatial heterogeneity exists in stress
prediction, highlighting the importance of capturing exposure dynamics;
(ii) specific environmental thresholds were identified, including
55 dBA for noise, 25 μg/m3 for PM2.5,
32 °C for temperature, 40%–70% for humidity, and 25% for
greenery visibility; and (iii) from an aerial perspective, open spaces
consistently suppress stress, while the influence of buildings varies
depending on surrounding spatial configuration. This study provides
an integrative and explainable tool offering actionable insights for
public health interventions.
1Introduction
Urban stress has emerged
as a critical public health concern, with
various environmental exposures being stressors for urban residents.
These exposures encompass greenery deprivation, noise pollution, air
pollution, heatwaves, and high-density built environment, all of which
can trigger stress response.−
These stressors can provoke psychological and physiological stress
responses, such as hypothalamic-pituitary-adrenal axis activation,
autonomic nervous system dysregulation, and chronic low-grade inflammation,
which are associated with various detrimental health outcomes, including
mental health disorders, cardiovascular disease, metabolic dysfunction,
and cognitive decline.−
The field of urban stress research is experiencing
a paradigm shift.
Traditionally, the focus has mostly been on chronic stress and its
association with static environmental characteristics. The conventional
static research paradigm faces methodological challenges of the uncertain
geographic context problem (UGCoP) and the neighborhood effect averaging
problem (NEAP)., Static measures fail to capture
the spatiotemporal variability of an individual’s daily mobility,
ignoring the fact that environmental exposure is not constant but
fluctuates dynamically as individuals move through diverse urban spaces.−
However, there is growing recognition of the importance of momentary
mental wellbeing. It refers to a person’s psychological state
as experienced at the moment and in context, encompassing momentary
affect, mood, and stress, and typically assessed through brief self-reported
momentary ratings.−
Momentary stress is a commonly assessed aspect of
momentary mental wellbeing and is closely linked to environmental
stressors.−
It has been widely operationalized using brief self-report
measures, allowing temporally immediate and context-specific assessment
that is sensitive to dynamic changes in real-world daily life. This
matters for urban stress research because stressors are transient,
varying from minute to minute as residents move through the city.
Temporal immediacy, situational specificity, and dynamic responsiveness
therefore become essential properties of the measure, allowing momentary
assessments to reveal exposure-response relationships that chronic
or retrospective measures average out.
Ecological momentary assessment (EMA) has emerged as the gold-standard
methodology for capturing momentary stress, enabling us to link real-time
environmental exposures with instantaneous stress responses.,, Such an approach facilitates
more nuanced analysis of the complex environment-stress relationship.
Recent studies have leveraged massive spatiotemporal data (e.g., remote
sensing imagery [RSI], street-view imagery [SVI], points of interest
[POIs], and GPS-enabled mobile sensor data) to extract urban stressors
and stress-relief elements, pairing these with EMA-measured momentary
stress to reconstruct urban environment-stress scenarios.,−
Deep learning has further been applied to fuse on-body, environmental,
and location sensor streams for inferring emotional states.,, However, existing research predominantly
focuses on single-modal approaches (e.g., greenery derived from RSI
or SVI, noise or air pollution captured by mobile sensors) with limited
integration of multimodal urban environmental data in momentary stress
studies. This gap hinders our ability to accurately model the relationship
between urban environments and momentary stress. Different urban modalities
offer complementary perspectives on the urban environment. For instance,
SVI provides fine-grained information about eye-level visual stressors
but lacks consideration of spatial morphology. RSI enhances eye-level
views by providing consistent aerial perspectives for analyzing spatial
relationships and landscape patterns. Similarly, POIs and activity diaries can provide essential contextual
information about urban functions and activities where momentary stress
is present. For example, high noise levels in residential areas may
constitute a stressor, whereas the same noise levels in restaurants
might have neutral or even negative associations with stress. Further,
although various statistical models (e.g., linear models, generalized
linear models [GLMs]) have been employed to examine urban environment-momentary
stress relationship,−
,−
,
the complex nonlinear response
curves and time-lag effects characterizing environment-stress dynamics
remain insufficiently explored. Traditional linear approaches may
fail to capture threshold effects and interaction effects among multiple
environmental stressors, and the lagged physiological and psychological
responses to environmental exposures.
To address these limitations, this study proposes an innovative
multisource fusion framework that integrates SVI, RSI, POIs, and mobile
sensor data, employing deep learning techniques to model and explain
residents’ momentary stress. Moving beyond single-modal and
linear analyses, the framework provides a methodological foundation
for examining the nonlinear, time-lagged, spatially heterogeneous,
and morphological associations between urban environmental exposures
and momentary stress. We collected 2 days of EMA momentary stress
data from 800 participants in Hong Kong, yielding 4342 momentary stress
records, along with GPS trajectories, noise levels, PM2.5 concentrations, temperature, humidity measurements, and activity
contexts from the preceding 30 min, totaling 125,440 min-level records.
Corresponding to these GPS locations, we obtained 19,420 remote sensing
and street-view images, as well as POI compositions around geographic
coordinates. Leveraging pretrained state-of-the-art models to extract
image embeddings and integrating deep learning architectures, we developed
a multimodal fusion model that enables both the prediction of momentary
stress and the explanation of nonlinear relationships between environmental
exposures and stress responses.
2Materials and Methods
2.1Data
2.1.1Mobile Survey Data
Mobility-based
data from 800 participants was collected between November 2021 and
March 2023. Participants live in four areas: Sha Tin, Central and
Western, Kwai Tsing, and Kwun Tong. Each area consists of several
census tracts in Hong Kong. These four areas were selected to encompass
the extensive environmental diversity of Hong Kong (see Text S1). Participants were selected through
a stratified sampling method informed by the local population census
(Table S1), and all provided written informed
consent. The recruitment and survey procedures are described in detail
in Text S2. Ethical approval was obtained
from the Survey and Behavioral Research Ethics Committee at the authors’
university (Protocols SBRE-19-123 and SBRE(R)-21-005). Each participant
was equipped with a device set for a 48 h monitoring period spanning
1 weekday and 1 weekend day: a GPS-enabled smartphone (Handy, Android),
a portable noise meter (SLM-25) recording the A-weighted equivalent
continuous sound level (LAeq, dBA), and an ambient sensor (AirBeam)
monitoring PM2.5 (μg/m3), temperature
(°F), and humidity (%). Full instrument standards are listed
in Text S2. This 48 h duration design balanced
coverage of typical weekday and weekend contexts with the burden of
continuous multisensor monitoring. Similar 48 h designs have been
used in mobility-based environmental health studies.,,, Moreover, participants received ecological momentary assessment
(EMA) prompts at three fixed time points daily (12:00, 16:00, 20:00)
to report momentary stress levels, and completed an activity-travel
diary each evening. These time points were selected to span midday,
late afternoon, and evening while providing comparable assessments
across participants and limiting interruptions. Momentary stress was
assessed with a single item, “Do you feel stressed right now?”,
rated on a 6-point scale from 1 (“not at all”) to 6
(“very severe”). These prompts were signal-contingent,
delivered at fixed times rather than triggered by specific events,
capturing momentary stress at the sampled times rather than emergent
responses to discrete stressor events. Details of the stress measure,
the activity-travel diary, and assessment completeness are provided
in Text S2. Since this study focuses on
momentary stress and immediate environmental exposure, we extracted
GPS coordinates, LAeq, PM2.5, temperature, and humidity
from the 30-min window preceding each EMA record and integrated them
into minute-level sequences. For the predictive analysis, the 6-point
stress responses were recoded into a binary outcome (no stress vs
stress), as respondents have difficulty distinguishing intermediate
and ambiguous scores. Subjective responses to the urban environment
are complex judgments that are typically captured through coarse perceptual
constructs rather than fine continuous scores. A sensitivity analysis also confirmed the binary formulation
to be the most reliable representation (Table S3). The resampling, aggregation, and cleaning procedures,
together with the associated sensitivity analyses, are detailed in Text S3. The data structure of the cleaned and
integrated data set remained largely consistent with that of the raw
data (Tables S1 and S2).
2.1.2Remote Sensing Imagery, Street-View Imagery,
and Points of Interest
The cleaned GPS coordinates (Section
) yielded
19,420 unique coordinate pairs, which served as the spatial basis
for acquiring RSI, SVI, and POI. High-resolution remote sensing imagery
was obtained from Mapbox’s global raster imagery repository,
a composite data set that integrates aerial products from a range
of providers, including the National Aeronautics and Space Administration
(NASA), the United States Geological Survey (USGS), Maxar, and Nearmap.
Following a conventional approach, for
each location, we retrieved image tiles at zoom level 17 to capture
the surrounding urban context. Each tile covers a 600 m × 600
m ground area, with a spatial resolution of 0.6 m and a size of 1024
× 1024 pixels. Eye-level SVI was obtained from Google Maps as
640 × 640-pixel images captured at four azimuth angles per location
and stitched into a composite panoramic view. POIs were obtained from
Amap, a widely used digital mapping platform in Hong Kong, and grouped
into eight functional categories based on the city’s spatial
functional classifications (Table S6).
For each location, we computed the POI composition and the total number
of POIs within a 300 m buffer. Further
acquisition details are provided in Text S4.
2.2Multimodal Deep Learning Modeling Framework
This study proposes a multimodal deep learning approach for modeling
momentary stress in urban environments, aiming to achieve accurate
prediction and interpretation by integrating complementary mobile
sensor data, multiview imagery, and pertinent contextual features
(see the GitHub repository for specific code: https://github.com/GEO-AI-for-health/Multi-Modal-Deep-Learning-Framework).
Figure
provides an overview of the framework. The
aerial RSI captures the surrounding urban form and land cover, such
as the spatial configuration of built-up, green, and open space. The
RSI is encoded by a CLIP-based vision encoder, a pretrained image model that converts each image into
a numerical feature vector, with a center-aware spatial adapter that emphasizes the participant’s immediate
surroundings. This vector encodes the morphological characteristics
of the surrounding built environment that inform the prediction. The
eye-level SVI captures the streetscape a person actually sees, including
the visible proportions of greenery, sky, buildings, and traffic that
prior work links to psychological restoration or stress., The SVI is processed by semantic segmentation, which labels every pixel by object type such as road, building,
or vegetation. The mobile-sensor readings (noise, PM2.5, temperature, and humidity) capture in situ physical exposures with
established links to discomfort and stress,−
whereas the POI composition,
activity context, and socioeconomic status (SES) capture the functional,
behavioral, and personal setting in which exposure occurs. These structured
features are processed by a group-wise multilayer perceptron (MLP),
a standard feed-forward network applied to each feature group. The
GPS coordinates are encoded by a multiscale random Fourier feature
encoder,−
which represents coordinates as smooth spatial features
at several scales. Because exposure varies over short time scales,
the encoded modalities are computed at each of the 30 1-min steps
preceding a stress report, concatenated, and modeled sequentially
by a two-layer gated recurrent unit (GRU), a recurrent network that captures how recent exposure history relates
to momentary stress. Full architectural details, including layer dimensions,
are provided in Text S5.
For RSI, we used the CLIP-RSICD-v2 vision encoder
to convert each
satellite image into a numerical embedding, as shown in eq
1ERSI=fCLIP‐RSICD(Resize(IRSI))∈R50×768where I
RSI denotes
the input remote sensing image and E
RSI represents the resulting embedding, comprising one CLS token and
49 patch tokens (7 × 7 spatial grid). This step converts each
satellite image into a fixed-length numerical representation of its
visual content, which the center-aware spatial adapter then compresses
into the 80-dimensional RSI embedding used downstream (Text S5).
For SVI, we used Mask2Former
to assign a semantic label to every
pixel of the panoramic image, as formulated in eq
2MSVI=fMask2Former(ISVI)∈{0,1,...,18}H×Wwhere I
SVI denotes
the input panoramic SVI and M
SVI is the
predicted semantic label map. The pixel-level predictions were then
aggregated into category-wise proportions, as defined in eq
3xSVI=[ncH×W]c∈Cwhere n
c = |{(i,j):M
SVI(i,j) = c}|denotes the pixel count for category c, and C = {road, sidewalk, building, sky,
greenery, person, rider,
vehicle}.
The SVI indicators, the mobile-sensor readings, the
POI compositions,
the activity context, and SES were organized into five semantically
coherent feature groups and processed by a group-wise MLP. The GPS
coordinates were encoded by the multiscale random Fourier feature
encoder. At each 1-min step, the RSI, structured, and GPS embeddings
were concatenated and processed by the two-layer GRU, followed by
masked mean pooling to handle variable-length sequences and a linear
classification head. Because the stress labels were class-imbalanced,
the model was trained with a weighted focal loss, as defined in eq
4L=−1N∑i=1Nαyi(1−pt,i)γlog(pt,i)where α
yi is the class-balancing weight, p
t,i is the
predicted
probability for the ground-truth class, and γ is the focusing
parameter. The model was optimized with Adam with decoupled weight
decay.
To systematically evaluate
the contribution of each architectural
component and input modality, we conducted two ablation studies, varying
the spatial adapter and the temporal encoder and removing one input
modality at a time. Model performance was evaluated by 10-fold cross-validation
using accuracy, precision, recall, F1-score, and
area under the receiver operating characteristic curve (AUC-ROC).
The compared configurations and the cross-validation setup are detailed
in Text S5.
2.3Model
SHAP-Based Explainability Analysis
To provide explainable
insights into the environmental determinants
of momentary stress, we employed gradient explainer. It is a gradient-based SHAP (SHapley Additive exPlanations)
method that computes expected gradients by averaging over background
baselines sampled from the training data. For a given input x and background distribution D, the SHAP
attribution for each feature j is defined in eq
5ϕj(x)=Ex′∼D[(xj−xj′)·∂f(x̃)∂x̃j|x̃=x′+α(x−x′)],α∼U(0,1)where f(·) denotes the
stress-class logit. Positive values indicate stress-promoting contributions,
while negative values indicate stress-suppressing effects.
Building
on these attributions, we conducted four levels of explainable analysis
(Figure
). First,
at the feature level, we examined the structured inputs at the time
step closest to the EMA report (T = 0). Features
were ranked by their mean absolute SHAP value to indicate overall
importance. Dependence plots, fitted with a generalized additive model
(GAM), were used to reveal nonlinear, threshold-type relationships
between a feature’s value and its SHAP contribution. Second,
at the modal-temporal level, we examined how the importance of each
modality evolves across the 30 1-min steps, visualized as a temporal
heatmap. Third, at the spatial level, we mapped the SHAP attribution
of each GPS location geographically, distinguishing stress-promoting
from stress-suppressing places. Fourth, at the image level, we attributed
predictions to specific regions of the satellite imagery on the 7
× 7 patch grid and overlaid these attributions on the original
images. Further details, including the background-sampling procedure,
are provided in Text S6.
3Results
3.1Model Performance and Ablation Experiments
To validate the effectiveness of the model architectural components,
we compared combinations of representative spatial adapter types (NoAdapter,
Attention, CNN, MobileNet without center-aware weighting, and center-aware
MobileNet) and temporal encoders (GRU, LSTM, and MLP). Model performance
was evaluated using accuracy, precision, recall, F1-score, and AUC-ROC. Table
presents the mean performance metrics across 10-fold cross-validation
for different spatial adapter and temporal encoder configurations.
The results indicate that MobileNet is the optimal spatial adapter
for RSI feature compression, and GRU is the most effective temporal
encoder for capturing temporal dependencies. Further, incorporating
the center-aware mechanism into MobileNet yielded an improvement of
approximately 2% in accuracy, 7% in precision, and 2.5% in AUC-ROC,
despite modest declines in recall and F1-score. The
confusion matrix and ROC curve further corroborate these findings
(Figures S1 and S2).
1Model Comparison by Varying Spatial
Adapters and Temporal Encoders
metric
model accuracy precision recall F1-score ROC-AUC
NoAdapter-GRU 0.6856 0.7239 0.7066 0.7152 0.7316
Attention-GRU 0.6355 0.6813 0.6527 0.6667 0.6473
CNN-GRU 0.6856 0.7239 0.7066 0.7152 0.7316
MobileNet-MLP 0.7291 0.7945 0.6946 0.7412 0.8249
MobileNet-LSTM 0.7492 0.7987 0.7365 0.7664 0.8242
MobileNet (w/o center-aware)-GRU 0.7625 0.7474 0.8683 0.8033 0.8133
MobileNet-GRU 0.7826 0.8148 0.7904 0.8024 0.8277
To assess the effectiveness of multimodal
features
in predicting
momentary stress, we conducted a modality ablation study using the
optimal model (center-aware MobileNet-GRU), in which we began with
the full model using all seven modalities and then removed one modality
at a time to quantify the marginal contribution of each. As shown
in Table
, the modality
ablation study reveals that RSI embeddings are the strongest individual
predictors. The deep model relies heavily on these embeddings; removing
the RSI modality leads to substantial performance degradation across
all metrics, with precision declining by approximately 10% and accuracy
by 8.7%. This highlights the powerful advantage of RSI in capturing
the surrounding urban morphology (e.g., building density, landscape
patterns) from an aerial perspective for momentary stress prediction.
GPS embeddings emerge as the second strongest predictors. Removing
this modality results in a 5.9% loss in precision and a 5.4% loss
in accuracy, suggesting that geographic location exerts a considerable
influence on momentary stress and implying notable spatial heterogeneity
in stress experiences across urban areas.
2Modality
Ablation Model Performance
metric
modality accuracy precision recall F1-score ROC-AUC
all 0.7826 0.8148 0.7904 0.8024 0.8277
(w/o) GPS 0.7291 0.7560 0.7605 0.7582 0.8053
(w/o) RSI 0.6957 0.7159 0.7545 0.7347 0.7544
(w/o) SVI 0.7559 0.7733 0.7964 0.7847 0.8147
(w/o) mobile sensors 0.7759 0.7874 0.8204 0.8035 0.8284
(w/o) POIs 0.7458 0.7078 0.9281 0.8031 0.7902
(w/o) activity contexts 0.7425 0.7922 0.7305 0.7601 0.8115
(w/o) personal SES 0.7324 0.7843 0.7186 0.7500 0.8165
Activity contexts and
personal SES rank as the third
and fourth
most influential modalities, respectively, indicating that the type
of activity being undertaken and individual-level characteristics
are also non-negligible predictors. SVI indicators and POI composition
follow in importance. Their removal also leads to measurable performance
decline, demonstrating that eye-level streetscape features and urban
functional contexts serve as valuable complements for accurate momentary
stress prediction. Mobile sensor data exhibits the smallest impact
on model performance upon removal. This may be because the environmental
conditions captured by these sensors (e.g., noise and air quality)
are partially encoded within the RSI, SVI, and POI modalities. Nevertheless,
mobile sensor data contributes to a non-negligible momentary stress
prediction improvement, particularly in precision. These observations
are further supported by the confusion matrix and ROC curve analyses
(Figures S3 and S4).
3.2Spatiotemporal Patterns of Environmental Exposure
Effects on Momentary Stress
To investigate the time-lagged
effects of environmental exposure on momentary stress prediction,
we computed input-gradient attributions for GPS and RSI modalities
and applied Gradient Explainer for structured feature groups based
on the optimal MobileNet-GRU model. The resulting importance profiles
across the 30-min window were visualized as a temporal heatmap (Figure
a). The results reveal
that all modalities exhibit relatively consistent temporal patterns:
environmental exposure at the most recent time step (T0) exerts the
strongest influence on momentary stress prediction, with the effect
diminishing progressively further back in time. The temporal heatmap
displays a distinct inflection pattern, with the specific transition
point varying slightly across modalities. Overall, environmental exposure
within the most recent 25-min window (T-24 to T0) contributes substantially
to momentary stress prediction, whereas exposure beyond 25 min (T-25
to T-29) shows comparatively weaker influence. Notably, the inflection
points for activity contexts and SVI indicators occur earlier (around
T-26), suggesting a stronger temporal dependency in the influence
of these features. In contrast, mobile sensor data exhibits a more
proximal inflection point (around T-21), implying a more immediate
effect on momentary stress prediction. This may be attributable to
the greater temporal volatility inherent in these sensor measurements.
To explore the spatial patterns of momentary stress
based on the
deep learning model, we conducted GPS SHAP-based spatial analysis,
deriving location-level attributions and mapping them geographically
to distinguish between stress-promoting and stress-suppressing areas. Figure
b illustrates the
spatially varying influence of geographic coordinates on momentary
stress prediction, where blue indicates locations that reduce the
predicted probability of stress and red indicates the opposite. The
results reveal pronounced spatial heterogeneity in momentary stress,
with geographically proximate locations exhibiting markedly different,
and even opposing, influences on stress prediction. This may be related
to Hong Kong’s highly mixed land use patterns, elevated building
density, and high plot ratios, which give rise to considerable heterogeneity
in the spatial context of the urban landscape. Further, the results
indicate that areas connecting suburban districts and urban clusters
tend to be associated with lower predicted stress probabilities, whereas
central urban areas exhibit the opposite pattern.
3.3Feature Importance, Nonlinear Relationships,
and Spatial Attribution in Momentary Stress Prediction
To
explain the importance of and nonlinear relationships between structured
features and momentary stress prediction within the deep learning
model, we applied feature-level SHAP analysis at the time step closest
to the EMA record (T = 0), as the temporal importance
analysis (Section
) identified this step as the most influential. This yielded global
importance rankings based on mean absolute SHAP values, alongside
dependence plots fitted with GAMto characterize the nonlinear associations
between individual features and stress prediction. As shown in Figure
a, the results indicate
that activity contexts and personal SES are prominent among the top-ranked
features (i.e., the SHAP values span the widest ranges): work/study
is the most important predictor, followed by age, with family income
and education level also ranking in the top five. Notably, restaurant
POIs rank third overall, highlighting the relevance of surrounding
dining-related urban functions to momentary stress prediction. Among
the SVI indicators, greenery ranks highest (sixth overall), suggesting
that visible green space is the most salient streetscape feature for
stress prediction. Mobile sensor readings, such as noise and temperature,
also appear in the upper tier, whereas SVI indicators related to the
built infrastructure (e.g., building, sidewalk, sky) and POI categories,
such as industry, recreation/tourism, and total POI count, rank near
the bottom, indicating relatively limited marginal contributions.
Figure
b
displays
the SHAP dependence plots for all 30 structured features. Among activity
contexts, work/study exhibits the strongest association, with engagement
in work or study activities substantially increasing the predicted
probability of stress. Personal affairs and housework also show a
positive association, with engagement in personal affair or housework
elevating stress prediction. Travel displays a modest positive trend,
suggesting that commuting may slightly elevate stress levels. Leisure
shows a weak negative association, indicating a marginal stress-buffering
effect. For personal SES, age demonstrates a clear negative nonlinear
trend, with younger participants associated with higher predicted
stress and the effect gradually attenuating with increasing age. Both
family income and education level display nonlinear U-shaped patterns,
where moderate levels are associated with the lowest predicted stress,
while both lower and higher ends correspond to elevated stress predictions.
Females are associated with slightly higher stress predictions than
males.
For mobile sensor readings (ambient environment), noise
shows a
positive trend with a notable threshold around 55 dBA, beyond which
the predicted probability of stress increases markedly. Temperature
displays a weak U-shaped association, though the left branch (lower
temperatures) is less pronounced due to the limited availability of
low-temperature observations in Hong Kong’s subtropical climate.
The effect becomes more evident above approximately 90 °F (32.22
°C), where higher temperatures are associated with a sharper
increase in stress prediction. Humidity demonstrates a more pronounced
U-shaped pattern, with thresholds at approximately 40% and 70%. Humidity
levels below 40% or above 70% are both associated with elevated stress
predictions, while moderate humidity corresponds to the lowest stress.
PM2.5 shows a largely monotonic positive association, with
a discernible threshold around 25 μg/m3, above which
the predicted probability of stress increases substantially.
For SVI indicators, greenery exhibits a clear negative relationship,
with a notable threshold at approximately 25%. Once the proportion
of visible greenery in the streetscape exceeds this level, the predicted
probability of stress decreases substantially. Vehicles show a negative
linear trend, where greater vehicle presence in the streetscape is
associated with lower predicted stress. Roads display a weak positive
association. Rider shows a weak inverted-U pattern. Buildings, persons,
sidewalks, and sky display relatively flat curves with limited effects.
For POI composition, restaurant ranks notably high with a negative
nonlinear trend, where a higher proportion of restaurant POIs in the
surrounding area is associated with reduced stress prediction, suggesting
a potential stress-buffering effect of dining-related urban amenities.
Shopping-related POIs exhibit a positive association, with a higher
proportion of shopping-related POIs corresponding to increased stress
prediction. Residence-related POIs display a weak U-shaped pattern,
with both lower and higher proportions slightly elevating stress.
Company-related POIs show a negative association, where a higher proportion
of company-related POIs is linked to reduced stress prediction. Entertainment
and transportation POIs both exhibit positive associations with discernible
thresholds at approximately 15% and 40%, respectively, beyond which
the predicted probability of stress increases notably. Industry, total
POI count, recreation/tourism POIs, and the remaining categories display
relatively flat dependence curves with limited nonlinear effects.
To explain the spatial attribution of surrounding urban features
from an aerial perspective on momentary stress prediction, we computed
the mean SHAP value across all dimensions for each spatial patch of
the RSI embeddings and overlaid the resulting attribution maps onto
the original RSI. Figure
presents 12 representative patch-level RSI SHAP attribution
maps. Several consistent spatial patterns emerge across the selected
images. Vegetation and green spaces are predominantly associated with
blue attributions. Tree canopies, vegetated hillsides, and park areas
consistently exhibit stress-suppressing effects, corroborating the
strong negative relationship between greenery and stress identified
in the feature-level analysis. Open spaces and recreational facilities,
such as sports grounds and waterfront areas, are also highlighted
in blue, consistent with the restorative environment hypothesis. Road
infrastructure and transportation nodes exhibit context-dependent
attributions. Major multilane roads and highway interchanges tend
to show red attributions, likely reflecting traffic-related stressors.
However, quieter road segments adjacent to vegetation may show neutral
or blue attributions, suggesting that the surrounding environmental
context modulates the stress influence of transportation infrastructure.
Buildings display heterogeneous attribution patterns that appear to
be shaped by urban morphological context rather than mere presence.
Densely packed high-rise clusters and buildings situated near major
road intersections tend to exhibit red attributions, whereas lower-density
buildings surrounded by greenery or open space are more frequently
associated with blue or neutral attributions. This suggests that the
model captures the broader morphological context, including building
density, spatial arrangement, and proximity to green or open spaces,
rather than simply responding to the presence of buildings.
4Discussion
This study proposed a multimodal
deep learning framework that innovatively
integrates SVI, RSI, POIs, and mobile sensor data to model and explain
urban residents’ momentary stress. Using mobile survey data
collected from 800 participants in Hong Kong and corresponding massive
spatial data, we validated the framework’s reliability, with
the optimal model configuration achieving an accuracy of 78.26% and
an AUC-ROC of 82.77%. The modality ablation study demonstrates that
the full multimodal model achieves the highest accuracy, confirming
that the proposed framework successfully fuses complementary perspectives
from multiple data sources and overcomes the limitations inherent
in single-modal approaches. To our knowledge, this is the first study
to simultaneously fuse multiperspective imagery (aerial and eye-level),
mobile sensor data, and urban functional contextual features within
a unified deep learning architecture for momentary stress prediction
and explanation, representing a methodological complement to prior
single-modal or statistical approaches.,,, Rather than serving
as a causal identification framework, this approach complements experimental
and observational designs by enabling the characterization of nonlinear,
time-lagged, spatially heterogeneous, and urban morphological patterns
in exposure-stress relationships under real-world mobility conditions.
A key innovation of this framework lies in its ability to move
beyond conventional feature-engineered representations of the urban
environment. Unlike previous studies that relied on manually extracted
indicators from RSI or SVI,,, our approach leverages pretrained vision encoders to extract high-dimensional
embeddings that preserve rich spatial and semantic information. The
modality ablation study confirms that RSI embeddings constitute the
strongest predictor, highlighting the critical role of aerial-perspective
urban morphology in momentary stress prediction. GPS embeddings emerge
as the second most important modality, underscoring the significance
of dynamic spatial exposure in stress prediction. This finding provides
direct empirical support for the theoretical concerns raised by the
UGCoP and NEAP,, demonstrating that individuals’
real-time geographic locations and the environmental contexts they
encounter along their trajectories are critical determinants of momentary
stress that static residential-based assessments would fail to capture.
Beyond the multimodal fusion strategy, the design of a computationally
efficient yet effective deep learning architecture tailored for moderate-scale
spatiotemporal health data constitutes another contribution of this
study. The architectural comparison identifies the center-aware MobileNet-style
spatial adapter, group-wise MLP, and GRU temporal encoder as the optimal
configuration. Specifically, the effectiveness of the center-aware
mechanism provides empirical support for Tobler’s First Law
of Geography in the context of stress modeling, confirming that nearby
urban features exert a stronger influence on momentary stress than
peripheral ones. The lightweight MobileNet-style
adapter and GRU encoder, with their parsimonious parametrization,
effectively balance model expressiveness and generalizability under
limited sample sizes. The group-wise MLP respects the inherent heterogeneity
among structured feature groups by learning dedicated nonlinear transformations
for each semantic category before cross-group integration, capturing
group-specific patterns that a unified processor would likely obscure.
The third contribution is the multilevel SHAP-based explainability
framework, which provides comprehensive insights spanning temporal
dynamics, spatial patterns, feature importance, and urban morphological
attribution. While past study called for greater attention to the
temporal dynamics of environment-stress relationships, most of the existing studies have largely treated
environmental exposure as static contexts. We find instead that the
influence of exposure is concentrated within roughly 25 min before
the stress report and decays thereafter, and that different modalities
act on different temporal scales. This gives a concrete basis for
choosing the temporal resolution of exposure assessment in future
EMA designs. Second, the relationship is strongly nonlinear. Rather
than varying smoothly, several exposures show threshold effects, with
stress rising sharply once noise exceeds about 55 dBA or PM2.5 exceeds about 25 μg/m3, and falling once visible
greenery surpasses about 25%. The noise threshold is consistent with
WHO community-noise guidance, while the
PM2.5 threshold corresponds to the guideline value in the
2005 WHO air quality guidelines. The
greenery pattern is also consistent with previous evidence on the
restorative effects of urban green environments., The U-shaped patterns for income and education further reflect the
socioeconomic complexity noted in the health literature. Third, the built environment matters through
its morphology rather than its constituent parts. Greenery and open
spaces are consistently associated with lower predicted stress, whereas
the influence of roads and buildings depends on their surroundings,
as major roads and dense high-rise clusters near intersections are
associated with higher stress while quieter road segments and lower-density
buildings embedded in greenery are not. This indicates that the same
feature can carry opposite stress implications depending on its spatial
configuration, so planning should target morphological context rather
than individual features in isolation. Taken together, the short effective
exposure window and the fine-grained spatial attributions point toward
real-time, space-specific strategies for monitoring and relieving
environmental stress, complementing the static, residence-based assessments
behind most current policy.
This study has several limitations.
First, the binary stress classification,
while improving discriminability, sacrifices granularity in stress
intensity. Second, the cross-sectional design within a single city
limits generalizability. The specific thresholds we report should
therefore be interpreted as context-specific findings for high-density
Hong Kong rather than as universal values, and the transferable contribution
of this study lies in the methodological framework, which provides
a reproducible way of characterizing such nonlinear, time-lagged,
spatially heterogeneous, and morphological patterns in other settings.
Future studies should validate the framework and re-estimate these
patterns across diverse urban contexts and populations. Third, the
30 min pre-EMA window, while capturing immediate exposure, may not
fully account for cumulative or delayed stress effects. Although the
48-h duration survey captured daily patterns across both weekday and
weekend contexts, it may have missed less frequent or nonroutine activities,
exposure contexts, and their associated stress responses. Future research
should explore longer temporal windows and continuous stress monitoring
technologies to further advance our understanding of dynamic environment-stress
interactions in urban settings. Moreover, the fixed, signal-contingent
sampling captures momentary stress at predetermined times rather than
emergent responses to discrete stressor events, which event-contingent
designs could address in future work. Fourth, the study relied on
self-reported momentary stress rather than physiological markers,
and some reactivity inherent to repeated self-report cannot be fully
excluded. Incorporating objective physiological indicators is an important
direction for future research.
Supplementary Material
Basner M. Babisch W. Davis A. Brink M. Clark C. Janssen S. Stansfeld S. Auditory and
Non-Auditory Effects
of Noise on Health Lancet 2014 383 9925 1325 1332 10.1016/S0140-6736(13)61613-X PMC3988259 24183105
De
Vries S. Van Dillen S. M. E. Groenewegen P. P. Spreeuwenberg P. Streetscape Greenery and Health: Stress, Social Cohesion
and Physical Activity as Mediators Soc. Sci.
Med. 2013 94 26 33 10.1016/j.socscimed.2013.06.030 23931942
Cheng Y. Yu Z. Xu C. Manoli G. Ren X. Zhang J. Liu Y. Yin R. Zhao B. Vejre H. Climatic and Economic
Background Determine the Disparities in Urbanites’ Expressed
Happiness during the Summer Heat Environ. Sci.
Technol. 2023 57 30 10951 10961 10.1021/acs.est.3c01765 37458710
Wang P. Xiang H. Guo M. Shi Y. Chong K. C. Huang J. Ho H. C. Indoor
and Roadside Exposures to
Traffic Noise and Cardiovascular Mortality and the Role of Urban Environmental
Stressors across a High-Rise, High-Density Environment: A Case Study
in Hong Kong Build. Environ. 2023 229 109945 10.1016/j.buildenv.2022.109945
Nobile F. Forastiere A. Michelozzi P. Forastiere F. Stafoggia M. Long-term
exposure to air pollution and incidence of
mental disorders. A large longitudinal cohort study of adults within
an urban area Environ. Int. 2023 181 108302 10.1016/j.envint.2023.108302 37944432
Barnor K. The impact
of air pollution on mental health: Evidence from Texas J. Environ. Econ. Manag. 2025 133 103198 10.1016/j.jeem.2025.103198
Lederbogen F. Kirsch P. Haddad L. Streit F. Tost H. Schuch P. Wüst S. Pruessner J. C. Rietschel M. Deuschle M. City Living
and Urban
Upbringing Affect Neural Social Stress Processing in Humans Nature 2011 474 7352 498 501 10.1038/nature10190 21697947
Engemann K. Pedersen C. B. Arge L. Tsirogiannis C. Mortensen P. B. Svenning J. C. Residential Green Space in Childhood
Is Associated with Lower Risk of Psychiatric Disorders from Adolescence
into Adulthood Proc. Natl. Acad. Sci. U.S.A. 2019 116 11 5188 5193 10.1073/pnas.1807504116 PMC6421415 30804178
Kivimäki M. Steptoe A. Effects of Stress on
the Development and Progression
of Cardiovascular Disease Nat. Rev. Cardiol. 2018 15 4 215 229 10.1038/nrcardio.2017.189 29213140
Kwan M.-P. The Uncertain
Geographic Context Problem Ann. Assoc. Am.
Geogr. 2012 102 5 958 968 10.1080/00045608.2012.687349
Kwan M.-P. The Neighborhood
Effect Averaging Problem (NEAP): An Elusive Confounder of the Neighborhood
Effect Int. J. Environ. Res. Public Health 2018 15 9 1841 10.3390/ijerph15091841 PMC6163400 30150510
Cai J. Kwan M.-P. The Universal Neighborhood Effect Averaging in Mobility-Dependent
Environmental Exposures Environ. Sci. Technol. 2024 58 45 20030 20039 10.1021/acs.est.4c02464 PMC11562727 39360926
Liu Z. Liu C. Mostafavi A. Beyond Residence:
A Mobility-Based Approach for Improved
Evaluation of Human Exposure to Environmental Hazards Environ. Sci. Technol. 2023 57 41 15511 15522 10.1021/acs.est.3c04691 PMC10862537 37791816
Li Q. Liang S. Xu Y. Liu L. Zhou S. Assessing
Personal Travel Exposure to On-Road PM2.5 Using Cellphone Positioning
Data and Mobile Sensors Health Place 2022 75 102803 10.1016/j.healthplace.2022.102803 35443227
Shiffman S. Stone A. A. Hufford M. R. Ecological
Momentary Assessment Annu. Rev. Clin. Psychol. 2008 4 1 32 10.1146/annurev.clinpsy.3.022806.091415 18509902
Johnson T. Kanjo E. Woodward K. DigitalExposome:
Quantifying Impact
of Urban Environment on Wellbeing Using Sensor Fusion and Deep Learning Comput. Urban Sci. 2023 3 14 10.1007/s43762-023-00088-9 PMC10025809 36970599
Su L. Zhou S. Kwan M.-P. Chai Y. Zhang X. The Impact
of Immediate Urban Environments on People’s Momentary Happiness Urban Stud. 2022 59 1 140 160 10.1177/0042098020986499
Gordon A. M. Mendes W. B. A Large-Scale Study of Stress, Emotions,
and Blood
Pressure in Daily Life Using a Digital Platform Proc. Natl. Acad. Sci. U.S.A. 2021 118 31 e210557311810.1073/pnas.2105573118 PMC8346904 34326265
Mennis J. Mason M. Ambrus A. Urban Greenspace Is Associated with
Reduced Psychological Stress among Adolescents: A Geographic Ecological
Momentary Assessment (GEMA) Analysis of Activity Space Landsc. Urban Plan. 2018 174 1 9 10.1016/j.landurbplan.2018.02.008 PMC5863919 29576668
Yu C. Kwan M.-P. Liu Y. Does Activity
Context and Its Temporality
Matter in the Stress-Relieving Effect of Greenspace? Evidence Based
on Individual Mobile Sensing Cities 2026 169 106526 10.1016/j.cities.2025.106526
van
Wel L. Huss A. Bachmann P. Zahner M. Kromhout H. Fröhlich J. Vermeulen R. Context-Sensitive Ecological Momentary
Assessments; Integrating Real-Time Exposure Measurements, Data-Analytics
and Health Assessment Using a Smartphone Application Environ. Int. 2017 103 8 12 10.1016/j.envint.2017.03.016 28351768
Rocha S. Antonacci C. Uy J. P. Gotlib I. H. The Effects of Daily
Air Pollution on Affect in Adolescents: An Ecological Momentary Assessment
Study J. Affect. Disord. 2026 403 121502 10.1016/j.jad.2026.121502 PMC12978298 41740753
Harari G. M. Gosling S. D. Understanding Behaviours in Context Using Mobile Sensing Nat. Rev. Psychol. 2023 2 12 767 779 10.1038/s44159-023-00235-3
Mahato K. Saha T. Ding S. Sandhu S. S. Chang A. Y. Wang J. Hybrid Multimodal Wearable Sensors
for Comprehensive Health Monitoring Nat. Electron. 2024 7 9 735 750 10.1038/s41928-024-01247-4
Wang L. Kwan M.-P. How Greenery Exposure
Influences Noise Perception across
Geographic Contexts Landsc. Urban Plan. 2025 263 105444 10.1016/j.landurbplan.2025.105444
Wang Q. R. Bell M. L. Zhang Y. Integrating
Mobility Data into Air
Pollution Research for Public Health Nat. Health 2026 1 280 289 10.1038/s44360-026-00056-7
Kanjo E. Younis E. M. G. Sherkat N. Towards Unravelling
the Relationship
between On-Body, Environmental and Emotion Data Using Sensor Information
Fusion Approach Inf. Fusion 2018 40 18 31 10.1016/j.inffus.2017.05.005
Kanjo E. Younis E. M. G. Ang C. S. Deep Learning Analysis
of Mobile
Physiological, Environmental and Location Sensor Data for Emotion
Detection Inf. Fusion 2019 49 46 56 10.1016/j.inffus.2018.09.001
Suel E. Bhatt S. Brauer M. Flaxman S. Ezzati M. Multimodal
Deep Learning from Satellite and Street-Level Imagery for Measuring
Income, Overcrowding, and Environmental Deprivation in Urban Areas Remote Sens. Environ. 2021 257 112339 10.1016/j.rse.2021.112339 PMC7985619 33941991
Browning M. H. E. M. Rigolon A. McAnirlin O. Yoon H. V. Where Greenspace
Matters Most: A Systematic Review of Urbanicity, Greenspace, and Physical
Health Landsc. Urban Plan. 2022 217 104233 10.1016/j.landurbplan.2021.104233
Ma J. Li C. Kwan M.-P. Kou L. Chai Y. Assessing Personal
Noise Exposure and Its Relationship with Mental Health in Beijing
Based on Individuals’ Space-Time Behavior Environ. Int. 2020 139 105737 10.1016/j.envint.2020.105737 32320901
Quinn C. Miller-Lionberg D. D. Klunder K. J. Kwon J. Noth E. M. Mehaffy J. Leith D. Magzamen S. Hammond S. K. Henry C. S. Volckens J. Personal Exposure to PM2.5 Black
Carbon and Aerosol Oxidative Potential Using an Automated Microenvironmental
Aerosol Sampler (AMAS) Environ. Sci. Technol. 2018 52 19 11267 11275 10.1021/acs.est.8b02992 PMC6203932 30200753
Zhang F. Zhou B. Liu L. Liu Y. Fung H. H. Lin H. Ratti C. Measuring Human Perceptions
of a Large-Scale Urban
Region Using Machine Learning Landsc. Urban
Plan. 2018 180 148 160 10.1016/j.landurbplan.2018.08.020
Yap W. Wu A. N. Miller C. Biljecki F. Revealing Building
Operating Carbon Dynamics for Multiple Cities Nat. Sustain. 2025 8 10 1199 1210 10.1038/s41893-025-01615-8
Wang , L. ; Kwan , M.-P. ; Song , L. Multi-Modal Deep
Learning Framework . GitHub , 2026 . https://github.com/GEO-AI-for-health/Multi-Modal-Deep-Learning-Framework (accessed Aug 17, 2026).
Radford , A. ; Kim , J.
W. ; Hallacy , C. ; Ramesh , A. ; Goh , G. ; Agarwal , S. ; Sutskever , I. Learning Transferable Visual
Models from Natural Language Supervision . In Proceedings of the 38th International Conference on Machine Learning ; PMLR, 2021 ; pp 8748 –8763 .
Sandler , M. ; Howard , A. ; Zhu , M. ; Zhmoginov , A. ; Chen , L.-C. MobileNetV2: Inverted Residuals
and Linear Bottlenecks . In Proceedings of
the IEEE Conference on Computer Vision and Pattern Recognition ; IEEE, 2018 ; pp 4510 –4520 .
Cheng , B. ; Misra , I. ; Schwing , A. G. ; Kirillov , A. ; Girdhar , R. Masked-Attention Mask Transformer
for Universal Image Segmentation . In Proceedings
of the IEEE/CVF Conference on Computer Vision and Pattern Recognition ; IEEE, 2022 ; pp 1290 –1299 .
Mühlematter D. J. Che L. Hong Y. Raubal M. Wiedemann N. UrbanFusion:
Stochastic Multimodal Fusion for Contrastive Learning of Robust Spatial
Representations arXiv 2025 arXiv:2510.13774 10.48550/arXiv.2510.13774
Tancik , M. ; Srinivasan , P. ; Mildenhall , B. ; Fridovich-Keil , S. ; Raghavan , N. ; Singhal , U. ; Ramamoorthi , R. ; Barron , J. T. ; Ng , R. Fourier Features Let Networks
Learn High Frequency Functions in Low Dimensional Domains . Advances in Neural Information Processing Systems 2020 ; Vol. 33 , pp 7537 –7547 .
Liu Z. Lao N. Wang Z. Jiao J. Mai G. GAIR: Location-Aware
Self-Supervised Contrastive Pre-training with Geo-Aligned Implicit
Representations ISPRS J. Photogramm. Remote
Sens. 2026 237 166 182 10.1016/j.isprsjprs.2026.04.035
Cho , K. ; Van
Merriënboer , B. ; Gulçehre , Ç. ; Bahdanau , D. ; Bougares , F. ; Schwenk , H. ; Bengio , Y. Learning
Phrase Representations Using RNN Encoder–Decoder for Statistical
Machine Translation . In Proceedings of the
2014 Conference on Empirical Methods in Natural Language Processing
(EMNLP) ; ACL, 2014 ; pp 1724 –1734 .
Loshchilov I. Hutter F. Decoupled Weight Decay Regularization arXiv 2017 arXiv:1711.05101 10.48550/arXiv.1711.05101
Erion G. Janizek J. D. Sturmfels P. Lundberg S. M. Lee S.-I. Improving
Performance of Deep Learning Models with Axiomatic Attribution Priors
and Expected Gradients Nat. Mach. Intell. 2021 3 7 620 631 10.1038/s42256-021-00343-w
Tobler W. R. A Computer
Movie Simulating Urban Growth in the Detroit Region Econ. Geogr. 1970 46 sup1 234 240 10.2307/143141
World Health OrganizationGuidelines for Community Noise ; World Health Organization: Geneva, 1999 .
World Health OrganizationAir Quality Guidelines: Global Update 2005:
Particulate Matter, Ozone, Nitrogen Dioxide and Sulfur Dioxide ; WHO Regional Office for Europe: Copenhagen, 2006 .
Come citare questo studio
Wang L, Kwan MP, Song L. (2026). An Explainable Multi-Modal Deep Learning Framework for Investigating the Influences of Dynamic Environmental Exposure on Momentary Stress.. Environmental science & technology. DOI: 10.1021/acs.est.6c09466
Consulta la pubblicazione originale ↗