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
- A. I. Bassey, M. A. Agana, E. A. Edim, O. Njama-Abang, Intrusion detection in a controlled computer network environment using hybridized random forest and long short-term memory algorithms , African Scientific Reports: Volume 4, Issue 3, December 2025
- O. B. Ayoade, M. O. Raji, A. A. Akindele, K. J. Yusuf-Mashopa, M. F. Abdulrauf, I. A. Raji, F. B. Musah, Hyperparameter optimisation for support vector machine-based disease detection in maize leaf variants , African Scientific Reports: Volume 4, Issue 3, December 2025
- Gabriel James, Anietie Ekong, Etimbuk Abraham, Enobong Oduobuk, Nseobong Michael, Victor Ufford, Oscar Ebong, An enhanced control solutions for efficient urban waste management using deep learning algorithms , African Scientific Reports: Volume 3, Issue 3, December 2024
- Adebayo Abdulganiyu Keji, Oluwafemi Fakeye, Nneka N. Onochie, Olumide Sangotoki, Predicting long-term deposit customers using convolutional neural network and data conversion technique , African Scientific Reports: Volume 3, Issue 3, December 2024
- Gabriel James, Anietie Ekong, Aloysius Akpanobong, Enefiok Etuk, Saviour Inyang, Samuel Oyong, Ifeoma Ohaeri, Chikodili Orazulume, Peace Okafor, Enhanced machine learning model for classification of the impact of technostress in the COVID and post-COVID era , African Scientific Reports: Volume 4, Issue 1, April 2025
- Denis U. Ashishie, Endurance O. Obi, Osowomuabe Njama-Abang, Ahena I. Bassey, Transformative approach in Lassa fever diagnostics: an innovative integrative strategy for early detection and outcome prediction , African Scientific Reports: Volume 4, Issue 3, December 2025
- Osowomuabe Njama-Abang, Denis U. Ashishie, Emmanuel A. Edim, Moses A. Agana, Development of a visual analogy model using transfer learning techniques , African Scientific Reports: Volume 4, Issue 3, December 2025
- Emmanuel Ike, Adetola Sunday Oniku, Sabastine Chinedu Ezike, Maxwell Obia Kanu, Rodney Ewusi-Wilson, Geothermal resource potentials estimation from the interpretation of aeromagnetic data over parts of Southwestern Nigeria , African Scientific Reports: Volume 3, Issue 1, April 2024
- RETRACTION NOTICE: Transformative approach in Lassa fever diagnostics: an innovative integrative strategy for early detection and outcome prediction , African Scientific Reports: Volume 5, Issue 1, April 2026 (In Progress)
- 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
You may also start an advanced similarity search for this article.

