Research Article | | Peer-Reviewed

Depression Predictive Model Using In-Context Learning Based on HRV with PPG Derived Validity Label

Received: 25 March 2025     Accepted: 14 April 2025     Published: 11 June 2025
Views:       Downloads:
Abstract

Background: Traditional diagnostic approaches for major depression disorder (MDD) or clinical depression rely on subjective assessment of clinical symptoms while heart rate variability (HRV) metrics provide an objective alternative to support clinical assessments and facilitate early depression detection. However, the imperceptibility of non-stationarity and unpredictability in noticing a factor for its HRV outcome highlight the challenges in modelling of predictive AI. Methods: In this study, totally 139 participants were recruited including 40 patients and 99 healthy controls. Only 28 of the 40 depression patients and 34 of the 99 healthy controls were enrolled for HRV data collection according to inclusion criteria. Our experiment provided evidence for evaluation of the validation method using a photoplethysmography (PPG) derived parameter representing beat-to-beat stress-induced vascular response in terms of labelling performance and applicability. Results: The results demonstrated the link between depression and the autonomic nervous system (ANS) measured using HRV both in statistical analysis and AI-driven classification, as seen in the GPT-4-based LLM outperformed baseline models across multiple data sets. The validity labeling contributed significantly to model performance and robustness, especially in small-sample scenarios. Although small sample size was used in HRV-based depression prediction training via a large language model (LLM) with in-context learning (ICL), the performance was definitely improved with validity labeling activated compared to labeling disabled. Conclusions: Through comparison of observational accuracy in predictive models, the reliability of HRV recordings is crucial for improving AI-driven depression prediction and aligning AI analysis with the expectations on physiological and psychological effects. Among factors that could cause HRV value to change in unexpected ways, stationarity is a prerequisite for short-term HRV (ST-HRV), thus validation strategy, a labeling method capable of identifying and rejecting recordings of false signals, is necessarily needed.

Published in American Journal of Clinical and Experimental Medicine (Volume 13, Issue 3)
DOI 10.11648/j.ajcem.20251303.13
Page(s) 45-53
Creative Commons

This is an Open Access article, distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution and reproduction in any medium or format, provided the original work is properly cited.

Copyright

Copyright © The Author(s), 2025. Published by Science Publishing Group

Keywords

Heart Rate Variability (HRV), Photoplethysmography (PPG), Stress-induced Vascular Response Index (sVRI), In-context Learning (ICL), Large Language Model (LLM), AI-driven Depression Prediction

References
[1] Cassano, P., Fava, M. Depression and public health: an overview, Journal of psychosomatic research. 2002, 53(4): 849-857.
[2] Diagnostic and statistical manual of mental disorders, fifth Edition, Washington, DC: American psychiatric association; 1980, pp. 205-224.
[3] Jesulola, E., Micalos, P., Baguley, I. J. Understanding the pathophysiology of depression: From monoamines to the neurogenesis hypothesis model-are we there yet? Behavioural brain research. 2018, 341: 79-90.
[4] Anisman, H., Zacharko, R. M. Depression: The predisposing influence of stress, Behavioral and brain sciences. 1982, 5(1): 89-137.
[5] Hardeveld, F., Spijker, J., De Graaf, R., Nolen, W. A., Beekman, A. T. F. Prevalence and predictors of recurrence of major depressive disorder in the adult population, Acta Psychiatrica Scandinavica. 2010, 122(3): 184-191.
[6] Wells, T. T., Beevers, C. G. Biased attention and dysphoria: Manipulating selective attention reduces subsequent depressive symptoms, Cognition & Emotion. 2010, 24(4): 719-728.
[7] Maybery, D, Goodyear, M., Reupert, A. The family-focused mental health practice questionnaire, Archives of Psychiatric Nursing. 2012, 26(2): 135-144.
[8] Kemp, A. H., Quintana, D. S., Gray, M. A., Felmingham, K. L., Brown, K., & Gatt, J. M. Impact of depression and antidepressant treatment on heart rate variability: a review and meta-analysis, Biological psychiatry. 2010, 67(11), 1067-1074.
[9] Jangpangi, D., Mondal, S., Bandhu, R., Kataria, D., & Gandhi, A. Alteration of heart rate variability in patients of depression, Journal of clinical and diagnostic research: JCDR. 2016, 10(12), CM04.
[10] Schumann, A., Andrack, C., & Baer, K. J. Differences of sympathetic and parasympathetic modulation in major depression, Progress in Neuro-Psychopharmacology and Biological Psychiatry. 2017, 79, 324-331.
[11] Hartmann, R., Schmidt, F. M., Sander, C., & Hegerl, U. Heart rate variability as indicator of clinical state in depression, Frontiers in psychiatry. 2019, 9, 735.
[12] Hopwood, M. J., Malhi, G. To screen for depression or not?, The Medical Journal of Australia. 2016, 204(9): 329.
[13] Beauchaine, T. P., Thayer J. F. Heart rate variability as a transdiagnostic biomarker of psychopathology, International Journal of Psychophysiology. 2015, 98(2): 338-350.
[14] Pham, T., Lau, Z. J., Chen, S. H. A. Heart rate variability in psychology: A review of HRV indices and an analysis tutorial, Sensors. 2021, 21(12): 3998.
[15] Koch, C., Wilhelm, M., Salzmann, S., Rief, W., Euteneuer, F. A meta-analysis of heart rate variability in major depression, Psychological Medicine. 2019, 49(12): 1948-1957.
[16] Pinna, G. D., Maestri, R., Torunski, A., et al. Heart rate variability measures: a fresh look at reliability, Clinical Science. 2007, 113(3): 131–140.
[17] Chang, C., Metzger, C. D., Glover, G. H., Duyn, J. H., Heinze, H.-J., Walter, M. Association between heart rate variability and fluctuations in resting-state functional connectivity, NeuroImage. 2013, 68: 93-104.
[18] Campbell, J., Ehlert, U. Acute psychosocial stress: does the emotional stress response correspond with physiological responses? Psychoneuroendocrinology. 2012, 37(8): 1111–1134.
[19] Vacareanu, R., Negru, V. A., Suciu, V., Surdeanu, M. From words to numbers: Your large language model is secretly a capable regressor when given in-context examples, First Conference on Language Modeling, Philadelphia, USA, 2024.
[20] Sun, X., Su, F., Chen, X., Peng, Q., Luo, X., & Hao, X. Doppler ultrasound and photoplethysmographic assessment for identifying pregnancy-induced hypertension. Experimental and Therapeutic Medicine. 2020, 19(3), 1955-1960.
[21] Su, F, Li Z, Sun, X, et al. The pulse wave analysis of normal pregnancy: investigating the gestational effects on photoplethysmographic signals, Bio-med Mater Eng. 2014; 24: 209–19.
[22] Tang, S., Luo, X., Meng, S., Wang, Z., & Zhao, A. The impact of maternal vasodilatation as pregnancy progress on peripheral arterial tonometry in assessment of endothelial function. IEEE 20th International Conference on Bioinformatics and Bioengineering (BIBE), Cincinnati, USA. 2020, pp. 241-246.
[23] Zhao, A., Chong, Y., Zhong, H., Ma, J., Zhang, H., Luo, Z., & Luo, X. Clinical Assessment of Brachial-Ankle Pulse Wave Velocity and Stiffness Index: Hypertriglyceridemia Effects on Arterial Stiffness. IEEE 17th International Conference on Bioinformatics and Bioengineering (BIBE), Washington, DC, USA, 2017, pp. 537-541.
[24] Xiao-Min, L., Lei, W., & Lei, Y. Identification of susceptibility to acute mountain sickness by detecting vascular tone using a photoplethysmographic sensor. Chinese Journal of Applied Physiology. 2016, 32(6), 494-498.
[25] Luo, X., Wang, L., & Yang, L. Influence of induced altitude acclimatization on development of acute mountain sickness associated with a subsequent rapid ascent to high altitude. IEEE 16th International Conference on Bioinformatics and Bioengineering (BIBE), Taichung, Taiwan, China. 2016, pp. 289-292.
[26] Liu, Z., Zhou, Y., Yi, R., He, J., Yang, Y., Luo, L., & Luo, X. Quantitative research into the deconditioning of hemodynamic to disorder of consciousness carried out using transcranial Doppler ultrasonography and photoplethysmography obtained via finger-transmissive absorption. Neurological Sciences. 2016, 37, 547-555.
[27] Luo, L., Xiao, L., Miao, D., Luo, X. The Relationship between Mental Stress Induced Changes in Cortisol Levels and Vascular Responses Quantified by Waveform Analysis: Investigating Stress Dependent Indices of Vascular Changes, International Conference on Biomedical Engineering and Biotechnology, Macao, China, 2012.
[28] Lyu, Y., Luo, X., Zhou, J., et al. Measuring Photoplethysmogram-Based Stress-Induced Vascular Response Index to Assess Cognitive Load and Stress, The 33rd annual ACM conference on human factors in computing systems, Seoul, Korea, 2015, pp. 857-866.
[29] Zhang, X., Lyu, Y., Qu, T., Qiu, P., Luo, X., Zhang, J., Fan, S., Shi, Y. Photoplethysmogram-based cognitive load assessment using multi-feature fusion model. ACM Transactions on Applied Perception (TAP), 2019, 16(4), 1-17.
[30] Draghici, A. E., Taylor J. A. The physiological basis and measurement of heart rate variability in humans. Journal of physiological anthropology. 2016, 35: 22.
[31] Grégoire, J. M., Gilon, C., Carlier, S., Bersini, H. Autonomic nervous system assessment using heart rate variability, Acta cardiologica. 2023, 78(6): 648-662.
[32] Gaskell, W. H. The involuntary nervous system. Longmans, Green, 1920.
[33] Wehrwein, E. A., Orer, H. S., Barman, S. M. Overview of the anatomy, physiology, and pharmacology of the autonomic nervous system, Comprehensive Physiology. 2016, 6(3): 1239-78.
[34] Sammito, S., Böckelmann, I. Factors influencing heart rate variability, International Cardiovascular Forum Journal. Vol. 6. 2016.
Cite This Article
  • APA Style

    Li, H., Li, J., Zhong, X., Chen, G., Peng, R., et al. (2025). Depression Predictive Model Using In-Context Learning Based on HRV with PPG Derived Validity Label. American Journal of Clinical and Experimental Medicine, 13(3), 45-53. https://doi.org/10.11648/j.ajcem.20251303.13

    Copy | Download

    ACS Style

    Li, H.; Li, J.; Zhong, X.; Chen, G.; Peng, R., et al. Depression Predictive Model Using In-Context Learning Based on HRV with PPG Derived Validity Label. Am. J. Clin. Exp. Med. 2025, 13(3), 45-53. doi: 10.11648/j.ajcem.20251303.13

    Copy | Download

    AMA Style

    Li H, Li J, Zhong X, Chen G, Peng R, et al. Depression Predictive Model Using In-Context Learning Based on HRV with PPG Derived Validity Label. Am J Clin Exp Med. 2025;13(3):45-53. doi: 10.11648/j.ajcem.20251303.13

    Copy | Download

  • @article{10.11648/j.ajcem.20251303.13,
      author = {Hang Li and Jing Li and Xin Zhong and Guo Chen and Ruiqi Peng and Liang Zhang and Juqiang Han and Xiaomin Luo},
      title = {Depression Predictive Model Using In-Context Learning Based on HRV with PPG Derived Validity Label
    },
      journal = {American Journal of Clinical and Experimental Medicine},
      volume = {13},
      number = {3},
      pages = {45-53},
      doi = {10.11648/j.ajcem.20251303.13},
      url = {https://doi.org/10.11648/j.ajcem.20251303.13},
      eprint = {https://article.sciencepublishinggroup.com/pdf/10.11648.j.ajcem.20251303.13},
      abstract = {Background: Traditional diagnostic approaches for major depression disorder (MDD) or clinical depression rely on subjective assessment of clinical symptoms while heart rate variability (HRV) metrics provide an objective alternative to support clinical assessments and facilitate early depression detection. However, the imperceptibility of non-stationarity and unpredictability in noticing a factor for its HRV outcome highlight the challenges in modelling of predictive AI. Methods: In this study, totally 139 participants were recruited including 40 patients and 99 healthy controls. Only 28 of the 40 depression patients and 34 of the 99 healthy controls were enrolled for HRV data collection according to inclusion criteria. Our experiment provided evidence for evaluation of the validation method using a photoplethysmography (PPG) derived parameter representing beat-to-beat stress-induced vascular response in terms of labelling performance and applicability. Results: The results demonstrated the link between depression and the autonomic nervous system (ANS) measured using HRV both in statistical analysis and AI-driven classification, as seen in the GPT-4-based LLM outperformed baseline models across multiple data sets. The validity labeling contributed significantly to model performance and robustness, especially in small-sample scenarios. Although small sample size was used in HRV-based depression prediction training via a large language model (LLM) with in-context learning (ICL), the performance was definitely improved with validity labeling activated compared to labeling disabled. Conclusions: Through comparison of observational accuracy in predictive models, the reliability of HRV recordings is crucial for improving AI-driven depression prediction and aligning AI analysis with the expectations on physiological and psychological effects. Among factors that could cause HRV value to change in unexpected ways, stationarity is a prerequisite for short-term HRV (ST-HRV), thus validation strategy, a labeling method capable of identifying and rejecting recordings of false signals, is necessarily needed.
    },
     year = {2025}
    }
    

    Copy | Download

  • TY  - JOUR
    T1  - Depression Predictive Model Using In-Context Learning Based on HRV with PPG Derived Validity Label
    
    AU  - Hang Li
    AU  - Jing Li
    AU  - Xin Zhong
    AU  - Guo Chen
    AU  - Ruiqi Peng
    AU  - Liang Zhang
    AU  - Juqiang Han
    AU  - Xiaomin Luo
    Y1  - 2025/06/11
    PY  - 2025
    N1  - https://doi.org/10.11648/j.ajcem.20251303.13
    DO  - 10.11648/j.ajcem.20251303.13
    T2  - American Journal of Clinical and Experimental Medicine
    JF  - American Journal of Clinical and Experimental Medicine
    JO  - American Journal of Clinical and Experimental Medicine
    SP  - 45
    EP  - 53
    PB  - Science Publishing Group
    SN  - 2330-8133
    UR  - https://doi.org/10.11648/j.ajcem.20251303.13
    AB  - Background: Traditional diagnostic approaches for major depression disorder (MDD) or clinical depression rely on subjective assessment of clinical symptoms while heart rate variability (HRV) metrics provide an objective alternative to support clinical assessments and facilitate early depression detection. However, the imperceptibility of non-stationarity and unpredictability in noticing a factor for its HRV outcome highlight the challenges in modelling of predictive AI. Methods: In this study, totally 139 participants were recruited including 40 patients and 99 healthy controls. Only 28 of the 40 depression patients and 34 of the 99 healthy controls were enrolled for HRV data collection according to inclusion criteria. Our experiment provided evidence for evaluation of the validation method using a photoplethysmography (PPG) derived parameter representing beat-to-beat stress-induced vascular response in terms of labelling performance and applicability. Results: The results demonstrated the link between depression and the autonomic nervous system (ANS) measured using HRV both in statistical analysis and AI-driven classification, as seen in the GPT-4-based LLM outperformed baseline models across multiple data sets. The validity labeling contributed significantly to model performance and robustness, especially in small-sample scenarios. Although small sample size was used in HRV-based depression prediction training via a large language model (LLM) with in-context learning (ICL), the performance was definitely improved with validity labeling activated compared to labeling disabled. Conclusions: Through comparison of observational accuracy in predictive models, the reliability of HRV recordings is crucial for improving AI-driven depression prediction and aligning AI analysis with the expectations on physiological and psychological effects. Among factors that could cause HRV value to change in unexpected ways, stationarity is a prerequisite for short-term HRV (ST-HRV), thus validation strategy, a labeling method capable of identifying and rejecting recordings of false signals, is necessarily needed.
    
    VL  - 13
    IS  - 3
    ER  - 

    Copy | Download

Author Information
  • Sections