ECG anomaly detection: a deep learning perspective with LSTM encoders
Keywords:
Anomaly, Anomaly detection, LSTM, Autoencoder, Electrocardiogram, Deep learningAbstract
An electrocardiogram (ECG) is a procedure that measures the heart’s electrical activity. Each heartbeat generates an electrical impulse, causing the heart muscle to contract and pump blood. ECG data is a classic example of time series data, where the timing of the upper and lower chambers of the heart is analyzed by medical professionals. The use of unsupervised learning techniques, such as K-Means Clustering and Hierarchical Temporal Memory (HTM) to ECG anomaly detection often results in poor performance due to their dependability on pre-defined features. The performance of a multilayer convolutional neural network adapted to the unsupervised task is also constrained by lack of quality feature extraction and guidance from labelled data. This research proposes a deep learning approach using Long-Short Term Memory (LSTM) Networks for the ECG signal analysis to improve the accuracy of anomaly detection in heartbeats. The proposed method was evaluated on the ECG5000 dataset. The model achieved an impressive accuracy of 99.23%, Specificity of 99.25% and Area under curve (AUC) of 98.00%, thereby outperforming existing models. The results demonstrate that the LSTM Autoencoder-based approach effectively learns expressive representations of ECG sequences, leading to improved performance compared to previous methods.
Published
How to Cite
Issue
Section
Copyright (c) 2025 Adenike Adegoke-Elijah, Theresa Omolayo Ojewumi, Kudirat Oyewumi Jimoh

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
Similar Articles
- Emmanuel Joseph, Gonto Kamal, Oluwasesan M. Bello, Natural radionuclide distribution and analysis of associated radiological concerns in rock samples from a rocky town (Dutsin-Ma) in the North-Western region of Nigeria , African Scientific Reports: Volume 2, Issue 3, December 2023
- M. A. Aliu, A. M. Junaid, A. Ibraheem, A. Ishaq, A. Lawal, K. E. Ayeni, A. R. Lawal, L. B. Abdulrauf, Dispersive liquid-liquid microextraction/HPLC techniques for determination of oxytetracycline and doxycycline residues in beef samples: method developments and statistical analysis , African Scientific Reports: Volume 2, Issue 1, April 2023
- J. O. Osumejeh, D. Eshimiakhe, E. A. Kudanmya, F. Ojo, K. M. Lawal, Geophysical Investigation of Part of Ahmadu Bello University Farm, Nigeria , African Scientific Reports: Volume 2, Issue 1, April 2023
You may also start an advanced similarity search for this article.

