skip to main content
research-article

TS-GAN: Time-series GAN for Sensor-based Health Data Augmentation

Published:18 April 2023Publication History
Skip Abstract Section

Abstract

Deep learning has achieved significant success on intelligent medical treatments, such as automatic diagnosis and analysis of medical data. To train an automatic diagnosis system with high accuracy and strong robustness in healthcare, sufficient training data are required when using deep learning-based methods. However, given that the data collected by sensors that are embedded in medical or mobile devices are inadequate, it is challenging to train an effective and efficient classification model with state-of-the-art performance. Inspired by generative adversarial networks (GANs), we propose TS-GAN, a Time-series GAN architecture based on long short-term memory (LSTM) networks for sensor-based health data augmentation, thereby improving the performance of deep learning-based classification models. TS-GAN aims to learn a generative model that creates time-series data with the same space and time dependence as the real data. Specifically, we design an LSTM-based generator for creating realistic data and an LSTM-based discriminator for determining how similar the generated data are to real data. In particular, we design a sequential-squeeze-and-excitation module in the LSTM-based discriminator to better understand space dependence of real data, and apply the gradient penalty originated from Wasserstein GANs in the training process to stabilize the optimization. We conduct comparative experiments to evaluate the performance of TS-GAN with TimeGAN, C-RNN-GAN and Conditional Wasserstein GANs through discriminator loss, maximum mean discrepancy, visualization methods and classification accuracy on health datasets of ECG_200, NonInvasiveFatalECG_Thorax1, and mHealth, respectively. The experimental results show that TS-GAN exceeds other state-of-the-art time-series GANs in almost all the evaluation metrics, and the classifier trained on synthetic datasets generated by TS-GAN achieves the highest classification accuracy of 97.50% on ECG_200, 94.12% on NonInvasiveFatalECG_Thorax1, and 98.12% on mHealth, respectively.

REFERENCES

  1. [1] Aziz Md Momin Al, Ahmed Tanbir, Faequa Tasnia, Jiang Xiaoqian, Yao Yiyu, and Mohammed Noman. 2021. Differentially private medical texts generation using generative neural networks. ACM Trans. Comput. Healthcare 3, 1, Article 5 (Oct.2021), 27 pages. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. [2] Alshammari Talal, Alshammari Nasser, Sedky Mohamed, and Howard Chris. 2018. SIMADL: Simulated activities of daily living dataset. Data 3, 2 (2018), 11.Google ScholarGoogle ScholarCross RefCross Ref
  3. [3] Arifoglu Damla and Bouchachia Abdelhamid. 2019. Abnormal behaviour detection for dementia sufferers via transfer learning and recursive auto-encoders. In Proceedings of the IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops’19). IEEE, 529534.Google ScholarGoogle Scholar
  4. [4] Arjovsky Martin, Chintala Soumith, and Bottou Léon. 2017. Wasserstein generative adversarial networks. In Proceedings of the International Conference on Machine Learning. PMLR, 214223.Google ScholarGoogle Scholar
  5. [5] Banos Oresti, Villalonga Claudia, Garcia Rafael, Saez Alejandro, Damas Miguel, Holgado-Terriza Juan A., Lee Sungyong, Pomares Hector, and Rojas Ignacio. 2015. Design, implementation and validation of a novel open framework for agile development of mobile health applications. Biomed. Eng. Online 14, 2 (2015), 120. Retrieved from http://archive.ics.uci.edu/ml/datasets/mhealth+dataset.Google ScholarGoogle Scholar
  6. [6] Bowles Christopher, Chen Liang, Guerrero Ricardo, Bentley Paul, Gunn Roger, Hammers Alexander, Dickie David Alexander, Hernández Maria Valdés, Wardlaw Joanna, and Rueckert Daniel. 2018. Gan augmentation: Augmenting training data using generative adversarial networks. Retrieved from https://arXiv:1810.10863.Google ScholarGoogle Scholar
  7. [7] Chen Qili, Liang Bofan, and Wang Jiuhe. 2019. A comparative study of LSTM and phased LSTM for gait prediction. Int. J. Artificial. Intelli. App. 10, 4 (2019), 5766.Google ScholarGoogle Scholar
  8. [8] Cheung Tsz-Him and Yeung Dit-Yan. 2020. Modals: Modality-agnostic automated data augmentation in the latent space. In Proceedings of the International Conference on Learning Representations.Google ScholarGoogle Scholar
  9. [9] Cubuk Ekin D., Zoph Barret, Mane Dandelion, Vasudevan Vijay, and Le Quoc V.. 2018. Autoaugment: Learning augmentation policies from data. Retrieved from https://arXiv:1805.09501.Google ScholarGoogle Scholar
  10. [10] Cubuk Ekin D., Zoph Barret, Shlens Jonathon, and Le Quoc V.. 2020. Randaugment: Practical automated data augmentation with a reduced search space. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 702703.Google ScholarGoogle ScholarCross RefCross Ref
  11. [11] Dau Hoang Anh, Bagnall Anthony, Kamgar Kaveh, Yeh Chin-Chia Michael, Zhu Yan, Gharghabi Shaghayegh, Ratanamahatana Chotirat Ann, and Keogh Eamonn. 2019. The UCR time-series archive. IEEE/CAA J. Autom. Sinica 6, 6 (2019), 12931305. Retrieved from https://www.cs.ucr.edu/eamonn/time_series_data_2018/.Google ScholarGoogle ScholarCross RefCross Ref
  12. [12] Deng Shaojiang, Luo Jiaxing, and Li Yantao. 2021. CNN-based continuous authentication on smartphones with auto augmentation search. In Information and Communications Security, Gao Debin, Li Qi, Guan Xiaohong, and Liao Xiaofeng (Eds.). Springer International Publishing, Cham, 169186. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. [13] Dieleman Sander, Willett Kyle W., and Dambre Joni. 2015. Rotation-invariant convolutional neural networks for galaxy morphology prediction. Monthly Notices Roy. Astron. Soc. 450, 2 (2015), 14411459.Google ScholarGoogle ScholarCross RefCross Ref
  14. [14] Ebrahimi Zahra, Loni Mohammad, Daneshtalab Masoud, and Gharehbaghi Arash. 2020. A review on deep learning methods for ECG arrhythmia classification. Expert Syst. Appl.: X 7 (2020), 100033.Google ScholarGoogle ScholarCross RefCross Ref
  15. [15] Maachi Imanne El, Bilodeau Guillaume-Alexandre, and Bouachir Wassim. 2020. Deep 1D-convnet for accurate Parkinson disease detection and severity prediction from gait. Expert Syst. Appl. 143 (2020), 113075.Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. [16] Farnia Farzan and Ozdaglar Asuman. 2020. Do GANs always have Nash equilibria? In Proceedings of the 37th International Conference on Machine Learning (Proceedings of Machine Learning Research), III Hal Daume and Singh Aarti (Eds.), Vol. 119. PMLR, 30293039.Google ScholarGoogle Scholar
  17. [17] Fields Tonya, Hsieh George, and Chenou Jules. 2019. Mitigating drift in time-series data with noise augmentation. In Proceedings of the International Conference on Computational Science and Computational Intelligence (CSCI’19). IEEE, 227230.Google ScholarGoogle Scholar
  18. [18] Fogel Alexander L. and Kvedar Joseph C.. 2018. Artificial intelligence powers digital medicine. NPJ Dig. Med. 1, 1 (2018), 14.Google ScholarGoogle Scholar
  19. [19] Fons Elizabeth, Dawson Paula, Zeng Xiao-jun, Keane John, and Iosifidis Alexandros. 2021. Adaptive weighting scheme for automatic time-series data augmentation. Retrieved from https://arXiv:2102.08310.Google ScholarGoogle Scholar
  20. [20] Goodfellow Ian. 2016. Nips 2016 tutorial: Generative adversarial networks. Retrieved from https://arXiv:1701.00160.Google ScholarGoogle Scholar
  21. [21] Goodfellow Ian, Pouget-Abadie Jean, Mirza Mehdi, Xu Bing, Warde-Farley David, Ozair Sherjil, Courville Aaron, and Bengio Yoshua. 2020. Generative adversarial networks. Commun. ACM 63, 11 (2020), 139144.Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. [22] Graves Alex and Schmidhuber Jürgen. 2005. Framewise phoneme classification with bidirectional LSTM and other neural network architectures. Neural Netw. 18, 5-6 (2005), 602610.Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. [23] Gulrajani Ishaan, Ahmed Faruk, Arjovsky Martin, Dumoulin Vincent, and Courville Aaron. 2017. Improved training of wasserstein gans. Retrieved from https://arXiv:1704.00028.Google ScholarGoogle Scholar
  24. [24] Guo Yang, An Dongsheng, Qi Xin, Luo Zhongxuan, Yau Shing-Tung, Gu Xianfeng, et al. 2019. Mode collapse and regularity of optimal transportation maps. Retrieved from https://arXiv:1902.02934.Google ScholarGoogle Scholar
  25. [25] Hu Jie, Shen Li, and Sun Gang. 2018. Squeeze-and-excitation networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 71327141.Google ScholarGoogle ScholarCross RefCross Ref
  26. [26] Hussein Amir, Djandji Marc, Mahmoud Reem A., Dhaybi Mohamad, and Hajj Hazem. 2020. Augmenting DL with adversarial training for robust prediction of epilepsy seizures. ACM Trans. Comput. Healthcare 1, 3, Article 18 (June2020), 18 pages. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. [27] Jaitly Navdeep and Hinton Geoffrey E.. 2013. Vocal tract length perturbation (VTLP) improves speech recognition. In Proceedings of the International Conference on Machine Learning Workshop on Deep Learning for Audio, Speech and Language (ICML’13), Vol. 117. 21.Google ScholarGoogle Scholar
  28. [28] Madhura Joshi, Ankit Pal, and Malaikannan Sankarasubbu. 2022. Federated learning for healthcare domain - pipeline, applications and challenges. ACM Trans. Comput. Healthcare 3, 4 (2022), 36 pages. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. [29] Kluwak Konrad and Niżyński Teodor. 2020. Gait classification using LSTM networks for tagging system. In Proceedings of the IEEE 15th International Conference of System of Systems Engineering (SoSE’20). IEEE, 295300.Google ScholarGoogle Scholar
  30. [30] Sayeri Lala, Maha Shady, Anastasiya Belyaeva, and Molei Liu. 2018. Evaluation of mode collapse in generative adversarial networks. In Proceedings of the IEEE High Performance Extreme Computing Conference (HPEC’18). IEEE, 1–9.Google ScholarGoogle Scholar
  31. [31] Li Chun-Liang, Chang Wei-Cheng, Cheng Yu, Yang Yiming, and Póczos Barnabás. 2017. Mmd gan: Towards deeper understanding of moment matching network. Retrieved from https://arXiv:1705.08584.Google ScholarGoogle Scholar
  32. [32] Li Yantao, Hu Hailong, and Zhou Gang. 2018. Using data augmentation in continuous authentication on smartphones. IEEE Internet Things J. 6, 1 (2018), 628640.Google ScholarGoogle Scholar
  33. [33] Li Yantao, Liu Li, Qin Huafeng, Deng Shaojiang, El-Yacoubi Mounim A., and Zhou Gang. 2022. Adaptive deep feature fusion for continuous authentication with data augmentation. IEEE Trans. Mobile Comput. (2022), 116. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  34. [34] Yuan-Pin Lin, Yi-Hsuan Yang, and Tzyy-Ping Jung. 2014. Fusion of electroencephalographic dynamics and musical contents for estimating emotional responses in music listening. Front Neurosci. 8 (2014), 14 pages. Google ScholarGoogle ScholarCross RefCross Ref
  35. [35] Liu Xinwen, Wang Huan, Li Zongjin, and Qin Lang. 2021. Deep learning in ECG diagnosis: A review. Knowl.-Based Syst. 227 (2021), 107187.Google ScholarGoogle ScholarDigital LibraryDigital Library
  36. [36] Lu Yifei, Zheng Wei-Long, Li Binbin, and Lu Bao-Liang. 2015. Combining eye movements and EEG to enhance emotion recognition. In Proceedings of the 24th International Joint Conference on Artificial Intelligence.Google ScholarGoogle ScholarDigital LibraryDigital Library
  37. [37] Luo Yun and Lu Bao-Liang. 2018. EEG data augmentation for emotion recognition using a conditional Wasserstein GAN. In Proceedings of the 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC’18). IEEE, 25352538.Google ScholarGoogle ScholarCross RefCross Ref
  38. [38] Mogren Olof. 2016. C-RNN-GAN: Continuous recurrent neural networks with adversarial training. Retrieved from https://arXiv:1611.09904.Google ScholarGoogle Scholar
  39. [39] Oba Daisuke, Matsuo Shinnosuke, and Iwana Brian Kenji. 2021. Dynamic data augmentation with gating networks. Retrieved from https://arXiv:2111.03253.Google ScholarGoogle Scholar
  40. [40] Piacentino Esteban, Guarner Alvaro, and Angulo Cecilio. 2021. Generating synthetic ECGs using GANs for anonymizing healthcare data. Electronics 10, 4 (2021), 389.Google ScholarGoogle Scholar
  41. [41] Salamon Justin and Bello Juan Pablo. 2017. Deep convolutional neural networks and data augmentation for environmental sound classification. IEEE Signal Process. Lett. 24, 3 (2017), 279283. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  42. [42] Arash Shaban-Nejad, Martin Michalowski, and David L. Buckeridge. 2018. Health intelligence: How artificial intelligence transforms population and personalized health. npj Digital Med 1 (2018), 2 pages. Google ScholarGoogle ScholarCross RefCross Ref
  43. [43] Shaham Tamar Rott, Dekel Tali, and Michaeli Tomer. 2019. Singan: Learning a generative model from a single natural image. In Proceedings of the IEEE/CVF International Conference on Computer Vision. 45704580.Google ScholarGoogle ScholarCross RefCross Ref
  44. [44] Um Terry T., Pfister Franz M. J., Pichler Daniel, Endo Satoshi, Lang Muriel, Hirche Sandra, Fietzek Urban, and Kulić Dana. 2017. Data augmentation of wearable sensor data for Parkinson’s disease monitoring using convolutional neural networks. In Proceedings of the 19th ACM International Conference on Multimodal Interaction. 216220.Google ScholarGoogle ScholarDigital LibraryDigital Library
  45. [45] Maaten Laurens van der and Hinton Geoffrey. 2008. Visualizing data using t-SNE. J. Mach. Learn. Res. 9, 86 (2008), 25792605.Google ScholarGoogle Scholar
  46. [46] Xia Yong, Wulan Naren, Wang Kuanquan, and Zhang Henggui. 2017. Atrial fibrillation detection using stationary wavelet transform and deep learning. In Proceedings of the Computing in Cardiology (CinC’17). IEEE, 14.Google ScholarGoogle Scholar
  47. [47] Jinsung Yoon, Daniel Jarrett, and Mihaela Van der Schaar. 2019. Time-series generative adversarial networks. In Proceedings of Advances in Neural Information Processing Systems (NeurIPS’19), Vol. 32, 1–11.Google ScholarGoogle Scholar
  48. [48] Zhang Chenshuang, Wang Guijin, Zhao Jingwei, Gao Pengfei, Lin Jianping, and Yang Huazhong. 2017. Patient-specific ECG classification based on recurrent neural networks and clustering technique. In Proceedings of the 13th IASTED International Conference on Biomedical Engineering (BioMed’17). IEEE, 6367.Google ScholarGoogle Scholar
  49. [49] Zhao Zhen, Li Ze, Li Fuxin, and Liu Yang. 2021. CNN-LSTM based traffic prediction using spatial-temporal features. In Journal of Physics: Conference Series, Vol. 2037. IOP Publishing, 012065.Google ScholarGoogle Scholar
  50. [50] Zhu Jun-Yan, Park Taesung, Isola Phillip, and Efros Alexei A.. 2017. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision. 22232232.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. TS-GAN: Time-series GAN for Sensor-based Health Data Augmentation

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image ACM Transactions on Computing for Healthcare
        ACM Transactions on Computing for Healthcare  Volume 4, Issue 2
        April 2023
        154 pages
        EISSN:2637-8051
        DOI:10.1145/3592785
        Issue’s Table of Contents

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 18 April 2023
        • Online AM: 8 February 2023
        • Accepted: 26 January 2023
        • Revised: 19 December 2022
        • Received: 7 July 2022
        Published in health Volume 4, Issue 2

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
      • Article Metrics

        • Downloads (Last 12 months)1,296
        • Downloads (Last 6 weeks)204

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Full Text

      View this article in Full Text.

      View Full Text

      HTML Format

      View this article in HTML Format .

      View HTML Format