Paperdoi:10.64898/2026.07.31.26359400

Wearable Prompt: in-context learning for depression and anxiety prediction from consumer smart ring metrics

Preprint2026Added Nov 1, 2026

  • SA
  • AS
  • MN
  • VF

Authors: Saeid Azadifar, Alireza Sameh, Maisa Niemelä, Vahid Farrahi

medRxiv 2026.07.31.26359400 (2026-08-03)

First page or project page of “Wearable Prompt: in-context learning for depression and anxiety prediction from consumer smart ring metrics” (opens in a new tab)

Saeid Azadifar et al., "Wearable Prompt: In-Context Learning for Depression and Anxiety Prediction from Consumer Smart Ring Metrics", doi:10.64898/2026.07.31.26359400, CC BY 4.0

TL;DR

Azadifar et al. convert 4–8 days of Oura Ring activity, sleep, heart rate, HRV plus demographics and anthropometrics from 1,285 NFBC1986 participants into prompts for small open-weight LLMs (Llama 3.1, BioMistral, Qwen 2.5) under zero-shot, rule-based and few-shot settings, compared with machine-learning and RNN baselines. Zero-shot predictions favored the majority class; few-shot improved positive-class detection.

  • Form factor: finger (Oura ring)

Abstract

Large language models provide a promising framework for wearable-based health prediction by converting structured physiological and behavioral measurements into natural-language prompts. In this paper, we investigate whether pre-trained lightweight open-weight LLMs can predict depression and anxiety symptoms from short-horizon consumer wearable data. Using 4–8 days of Oura Ring data from 1,285 participants in the Northern Finland Birth Cohort 1986, we convert activity, sleep, heart rate, heart rate variability, demographic, and anthropometric measurements into structured prompts. We evaluate Llama 3.1, BioMistral, and Qwen 2.5 under zero-shot, rule-based, and few-shot in-context learning settings. To contextualize LLM performance, we compare them against machine learning models and recurrent neural networks. Our results show that prompt design is critical for LLM-based wearable inference. Zero-shot LLMs achieve high accuracy but largely predict the majority class, failing to identify participants with depression and anxiety symptoms. In contrast, few-shot prompting substantially improves positive-class detection. Llama 3.1 with four in-context examples achieves the strongest performance, with 0.92 accuracy, 0.82 macro-F1, and 0.69 F1 for the positive class, among evaluated models. These findings suggest that lightweight LLMs can use in-context examples to better interpret structured wearable summaries and possibly provide a scalable direction for mental health prediction from consumer wearable data in combination with pre-trained LLMs.

Code base

https://github.com/saeidazadifar1988/OuraLLM

Verbatim from the publisher's DOI record (opens in a new tab) · Publisher licence: http://creativecommons.org/licenses/by/4.0/

Results on ChatPPG leaderboards

All leaderboards

No results from this paper on ChatPPG leaderboards yet. Browse the leaderboards.

Tasks & signals

Keywords

LLMIn Context LearningOuraDepressionAnxietyNFBC1986Few ShotAgent

How it works

How Method works: Setup → Method → TargetSetup: Signals (Oura ring daily metrics); Form factor (finger (Oura ring)). Method: Method (Language-aligned).SetupSignals: Oura ring daily metricsSignalsOura ring daily metricsForm factor: finger (Oura ring)Form factorfinger (Oura ring)MethodMethodLanguage-aligned

Cite this paper

Cite this paper with the fields recorded here. Check it against the publisher before submitting.

Azadifar, S., Sameh, A., Niemelä, M., & Farrahi, V. (2026). Wearable Prompt: in-context learning for depression and anxiety prediction from consumer smart ring metrics. medRxiv 2026.07.31.26359400. https://doi.org/10.64898/2026.07.31.26359400
Azadifar, Saeid, Alireza Sameh, Maisa Niemelä, and Vahid Farrahi. 2026. "Wearable Prompt: in-context learning for depression and anxiety prediction from consumer smart ring metrics." medRxiv 2026.07.31.26359400. https://doi.org/10.64898/2026.07.31.26359400.
Azadifar, S., Sameh, A., Niemelä, M. and Farrahi, V. (2026) 'Wearable Prompt: in-context learning for depression and anxiety prediction from consumer smart ring metrics', medRxiv 2026.07.31.26359400. doi: 10.64898/2026.07.31.26359400.
Azadifar, Saeid, et al. "Wearable Prompt: in-context learning for depression and anxiety prediction from consumer smart ring metrics." medRxiv 2026.07.31.26359400, 2026. https://doi.org/10.64898/2026.07.31.26359400.
S. Azadifar, A. Sameh, M. Niemelä, and V. Farrahi, "Wearable Prompt: in-context learning for depression and anxiety prediction from consumer smart ring metrics," medRxiv 2026.07.31.26359400, 2026, doi: 10.64898/2026.07.31.26359400.
@misc{azadifar2026wearable,
  title         = {{Wearable Prompt: in-context learning for depression and anxiety prediction from consumer smart ring metrics}},
  author        = {Azadifar, Saeid and Sameh, Alireza and Niemelä, Maisa and Farrahi, Vahid},
  year          = {2026},
  howpublished  = {medRxiv 2026.07.31.26359400},
  doi           = {10.64898/2026.07.31.26359400}
}

Record updated

Added to the ChatPPG research hub