Submitted:
24 May 2026
Posted:
26 May 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Morphological Skeleton Learning
2.1.1. Feature Normalization for Cross-Frequency ECG Peak Detection
2.1.2. Robustness Evaluation of Morphological Skeleton Learning
2.1.3. Fixed-Split Validation of the Morphological Skeleton Learning Classifier
2.2. Cross-Frequency Evaluation
2.2.1. ECG Datasets
2.2.2. LSP for Peak Alignment
2.2.3. Multi-Detector-Based R-Peak Candidate Generation for Silver-Standard Construction
2.2.4. Filtering Conditions
2.2.5. Performance Metrics
3. Results
4. Discussion
4.1. Cross-Frequency Robustness of the Proposed Framework
4.2. Systematic Temporal Bias and Its Origin
4.3. Effect of LSP on temporal alignment
4.4. Methodological Implications
4.5. Limitations
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| CNN DL ECG F1 FN FP fs HPF HRV LSP LPF LUDB MIT-AD MIT-NSRDB PTB PTC PPV QRS Se SD TP XGB |
Convolutional Neural Network Deep Learning Electrocardiogram F1-score False Negative False Positive Sampling Frequency High-Pass Filter Heart Rate Variability Local Snap Processing Low-Pass Filter Lobachevsky University Electrocardiography Database MIT-BIH Arrhythmia Database MIT-BIH Normal Sinus Rhythm Database PTB Diagnostic ECG Database Physiological Temporal Constraints Positive Predictive Value QRS complex Sensitivity Standard deviation True Positive Extreme Gradient Boosting |
References
- Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology. Heart rate variability: Standards of measurement, physiological interpretation and clinical use. Circulation 1996, 93, 1043–1065. [Google Scholar] [CrossRef]
- Pan, J.; Tompkins, W.J. A real-time QRS detection algorithm. IEEE Trans. Biomed. Eng. 1985, 32, 230–236. [Google Scholar] [CrossRef]
- Hannun, A.Y.; Rajpurkar, P.; Haghpanahi, M.; Tison, G.H.; Bourn, C.; Turakhia, M.P.; Ng, A.Y. Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network. Nat. Med. 2019, 25, 65–69. [Google Scholar] [CrossRef] [PubMed]
- Ribeiro, A.H.; Ribeiro, M.H.; Paixão, G.M.M.; Oliveira, D.M.; Gomes, P.R.; Canazart, J.A.; Ferreira, M.P.S.; Andersson, C.R.; Macfar lane, P.W.; Meira, W., Jr.; Schön, T.B.; Ribeiro, A.L.P. Automatic diagnosis of the 12-lead ECG using a deep neural network. Nat. Commun. 2020, 11, 1760. [Google Scholar] [CrossRef]
- Kachuee, M.; Fazeli, S.; Sarrafzadeh, M. ECG heartbeat classification: A deep transferable representation. In Proceedings of the IEEE International Conference on Healthcare Informatics (ICHI), New York, NY, USA, 2018; pp. 443–444. [Google Scholar]
- Weimann, K.; Conrad, T.O.F. Transfer learning for ECG classification. Sci. Rep. 2021, 11, 5251. [Google Scholar] [CrossRef]
- Yun, D.; Lee, H.C.; Jung, C.W.; Kwon, S.; Lee, S.R.; Kim, K.; Kim, Y.S.; Han, S.S. Robust R-peak detection in an electrocardiogram with stationary wavelet transformation and separable convolution. Sci. Rep. 2022, 12, 19638. [Google Scholar] [CrossRef]
- Martínez, J.P.; Almeida, R.; Olmos, S.; Rocha, A.P.; Laguna, P. A wavelet-based ECG delineator: Evaluation on standard databases. IEEE Trans. Biomed. Eng. 2004, 51, 570–581. [Google Scholar] [CrossRef] [PubMed]
- Cao, M.; Zhao, T.; Li, Y.; Zhang, W.; Benharash, P.; Ramezani, R. ECG heartbeat classification using deep transfer learning with convolutional neural network and STFT technique. J. Phys. Conf. Ser. 2023, 2547, 012031. [Google Scholar] [CrossRef]
- Gupta, U.; Paluru, N.; Nankani, D.; Kulkarni, K.; Awasthi, N. A comprehensive review on efficient artificial intelligence models for classification of abnormal cardiac rhythms using electrocardiograms. Heliyon 2024, 10, e26787. [Google Scholar] [CrossRef]
- Yoshida, Y.; Yokoyama, K. Sample-wise false-positive reduction in ECG P-, R-, and T-peak detection via physiological temporal constraints and lightweight binary classifiers. Signals 2026, 7, 28. [Google Scholar] [CrossRef]
- Goldberger, A.L.; Amaral, L.A.N.; Glass, L.; Hausdorff, J.M.; Ivanov, P.C.; Mark, R.G.; Stanley, H.E. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation 2000, 101, e215–e220. [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]
- Kalyakulina, A.; Yusipov, I.; Moskalenko, V.; Nikolskiy, A.; Kosonogov, K.; Zolotykh, N.; Ivanchenko, M. Lobachevsky University Electrocardiography Database (Version 1.0.1). PhysioNet. 2021. Available online: https://physionet.org/content/ludb/1.0.1/ (accessed on 1 May 2026).
- Kalyakulina, A.I.; Yusipov, I.I.; Moskalenko, V.A.; Nikolskiy, A.V.; Kosonogov, K.A.; Osipov, G.V.; Zolotykh, N.Y.; Ivanchenko, M.V. LUDB: A New Open-Access Validation Tool for Electrocardiogram Delineation Algorithms. IEEE Access 2020, 8, 186181–186190. [Google Scholar] [CrossRef]
- Goldberger, A.L.; Amaral, L.A.N.; Glass, L.; Hausdorff, J.M.; Ivanov, P.C.; Mark, R.G.; Stanley, H.E. PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for Complex Physiologic Signals. Circulation 2000, 101, e215–e220. [Google Scholar] [CrossRef]
- Bousseljot, R.; Kreiseler, D.; Schnabel, A. Nutzung der EKG-Signaldatenbank CARDIODAT der PTB über das Internet. Biomed. Tech. 1995, 40, 317. [Google Scholar] [CrossRef]
- Makowski, D.; Pham, T.; Lau, Z.J.; et al. NeuroKit2: A Python Toolbox for Neurophysiological Signal Processing. Behav. Res. Methods 2021, 53, 1689–1696. [Google Scholar] [CrossRef] [PubMed]
- Kiyono, K.; Struzik, Z.R.; Aoyagi, N.; Sakata, S.; Hayano, J.; Yamamoto, Y. Critical scale invariance in a healthy human heart rate. Phys. Rev. Lett. 2004, 93, 178103. [Google Scholar] [CrossRef] [PubMed]
- Ivanov, P.C.; Amaral, L.A.N.; Goldberger, A.L.; Havlin, S.; Rosenblum, M.G.; Struzik, Z.R.; Stanley, H.E. Multifractality in human heartbeat dynamics. Nature 1999, 399, 461–465. [Google Scholar] [CrossRef]
- Wagner, P.; Strodthoff, N.; Bousseljot, R.D.; Kreiseler, D.; Lunze, F.I.; Samek, W.; Schaeffter, T. PTB-XL, a large publicly available electrocardiography dataset. Sci. Data 2020, 7, 154. [Google Scholar] [CrossRef]
- Perez Alday, E.A.; Gu, A.; Shah, A.J.; Robichaux, C.; Wong, A.K.I.; Liu, C.; Liu, F.; Bahrami Rad, A.; Elola, A.; Seyedi, S.; Li, Q.; Sharma, A.; Clifford, G.D.; Reyna, M.A. Classification of 12-lead ECGs: The PhysioNet/Computing in Cardiology Challenge 2020. Physiol. Meas. 2021, 41, 124003. [Google Scholar] [CrossRef]
- Jeon, E.; Oh, K.; Kwon, S.; Son, H.; Yun, Y.; Jung, E.S.; Kim, M.S. A lightweight deep learning model for fast electrocardiographic beats classification with a wearable cardiac monitor: Development and validation study. JMIR Med. Inform. 2020, 8, e17037. [Google Scholar] [CrossRef] [PubMed]
- Nguyen, C.V.; Do, C.D. Transfer learning in ECG diagnosis: Is it effective? PLoS ONE 2025, 20, e0316043. [Google Scholar]
- Ismail, S.N.M.S.; Razak, S.F.A.; Aziz, N.A.A. ECG-based transfer learning for cardiovascular disease: A scoping review. Int. J. Cogn. Comput. Eng. 2025, 6, 280–297. [Google Scholar] [CrossRef]
- Su, X.; Wang, X.; Ge, H. Exercise ECG Classification Based on Novel R-Peak Detection Using BILSTM-CNN and Multi-Feature Fusion Method. Electronics 2025, 14, 281. [Google Scholar] [CrossRef]
- Alghieth, M. DeepECG-Net: A hybrid transformer-based deep learning model for real-time ECG anomaly detection. Sci. Rep. 2025, 15, 20714. [Google Scholar] [CrossRef]
- Zhou, S.; Tan, B. Electrocardiogram soft computing using hybrid deep learning CNN-ELM. Appl. Soft Comput. 2020, 86, 105778. [Google Scholar] [CrossRef]
- Shilpa, K.; Adilakshmi, T. Hybrid machine learning and deep learning models for efficient detection of arrhythmia from ECG data. Int. J. Commun. Netw. Inf. Secur. 2024, 16, 684–701. [Google Scholar]
- Kiranyaz, S.; Ince, T.; Gabbouj, M. Real-time patient-specific ECG classification by 1-D convolutional neural networks. IEEE Trans. Biomed. Eng. 2016, 63, 664–675. [Google Scholar] [CrossRef] [PubMed]
- Rudin, C. Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nat. Mach. Intell. 2019, 1, 206–215. [Google Scholar] [CrossRef] [PubMed]
- Yuda, E. Applications of Heart Rate Variability Metrics in Wearable Sensor Technologies: A Comprehensive Review. Electron Ics 2026, 15, 1707. [Google Scholar] [CrossRef]








| Category | Formula | Name |
| Amplitude/statistical | mean | |
| std | ||
| left-right diff center - mean |
||
| Differential/curvature | d1 | |
| d2 | ||
| Slope/energy | slope | |
|
d1-energy |
||
| Amplitude | center value | |
| maximum | ||
| minimum |
| Training set (14 records) |
16265 | 19090 | 16539 | 18177 | 16483 | 19093 | 16272 |
| 19088 | 16795 | 16786 | 16420 | 19140 | 19830 | 18184 | |
| Validation set (4 records) |
16273 | 16773 | 17453 | 17052 |
| win_len (ms) | Se | PPV | F1 |
| 16 | 0.941 ± 0.066 | 0.951 ± 0.056 | 0.946 ± 0.059 |
| 32 | 0.925 ± 0.082 | 0.946 ± 0.068 | 0.935 ± 0.073 |
| 48 | 0.938 ± 0.067 | 0.958 ± 0.051 | 0.948 ± 0.057 |
| win_len (ms) | Se | PPV | F1 | θR | refR (ms) |
| 16 | 0.998 | 0.998 | 0.998 | 0.95 | 80 |
| 32 | 0.999 | 0.998 | 0.998 | 0.90 | 80 |
| 48 | 0.998 | 0.998 | 0.998 | 0.90 | 40 |
| win_len (ms) | N (samples) | TP | FP | FN | |
| 16 | 8,678,400 | 70482 | 138 | 154 | |
| 32 | 8,678,400 | 70532 | 115 | 104 | |
| 48 | 8,678,400 | 70517 | 149 | 119 |
| Category | Parameter | Value |
| Pre-processing filters | LPF cutoff (Hz) | 40 |
| HPF cutoff (Hz) | 0.1 | |
| PTC | θR | 0.9 |
| refR (ms) | 80 | |
| win_len (ms) | 32 | |
| XGB | Number of estimators | 300 |
| Maximum depth | 4 | |
| Learning rate | 0.1 |
| Rank | Feature | Gain (%) | Rank | Feature | Weight |
| 1 | maximum | 72.30 | 1 | d1 | 602 |
| 2 | std | 13.30 | 2 | d1-energy | 500 |
| 3 | d1-energy | 8.90 | 3 | minimum | 496 |
| 4 | left-right diff | 1.80 | 4 | slope | 438 |
| 5 | d1 | 1.80 | 5 | d2 | 397 |
| 6 | slope | 1.20 | 6 | maximum | 389 |
| 7 | center value | 0.80 | 7 | mean | 373 |
| 8 | mean | 0.70 | 8 | center - mean | 339 |
| 9 | center - mean | 0.50 | 9 | std | 312 |
| 10 | minimum | 0.40 | 10 | left-right diff | 302 |
| 11 | d2 | 0.30 | 11 | center value | 243 |
| (a) MIT-AD (360 Hz) | ||||||||||||||||||||||||
| Condition | N | Se | PPV | F1 | TP | FP | FN | |||||||||||||||||
| LSP off (Default) | 648,000 | 0.606±0.365 | 0.629±0.352 | 0.615±0.358 | 1550 [530ー2029] | 457 [130ー1285] | 548 [80ー1573] | |||||||||||||||||
| LSP off (LPF = 10 Hz) | 648,000 | 0.020±0.021 | 0.157±0.227 | 0.032±0.037 | 24 [12ー73] | 418 [202ー1220] | 2150 [1849ー2542] | |||||||||||||||||
| LSP off (HPF = 0.4 Hz) | 648,000 | 0.610±0.367 | 0.626±0.355 | 0.616±0.360 | 1551 [535ー2031] | 457 [134ー1343] | 545 [44ー1559] | |||||||||||||||||
| LSP on (Default) | 648,000 | 0.860±0.226 | 0.904±0.190 | 0.878±0.208 | 2040 [1705ー2356] | 43 [18ー160] | 68 [5ー341] | |||||||||||||||||
| LSP on (LPF = 10 Hz) | 648,000 | 0.336±0.355 | 0.744±0.337 | 0.405±0.363 | 405 [97ー1233] | 17 [6ー64] | 1789 [545ー2285] | |||||||||||||||||
| LSP on (HPF = 0.4 Hz) | 648,000 | 0.871±0.222 | 0.904±0.192 | 0.885±0.206 | 2040 [1772ー2396] | 38 [10ー158] | 49 [1ー306] | |||||||||||||||||
| (b) LUDB (sinus rhythm, 500Hz) | ||||||||||||||||||||||||
| Condition | N | Se | PPV | F1 | TP | FP | FN | |||||||||||||||||
| LSP off (Default) | 5,000 | 0.845±0.296 | 0.692±0.224 | 0.755±0.255 | 8 [7ー9] | 2 [2ー4] | 0 [0ー1] | |||||||||||||||||
| LSP off (LPF = 10 Hz) | 5,000 | 0.118±0.197 | 0.279±0.325 | 0.136±0.202 | 0 [0ー2] | 2 [0ー7] | 8 [7ー9] | |||||||||||||||||
| LSP off (HPF = 0.4 Hz) | 5,000 | 0.88±0.266 | 0.708±0.207 | 0.782±0.232 | 8 [7ー9] | 2 [2ー3] | 0 [0ー1] | |||||||||||||||||
| LSP on (Default) | 5,000 | 0.917 ± 0.219 | 0.754 ± 0.147 | 0.820 ± 0.181 | 8 [8ー9] | 2 [2ー3] | 0 [0ー0] | |||||||||||||||||
| LSP on (LPF = 10 Hz) | 5,000 | 0.382±0.390 | 0.660±0.322 | 0.400±0.361 | 2 [0ー7] | 1 [0ー2] | 7 [2ー8] | |||||||||||||||||
| LSP on (HPF = 0.4 Hz) | 5,000 | 0.950 ± 0.167 | 0.772 ± 0.115 | 0.848 ± 0.136 | 9 [8ー10] | 2 [2ー3] | 0 [0ー0] | |||||||||||||||||
| (c) LUDB (arrhythmia, 500Hz) | ||||||||||||||||||||||||
| Condition | N | Se | PPV | F1 | TP | FP | FN | |||||||||||||||||
| LSP off (Default) | 5,000 | 0.799±0.325 | 0.640±0.246 | 0.705±0.277 | 7 [6ー10] | 3 [2ー4] | 0 [0ー3] | |||||||||||||||||
| LSP off (LPF = 10 Hz) | 5,000 | 0.072±0.151 | 0.202±0.307 | 0.082±0.161 | 0 [0ー1] | 2 [0ー4] | 8 [6ー11] | |||||||||||||||||
| LSP off (HPF = 0.4 Hz) | 5,000 | 0.826±0.309 | 0.660±0.236 | 0.730±0.268 | 7 [6ー11] | 3 [2ー4] | 0 [0ー2] | |||||||||||||||||
| LSP on (Default) | 5,000 | 0.909±0.215 | 0.738±0.162 | 0.808±0.178 | 8 [7ー11] | 2 [2ー3] | 0 [0ー0] | |||||||||||||||||
| LSP on (LPF = 10 Hz) | 5,000 | 0.322±0.388 | 0.614±0.328 | 0.330±0.353 | 1 [0ー5] | 1 [0ー2] | 7 [3ー10] | |||||||||||||||||
| LSP on (HPF = 0.4 Hz) | 5,000 | 0.946±0.170 | 0.758±0.116 | 0.837±0.138 | 8 [7ー11] | 2 [2ー3] | 0 [0ー0] | |||||||||||||||||
| (d) PTB (control, 1000Hz) | ||||||||||||||||||||||||
| Condition | N | Se | PPV | F1 | TP | FP | FN | |||||||||||||||||
| LSP off (Default) | 120,012 | 0.896±0.211 | 0.864±0.201 | 0.876±0.204 | 120 [110ー136] | 8 [2ー18] | 2 [0ー9] | |||||||||||||||||
| LSP off (LPF = 10 Hz) | 120,012 | 0.169±0.208 | 0.343±0.323 | 0.207±0.233 | 9 [1ー36] | 27 [10ー50] | 113 [90ー131] | |||||||||||||||||
| LSP off (HPF = 0.4 Hz) | 120,012 | 0.910±0.232 | 0.890±0.230 | 0.899±0.230 | 123 [112ー142] | 3 [1ー12] | 0 [0ー3] | |||||||||||||||||
| LSP on (Default) | 120,012 | 0.954±0.137 | 0.922±0.127 | 0.935±0.129 | 125 [114ー143] | 4 [1ー13] | 0 [0ー1] | |||||||||||||||||
| LSP on (LPF = 10 Hz) | 120,012 | 0.320±0.325 | 0.595±0.375 | 0.379±0.340 | 19 [3ー80] | 11 [3ー23] | 101 [46ー125] | |||||||||||||||||
| LSP on (HPF = 0.4 Hz) | 120,012 | 0.963±0.142 | 0.944±0.145 | 0.953±0.143 | 126 [115ー145] | 1 [0ー4] | 0 [0ー0] | |||||||||||||||||
| Dataset | Corrected LSP | Number of TP | Mean ± SD (ms) |
|---|---|---|---|
| MIT-AD (360 Hz) | Without | 64,068 | –14.5±7.0 |
| With | 91,050 | –1.3±4.4 | |
| LUDB (Sinus,500 Hz) | Without | 1,084 | –13.1±6.1 |
| With | 1,178 | 1.4±2.5 | |
| LUDB (Arrhythmia,500 Hz) | Without | 431 | –13.0±7.0 |
| With | 491 | 1.4±3.4 | |
| PTB (control, 1000 Hz) | Without | 9,006 | –13.9±7.3 |
| With | 9,580 | –0.6±3.0 |
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.