Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Dec 17;23(24):9878.
doi: 10.3390/s23249878.

Applying Recurrent Neural Networks for Anomaly Detection in Electrocardiogram Sensor Data

Affiliations

Applying Recurrent Neural Networks for Anomaly Detection in Electrocardiogram Sensor Data

Ana Minic et al. Sensors (Basel). .

Abstract

Monitoring heart electrical activity is an effective way of detecting existing and developing conditions. This is usually performed as a non-invasive test using a network of up to 12 sensors (electrodes) on the chest and limbs to create an electrocardiogram (ECG). By visually observing these readings, experienced professionals can make accurate diagnoses and, if needed, request further testing. However, the training and experience needed to make accurate diagnoses are significant. This work explores the potential of recurrent neural networks for anomaly detection in ECG readings. Furthermore, to attain the best possible performance for these networks, training parameters, and network architectures are optimized using a modified version of the well-established particle swarm optimization algorithm. The performance of the optimized models is compared to models created by other contemporary optimizers, and the results show significant potential for real-world applications. Further analyses are carried out on the best-performing models to determine feature importance.

Keywords: diagnosis; electrocardiogram; optimization; particle swarm optimization; recurrent neural networks.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Dataset visualization.
Figure 2
Figure 2
Experimental framework flowchart.
Figure 3
Figure 3
Objective and indicator function distributions.
Figure 4
Figure 4
Objective and indicator function convergence graphs.
Figure 5
Figure 5
Best-performing model’s ROC and PR curves.
Figure 6
Figure 6
Best-performing model’s confusion matrix.
Figure 7
Figure 7
Objective function outcome KDE plots for each metaheuristic.
Figure 8
Figure 8
SHAP analysis summary and feature impact outcomes.

References

    1. Mc Namara K., Alzubaidi H., Jackson J.K. Cardiovascular disease as a leading cause of death: How are pharmacists getting involved? Integr. Pharm. Res. Pract. 2019;8:1–11. doi: 10.2147/IPRP.S133088. - DOI - PMC - PubMed
    1. Ezzati M., Obermeyer Z., Tzoulaki I., Mayosi B.M., Elliott P., Leon D.A. Contributions of risk factors and medical care to cardiovascular mortality trends. Nat. Rev. Cardiol. 2015;12:508–530. doi: 10.1038/nrcardio.2015.82. - DOI - PMC - PubMed
    1. Keeney R.L. Personal decisions are the leading cause of death. Oper. Res. 2008;56:1335–1347. doi: 10.1287/opre.1080.0588. - DOI
    1. Berkaya S.K., Uysal A.K., Gunal E.S., Ergin S., Gunal S., Gulmezoglu M.B. A survey on ECG analysis. Biomed. Signal Process. Control. 2018;43:216–235. doi: 10.1016/j.bspc.2018.03.003. - DOI
    1. Zhang Q., Frick K. All-ECG: A least-number of leads ECG monitor for standard 12-lead ECG Tracking during Motion; Proceedings of the 2019 IEEE Healthcare Innovations and Point of Care Technologies, (HI-POCT); Bethesda, MD, USA. 20–22 November 2019; pp. 103–106.

LinkOut - more resources