{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,3]],"date-time":"2026-10-03T16:46:18Z","timestamp":1791045978016,"version":"4.1.0"},"reference-count":47,"publisher":"MDPI AG","issue":"16","license":[{"start":{"date-parts":[[2022,8,10]],"date-time":"2022-08-10T00:00:00Z","timestamp":1660089600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"German Federal Ministry for Digital and Transport (BMDV)","award":["19F2195A"],"award-info":[{"award-number":["19F2195A"]}]},{"name":"German Federal Ministry for Digital and Transport (BMDV)","award":["873353"],"award-info":[{"award-number":["873353"]}]},{"name":"German Federal Ministry for Digital and Transport (BMDV)","award":["874070"],"award-info":[{"award-number":["874070"]}]},{"DOI":"10.13039\/501100004955","name":"Austrian Research Promotion Agency (FFG)","doi-asserted-by":"publisher","award":["19F2195A"],"award-info":[{"award-number":["19F2195A"]}],"id":[{"id":"10.13039\/501100004955","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100004955","name":"Austrian Research Promotion Agency (FFG)","doi-asserted-by":"publisher","award":["873353"],"award-info":[{"award-number":["873353"]}],"id":[{"id":"10.13039\/501100004955","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100004955","name":"Austrian Research Promotion Agency (FFG)","doi-asserted-by":"publisher","award":["874070"],"award-info":[{"award-number":["874070"]}],"id":[{"id":"10.13039\/501100004955","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Human-centered applications using wearable sensors in combination with machine learning have received a great deal of attention in the last couple of years. At the same time, wearable sensors have also evolved and are now able to accurately measure physiological signals and are, therefore, suitable for detecting body reactions to stress. The field of machine learning, or more precisely, deep learning, has been able to produce outstanding results. However, in order to produce these good results, large amounts of labeled data are needed, which, in the context of physiological data related to stress detection, are a great challenge to collect, as they usually require costly experiments or expert knowledge. This usually results in an imbalanced and small dataset, which makes it difficult to train a deep learning algorithm. In recent studies, this problem is tackled with data augmentation via a Generative Adversarial Network (GAN). Conditional GANs (cGAN) are particularly suitable for this as they provide the opportunity to feed auxiliary information such as a class label into the training process to generate labeled data. However, it has been found that during the training process of GANs, different problems usually occur, such as mode collapse or vanishing gradients. To tackle the problems mentioned above, we propose a Long Short-Term Memory (LSTM) network, combined with a Fully Convolutional Network (FCN) cGAN architecture, with an additional diversity term to generate synthetic physiological data, which are used to augment the training dataset to improve the performance of a binary classifier for stress detection. We evaluated the methodology on our collected physiological measurement dataset, and we were able to show that using the method, the performance of an LSTM and an FCN classifier could be improved. Further, we showed that the generated data could not be distinguished from the real data any longer.<\/jats:p>","DOI":"10.3390\/s22165969","type":"journal-article","created":{"date-parts":[[2022,8,10]],"date-time":"2022-08-10T09:42:56Z","timestamp":1660124576000},"page":"5969","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":50,"title":["A Conditional GAN for Generating Time Series Data for Stress Detection in Wearable Physiological Sensor Data"],"prefix":"10.3390","volume":"22","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9554-0231","authenticated-orcid":false,"given":"Maximilian","family":"Ehrhart","sequence":"first","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":"Department of Geoinformatics, University of Salzburg, 5020 Salzburg, Austria"},{"name":"Center for Geographic Analysis, Harvard University, Cambridge, MA 02138, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0390-5094","authenticated-orcid":false,"given":"Clemens","family":"Havas","sequence":"additional","affiliation":[{"name":"Department of Geoinformatics, University of Salzburg, 5020 Salzburg, Austria"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3089-1222","authenticated-orcid":false,"given":"David","family":"Niederseer","sequence":"additional","affiliation":[{"name":"Department of Cardiology, University Heart Center Zurich, University Hospital Zurich, University of Zurich, 8091 Zurich, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2022,8,10]]},"reference":[{"key":"ref_1","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_2","doi-asserted-by":"crossref","first-page":"374","DOI":"10.1038\/nrendo.2009.106","article-title":"Stress and disorders of the stress system","volume":"5","author":"Chrousos","year":"2009","journal-title":"Nat. Rev. Endocrinol."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Cho, D., Ham, J., Oh, J., Park, J., Kim, S., Lee, N.K., and Lee, B. (2017). Detection of Stress Levels from Biosignals Measured in Virtual Reality Environments Using a Kernel-Based Extreme Learning Machine. Sensors, 17.","DOI":"10.3390\/s17102435"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"60","DOI":"10.1186\/s40537-019-0197-0","article-title":"A survey on image data augmentation for deep learning","volume":"6","author":"Shorten","year":"2019","journal-title":"J. Big Data"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Zhu, J.Y., Park, T., Isola, P., and Efros, A.A. (2017). Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks. arXiv.","DOI":"10.1109\/ICCV.2017.244"},{"key":"ref_6","unstructured":"Mirza, M., and Osindero, S. (2014). Conditional generative adversarial nets. arXiv."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Karras, T., Laine, S., and Aila, T. (2018). A Style-Based Generator Architecture for Generative Adversarial Networks. arXiv.","DOI":"10.1109\/CVPR.2019.00453"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Frid-Adar, M., Klang, E., Amitai, M., Goldberger, J., and Greenspan, H. (2018, January 4\u20137). Synthetic data augmentation using GAN for improved liver lesion classification. Proceedings of the 2018 IEEE 15th International Symposium on Biomedical Imaging (ISBI 2018), Washington, DC, USA.","DOI":"10.1109\/ISBI.2018.8363576"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"917","DOI":"10.1007\/s10618-019-00619-1","article-title":"Deep learning for time series classification: A review","volume":"33","author":"Forestier","year":"2019","journal-title":"Data Min. Knowl. Discov."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Wang, Z., Yan, W., and Oates, T. (2016). Time Series Classification from Scratch with Deep Neural Networks: A Strong Baseline. arXiv.","DOI":"10.1109\/IJCNN.2017.7966039"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"103139","DOI":"10.1016\/j.jbi.2019.103139","article-title":"Stress detection in daily life scenarios using smart phones and wearable sensors: A survey","volume":"92","author":"Can","year":"2019","journal-title":"J. Biomed. Inform."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Kyriakou, K., Resch, B., Sagl, G., Petutschnig, A., Werner, C., Niederseer, D., Liedlgruber, M., Wilhelm, F.H., Osborne, T., and Pykett, J. (2019). Detecting Moments of Stress from Measurements of Wearable Physiological Sensors. Sensors, 19.","DOI":"10.3390\/s19173805"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Castaldo, R., Montesinos, L., Melillo, P., Massaro, S., and Pecchia, L. (2017). To What Extent Can We Shorten HRV Analysis in Wearable Sensing? A Case Study on Mental Stress Detection. EMBEC & NBC 2017, Springer.","DOI":"10.1007\/978-981-10-5122-7_161"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"de Santos Sierra, A., \u00c1vila, C.S., Casanova, J.G., del Pozo, G.B., and Vera, V.J. (2010, January 15\u201317). Two stress detection schemes based on physiological signals for real-time applications. Proceedings of the 2010 Sixth International Conference on Intelligent Information Hiding and Multimedia Signal Processing, Darmstadt, Germany.","DOI":"10.1109\/IIHMSP.2010.95"},{"key":"ref_15","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_16","doi-asserted-by":"crossref","unstructured":"Albertetti, F., Simalastar, A., and Rizzotti-Kaddouri, A. (2020, January 3). Stress detection with deep learning approaches using physiological signals. Proceedings of the International Conference on IoT Technologies for HealthCare, Viana do Castello, Portugal.","DOI":"10.1007\/978-3-030-69963-5_7"},{"key":"ref_17","unstructured":"Ramponi, G., Protopapas, P., Brambilla, M., and Janssen, R. (2018). T-CGAN: Conditional Generative Adversarial Network for Data Augmentation in Noisy Time Series with Irregular Sampling. arXiv."},{"key":"ref_18","unstructured":"Esteban, C., Hyland, S.L., and R\u00e4tsch, G. (2017). Real-valued (medical) time series generation with recurrent conditional gans. arXiv."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Iwana, B.K., and Uchida, S. (2021). An empirical survey of data augmentation for time series classification with neural networks. PLoS ONE, 16.","DOI":"10.1371\/journal.pone.0254841"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Wen, Q., Sun, L., Yang, F., Song, X., Gao, J., Wang, X., and Xu, H. (2021, January 19\u201327). Time Series Data Augmentation for Deep Learning: A Survey. Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, Virtual Event\/Montreal, Canada.","DOI":"10.24963\/ijcai.2021\/631"},{"key":"ref_21","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, Glasgow, UK.","DOI":"10.1145\/3136755.3136817"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Haradal, S., Hayashi, H., and Uchida, S. (2018, January 18\u201321). Biosignal Data Augmentation Based on Generative Adversarial Networks. Proceedings of the 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Honolulu, HI, USA.","DOI":"10.1109\/EMBC.2018.8512396"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"3226","DOI":"10.1109\/JBHI.2020.2979608","article-title":"PlethAugment: GAN-based PPG augmentation for medical diagnosis in low-resource settings","volume":"24","author":"Kiyasseh","year":"2020","journal-title":"IEEE J. Biomed. Health Inform."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Furdui, A., Zhang, T., Worring, M., Cesar, P., and El Ali, A. (2021, January 21\u201326). AC-WGAN-GP: Augmenting ECG and GSR Signals Using Conditional Generative Models for Arousal Classification. Proceedings of the Adjunct Proceedings of the 2021 ACM International Joint Conference on Pervasive and Ubiquitous Computing and Proceedings of the 2021 ACM International Symposium on Wearable Computers, Virtual.","DOI":"10.1145\/3460418.3479301"},{"key":"ref_25","unstructured":"Yang, D., Hong, S., Jang, Y., Zhao, T., and Lee, H. (2019). Diversity-sensitive conditional generative adversarial networks. arXiv."},{"key":"ref_26","unstructured":"Empatica Inc (2022, July 01). E4 Wristband. Available online: https:\/\/www.empatica.com\/research\/e4\/."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"394","DOI":"10.1177\/1094428116681073","article-title":"The Body and the Brain: Measuring Skin Conductance Responses to Understand the Emotional Experience","volume":"22","author":"Christopoulos","year":"2019","journal-title":"Organ. Res. Methods"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"186","DOI":"10.3414\/ME9108","article-title":"Effect of movements on the electrodermal response after a startle event","volume":"47","author":"Schumm","year":"2008","journal-title":"Methods Inf. Med."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Ch\u00eanes, C., Chanel, G., Soleymani, M., and Pun, T. (2013). Highlight detection in movie scenes through inter-users, physiological linkage. Social Media Retrieval, Springer.","DOI":"10.1007\/978-1-4471-4555-4_10"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"R\u00e1cz, A., Bajusz, D., and H\u00e9berger, K. (2021). Effect of dataset size and train\/test split ratios in QSAR\/QSPR multiclass classification. Molecules, 26.","DOI":"10.3390\/molecules26041111"},{"key":"ref_31","first-page":"2672","article-title":"Generative adversarial nets","volume":"Volume 27","author":"Goodfellow","year":"2014","journal-title":"Advances in Neural Information Processing Systems"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"1662","DOI":"10.1109\/ACCESS.2017.2779939","article-title":"LSTM fully convolutional networks for time series classification","volume":"6","author":"Karim","year":"2017","journal-title":"IEEE Access"},{"key":"ref_33","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_34","unstructured":"Pascanu, R., Mikolov, T., and Bengio, Y. (2013). On the difficulty of training Recurrent Neural Networks. arXiv."},{"key":"ref_35","unstructured":"Wiatrak, M., Albrecht, S.V., and Nystrom, A. (2020). Stabilizing Generative Adversarial Networks: A Survey. arXiv."},{"key":"ref_36","unstructured":"Kingma, D.P., and Ba, J. (2017). Adam: A Method for Stochastic Optimization. arXiv."},{"key":"ref_37","unstructured":"Radford, A., Metz, L., and Chintala, S. (2016). Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks. arXiv."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Borji, A. (2018). Pros and Cons of GAN Evaluation Measures. arXiv.","DOI":"10.1016\/j.cviu.2018.10.009"},{"key":"ref_39","first-page":"2579","article-title":"Visualizing data using t-SNE","volume":"9","author":"Hinton","year":"2008","journal-title":"J. Mach. Learn. Res."},{"key":"ref_40","unstructured":"Lopez-Paz, D., and Oquab, M. (2018). Revisiting classifier two-sample tests. arXiv."},{"key":"ref_41","first-page":"2825","article-title":"Scikit-learn: Machine Learning in Python","volume":"12","author":"Pedregosa","year":"2011","journal-title":"J. Mach. Learn. Res."},{"key":"ref_42","unstructured":"Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G.S., Davis, A., Dean, J., and Devin, M. (2022, July 06). TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems. Available online: tensorflow.org."},{"key":"ref_43","unstructured":"Yoon, J., Jarrett, D., and Van der Schaar, M. (2019). Time-series generative adversarial networks. Advances in Neural Information Processing Systems, Curran Associates, Inc."},{"key":"ref_44","unstructured":"Arjovsky, M., Chintala, S., and Bottou, L. (2017, January 6\u201311). Wasserstein generative adversarial networks. Proceedings of the International Conference on Machine Learning, Sydney, Australia."},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27\u201330). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.90"},{"key":"ref_46","unstructured":"Settles, B. (2009). Active Learning Literature Survey 2009, University of Wisconsin-Madison Department of Computer Sciences. Technical Report."},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Lazarus, R.S. (1991). Emotion and Adaptation, Oxford University Press.","DOI":"10.1093\/oso\/9780195069945.001.0001"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/16\/5969\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T00:06:34Z","timestamp":1760141194000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/16\/5969"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,8,10]]},"references-count":47,"journal-issue":{"issue":"16","published-online":{"date-parts":[[2022,8]]}},"alternative-id":["s22165969"],"URL":"https:\/\/doi.org\/10.3390\/s22165969","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,8,10]]}}}