ECG Heartbeat Classification Using Echo State Networks with Noisy Reservoirs and Variable Activation Function
Abstract
1. Introduction
2. Methodology
2.1. Description of ECG Dataset
2.2. ESN Setup
2.3. ESN Input Dataset: Description and Pre-Processing
2.3.1. Dataset Balancing
2.3.2. Signal Pre-Processing
2.4. ESN Target and Output Signal Post-Processing
2.5. ESN Optimization
3. Results
3.1. Effect of Input Balancing and Each Step of Hyper-Parameter Optimization on ESN Performance
3.2. Multi-ESN Performance vs. Reservoir Size and Reservoir Geometry
3.3. Effect of Noisy Reservoirs and Random Variability in Reservoir Cell Activation Functions on ESN Performance
4. Discussion and Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Schmidt Robin, M. Recurrent neural networks (RNNs): A gentle introduction and overview. arXiv 2019, arXiv:1912.05911. [Google Scholar] [CrossRef]
- Jaeger, H. The Echo State Approach to Analysing and Training Recurrent Neural Networks—With an Erratum Note; GMD Technical Report; German National Research Center for Information Technology: Bonn, Germany, 2001; Volume 148, p. 13. [Google Scholar]
- Maass, W.; Natschläger, T.; Markram, H. Real-time computing without stable states: A new framework for neural computation based on perturbations. Neural Comput. 2002, 14, 2531–2560. [Google Scholar] [CrossRef] [PubMed]
- Appeltant, L.; Soriano, C.M.; Van der Sande, G.; Danckaert, J.; Massar, S.; Dambre, J.; Schrauwen, B.; Mirasso, C.R.; Fischer, I. Information processing using a single dynamical node as complex system. Nat. Commun. 2011, 2, 468. [Google Scholar] [CrossRef] [PubMed]
- Lukoševičius, M. A Practical Guide to Applying Echo State Networks. In Neural Networks: Tricks of the Trade; Montavon, G., Orr, G.B., Müller, K.R., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2012; Volume 7700. [Google Scholar]
- Gallicchio, C.; Micheli, A.; Pedrelli, L. Deep reservoir computing: A critical experimental analysis. Neurocomputing 2017, 268, 87–99. [Google Scholar] [CrossRef]
- Mastoi, Q.U.A.; Wah, T.Y.; Raj, R.G. Reservoir computing based echo state networks for ventricular heartbeat classification. Appl. Sci. 2019, 9, 702. [Google Scholar] [CrossRef]
- Ortín, S.; Soriano, M.C.; Alfaras, M.; Mirasso, C.R. Automated real-time method for ventricular heartbeat classification using reservoir computing. Comput. Methods Programs Biomed. 2019, 169, 1–8. [Google Scholar] [CrossRef] [PubMed]
- Hadaeghi, F. Reservoir computing models for patient-adaptable ECG monitoring. arXiv 2019, arXiv:1907.09504. Available online: https://arxiv.org/abs/1907.09504 (accessed on 1 December 2025).
- Wang, S.; Ding, C.; Wang, Z.; Shen, L. Using normalized echo state network to detect abnormal ECG patterns. Int. J. Imaging Syst. Technol. 2024, 34, e22940. [Google Scholar] [CrossRef]
- Forney, E.M.; Anderson, C.W.; Gavin, W.J.; Davies, P.L.; Roll, M.C.; Taylor, B.K. Echo State Networks for Modeling and Classification of EEG Signals in Mental-Task Brain–Computer Interfaces; Technical Report CS-15-102; Colorado State University: Fort Collins, CO, USA, 2015. [Google Scholar]
- Khan, Z.H.; Hussain, N.; Tiwana, M.I. Classification of EEG signals for wrist and grip movements using echo state network. Biomed. Res. 2017, 28, 1095–1102. [Google Scholar]
- Morales, G.B.; Mirasso, C.R.; Soriano, M.C. Unveiling the role of plasticity rules in reservoir computing. arXiv 2021. [Google Scholar] [CrossRef]
- Prater, S. Comparison of echo state network output layer classification methods on noisy data. arXiv 2017, arXiv:1703.04496. [Google Scholar] [CrossRef]
- Skowronski, M.D.; Harris, J.G. Noise-robust automatic speech recognition using a predictive echo state network. IEEE Trans. Audio Speech Lang. Process. 2007, 15, 1724–1730. [Google Scholar] [CrossRef]
- Xia, L.; Tang, J.; Li, G.; Fu, J.; Duan, S.; Wang, L. Time series classification based on forward echo state convolution network. Neural Process. Lett. 2024, 56, 173. [Google Scholar] [CrossRef]
- Moody, G.B.; Mark, R.G. The impact of the MIT-BIH Arrhythmia Database. IEEE Eng. Med. Biol. Mag. 2001, 20, 45–50. [Google Scholar] [CrossRef] [PubMed]
- Kachuee, M.; Fazeli, S.; Sarrafzadeh, M. ECG heartbeat classification: A deep transferable representation. In 2018 IEEE International Conference on Healthcare Informatics (ICHI); IEEE: New York, NY, USA, 2018; pp. 443–444. [Google Scholar]
- ANSI/AAMI EC57:1998(R)2008; Testing and Reporting Performance Results of Cardiac Rhythm and ST-Segment Measurement Algorithms. Association for the Advancement of Medical Instrumentation (AAMI): Arlington, VA, USA, 1998.
- Fazeli, S. ECG Heartbeat Categorization Dataset. 2019. Available online: https://www.kaggle.com/datasets/shayanfazeli/heartbeat (accessed on 1 November 2024).
- Shorten, C.; Khoshgoftaar, T.M. A survey on image data augmentation for deep learning. J. Big Data 2019, 6, 60. [Google Scholar] [CrossRef]
- Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic minority over-sampling technique. J. Artif. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef]
- He, H.; Bai, Y.; Garcia, E.A.; Li, S. ADASYN: Adaptive synthetic sampling approach for imbalanced learning. In 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence); IEEE: New York, NY, USA, 2008; pp. 1322–1328. [Google Scholar] [CrossRef]
- Elkan, C. The foundations of cost-sensitive learning. In Proceedings of the Seventeenth International Joint Conference on Artificial Intelligence (IJCAI-01); Nebel, B., Ed.; Morgan Kaufmann: San Francisco, CA, USA, 2001; pp. 973–978. [Google Scholar]
- Acharya, U.R.; Oh, S.L.; Hagiwara, Y.; Tan, J.H.; Adam, M.; Gertych, A.; Tan, R.S. A deep convolutional neural network model to classify heartbeats. Comput. Biol. Med. 2017, 89, 389–396. [Google Scholar] [CrossRef]
- Martis, R.J.; Acharya, U.R.; Lim, C.M.; Mandana, K.M.; Ray, A.K.; Chakraborty, C. Application of higher order cumulant features for cardiac health diagnosis using ECG signals. Int. J. Neural Syst. 2013, 23, 1350014. [Google Scholar] [CrossRef] [PubMed]
- Li, T.; Zhou, M. ECG Classification Using Wavelet Packet Entropy and Random Forests. Entropy 2016, 18, 285. [Google Scholar] [CrossRef]







| Hyperparameter | Value |
|---|---|
| Reservoir geometry | Ring |
| Leaking rate (α) | 1 |
| Spectral radius (ρ) | 0.2 |
| Input weight scaling (θ) | 4 |
| Gain (G) | 1 |
| Bias (b) | 1.5 |
| Work | Approach | Overall Accuracy (%) | Max. Accuracy per Class (%) | Min. Accuracy per Class (%) | Measured Training Time on GPU 1 | Measured Training Time on CPU 2 |
|---|---|---|---|---|---|---|
| This study | 1200 node ESN | 91.7 | 97.5 | 86.0 | N/A | 2.5 min |
| This study | 1800 node ESN | 93.4 | 98.1 | 87.6 | N/A | 6 min |
| This study | 3000 node ESN | 95.0 | 98.5 | 88.9 | N/A | 16 min |
| This study | 4800 node ESN | 96.3 | 99.1 | 90.2 | N/A | 40 min |
| [18] | Deep residual CNN | 93.4 | 98.0 | 86.0 | 120 min 1 | 2–3 days 3 |
| [25] | Augmentation + CNN | 93.5 | N/A | N/A | N/A | N/A |
| [26] | DWT + SVM | 93.8 | N/A | N/A | N/A | N/A |
| [27] | DWT + random forest | 94.6 | N/A | N/A | N/A | N/A |
| Reservoir Geometry | Average Accuracy (%) | Std. Deviation of Class Accuracies (%) | Max. Accuracy per Class (%) | Min. Accuracy per Class (%) |
|---|---|---|---|---|
| Ring | 91.82 | 4.46 | 97.32 | 86.26 |
| Random (20% non-zero weights) | 91.32 | 4.71 | 97.33 | 85.85 |
| Deep architecture—3 layers of random connectivity | 71.93 | 17.15 | 90.50 | 47.59 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Antoniades, I.P.; Tsiftsis, A.N.; Volos, C.K.; Tsigopoulos, A.D.; Kyritsi, K.G.; Nistazakis, H.E. ECG Heartbeat Classification Using Echo State Networks with Noisy Reservoirs and Variable Activation Function. Computation 2026, 14, 49. https://doi.org/10.3390/computation14020049
Antoniades IP, Tsiftsis AN, Volos CK, Tsigopoulos AD, Kyritsi KG, Nistazakis HE. ECG Heartbeat Classification Using Echo State Networks with Noisy Reservoirs and Variable Activation Function. Computation. 2026; 14(2):49. https://doi.org/10.3390/computation14020049
Chicago/Turabian StyleAntoniades, Ioannis P., Anastasios N. Tsiftsis, Christos K. Volos, Andreas D. Tsigopoulos, Konstantia G. Kyritsi, and Hector E. Nistazakis. 2026. "ECG Heartbeat Classification Using Echo State Networks with Noisy Reservoirs and Variable Activation Function" Computation 14, no. 2: 49. https://doi.org/10.3390/computation14020049
APA StyleAntoniades, I. P., Tsiftsis, A. N., Volos, C. K., Tsigopoulos, A. D., Kyritsi, K. G., & Nistazakis, H. E. (2026). ECG Heartbeat Classification Using Echo State Networks with Noisy Reservoirs and Variable Activation Function. Computation, 14(2), 49. https://doi.org/10.3390/computation14020049

