Skip to main content

A Novel Transformer-Based Anomaly Detection Approach for ECG Monitoring Healthcare System

  • Conference paper
  • First Online:
The Seventh International Conference on Safety and Security with IoT (SaSeIoT 2023)

Part of the book series: EAI/Springer Innovations in Communication and Computing ((EAISICC))

Included in the following conference series:

  • 31 Accesses

Abstract

Anomaly detection plays a crucial role across various domains, including healthcare, where identifying deviations from normal patterns can lead to early intervention and improved outcomes. In healthcare, such as in ECG analysis, detecting anomalous signals is essential for timely diagnosis and treatment, as it can help identify potentially life-threatening conditions that might otherwise go unnoticed. In this work, by focusing on ECG anomaly detection as an illustrative healthcare application, we propose to use a transformer-based variational autoencoder network together with a MEWMA-SVDD control chart to achieve anomaly detection. By employing this approach, we can effectively control the false alarm rate, aligning with the intended goal of minimizing unnecessary alerts. Our proposed framework not only excels in terms of accuracy but also reduces the false alarm rate, making it a favorable choice compared to existing methods.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 119.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 159.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. F.A. Acheampong, H.Nunoo-Mensah, W. Chen, Transformer models for text-based emotion detection: a review of Bert-based approaches. Artif. Intell. Rev. 54, 1–41 (2021)

    Article  Google Scholar 

  2. D.M. Anstine, O. Isayev, Generative models as an emerging paradigm in the chemical sciences. J. Amer. Chem. Soc. 145(16), 8736–8750 (2023)

    Article  Google Scholar 

  3. A. Banerjee, P. Burlina, R. Meth, Fast hyperspectral anomaly detection via SVDD, in 2007 IEEE International Conference on Image Processing, vol. 4 (2007), pp. IV–101–IV–104

    Google Scholar 

  4. M. Bertolini, D. Mezzogori, M. Neroni, F. Zammori, Machine learning for industrial applications: a comprehensive literature review. Expert Syst. Appl. 175, 114820 (2021)

    Article  Google Scholar 

  5. H. Chen, Y. Wang, T.Guo, C. Xu, Y. Deng, Z. Liu, S. Ma, C. Xu, C. Xu, W. Gao, Pre-trained image processing transformer, in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2021), pp. 12299–12310

    Google Scholar 

  6. P. Dixit, S. Silakari, Deep learning algorithms for cybersecurity applications: a technological and status review. Comput. Sci. Rev. 39, 100317 (2021)

    Article  MathSciNet  Google Scholar 

  7. Z. Duan, M. Lu, Z. Ma, F. Zhu, Lossy image compression with quantized hierarchical VAEs, in Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (2023), pp. 198–207

    Google Scholar 

  8. M. Fahim, A. Sillitti, Anomaly detection, analysis and prediction techniques in IoT environment: a systematic literature review. IEEE Access 7, 81664–81681 (2019)

    Article  Google Scholar 

  9. A.L. Goldberger, L.A. Amaral, L. Glass, J.M. Hausdorff, P.C. Ivanov, R.G. Mark, J.E. Mietus, G.B. Moody, C.K. Peng, H.E. Stanley, PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation 101(23), e215–e220 (2000)

    Article  Google Scholar 

  10. C. Jen, C. Wang, Real-time process monitoring based on multivariate control chart for anomalies driven by frequency signal via sound and electrocardiography cases. Processes 9(9), 1510 (2021)

    Google Scholar 

  11. Z. Kang, C. Catal, B. Tekinerdogan, Machine learning applications in production lines: a systematic literature review. Comput. Ind. Eng. 149, 106773 (2020)

    Article  Google Scholar 

  12. D. Kingma, M. Welling, et al., An introduction to variational autoencoders. Found. Trends® Mach. Learn. 12(4), 307–392 (2019)

    Google Scholar 

  13. M. Lang, A low-complexity model-free approach for real-time cardiac anomaly detection based on singular spectrum analysis and nonparametric control charts. Technologies 6(1), 26 (2018)

    Google Scholar 

  14. A.B. Nassif, M.A. Talib, Q. Nasir, F.M. Dakalbab, Machine learning for anomaly detection: a systematic review. IEEE Access 9, 78658–78700 (2021)

    Article  Google Scholar 

  15. H.D. Nguyen, H.L. Nguyen, N.H. Kieu, V.H. Nguyen, T.H. Truong, K.P. Tran, Trans-lighter: a light-weight federated learning-based architecture for remaining useful lifetime prediction. Comput. Ind. 148, 103888 (2023)

    Article  Google Scholar 

  16. E.J. Pauwels, O. Ambekar, One class classification for anomaly detection: Support vector data description revisited, in ed. by P. Perner, Advances in Data Mining. Applications and Theoretical Aspects (Springer, Berlin, 2011), pp. 25–39

    Google Scholar 

  17. A. Raza, K.P. Tran, L. Koehl, S. Li, Anofed: adaptive anomaly detection for digital health using transformer-based federated learning and support vector data description. Eng. Appl. Artif. Intell. 121, 106051 (2023)

    Article  Google Scholar 

  18. S.A.Salloum, M. Alshurideh, A. Elnagar, K. Shaalan, Machine learning and deep learning techniques for cybersecurity: a review, in The International Conference on Artificial Intelligence and Computer Vision (Springer, Berlin, 2020), pp. 50–57

    Google Scholar 

  19. S. Singh, A. Mahmood, The NLP cookbook: modern recipes for transformer based deep learning architectures. IEEE Access 9, 68675–68702 (2021)

    Article  Google Scholar 

  20. A. Smola, B.Scholkopf, K. Muller, The connection between regularization operators and support vector kernels. Neur. Netw. 11, 637–649 (1998)

    Article  Google Scholar 

  21. G. Suman, D. Prajapati, Control chart applications in healthcare: a literature review. Int. J. Metrol. Quality Eng. 9, 5 (2018)

    Article  Google Scholar 

  22. A. Tang, P. Castagliola, X. Hu, F. Xie, An assessment for the conditional performance of an support vector data description (SVDD)-based chart. Qual. Reliabil. Eng. Int. 38, 1–17 (2022)

    Article  Google Scholar 

  23. D.M.J. Tax, R.P.W. Duin, Support vector data description. Mach. Learn. 54(1), 45–66 (2004)

    Article  Google Scholar 

  24. H.T. Truong, B.P. Ta, Q.A. Le, D.M. Nguyen, C.T. Le, H.X. Nguyen, H.T. Do, H.T. Nguyen, K.P. Tran, Light-weight federated learning-based anomaly detection for time-series data in industrial control systems. Comput. Ind. 140, 103692 (2022)

    Article  Google Scholar 

  25. T. Truong, B. Ta, M. Dao, D. Tran, M. Nguyen, D.T. Bui, K.P. Tran, et al., Detecting cyberattacks using anomaly detection in industrial control systems: a federated learning approach. Comput. Ind. 132, 103509 (2021)

    Article  Google Scholar 

  26. V.N. Vapnik, Statistical Learning Theory (Wiley, Hoboken, 1998)

    Google Scholar 

  27. A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A.N. Gomez, L. Kaiser, I. Polosukhin, Attention is all you need, in Advances in Neural Information Processing Systems, vol. 30 (Curran Associates, Red Hook, 2017)

    Google Scholar 

  28. T. Wolf, L. Debut, V. Sanh, J. Chaumond, C. Delangue, A. Moi, P. Cistac, T. Rault, R. Louf, M. Funtowicz, et al., Transformers: State-of-the-art natural language processing, in Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations (2020), pp. 38–45

    Google Scholar 

  29. Z. Zhang, X. Deng, Anomaly detection using improved deep svdd model with data structure preservation. Pattern Recogn. Lett. 148, 1–6 (2021)

    Article  Google Scholar 

  30. H. Zhou, C. Kan, Tensor-based ECG anomaly detection toward cardiac monitoring in the internet of health things. Sensors 21(12), 4173 (2021)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Thi Thuy Van Nguyen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nguyen, T.T.V., Heuchenne, C., Tran, K.D., Tran, K.P. (2024). A Novel Transformer-Based Anomaly Detection Approach for ECG Monitoring Healthcare System. In: Tran, K.P., Li, S., Heuchenne, C., Truong, T.H. (eds) The Seventh International Conference on Safety and Security with IoT. SaSeIoT 2023. EAI/Springer Innovations in Communication and Computing. Springer, Cham. https://doi.org/10.1007/978-3-031-53028-9_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-53028-9_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-53027-2

  • Online ISBN: 978-3-031-53028-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics