This study tests whether pre-trained lightweight open-weight large language models (LLMs) can predict depression and anxiety symptoms from short-horizon consumer wearable data by transforming structured physiological and behavioral measurements into natural-language prompts. The authors summarize measures of activity, sleep, heart rate, heart rate variability, and participant demographic and anthropometric data as structured text prompts intended for LLM input. The central premise is that LLMs can interpret these textual summaries to infer symptom status without requiring conventional feature engineering used for classical classifiers.
The analysis used 4–8 days of data recorded by the consumer Oura Ring from 1,285 participants drawn from the Northern Finland Birth Cohort 1986 (NFBC 1986). Recorded modalities included activity and sleep metrics, heart rate and heart rate variability measures, plus demographic and anthropometric variables. The cohort follow-up and data use were conducted under the NFBC protocols and associated ethics approvals. Details about exact feature lists and their preprocessing beyond the high-level categories above were presented in the source but are not restated here.
The authors evaluated three pretrained lightweight open-weight LLMs: Llama 3.1, BioMistral, and Qwen 2.5. To contextualize LLM performance, comparisons were made against conventional machine learning models and recurrent neural networks. The goal was to compare how LLMs operating on natural-language prompts perform relative to established predictive methods on the same wearable-derived information.
Three prompting approaches were assessed: zero-shot prompting, a rule-based prompting condition, and few-shot in-context learning. Zero-shot prompts present the model with the structured summary and a query without example cases. Rule-based prompts use explicit deterministic guidance embedded in the prompt. Few-shot in-context learning provides the LLM with a small number of labeled examples within the prompt to demonstrate the mapping from wearable summaries to labels prior to querying on new cases. The authors emphasize that prompt design is a critical experimental factor affecting model outputs and class detection performance.
Overall performance depended on both the model and the prompting strategy. Zero-shot LLMs achieved high overall accuracy but tended to predict the majority (negative) class, which resulted in poor detection of participants with depression or anxiety symptoms. Introducing few-shot in-context examples materially improved detection of the positive class. Among evaluated methods, Llama 3.1 with four in-context examples produced the strongest reported metrics: accuracy 0.92, macro-F1 0.82, and positive-class F1 0.69. These results suggest that short example-driven prompts help lightweight LLMs reinterpret structured wearable summaries to better identify symptomatic individuals compared with zero-shot prompting.
The authors conclude that prompt engineering — specifically providing in-context examples — substantially influences whether LLMs detect the minority symptomatic class. While zero-shot prompts may yield apparently high accuracy by favoring the majority label, few-shot prompting improves sensitivity to cases with depression or anxiety symptoms. The findings indicate a plausibility for scalable mental health inference from consumer wearables when combining concise wearable summaries with a pre-trained LLM capable of in-context learning.
This work is a preprint and has not undergone peer review; it should not be used to guide clinical practice. Ethical approvals were obtained via the NFBC follow-up procedures; the original NFBC 1986 33–35-year follow-up received approval from the Ethical Committee of the Northern Ostrobothnia Hospital District and written informed consent was obtained from participants. NFBC data are available for research applications through the University of Oulu Infrastructure for Population Studies subject to cohort governance, GDPR, and Finnish Data Protection Act constraints. The source notes that limitations include reliance on short-horizon wearable summaries and that prompt design and class imbalance influenced model behavior; further peer review and replication would be necessary to confirm generalizability.
The study demonstrates that lightweight LLMs can use in-context examples to better interpret structured summaries of consumer wearable data and improve detection of depression and anxiety symptoms relative to zero-shot prompting. Llama 3.1 with four in-context examples achieved the best-reported balance of overall accuracy and positive-class detection among the evaluated models. The authors propose that combining consumer wearable summaries with pre-trained LLMs and careful prompt design could provide a scalable direction for mental health prediction, while noting that these findings are preliminary pending peer review and that data sharing and governance constraints apply.