TL;DR
Predicting mental health from wearable sensor data is notoriously tricky because the same behavior means different things for different people, and any single person’s baseline shifts over time. Instead of fine-tuning neural network weights on scarce self-reported data, DyCon (Dynamic Context Modeling) keeps the underlying LLM frozen and maintains a living, evolving natural-language "notebook" of behavioral hypotheses for each user. By iteratively refining and updating this personal context across weeks, DyCon achieves strong longitudinal personalization—especially when a user's mental state suddenly shifts.
What Problem Does This Paper Address?
Smartphones and wearables continuously capture behavioral signals—sleep, step counts, screen time—offering a window into our mental health. Yet, training models to translate these signals into accurate psychological states hits a wall of three interlocking constraints:
- Inter-subject heterogeneity: Low physical mobility on a Sunday might mean peaceful recovery for an athlete, or depressive withdrawal for someone else. Universal, one-size-fits-all models struggle here.
- Intra-subject behavioral drift: People change. New jobs, seasonal weather, or shifting habits mean your behavioral baseline in November looks very different from your baseline in May.
- Extreme label sparsity: Ground-truth mental health labels rely on Ecological Momentary Assessments (EMAs)—brief, periodic pop-up surveys asking users how they feel. Because nobody likes constant interruptions, EMA labels are sparse.
Standard personalization updates model parameters (like fine-tuning or LoRA) per user, which quickly starves or overfits under extreme data sparsity. Meanwhile, standard LLM prompting lacks a principled way to decide what historical quirks to remember and how to revise them over months.
Methods
Instead of optimizing weights, DyCon optimizes text. Using a frozen LLM backbone (primarily DeepSeek-V3), it treats a natural-language "personal context" as the trainable parameter, operating via a clever dual-loop architecture across sequential EMA sessions:
- Context Generation & R0-Prediction: When a new session arrives, DyCon computes a correlation matrix of the user's recent sensor features to capture concurrent behavioral variations. An LLM generates an initial momentary context (grounded in DSM-5 criteria). Combined with the raw sensor data and a carry-over longitudinal context from past sessions, the predictor outputs an initial state estimate (R0-prediction) before seeing the user's new survey.
- Momentary Refinement Loop (Within-Session): Once the user submits their ground-truth EMA survey, DyCon checks if its R0-prediction error falls within a tolerance threshold ($\epsilon$). If the prediction was off, a Refiner module iteratively rewrites the momentary context—re-examining the sensor correlation matrix to find missed behavioral cues—until the prediction aligns with reality (up to $N_r$ tries).
- Longitudinal Update Loop (Across-Sessions): If the refined context successfully meets the error threshold, an Updater module merges the newly discovered insights into the user's longitudinal context, documenting which behavioral traits to add, keep, or drop for the next session. If refinement fails to converge, the noisy update is skipped to keep the long-term memory clean.
Datasets
No new datasets were introduced; the authors evaluated DyCon offline across four public passive-sensing benchmarks (using 7-day feature windows):
- GLOBEM: The primary benchmark, featuring 10-week multimodal smartphone/wearable data (547 participant-year records across subsets DS2–DS4) predicting anxiety and depression via PHQ-4 subscales.
- PMData ($N=16$): Fitbit data for stress prediction.
- StudentLife ($N=39$): Smartphone sensing data for stress prediction.
- LifeSnaps ($N=51$): Fitbit data for stress-resilience prediction.
Key Insights and Ideas
- Beware the illusion of "lazy" baselines: In mental health tracking, people's scores stay completely unchanged ~50% of the time between consecutive sessions. Simple baselines that just copy-paste a user's previous survey score look deceptively great on aggregate metrics—until the user actually experiences a mental health shift, where copy-pasting fails catastrophically.
- Perfectionism hurts future predictions: When testing error thresholds ($\epsilon$), looser tolerances ($0.3, 0.5$) outperformed strict ones ($0.0, 0.1$). Forcing the LLM to match today's exact survey score either causes it to overfit to transient daily noise or fail the threshold check entirely—starving the longitudinal memory of useful updates.
- Refinement is the secret sauce: Ablation studies revealed that generating sensor descriptions and passing them forward without EMA-guided momentary refinement yields near-chance accuracy (~0.50). You have to verify and debug a behavioral hypothesis before committing it to long-term memory.
- Inspectable personalization: Because the user's "model" is just a readable text summary of behavioral patterns, it naturally opens the door for human-in-the-loop clinical care, where therapists and patients could read and edit the AI's assumptions.
Key Results
- Catching sudden shifts: During major session-to-session symptom spikes/drops ($|\Delta| \ge 3$ on GLOBEM), DyCon outperformed all baselines ($p \le 0.020$), achieving a balanced accuracy of 0.407 (anxiety) and 0.422 (depression), whereas predicting the prior label (Lag-1) collapsed to 0.071 and 0.095. For newly onset symptoms (negative-to-positive transitions), DyCon caught 43.8% of anxiety and 31.4% of depression transitions, beating per-user 3-shot prompting (28.9% and 21.2%).
- Temporal generalization: On GLOBEM's single-dataset (past-to-future) split, DyCon hit 0.749 (anxiety) and 0.780 (depression) balanced accuracy, outperforming traditional ML, domain-generalization, and reflection baselines like Reflexion (0.597 / 0.621). It also led in cross-year generalization (0.547 / 0.582).
- Cross-domain generalization: Without changing any model weights, DyCon achieved the lowest Mean Absolute Error (MAE) across sessions S2–S7 on PMData (reaching 0.400 by S7), StudentLife (0.375), and LifeSnaps (1.093).
Limitations and Future Work
- Selection bias in memory updates: Because DyCon skips longitudinal updates when its refinement loop cannot meet the error criterion, hard-to-predict sessions get filtered out. On GLOBEM, skipped sessions had larger state changes and more positive symptom labels—meaning the user's profile might underrepresent acute episodes.
- Hypotheses $\neq$ Clinical Truth: Just because an LLM's behavioral explanation predicts an EMA score doesn't make it clinically valid, and EMA self-reports themselves suffer from recall bias.
- Privacy & Prospective Validation: Storing rich natural-language psychological profiles poses clear privacy risks. Future work aims to move from retrospective datasets to live prospective studies with patients and clinicians, testing whether humans reviewing and editing DyCon's text contexts improves safety and accuracy.
Summary updated