PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 9, 2023Algorithms68 citationsOpen Access

Unsupervised Transformer-Based Anomaly Detection in ECG Signals

AAAbrar AlamrAAAbdelmonim M. Artoli

Key Result

An unsupervised transformer-based method detected anomalies in ECG signals with 99% accuracy on the ECG5000 dataset and 89.5% accuracy on the MIT-BIH Arrhythmia dataset.

Key Points

  • To develop a transformer-based model for detecting anomalies in ECG signals and evaluate its performance against traditional deep learning techniques.
  • Implemented an unsupervised transformer-based architecture for ECG anomaly detection, comprising an embedding layer and standard transformer encoder.
  • Tested the model on ECG5000 and MIT-BIH Arrhythmia datasets.
  • Evaluated model performance based on accuracy, F1 score, AUC score, recall, and precision.
  • In the ECG5000 dataset, the model achieved 99% accuracy, 99% F1-score, 99% AUC score, 98.1% recall, and 100% precision.
  • For the MIT-BIH Arrhythmia dataset, the model attained an accuracy of 89.5%, F1 score of 92.3%, AUC score of 93%, recall of 98.2%, and precision of 87.1%.

Structured PICO

Does an unsupervised transformer-based model improve anomaly detection in ECG signals compared to traditional deep learning approaches?

P
Population
ECG time series data from two well-known datasets: ECG5000 and MIT-BIH Arrhythmia
I
Intervention
Unsupervised transformer-based anomaly detection model (comprising an embedding layer and a standard transformer encoder)
C
Comparator
Deep learning approaches found in the literature (e.g., autoencoder, RNN, LSTM)
O
Outcome
Anomaly detection performance measured by accuracy, F1-score, AUC score, recall, and precisionsurrogate

An unsupervised transformer-based model demonstrates high accuracy and performance for detecting anomalies in ECG signals, outperforming traditional deep learning methods.

Abstract

Anomaly detection is one of the basic issues in data processing that addresses different problems in healthcare sensory data. Technology has made it easier to collect large and highly variant time series data; however, complex predictive analysis models are required to ensure consistency and reliability. With the rise in the size and dimensionality of collected data, deep learning techniques, such as autoencoder (AE), recurrent neural networks (RNN), and long short-term memory (LSTM), have gained more attention and are recognized as state-of-the-art anomaly detection techniques. Recently, developments in transformer-based architecture have been proposed as an improved attention-based knowledge representation scheme. We present an unsupervised transformer-based method to evaluate and detect anomalies in electrocardiogram (ECG) signals. The model architecture comprises two parts: an embedding layer and a standard transformer encoder. We introduce, implement, test, and validate our model in two well-known datasets: ECG5000 and MIT-BIH Arrhythmia. Anomalies are detected based on loss function results between real and predicted ECG time series sequences. We found that the use of a transformer encoder as an alternative model for anomaly detection enables better performance in ECG time series data. The suggested model has a remarkable ability to detect anomalies in ECG signal and outperforms deep learning approaches found in the literature on both datasets. In the ECG5000 dataset, the model can detect anomalies with 99% accuracy, 99% F1-score, 99% AUC score, 98.1% recall, and 100% precision. In the MIT-BIH Arrhythmia dataset, the model achieved an accuracy of 89.5%, F1 score of 92.3%, AUC score of 93%, recall of 98.2%, and precision of 87.1%.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Alamr et al. (2023) studied ECG anomalies / Arrhythmia. Unsupervised transformer-based method vs. Deep learning approaches in the literature was evaluated on Anomaly detection performance (accuracy, F1-score, AUC, recall, precision). An unsupervised transformer-based method detected anomalies in ECG signals with 99% accuracy on the ECG5000 dataset and 89.5% accuracy on the MIT-BIH Arrhythmia dataset.

synapsesocial.com/papers/6a204d28232def661be719fbhttps://doi.org/10.3390/a16030152
Ask AI
Helpful
Bookmark
Share
View Full Paper