{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T18:21:00Z","timestamp":1795198860595,"version":"4.10.3"},"reference-count":44,"publisher":"MDPI AG","issue":"16","license":[{"start":{"date-parts":[[2024,8,6]],"date-time":"2024-08-06T00:00:00Z","timestamp":1722902400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100002428","name":"Austrian Science Fund (FWF)","doi-asserted-by":"publisher","award":["I-3022"],"award-info":[{"award-number":["I-3022"]}],"id":[{"id":"10.13039\/501100002428","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100002428","name":"Austrian Science Fund (FWF)","doi-asserted-by":"publisher","award":["19F2195A"],"award-info":[{"award-number":["19F2195A"]}],"id":[{"id":"10.13039\/501100002428","id-type":"DOI","asserted-by":"publisher"}]},{"name":"German Federal Ministry for Digital and Transport (BMDV)","award":["I-3022"],"award-info":[{"award-number":["I-3022"]}]},{"name":"German Federal Ministry for Digital and Transport (BMDV)","award":["19F2195A"],"award-info":[{"award-number":["19F2195A"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Stress has various impacts on the health of human beings. Recent success in wearable sensor development, combined with advancements in deep learning to automatically detect features from raw data, opens several interesting applications related to detecting emotional states. Being able to accurately detect stress-related emotional arousal in an acute setting can positively impact the imminent health status of humans, i.e., through avoiding dangerous locations in an urban traffic setting. This work proposes an explainable deep learning methodology for the automatic detection of stress in physiological sensor data, recorded through a non-invasive wearable sensor device, the Empatica E4 wristband. We propose a Long-Short Term-Memory (LSTM) network, extended through a Deep Generative Ensemble of conditional GANs (LSTM DGE), to deal with the low data regime of sparsely labeled sensor measurements. As explainability is often a main concern of deep learning models, we leverage Integrated Gradients (IG) to highlight the most essential features used by the model for prediction and to compare the results to state-of-the-art expert-based stress-detection methodologies in terms of precision, recall, and interpretability. The results show that our LSTM DGE outperforms the state-of-the-art algorithm by 3 percentage points in terms of recall, and 7.18 percentage points in terms of precision. More importantly, through the use of Integrated Gradients as a layer of explainability, we show that there is a strong overlap between model-derived stress features for electrodermal activity and existing literature, which current state-of-the-art stress detection systems in medical research and psychology are based on.<\/jats:p>","DOI":"10.3390\/s24165085","type":"journal-article","created":{"date-parts":[[2024,8,6]],"date-time":"2024-08-06T08:07:59Z","timestamp":1722931679000},"page":"5085","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":52,"title":["An Explainable Deep Learning Approach for Stress Detection in Wearable Sensor Measurements"],"prefix":"10.3390","volume":"24","author":[{"ORCID":"https:\/\/orcid.org\/0009-0006-2681-2666","authenticated-orcid":false,"given":"Martin Karl","family":"Moser","sequence":"first","affiliation":[{"name":"Department of Geoinformatics, University of Salzburg, 5020 Salzburg, Austria"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9554-0231","authenticated-orcid":false,"given":"Maximilian","family":"Ehrhart","sequence":"additional","affiliation":[{"name":"Department of Geoinformatics, University of Salzburg, 5020 Salzburg, Austria"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2233-6926","authenticated-orcid":false,"given":"Bernd","family":"Resch","sequence":"additional","affiliation":[{"name":"Center for Geographic Analysis, Harvard University, Cambridge, MA 02138, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2024,8,6]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"344","DOI":"10.1176\/ajp.144.3.344","article-title":"Long-term effects of extreme situational stress on sleep and dreaming","volume":"144","author":"Hefez","year":"1987","journal-title":"Am. J. Psychiatry"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"681","DOI":"10.1007\/BF00931237","article-title":"Chronic stress, acute stress, and depressive symptoms","volume":"18","author":"McGonagle","year":"1990","journal-title":"Am. J. Community Psychol."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"325","DOI":"10.1016\/j.biopsycho.2008.11.005","article-title":"Effects of stress on heart rate complexity\u2014A comparison between short-term and chronic stress","volume":"80","author":"Schubert","year":"2009","journal-title":"Biol. Psychol."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"193","DOI":"10.1007\/s12026-014-8517-0","article-title":"Effects of stress on immune function: The good, the bad, and the beautiful","volume":"58","author":"Dhabhar","year":"2014","journal-title":"Immunol. Res."},{"key":"ref_5","first-page":"100","article-title":"Emotional stress and driving performance: The effect of divorce","volume":"1","author":"McMurray","year":"1970","journal-title":"Behav. Res. Highw. Saf."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"440","DOI":"10.1109\/TAFFC.2019.2927337","article-title":"Review on psychological stress detection using biosignals","volume":"13","author":"Giannakakis","year":"2019","journal-title":"IEEE Trans. Affect. Comput."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"22845","DOI":"10.1109\/JSEN.2023.3304422","article-title":"An Individual-oriented Algorithm for Stress Detection in Wearable Sensor Measurements","volume":"23","author":"Moser","year":"2023","journal-title":"IEEE Sens. J."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Kyriakou, K., Resch, B., Sagl, G., Petutschnig, A., Werner, C., Niederseer, D., Liedlgruber, M., Wilhelm, F., Osborne, T., and Pykett, J. (2019). Detecting moments of stress from measurements of wearable physiological sensors. Sensors, 19.","DOI":"10.3390\/s19173805"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"84045","DOI":"10.1109\/ACCESS.2021.3085502","article-title":"A review on mental stress detection using wearable sensors and machine learning techniques","volume":"9","author":"Gedam","year":"2021","journal-title":"IEEE Access"},{"key":"ref_10","unstructured":"Goodfellow, I., Bengio, Y., and Courville, A. (2016). Deep Learning, MIT Press."},{"key":"ref_11","unstructured":"Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Schmidt, P., Reiss, A., Duerichen, R., Marberger, C., and Van Laerhoven, K. (2018, January 16\u201320). Introducing wesad, a multimodal dataset for wearable stress and affect detection. Proceedings of the 20th ACM International Conference on Multimodal Interaction, Boulder, CO, USA.","DOI":"10.1145\/3242969.3242985"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"76","DOI":"10.1159\/000119004","article-title":"The \u2018Trier Social Stress Test\u2019\u2014A tool for investigating psychobiological stress responses in a laboratory setting","volume":"28","author":"Kirschbaum","year":"1993","journal-title":"Neuropsychobiology"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"410","DOI":"10.1109\/TITB.2009.2036164","article-title":"Discriminating stress from cognitive load using a wearable EDA device","volume":"14","author":"Setz","year":"2009","journal-title":"IEEE Trans. Inf. Technol. Biomed."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"156","DOI":"10.1109\/TITS.2005.848368","article-title":"Detecting stress during real-world driving tasks using physiological sensors","volume":"6","author":"Healey","year":"2005","journal-title":"IEEE Trans. Intell. Transp. Syst."},{"key":"ref_16","unstructured":"Sundararajan, M., Taly, A., and Yan, Q. (2017, January 6\u201311). Axiomatic attribution for deep networks. Proceedings of the International Conference on Machine Learning PMLR, Sydney, Australia."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"319","DOI":"10.1111\/cgf.14733","article-title":"State of the art of visual analytics for explainable deep learning","volume":"42","author":"Blasilli","year":"2023","journal-title":"Comput. Graph. Forum"},{"key":"ref_18","unstructured":"van Breugel, B., Qian, Z., and van der Schaar, M. (2023). Synthetic data, real errors: How (not) to publish and use synthetic data. arXiv."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"105026","DOI":"10.1016\/j.ijmedinf.2023.105026","article-title":"Generalizable machine learning for stress monitoring from wearable devices: A systematic literature review","volume":"173","author":"Vos","year":"2023","journal-title":"Int. J. Med. Inform."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"394","DOI":"10.1016\/j.biopsycho.2010.03.010","article-title":"Autonomic nervous system activity in emotion: A review","volume":"84","author":"Kreibig","year":"2010","journal-title":"Biol. Psychol."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Farrow, T.F., Johnson, N.K., Hunter, M.D., Barker, A.T., Wilkinson, I.D., and Woodruff, P.W. (2013). Neural correlates of the behavioral-autonomic interaction response to potentially threatening stimuli. Front. Hum. Neurosci., 6.","DOI":"10.3389\/fnhum.2012.00349"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"788","DOI":"10.1109\/TAFFC.2021.3055294","article-title":"Acute stress state classification based on electrodermal activity modeling","volume":"14","author":"Greco","year":"2021","journal-title":"IEEE Trans. Affect. Comput."},{"key":"ref_23","first-page":"200","article-title":"The electrodermal system","volume":"Volume 2","author":"Dawson","year":"2007","journal-title":"Handbook of Psychophysiology"},{"key":"ref_24","first-page":"797","article-title":"cvxEDA: A convex optimization approach to electrodermal activity processing","volume":"63","author":"Greco","year":"2015","journal-title":"IEEE Trans. Biomed. Eng."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Zhai, J., and Barreto, A. (September, January 30). Stress detection in computer users based on digital signal processing of noninvasive physiological variables. Proceedings of the 2006 International Conference of the IEEE Engineering in Medicine and Biology Society, New York, NY, USA.","DOI":"10.1109\/IEMBS.2006.259421"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"520","DOI":"10.3109\/10253890.2013.807243","article-title":"The effect of stress on core and peripheral body temperature in humans","volume":"16","author":"Vinkers","year":"2013","journal-title":"Stress"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"R1173","DOI":"10.1152\/ajpregu.1997.273.3.R1173","article-title":"Spontaneous skin temperature oscillations in normal human subjects","volume":"273","author":"Shusterman","year":"1997","journal-title":"Am. J.-Physiol.-Regul. Integr. Comp. Physiol."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Bobade, P., and Vani, M. (2020, January 15\u201317). 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.","DOI":"10.1109\/ICIRCA48905.2020.9183244"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Smets, E., Casale, P., Gro\u00dfekath\u00f6fer, U., Lamichhane, B., De Raedt, W., Bogaerts, K., Van Diest, I., and Van Hoof, C. (2016). Comparison of machine learning techniques for psychophysiological stress detection. Pervasive Computing Paradigms for Mental Health, Proceedings of the 5th International Conference, MindCare 2015, Milan, Italy, 24\u201325 September 2015, Springer. Revised Selected Papers 5.","DOI":"10.1007\/978-3-319-32270-4_2"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Li, R., and Liu, Z. (2020). Stress detection using deep neural networks. BMC Med. Inform. Decis. Mak., 20.","DOI":"10.1186\/s12911-020-01299-4"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"436","DOI":"10.1038\/nature14539","article-title":"Deep learning","volume":"521","author":"LeCun","year":"2015","journal-title":"Nature"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Ehrhart, M., Resch, B., Havas, C., and Niederseer, D. (2022). A Conditional GAN for Generating Time Series Data for Stress Detection in Wearable Physiological Sensor Data. Sensors, 22.","DOI":"10.3390\/s22165969"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Petutschnig, A., Reichel, S., M\u011bchurov\u00e1, K., and Resch, B. (2022). An eDiary App Approach for collecting physiological Sensor Data from Wearables together with subjective observations and emotions. Sensors, 22.","DOI":"10.3390\/s22166120"},{"key":"ref_34","unstructured":"(2024, July 03). E4 Wristband|Real-Time Physiological Signals|Wearable PPG, EDA, Temperature, Motion Sensors. Available online: https:\/\/support.empatica.com\/hc\/en-us\/articles\/202581999-E4-wristband-technical-specifications."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"261","DOI":"10.1038\/s41592-019-0686-2","article-title":"SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python","volume":"17","author":"Virtanen","year":"2020","journal-title":"Nat. Methods"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Boucsein, W. (2012). Electrodermal Activity, Springer Science & Business Media.","DOI":"10.1007\/978-1-4614-1126-0"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long short-term memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"2451","DOI":"10.1162\/089976600300015015","article-title":"Learning to forget: Continual prediction with LSTM","volume":"12","author":"Gers","year":"2000","journal-title":"Neural Comput."},{"key":"ref_39","unstructured":"Jozefowicz, R., Zaremba, W., and Sutskever, I. (2015, January 6\u201311). An empirical exploration of recurrent network architectures. Proceedings of the International Conference on Machine Learning, PMLR, Lille, France."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Um, T.T., Pfister, F.M.J., Pichler, D., Endo, S., Lang, M., Hirche, S., Fietzek, U., and Kuli\u0107, D. (2017, January 13\u201317). Data augmentation of wearable sensor data for parkinson\u2019s disease monitoring using convolutional neural networks. Proceedings of the 19th ACM International Conference on Multimodal Interaction, ACM, ICMI\u201917, Glasgow, UK.","DOI":"10.1145\/3136755.3136817"},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"105151","DOI":"10.1016\/j.engappai.2022.105151","article-title":"Ensemble deep learning: A review","volume":"115","author":"Ganaie","year":"2022","journal-title":"Eng. Appl. Artif. Intell."},{"key":"ref_42","unstructured":"Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., and Antiga, L. (2019). PyTorch: An Imperative Style, High-Performance Deep Learning Library. Advances in Neural Information Processing Systems 32, Curran Associates, Inc."},{"key":"ref_43","unstructured":"Lakshminarayanan, B., Pritzel, A., and Blundell, C. (2017, January 4\u20139). Simple and scalable predictive uncertainty estimation using deep ensembles. Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA."},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"1","DOI":"10.5194\/ica-adv-2-9-2019","article-title":"Spatial analysis of moments of stress derived from wearable sensor data","volume":"2","author":"Kyriakou","year":"2019","journal-title":"Adv. Cartogr. Gisci. ICA"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/16\/5085\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T15:30:38Z","timestamp":1760110238000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/16\/5085"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,8,6]]},"references-count":44,"journal-issue":{"issue":"16","published-online":{"date-parts":[[2024,8]]}},"alternative-id":["s24165085"],"URL":"https:\/\/doi.org\/10.3390\/s24165085","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,8,6]]}}}