Beyond Latent Personalization: Integrating HRV-Conditioned Personalization via LLM for Interpretable Stress Detection
Organizations: Institute of Communication Engineering, National Tsing Hua University, Taiwan · Department of Electrical Engineering, National Tsing Hua University, Taiwan
Abstract
Stress detection based on heart rate variability (HRV) has received increasing attention. However, existing personalized approaches integrate personal attributes with HRV through latent representations, limiting the interpretability of their interactions. In this work, we propose an LLM-enhanced personalized stress detection framework that integrates HRV features and personal attributes through LLM-based semantic interpretation. The proposed framework achieves a 29.9% relative MCC improvement over the strongest baseline on TILES-2018 while providing human-readable descriptions of individual physiological responses. The results highlight the potential of LLM-based semantic interpretation for achieving both effective and interpretable personalized stress detection.
Figures & tables
| Attribute Integration |
| [Neutral Baseline Profile] This individual is a { gender } participant in the { age } age group, and { student_desc } . Professionally, { subject } works as a(n) { position } , with { nurseyears } of professional experience and { duration } of tenure at the current organization. Working the { shift } , { subject } averages { hours } per week with approximately { overtime } of monthly overtime, and supervises { quantsup } . Regarding personal background, { subject } identifies as { race } and has { englyrs } of English language experience. { possessive } current relationship status is { relationship } , with an annual household income of { income } . { Subject } has { children } child(ren) under 18 in the household and { housing_desc } . { possessive } typical daily commute is { commute_time } . |
| HRV Integration (Take time domain as example) |
| [Data Interpretation Context] Note: The following HRV metrics are not instantaneous readings. They are strictly calculated based on rigorous daily aggregation: Feature Group: ’Time’: ”Time-domain HRV features (e.g., meanNN, sdNN, RMSSD, pNN50, cvNN)”; Base calculation: Extracted from 5-minute rolling windows of Normal-to-Normal (NN) intervals. Time-domain differences and Frequency domains were normalized; Suffixes meaning: Metric ending in ‘_mean’ is the daily average; ‘_std’ is the daily standard deviation; ‘_cv’ (Coefficient of Variation) shows daily volatility; ‘_skew’/‘_kurt’ show distribution shape; ‘_1quartile’/‘_3quartile’ are the 25th/75th percentiles. Please interpret these metrics as the overall autonomic stability and allostatic load for the entire day. |
| [Current Physiological Markers] { feature_1 } : { value_1 } { feature_2 } : { value_2 } … { feature_N } : { value_N } |
| General |
| [Task] Based on the individual’s baseline profile and today’s HRV metrics, write a daily analytical log assessing their current stress state. |
| Methods | TILES-2018 | WESAD | |||||||||
| HRV | Semantic Representation | UAR | Acc | MCC | UAR | Acc | MCC | ||||
| LLM Interp. | Extractor | HRV Integ. | Attr. Integ. | ||||||||
| LLM-Only | 0.516 | 0.504 | 0.040 | 0.616 | 0.683 | 0.260 | |||||
| HRV-Only | 0.600 | 0.588 | 0.201 | 0.799 | 0.821 | 0.599 | |||||
| w/o Attribute Integration | 0.594 | 0.600 | 0.189 | 0.798 | 0.820 | 0.595 | |||||
| w/o HRV Integration | 0.560 | 0.557 | 0.119 | 0.787 | 0.809 | 0.576 | |||||
| Method | UAR | Acc | MCC | MCC -value |
|---|---|---|---|---|
| Trans.+MTL+GRL [ 11 ] | 0.584 | 0.603 | 0.172 | 0.0019* |
| Trans.+MGCN+MS [ 6 ] | 0.597 | 0.613 | 0.196 | 0.0085* |
| DESHM [ 15 ] | 0.598 | 0.619 | 0.201 | 0.0496* |
| Proposed | 0.630 | 0.631 | 0.261 | – |
| w/o HRV Integration (Pred: 0, GT: 1) : …the cumulative effect of prolonged overtime, leadership duties, and a lengthy commute creates a state of sustained activation where the body and mind are likely operating under continuous demand, potentially leading to physiological weariness and psychological strain… Proposed (Pred: 1, GT: 1) : …This pattern is further underscored by the significant variability in very-low-frequency power , which reflects a disrupted circadian rhythm or allostatic load, likely exacerbated by the cumulative demands of his supervisory role, extended overtime hours, and long commute … |
|---|
| w/o HRV Integration (Pred: 1, GT: 0) : …With over 15 years of experience in clinical support and a tenure of 6 to 9 years at the current organization , she possesses significant institutional knowledge and likely established coping mechanisms … Furthermore, her stable marital status and the presence of a child under 18 indicate strong social anchoring… |
| Proposed (Pred: 0, GT: 0) : … significantly elevated parasympathetic activity , as evidenced by the exceptionally high pNN50 and RMSSD values , which suggest a strong capacity for recovery and stress buffering … Given her extensive professional tenure and established home environment , this pattern aligns with a resilient allostatic load profile where the body effectively manages daily demands without exhibiting signs of chronic depletion or dysregulation… |
Interpretable ML
Interpretable machine learning develops models and explanations that make predictions, evidence, and decision processes understandable to people.
See all 310 papers