journal article·2025-09-16Open access

Scoping Review of ML Approaches in Anxiety Detection from In-Lab to In-the-Wild

Maxine He, Abdulrahman Alkurdi, Jean L. Clore, Richard B. Sowers, Elizabeth T. Hsiao-Wecksler, Manuel E. Hernandez

Applied Sciences· Volume 15· Issue 18

Abstract

The field of anxiety detection and use of machine learning (ML) has experienced rapid growth necessitating an updated review of commonly used ML models and their performance, anxiety-inducing methodologies, data collection conditions, and dataset utilization. Feature-based ML models have been extensively employed due to their interpretability and simplicity. However, these models require manual feature engineering, which can be labor-intensive and potentially biased. End-to-end deep learning models have emerged as alternatives, capable of utilizing raw signal directly and handling large datasets. This review aims to provide a detailed exploration of anxiety detection using ML, including use of feature-based vs. end-to-end models, a taxonomy of stressors, performance benchmarks, challenges in deployment to real-world scenarios, and generalizability of findings, given limitations in sociodemographic diversity and heterogeneity in the use of validated anxiety measures. A total of 105 eligible papers were retrieved from the Scopus, IEEE Xplore, and PubMed databases. Stressors were categorized into six distinct types—social, mental, physical, emotional, driving, and daily-life stressors—to provide a better overview of methodologies used to elicit anxiety. Papers were organized according to the type of data collection—lab-based or real-world conditions—and characterized through the type of anxiety instrument used, population examined, and classification performance. This review underscores the need for further investigation into model architecture and their suitability for different types of data, limitations in population diversity and representation in existing studies, and advocating for a more nuanced and personalized approach to anxiety detection using machine learning.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Emotion and Mood Recognition · EEG and Brain-Computer Interfaces · Heart Rate Variability and Autonomic Control

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Neuroscience Program, University of Illinois Urbana-Champaign (UIUC), Urbana, IL 61801, USA

Department of Mechanical Science and Engineering, University of Illinois Urbana-Champaign (UIUC), Urbana, IL 61801, USA

Department of Psychiatry and Behavioral Medicine, University of Illinois College of Medicine Peoria, University of Illinois Chicago (UIC), Peoria, IL 61805, USA

Department of Industrial and Enterprise Systems Engineering, University of Illinois Urbana-Champaign (UIUC), Urbana, IL 61801, USA

Department of Biomedical and Translational Sciences, Carle Illinois College of Medicine, University of Illinois Urbana-Champaign (UIUC), Urbana, IL 61801, USA

Department of Health and Kinesiology, University of Illinois Urbana-Champaign (UIUC), Urbana, IL 61801, USA

Department of Bioengineering, University of Illinois Urbana-Champaign (UIUC), Urbana, IL 61801, USA

Beckman Institute, University of Illinois Urbana-Champaign (UIUC), Urbana, IL 61801, USA

Funding

JUMP ARCHES

References (100+)

Show source-provided references
1. Evolving Definitions of Mental Illness and Wellness
2. Prevalence of Stress, Anxiety, Depression among the General Population during the COVID-19 Pandemic: A Systematic Review and Meta-Analysis10.1186/s12992-020-00589-w ↗
3. Prevalence of DSM-5 Anxiety Disorders, Comorbidity, and Persistence of Symptoms in Spanish Early Adolescents10.1007/s00787-018-1207-z ↗
4. The Size and Burden of Mental Disorders and Other Disorders of the Brain in Europe 201010.1016/j.euroneuro.2011.07.018 ↗
5. Anxiety Disorders and Cardiovascular Disease10.1007/s11920-016-0739-5 ↗
6. Psychological Stress and the Human Immune System: A Meta-Analytic Study of 30 Years of Inquiry10.1037/0033-2909.130.4.601 ↗
7. County-Level Estimates of Mental Health Professional Shortage in the United States10.1176/ps.2009.60.10.1323 ↗
8. Projected Workforce of Psychiatrists in the United States: A Population Analysis10.1176/appi.ps.201700344 ↗
9. Information Bias in Health Research: Definition, Pitfalls, and Adjustment Methods10.2147/JMDH.S104807 ↗
10. Measures of Anxiety10.1002/acr.20561 ↗
11. Dziezyc, M., Gjoreski, M., Kazienko, P., Saganowski, S., and Gams, M. (2020). Can We Ditch Feature Engineering? End-to-End Deep Learning for Affect Recognition from Physiological Sensor Data. Sensors, 20.10.3390/s20226535 ↗
12. Applications of Artificial Intelligence−machine Learning for Detection of Stress: A Critical Overview10.1038/s41380-023-02047-6 ↗
13. Spielberger, C.D. (1966). Theory and Research on Anxiety, Academic Press Inc.10.1016/B978-1-4832-3131-0.50006-8 ↗
14. Daviu, N., Bruchas, M.R., Moghaddam, B., Sandi, C., and Beyeler, A. (2019). Neurobiological Links between Stress and Anxiety. Neurobiol. Stress, 11.10.1016/j.ynstr.2019.100191 ↗
15. American Psychiatric Association (2013). Diagnostic and Statistical Manual of Mental Disorders, American Psychiatric Association. [5th ed.].10.1176/appi.books.9780890425596 ↗
16. Notes and Comments Trait-State Anxiety and Motor Behavior10.1080/00222895.1971.10734907 ↗
17. The State-Trait Anxiety Inventory
18. Wiedemann, K. (2001). Anxiety and Anxiety Disorders. International Encyclopedia of the Social & Behavioral Sciences, Elsevier.10.1016/B0-08-043076-7/03760-8 ↗
19. Neural Circuits in Anxiety and Stress Disorders: A Focused Review
20. Measurement and Identification of Mental Workload during Simulated Computer Tasks with Multimodal Methods and Machine Learning10.1080/00140139.2020.1759699 ↗
21. Stress Detection Using Wearable Physiological and Sociometric Sensors10.1142/S0129065716500416 ↗
22. Sandulescu, V., and Dobrescu, R. (2015, January 19–21). Wearable System for Stress Monitoring of Firefighters in Special Missions. Proceedings of the 2015 E-Health and Bioengineering Conference, EHB 2015, Iasi, Romania.10.1109/EHB.2015.7391578 ↗
23. Schmidt, P., Dürichen, R., Reiss, A., Van Laerhoven, K., and Plötz, T. (2019, January 9–13). Multi-Target Affect Detection in the Wild: An Exploratory Study. Proceedings of the Proceedings-International Symposium on Wearable Computers, ISWC, London, UK.10.1145/3341163.3347741 ↗
24. Vaz, M., Summavielle, T., Sebastião, R., and Ribeiro, R.P. (2023). Multimodal Classification of Anxiety Based on Physiological Signals. Appl. Sci., 13.10.3390/app13116368 ↗
25. Jiao, Y., Wang, X., Liu, C., Du, G., Zhao, L., Dong, H., Zhao, S., and Liu, Y. (2023). Feasibility Study for Detection of Mental Stress and Depression Using Pulse Rate Variability Metrics via Various Durations. Biomed. Signal Process. Control, 79.10.1016/j.bspc.2022.104145 ↗
26. Stress and Anxiety: Counterpart Elements of the Stress/Anxiety Complex10.1016/j.psc.2014.08.002 ↗
27. Putting the “Mental” Back in “Mental Disorders”: A Perspective from Research on Fear and Anxiety10.1038/s41380-021-01395-5 ↗
28. An Inventory for Measuring Clinical Anxiety: Psychometric Properties10.1037/0022-006X.56.6.893 ↗
29. Demetriou, C., Ozer, B.U., and Essau, C.A. (2015). Self-Report Questionnaires. Encycl. Clin. Psychol., 1–6.10.1002/9781118625392.wbecp507 ↗
30. A Review of the Diagnosis, Pharmacologie Treatment, and Economic Aspects of Anxiety Disorders
31. Low-Anxious, High-Anxious, and Repressive Coping Styles: Psychometric Patterns and Behavioral and Physiological Responses to Stress10.1037/0021-843X.88.4.369 ↗
32. Kaplan, R., and Saccuzzo, D. (1982). Psychological Testing: Principles, Applications, and Issues, Cengage Learning.
33. Ancillon, L., Elgendi, M., and Menon, C. (2022). Machine Learning for Anxiety Detection Using Biosignals: A Review. Diagnostics, 12.10.3390/diagnostics12081794 ↗
34. Stress and Heart Rate Variability: A Meta-Analysis and Review of the Literature10.30773/pi.2017.08.17 ↗
35. Review on Psychological Stress Detection Using Biosignals10.1109/TAFFC.2019.2927337 ↗
36. Advances in Surface EMG: Recent Progress in Detection and Processing Techniques10.1615/CritRevBiomedEng.v38.i4.10 ↗
37. Mental Stress-Induced Physiological Changes in the Human Masseter Muscle10.1177/154405910408300308 ↗
38. Trapezius Muscle EMG as Predictor of Mental Stress10.1145/2485984.2485987 ↗
39. Human Masticatory Muscle Activity and Jaw Position under Experimental Stress10.1046/j.1365-2842.2002.00810.x ↗
40. Turpin, G., and Grandfield, T. (2007). Electrodermal Activity. Encycl. Stress, 899–902.10.1016/B978-012373947-6.00139-2 ↗
41. Off-Line and on-Line Stress Detection through Processing of the Pupil Diameter Signal10.1007/s10439-013-0880-9 ↗
42. Descriptive Analysis of Skin Temperature Variability of Sympathetic Nervous System Activity in Stress10.1589/jpts.24.1341 ↗
43. A Scoping Review on Monitoring Mental Health Using Smart Wearable Devices10.3934/mbe.2022369 ↗
44. A Review on Mental Stress Detection Using Wearable Sensors and Machine Learning Techniques10.1109/ACCESS.2021.3085502 ↗
45. Automated Stress Detection Using Keystroke and Linguistic Features: An Exploratory Study10.1016/j.ijhcs.2009.07.005 ↗
46. The Trier Social Stress Test: Principles and Practice10.1016/j.ynstr.2016.11.001 ↗
47. Scarpina, F., and Tagini, S. (2017). The Stroop Color and Word Test. Front. Psychol., 8.10.3389/fpsyg.2017.00557 ↗
48. Characterization of Stress Reactions to the Stroop Color Word Test10.1016/0091-3057(89)90204-9 ↗
49. Beh, W.-K., Wu, Y.-H., and Wu, A.-Y. (2021). MAUS: A Dataset for Mental Workload Assessmenton N-Back Task Using Wearable Sensor. arXiv.
50. The Cold Pressor Test and Autonomic Function: A Review and Integration10.1111/j.1469-8986.1975.tb01289.x ↗
51. Lang, P.J., Bradley, M.M., and Cuthbert, B.N. (1997). International Affective Picture System (IAPS): Technical Manual and Affective Ratings. NIMH Cent. Study Emot. Atten., 39–58. Available online: https://acordo.net/acordo/wp-content/uploads/2020/08/instructions.pdf.
52. Magaña, V.C., Pañeda, X.G., Garcia, R., Paiva, S., and Pozueco, L. (2021). Beside and behind the Wheel: Factors That Influence Driving Stress and Driving Behavior. Sustainability, 13.10.3390/su13094775 ↗
53. Methods to Detect and Reduce Driver Stress: A Review10.1007/s12239-019-0099-3 ↗
54. Pasha, S.T., Halder, N., Badrul, T., Setu, J.H., Islam, A., and Alam, M.Z. (2024, January 3–5). Physiological Signal Data-Driven Workplace Stress Detection Among Healthcare Professionals Using BiLSTM-AM and Ensemble Stacking Models. Proceedings of the Advances in Science and Engineering Technology International Conferences ASET, Abu Dhabi, United Arab Emirates.10.1109/ASET60340.2024.10708646 ↗
55. Monitoring Stress with a Wrist Device Using Context10.1016/j.jbi.2017.08.006 ↗
56. Machine Learning-Based Stress Classification System Using Wearable Sensor Devices10.11591/ijai.v13.i1.pp337-347 ↗
57. Multilevel Stress Assessment from ECG in a Virtual Reality Environment Using Multimodal Fusion10.1109/JSEN.2023.3323290 ↗
58. Agarwal, S., Sharma, S., Faisal, K.N., and Sharma, R.R. (2024, January 24–25). Induced Stress Identification Using EEG: A Framework Based on MVMD and Machine Learning. Proceedings of the 2024 IEEE International Students’ Conference on Electrical, Electronics and Computer Science SCEECS, Bhopal, India.10.1109/SCEECS61402.2024.10481868 ↗
59. Classifying Multi-Level Stress Responses from Brain Cortical EEG in Nurses and Non-Health Professionals Using Machine Learning Auto Encoder10.1109/JTEHM.2021.3077760 ↗
60. Abd Al-Alim, M., Mubarak, R., Salem, N.M., and Sadek, I. (2024). A Machine-Learning Approach for Stress Detection Using Wearable Sensors in Free-Living Environments. Comput. Biol. Med., 179.10.1016/j.compbiomed.2024.108918 ↗
61. Frontal Lobe Real-Time EEG Analysis Using Machine Learning Techniques for Mental Stress Detection10.31083/j.jin2101020 ↗
62. Arya, L., Chowdhary, H., Agrawal, I., and Sreedevi, I. (2023, January 16–18). Towards Accurate Stress Classification: Combining Advanced Feature Selection and Deep Learning. Proceedings of the 2023 3rd IEEE International Conference on Software Engineering and Artificial Intelligence, SEAI 2023, Xiamen, China.10.1109/SEAI59139.2023.10217367 ↗
63. Badr, Y., Al-Shargie, F., Tariq, U., Babiloni, F., Al Mughairbi, F., and Al-Nashash, H. (2023, January 20–23). Classification of Mental Stress Using Dry EEG Electrodes and Machine Learning. Proceedings of the 2023 Advances in Science and Engineering Technology International Conferences, ASET 2023, Dubai, United Arab Emirates.10.1109/ASET56582.2023.10180884 ↗
64. Badr, Y., Al-Shargie, F., Tariq, U., Babiloni, F., Al-Mughairbi, F., and Al-Nashash, H. (2023, January 24–27). Mental Stress Detection and Mitigation Using Machine Learning and Binaural Beat Stimulation. Proceedings of the 2023 45th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Sydney, Australia.10.1109/EMBC40787.2023.10340673 ↗
65. Bahameish, M., Stockman, T., and Requena Carrión, J. (2024). Strategies for Reliable Stress Recognition: A Machine Learning Approach Using Heart Rate Variability Features. Sensors, 24.10.3390/s24103210 ↗
66. Robust PPG-Based Mental Workload Assessment System Using Wearable Devices10.1109/JBHI.2021.3138639 ↗
67. Bobade, P., and Vani, M. (2020, January 15–17). Stress Detection with Machine Learning and Deep Learning Using Multimodal Physiological Data. Proceedings of the 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), Coimbatore, India.10.1109/ICIRCA48905.2020.9183244 ↗
68. Campanella, S., Altaleb, A., Belli, A., Pierleoni, P., and Palma, L. (2023). A Method for Stress Detection Using Empatica E4 Bracelet and Machine-Learning Techniques. Sensors, 23.10.3390/s23073565 ↗
69. Cui, Z., Ma, Y., Ma, M., Huang, R., and Du, B. (2023, January 17–21). Towards a Lightweight Stress Prediction Model: A Study on Dimension Reduction and Individual Models in HRV Analysis. Proceedings of the 2023 IEEE 29th International Conference on Parallel and Distributed Systems (ICPADS), Ocean Flower Island, China.10.1109/ICPADS60453.2023.00238 ↗
70. Cruz, A.P., Pradeep, A., Sivasankar, K.R., and Krishnaveni, K. (2020, January 28–30). A Decision Tree Optimised SVM Model for Stress Detection Using Biosignals. Proceedings of the 2020 International Conference on Communication and Signal Processing (ICCSP), Chennai, India.10.1109/ICCSP48568.2020.9182043 ↗
71. Dalmeida, K.M., and Masala, G.L. (2021). Hrv Features as Viable Physiological Markers for Stress Detection Using Wearable Devices. Sensors, 21.10.3390/s21082873 ↗
72. Cognitive Training and Stress Detection in MCI Frail Older People through Wearable Sensors and Machine Learning10.1109/ACCESS.2020.2985301 ↗
73. Erkus, E.C., Purutcuoglu, V., Ari, F., and Gokcay, D. (2020, January 19–20). Comparison of Several Machine Learning Classifiers for Arousal Classification: A Preliminary Study. Proceedings of the 2020 Medical Technologies Congress (TIPTEKNO), Antalya, Turkey.10.1109/TIPTEKNO50054.2020.9299316 ↗
74. Contribution of EEG Signals for Students’ Stress Detection10.1109/TAFFC.2024.3503995 ↗
75. Stress and Anxiety Detection Using Facial Cues from Videos10.1016/j.bspc.2016.06.020 ↗
76. Hag, A., Al-Shargie, F., Handayani, D., and Asadi, H. (2023). Mental Stress Classification Based on Selected Electroencephalography Channels Using Correlation Coefficient of Hjorth Parameters. Brain Sci., 13.10.20944/preprints202307.0762.v1 ↗
77. Objective Stress Monitoring Based on Wearable Sensors in Everyday Settings10.1080/03091902.2020.1759707 ↗
78. On the Robustness of Machine Learning Models for Stress and Anxiety Recognition from Heart Activity Signals10.1109/JSEN.2023.3276413 ↗
79. Jahanjoo, A., Taherinejad, N., and Aminifar, A. (2024, January 19–22). High-Accuracy Stress Detection Using Wrist-Worn PPG Sensors. Proceedings of the 2024 IEEE International Symposium on Circuits and Systems (ISCAS), Singapore.10.1109/ISCAS58744.2024.10558012 ↗
80. Abdul Kader, L., Al-Shargie, F., Tariq, U., and Al-Nashash, H. (2024). One-Channel Wearable Mental Stress State Monitoring System. Sensors, 24.10.3390/s24165373 ↗
81. Mental Stress Assessment Using PPG Signal a Deep Neural Network Approach10.1080/03772063.2020.1844068 ↗
82. Electrogastrogram: Demonstrating Feasibility in Mental Stress Assessment Using Sensor Fusion10.1109/JSEN.2020.3026717 ↗
83. Kim, H., Kim, M., Park, K., Kim, J., Yoon, D., Kim, W., and Park, C.H. (2023). Machine Learning-Based Classification Analysis of Knowledge Worker Mental Stress. Front. Public Health, 11.10.3389/fpubh.2023.1302794 ↗
84. Kim, N., Lee, S., Kim, J., Choi, S.Y., and Park, S.M. (2024). Shuffled ECA-Net for Stress Detection from Multimodal Wearable Sensor Data. Comput. Biol. Med., 183.10.1016/j.compbiomed.2024.109217 ↗
85. Konar, D., De, S., Mukherjee, P., and Roy, A.H. (2023, January 1–2). A Novel Human Stress Level Detection Technique Using EEG. Proceedings of the 2023 International Conference on Network, Multimedia and Information Technology (NMITCON), Bengaluru, India.10.1109/NMITCON58196.2023.10276159 ↗
86. Kurniawan, H., Maslov, A.V., and Pechenizkiy, M. (2013, January 20–22). Stress Detection from Speech and Galvanic Skin Response Signals. Proceedings of the CBMS 2013—26th IEEE International Symposium on Computer-Based Medical Systems, Porto, Portugal.
87. Lingelbach, K., Bui, M., Diederichs, F., and Vukelic, M. (2021, January 17–20). Exploring Conventional, Automated and Deep Machine Learning for Electrodermal Activity-Based Drivers’ Stress Recognition. Proceedings of the 2021 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Melbourne, Australia.10.1109/SMC52423.2021.9658662 ↗
88. Psychological Stress Detection Based on Heart Rate Variability
89. Mamdouh, M., Mahmoud, R., Attallah, O., and Al-Kabbany, A. (June, January 30). Stress Detection in the Wild: On the Impact of Cross-Training on Mental State Detection. Proceedings of the 2023 40th National Radio Science Conference (NRSC), Giza, Egypt.10.1109/NRSC58893.2023.10153050 ↗
90. Psychological Stress Detection with Optimally Selected EEG Channel Using Machine Learning Techniques
91. Mevlevioğlu, D., Tabirca, S., and Murphy, D. (2024). Real-Time Classification of Anxiety in Virtual Reality Therapy Using Biosensors and a Convolutional Neural Network. Biosensors, 14.10.3390/bios14030131 ↗
92. Meteier, Q., Capallera, M., Ruffieux, S., Angelini, L., Abou Khaled, O., Mugellini, E., Widmer, M., and Sonderegger, A. (2021). Classification of Drivers’ Workload Using Physiological Signals in Conditional Automation. Front. Psychol., 12.10.3389/fpsyg.2021.596038 ↗
93. Meteier, Q., De Salis, E., Capallera, M., Widmer, M., Angelini, L., Abou Khaled, O., Sonderegger, A., and Mugellini, E. (2022). Relevant Physiological Indicators for Assessing Workload in Conditionally Automated Driving, Through Three-Class Classification and Regression. Front. Comput. Sci., 3.10.3389/fcomp.2021.775282 ↗
94. A Dataset on the Physiological State and Behavior of Drivers in Conditionally Automated Driving10.1016/j.dib.2023.109027 ↗
95. Naegelin, M., Weibel, R.P., Kerr, J.I., Schinazi, V.R., La Marca, R., von Wangenheim, F., Hoelscher, C., and Ferrario, A. (2023). An Interpretable Machine Learning Approach to Multimodal Stress Detection in a Simulated Office Environment. J. Biomed. Inform., 139.10.1016/j.jbi.2023.104299 ↗
96. Plarre, K., Raij, A., Hossain, S.M., Ali, A.A., Nakajima, M., Al’Absi, M., Ertin, E., Kamarck, T., Kumar, S., and Scott, M. (2011, January 12–14). Continuous Inference of Psychological Stress from Sensory Measurements Collected in the Natural Environment. Proceedings of the 10th ACM/IEEE International Conference on Information Processing in Sensor Networks, IPSN’11, Chicago, IL, USA.
97. Analysis and Classification of EEG Data When Playing Video Games and Relax Using EEG Biomarkers10.1063/5.0224678 ↗
98. Stress Detection Using Wearable Physiological Sensors
99. Discriminating Stress From Cognitive Load Using a Wearable EDA Device
100. Sharisha Shanbhog, M., Medikonda, J., and Rai, S. (2024, January 12–14). Unsupervised Machine Learning Approach for Stress Level Classification Using Electrodermal Activity Signals. Proceedings of the 2024 IEEE International Conference on Electronics, Computing and Communication Technologies (CONECCT), Bangalore, India.