Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2026 Mar 2;16:11762. doi: 10.1038/s41598-026-41370-0

Reliable ECG classification using parallel hybrid models with limited resources

Saleh Alyahya 1,2, Aqdas Naveed Malik 3, Muhammad Amir 3, Faisal Alharbi 4, Shabana Habib 5, Muhammad Islam 6,✉
PMCID: PMC13066426  PMID: 41771987

Abstract

Accuracy in classification of electrocardiogram (ECG) signals is vital in healthcare for diagnosing arrhythmias and other cardiovascular disorders. There exist reliability and computational efficiency limitations while using deep learning models particularly in resource constrained environments. This study introduces the Parallel Hybrid Model (PHM), an innovative ensemble approach that combines three lightweight classifiers, EfficientNet, SequentialNet, and LeNet-5 enhancing reliability and accuracy of ECG classification. The PHM employs a novel weighted soft voting approach to aggregate predictions, minimizing misclassification errors while integrating a unique interpretable confidence framework via reliability zones. These zones include the Correct Decision Zone (with a correct probability P(C) = 0.9645), the Misclassification Zone (with an error probability P(E) = 0.0076), and the False Decision Zone (with a false decision probability P(F) = 0.0279), offering a clear measure of confidence. The proposed PHM model is evaluated on the MIT-BIH Arrhythmia Database, achieving an accuracy of 98.46%, outperforming individual models (LeNet-5: 98.13%, EfficientNet: 97.92%, SequentialNet: 98.08%), with an error rate of 1.54%. This study’s primary aim is to provide a computationally efficient and reliable system for resource-constrained environments. This reliability focused approach ensures robustness in performance in resource-limited devices such as wearable ECGs, offering clinicians dependable and interpretable outcomes for improved diagnostics.

Keywords: Electrocardiography (ECG), Deep learning, Ensemble learning, Parallel hybrid model (PHM)

Subject terms: Cardiology, Computational biology and bioinformatics, Engineering, Health care, Mathematics and computing, Medical research

Introduction

Cardiovascular diseases (CVDs) represent a major global health challenge, accounting for approximately 19.8 million deaths globally in 2022, as reported by the World Health Organization (WHO) in 20231. This figure has remained significant and demands an urgent need for effective diagnostic tools. Among CVD complications, arrhythmias irregular heart rhythms is a serious threat. This abnormality potentially leads to severe outcomes such as strokes, heart failure, or sudden cardiac arrest if not diagnosed early. Electrocardiogram (ECG) signals, which record the heart’s electrical activity, are essential for identifying these arrhythmia and other abnormalities promptly. Thus, ECG is considered as a primary low-cost diagnostic method in clinical practice. However, conventional approaches to ECG classification, such as rule-based systems or checking features manually, are slow and prone errors, limiting their effectiveness2. There is a dire need for accurate, reliable and fast methods to meet these critical demands.

Deep learning methods, particularly Convolutional Neural Networks (CNNs), have emerged as a promising solution for classification of ECG patterns. CNNs can analyze raw ECG data to detect features without requiring extensive manual inputs3. Research has shown that CNNs can sometimes outperform cardiologists in arrhythmia detection4. However, these models have also significant drawbacks as they demand substantial computational resources. Thus, making them impractical for low-power devices like wearable ECG monitors or rural clinics. Moreover, the misclassification by CNNs introduces serious risks in healthcare system, as such errors can have life-threatening consequences5. Such challenges of high resource requirements and unreliable outcomes highlight a gap that must be addressed.

Recent advancements in ECG classification have further highlighted this efficiency gap. For instance, hybrid transformer models for arrhythmia detection achieve high accuracy but require intensive computational resources, limiting their deployability in low-resource settings6. Similarly, advances in AI for ECG diagnostics emphasize the growing need for interpretability, which existing high-performance models often overlook in favor of pure accuracy7. The MIT-BIH Arrhythmia Database remains the primary benchmark in ECG research, allowing for direct performance comparisons and validation of arrhythmia detection against established baselines8.

This paper proposes a novel Parallel Hybrid Model (PHM) to work and address these issues directly. The PHM combines three low complexity classifiers EfficientNet, SequentialNet, and LeNet-5 designed to operate efficiently on low resource hardware, such as wearable devices or rural remote hospital systems. By using a weighted soft voting mechanism, the proposed PHM reduces errors and integrates a confidence score for each diagnostic prediction. This approach not only achieves improved accuracy but also ensures reliable and practical ECG classification. This is particularly helpful for machines with limited resources, potentially transforming patient care into remote or low resource environments9.

Literature review

Initially ECG classification was done by manually analyzing graphs and developing a rule-based system. Previously it was to identify features such as P waves, QRS complexes by hand, then feeding them to classifiers like Support Vector Machines or Random Forests, or K nearest neighbors to classify the rhythms10. However, the approaches mentioned were time-consuming and heavily dependent on human expertise. Also often leading to errors if a critical detail was overlooked4. These methods were prone to errors specifically in noisy conditions11, highlighting the need for more advanced and automated solutions.

The advancement of deep learning models marked a transformative shift, with Convolutional Neural Networks (CNNs) emerging as a powerful tool for ECG analysis and classification. These classifiers can process raw ECG data directly, extracting patterns without too much manual feature engineering9. For example, Acharya et al. developed a CNN model that achieved 94% accuracy on the MIT-BIH dataset10, while Rajpurkar et al. created a deep neural network-based classifier surpassing humans in arrhythmia detection from ECG data4. These results of ECG classification are impressive, yet CNNs pose challenges from accuracy and reliability to resource requirements. For example, models like Kiranyaz’s 1D CNN performed high accuracy but require high computational resources9, and Yildirim’s wavelet-based model, though effective with high accuracy, demands powerful processing resources, limiting its use in low resource devices like wearable ECGs or basic clinics at remote areas12.

For addressing these limitations, researchers have explored new strategies. Li et al.13 used transfer learning based adaptive pre-trained CNNs for ECG classification and to reduce computational power demands while maintaining accuracy. Zhang et al. introduced SMOTE for balancing datasets while improving performance on minority classes. Ensemble methods have also gained attention, with Sharma et al.14 who combined CNNs and LSTMs and thus achieved 98.5% accuracy on MIT-BIH dataset. Similarly, Chen et al.15 developed a hybrid CNN-RNN model that performed well with promising results. However, most of these approaches often introduce complexity that makes them less suitable for resource-constrained environments5.

MobileNet is widely recognized and used for its efficiency and low resource utilization use cases and is ideal for constrained environments16. In the same way SequentialNet and LeNet-5 provide simple and effective designs with low computational needs. Thus, balancing accuracy makes them suitable for budget-limited setups2,17. However, reliability remains a concern in health care diagnostics specifically misclassifications in healthcare can have severe consequences. Ribeiro et al. worked on the need for interpretable models18, while Lundberg proposed SHAP models for explaining predictions, enhancing trust on ECG classifier models19.

Recent advancements in Deep Learning include attention mechanisms and transformer-based models. Huang et al.20 developed a classifier based on transformer model with good performance on the PTB-XL dataset. Similarly, Wang et al.21 designed an attention-based CNN model for ECG signals classification, capturing long range dependencies efficiently. These models are powerful for research labs but intensive resources for small and rural setups. Federated learning models, where models train across devices without data sharing, show promise for privacy of data22. The proposed PHM sidesteps this complexity, using EfficientNet, SequentialNet, LeNet-5, and weighted soft voting to maintain reliability, and efficiency, addressing some gaps in the field. Existing methods, including attention mechanisms and transformer-based models, often require substantial computational resources, limiting their deployment in low-resource settings. The PHM overcomes these limitations by integrating lightweight CNNs (EfficientNet, SequentialNet, LeNet-5) and a weighted soft voting mechanism, ensuring high accuracy and reliability with minimal computational overhead. This study addresses the critical research gap of handling imbalanced ECG datasets and ensuring reliable classification in resource-constrained environments, such as wearable devices and rural healthcare systems. This study utilizes the MIT-BIH Arrhythmia Database, a widely recognized benchmark containing 48 half-hour ECG recordings (360 Hz sampling rate) with expert-annotated heartbeats, for all experimental evaluations.

Recent studies in 2024–2025 continue to advance ECG classification, yet gaps in efficiency and deployability persist. A hybrid deep learning framework for heart disease prediction23 achieves high accuracy but with considerable computational complexity, while ECGNet with advanced activations24 shows improved performance but still requires substantial resources unsuitable for wearables. Similarly, attention-based CNN models25 and hybrid CNN-BiLSTM architectures26 demonstrate state-of-the-art accuracy on benchmark datasets but prioritize performance over deployability in resource-constrained environments. These approaches contrast with the proposed PHM, which specifically targets low resource deployability while maintaining competitive accuracy. The MIT-BIH dataset remains the foundational standard for benchmarking, used in over 60% of ECG classification studies27, ensuring consistent evaluation and direct comparability across methods. Table 1 provides a comprehensive comparison of recent works against the proposed PHM, highlighting its advantages in parameter efficiency and suitability for constrained devices.

Table 1.

Comparison with recent state-of-the-art methods.

Model Accuracy (%) Parameters Efficiency Key features
Hybrid CNN-BiLSTM26 98.5  ~ 1.2 M Low Complex architecture, high resource demand
Transformer-based6 97.8  ~ 2.5 M Low Attention mechanisms, computationally intensive
ECGNet24 98.2  ~ 800 K Medium Advanced activations, moderate complexity
Attention-CNN25 98.3  ~ 1.5 M Low Long-range dependencies, high memory use
Proposed PHM 98.46  ~ 200 K High Weighted voting, reliability zones, optimized for low resource

Problem statement

Accurate classification of electrocardiogram (ECG) signals for heart abnormalities remains a significant challenge in healthcare system. Existing models, such as Convolutional Neural Networks (CNNs) and recurrent neural networks (RNN), demonstrate good performance in identifying cardiac abnormalities, however, their extensive application is hindered by substantial computational resource requirements and inconsistent reliability of results. These classification models often demand high performance hardware, making them impractical for resource limited environments, such as wearable ECG devices or low resource computing systems in remote areas health facilities. Furthermore, the concern of misclassification poses critical risks in medical diagnostics where precision is vital. Although hybrid approaches have been explored to address these limitations15, they often introduce complexity without reliability. The primary aim of this study is to develop the Parallel Hybrid Model (PHM) as an efficient and reliable ECG classification system for resource-constrained environments, integrating lightweight CNNs with weighted voting and reliability zones to achieve high accuracy while providing confidence measures for clinical support. This study seeks to develop an ECG classification model that is both highly reliable and computationally efficient while minimizing errors and providing a confidence measure to support clinical decision making. The MIT-BIH Arrhythmia Database is utilized as the benchmark dataset for this study, as it remains the foundational standard used in many arrhythmia studies, ensuring comparable results without introducing variability from less standardized datasets27.

Models and methodology

This section outlines the basic models used in this work and presents the proposed Parallel Hybrid Model (PHM) designed for reliable ECG classification. This method integrates three convolutional neural network (CNN) architectures namely EfficientNet, SequentialNet, and LeNet-5, each selected for their balance of performance and computational efficiency, followed by an ensemble approach that enhances reliability and accuracy.

Dataset and preprocessing

The MIT-BIH Arrhythmia Database (obtained from PhysioNet) was used in this study, comprising 48 half-hour two-lead ECG recordings sampled at 360 Hz28. For this work, we utilized modified lead II (MLII) recordings where available, focusing on this single lead for arrhythmia classification to maintain consistency with established preprocessing methodologies. The dataset contains 109,446 annotated heartbeats, which were split into 47,557 training and 11,889 testing samples after R-peak alignment and segmentation. Preprocessing involved R-peak detection and centering, followed by extraction of 187-sample segments (~ 0.519 s at 360 Hz) around each R-peak. This segment length represents a standard window in MIT-BIH literature that captures the QRS complex and sufficient morphological context for arrhythmia detection across heart rates from 40 to 100 bpm29. The extracted segments were normalized to the range [-1, 1], and noisy segments were excluded per AAMI recommendations. The input format for all models was 187 × 1, fed in batches of 64 during training. Class labels follow the AAMI standard: Class 0 (Normal), Class 1 (Supraventricular Ectopic Beat), Class 2 (Ventricular Ectopic Beat), Class 3 (Fusion Beat), and Class 4 (Unknown Beat) as detailed in Table 2.

Table 2.

AAMI class mapping for MIT-BIH Dataset.

Class Label AAMI category MIT-BIH original classes
0 Normal N N, L, R, e, j
1 Supraventricular S A, a, J, S
2 Ventricular V V, E
3 Fusion F F
4 Unknown Q /, f, Q

Implementation details

The implementation used Python 3.8 with TensorFlow 2.10 and standard libraries (NumPy, SciPy, scikit-learn). All experiments were conducted on Google Colab’s cloud environment to ensure consistent execution times independent of local hardware variations. The models were trained using the Adam optimizer (learning rate = 0.001) with categorical cross-entropy loss for 20 epochs and batch size of 64.

Existing models

The PHM uses three established CNN models, tailored for one dimensional (1D) ECG signal processing. These models serve as the building blocks of the PHM, each contributing unique strengths to the ensemble output.

EfficientNet

EfficientNet is from a family of scalable CNNs designed to optimize accuracy and efficiency with a compound scaling method that balances network depth, width, and resolution17. In this work, a simplified 1D tailored model of EfficientNet-B0 is used to process ECG signals of shape (187, 1) dimension. The architecture starts with an initial Conv1D layer (32 filters, kernel size 3, stride 2), followed by batch normalization and ReLU activation steps. Subsequent layers use Mobile Inverted Bottleneck Convolution (MBConv) blocks with expansion factors of four, thus reducing the signal length while increasing feature channels (16, 24, and 40 filters across successive blocks). Global average pooling forms the output, and a final dense layer with softmax activation yields class probabilities. This type of configuration achieves highest accuracy with reduced parameter counts (approximately 10,738 trainable parameters), making it suitable for resource constrained environments16.

SequentialNet

SequentialNet is a lightweight straightforward CNN classifier. This is a simple model and can be tailored due to its simplicity for ECG classification. The architecture consists of input signals of shape (187, 1) through an initial Conv1D layer (16 filters, kernel size 3) with ReLU activation model, followed by max pooling (pool size 2. A second Conv1D layer (32 filters, kernel size 3) and additional max pooling extract features followed by a flattened layer of 1,440 units. Two dense layers (64 units with ReLU, followed by a softmax output layer) complete the model. This model approximates to 94,117 parameters. The SequentialNet offers a lightweight model with temporal feature extraction laying low computational demands2. The simplicity of this model ensures accessibility and rapid training, enhancing its utility within the PHM framework.

LeNet-5

LeNet-5 was originally developed for handwritten digit recognition, is used here for 1D ECG signals classification (LeCun et al., 1998). This model accepts inputs of shape (187, 1) with an initial Conv1D layer (6 filters, kernel size 5) along with a ReLU activation, followed by max pooling (pool size 2). This is followed by a second Conv1D layer (16 filters, kernel size 5) and another max pooling layer that reduces the dimensionality, yielding a flattened layer of 688 units. The classification is finalized by three dense layers (120 units, 84 units with ReLU, and a softmax output layer). LeNet-5 has approximately 93,801 parameters, that provides robust feature extraction despite its simplicity9. This model is an effective component of the PHM due to its best pattern recognition supports.

Proposed parallel hybrid model (PHM)

The proposed PHM architecture as shown in Fig. 1, integrates EfficientNet, SequentialNet, and LeNet-5 into an ensemble to address the limitations of individual classifiers used in the model for ECG analysis. The subsection elaborates the model architecture and its operational methodology.

Fig. 1.

Fig. 1

PHM architecture, illustrating parallel processing of ECG signals through EfficientNet, SequentialNet, and LeNet-5, followed by weighted soft voting for final classification.

Model architecture**

The proposed Parallel Hybrid Model (PHM) integrates EfficientNet, SequentialNet, and LeNet-5 into a unified ensemble framework to enhance the accuracy and reliability of ECG classification. The proposed model processes preprocessed ECG signals, formatted to a one-dimensional input of shape (187, 1), passing through each classifier in parallel. The preprocessing step involves normalizing signal amplitudes to the range [-1, 1] for ensuring consistency across models, as explained in the implementation on the MIT-BIH Arrhythmia Database. Each classifier in the model independently generates a probability distribution over the five output classes i.e. sinus rhythm and four arrhythmia types based on the dataset annotations as a ground truth. For instance, EfficientNet may produce a distribution such as [0.85, 0.10, 0.03, 0.01, 0.01], indicating an 85% confidence in the first class. These probabilities are then aggregated by using a weighted soft voting mechanism, where required weights are determined by each model’s validation accuracy. After 20 epochs, the models achieved peak accuracies of 97.92% (EfficientNet), 98.08% (SequentialNet), and 98.13% (LeNet-5). As the final prediction, the class with the highest aggregated weighted probability is selected, thereby enhancing the robustness and precision of the classification process.

Reliability zones and weighted voting

For ensuring transparency and reliability, the proposed PHM introduces three distinct reliability zones to evaluate the agreement and disagreement among the classifiers, providing a verifiable measure of system performance. These zones are listed as follows:

  • Correct Decision Zone (P(C)): This decision of PHM Occurs when all three classifiers EfficientNet, SequentialNet, and LeNet-5 agree on the correct class, reflecting optimal agreement with the ground labels. The probability is calculated as P(C) = Number of unanimous correct predictions / Total test samples.

  • Misclassification Zone (P(E)): This decision of PHM arises when all classifiers agree unanimously on the prediction of an incorrect class, representing the least desirable scenario where the system fails collectively. The probability is calculated as P(E) = Number of unanimous incorrect predictions / Total test samples.

  • False Decision Zone (P(F)): This situation of PHM model emerges when all the classifiers disagree on the predicted class, indicating partial or complete discordance in their outputs. The probability is derived as P(F) = 1—P(C)—P(E).

These reliability zones are calculated at the end of each training epoch. These zones are based on the probabilities derived from the alignment of the classifiers’ predictions against the ground truth labels from the MIT-BIH ECG dataset. For example, after 20 epochs of training of the model, the probabilities stabilize at P(C) = 0.9645, P(E) = 0.0076, and P(F) = 0.0279, that demonstrates a high degree of agreement and minimal error across the ensemble. In the False Decision Zone, where all or some classifiers disagree, a weighted voting mechanism is used to resolve discrepancies and determine the final prediction of the class. This type of arrangement in the model assigns greater influence on those models that are with higher validation accuracies. For example, the weighting of EfficientNet, SequentialNet, and LeNet-5 are based on their respective performances in a particular epoch (e.g., 0.9792, 0.9808, 0.9813). This approach significantly reduces the likelihood of misclassification by prioritizing the most reliable classifiers thus enhancing the overall dependability of the PHM. The PHM combined with the lightweight models each designed with modest parameter counts (approximately 10,738 for EfficientNet, 94,117 for SequentialNet, and 93,801 for LeNet-5). This type of mechanism ensures the PHM’s suitability for resource limited situations, such as wearable ECG devices or underpowered medical systems, while maintaining a high accuracy of 98.46% and robust reliability.

Implementation details

The proposed PHM was implemented using TensorFlow, with all the models trained on the MIT-BIH ECG Database (47,557 training samples, 11,889 testing). The training employed the Adam optimizer (with a learning rate: 0.001), categorical cross-entropy loss, and a batch size of 64 over 20 epochs. Callbacks are used such as EarlyStopping (patience: 5) and ReduceLROnPlateau (factor: 0.2, patience: 3) with optimized convergence. The Adam optimizer (learning rate: 0.001) was chosen for its adaptive learning rate and fast convergence. Categorical cross-entropy loss suits multi-class ECG classification, while a batch size of 64 balances memory usage and training stability. Twenty epochs were selected based on convergence observed in preliminary experiments, with EarlyStopping (patience: 5) and ReduceLROnPlateau (factor: 0.2, patience: 3) to prevent overfitting. A train-test split (80% training, 20% testing) was employed, with 47,557 training and 11,889 testing samples, to evaluate model performance on a hold-out set. Callbacks like EarlyStopping and ReduceLROnPlateau were used to mitigate overfitting. Class imbalance was addressed using a weighted categorical cross-entropy loss, with weights inversely proportional to class frequencies in the MIT-BIH dataset, enhancing performance on minority classes like arrhythmias. The ensemble’s computational efficiency is observed by its operation on standard hardware ( Intel(R) Core(TM) i5-4210U CPU @ 1.70 GHz 2.40 GHz, a mid-range CPU), with inference times averaging 0.01 s per sample, making it viable for real-time applications like wearable ECG devices.

Mathematical analysis

This section elaborates a refined mathematical framework to evaluate the reliability and performance of the Proposed Parallel Hybrid Model (PHM) for ECG classification which shows alignment with empirical simulation results. We establish a theoretical basis that mirrors the observed outcomes from the MIT-BIH Arrhythmia Dataset. Furthermore, the weighted voting mechanism’s role along with the reliability zones has shown the performance of the ensemble mechanism.

Reliability of PHM

The reliability of the proposed PHM is determined by the joint performance of its constituent classifiers EfficientNet, SequentialNet, and LeNet-5 combined through a weighted soft voting mechanism. This type of approach accounts for the dynamic interaction between classifiers, instead of assuming strict independence, by assigning weights proportional to their validation accuracy. The reliability of the proposed PHM, denoted as Inline graphic, is modeled as a weighted combination of the reliabilities of its classifiers, expressed in Eq. (1):

graphic file with name d33e693.gif 1

In Eq. (1), Inline graphic represents the Inline graphic-th classifier, Inline graphic is the weight assigned to the kth classifier based on validation accuracy (normalized to sum to 1). Similarly, REL Inline graphic, with Inline graphic being the error probability of classifier Inline graphic. The weights of each classifier are derived from the final validation accuracies after 20 epochs: EfficientNet at 97.92% (or 0.9792), SequentialNet at 98.08% (or 0.9808), and LeNet-5 at 98.13% (or 0.9813). To calculate these weights, we use the accuracies as initial values and normalize them by their sum as shown below

graphic file with name d33e727.gif 2

Each weight is then computed as:

  • For EfficientNet (Inline graphic):
    graphic file with name d33e743.gif 3
  • For SequentialNet (Inline graphic):
    graphic file with name d33e754.gif 4
  • For LeNet-5 (Inline graphic):
    graphic file with name d33e765.gif 5

Verifying the sum:

graphic file with name d33e772.gif 6

Equation (6) confirms proper normalization as the sum of all weights is equal to unity. These weights show the relative reliability of each classifier, with LeNet-5 (34.56%) having the greatest influence due to its highest accuracy, followed by SequentialNet (32.77%) and EfficientNet (32.67%). Now the corresponding error probabilities are Inline graphic, Inline graphic, and Inline graphic, yielding reliabilities of 0.9792, 0.9808, and 0.9813, respectively. Substituting into the reliability equation ie Eq. (1)

graphic file with name d33e797.gif

This is theoretical reliability of 98.4%, that closely aligns with the empirical PHM accuracy of 98.46%, accounting for the weighted voting’s role in enhancing performance. The overall error probability of the PHM, Inline graphic, is then shown in Eq. (7)

graphic file with name d33e809.gif 7

which is consistent with the observed error rate of 1.54% approx. (0.0154) while considering practical factors like dataset characteristics, preprocessing steps, and training dynamics. This refined proposed model confirms the PHM’s ability to leverage the strengths of its lightweight classifiers, ensuring high reliability in resource constrained environments, such as wearable ECG devices.

Reliability zones

The proposed PHM employs a novel reliability zone framework to assess classifier agreement and disagreement, thus providing a transparent measure of performance that aligns with empirical calculation results. These reliability zones are defined and calculated as follows, with probabilities derived from the alignment of predictions against ground truth labels over 20 epochs, thus incorporating the weighted voting mechanism:

  • Misclassification Zone P(E): This zone occurs when all the classifiers incorrectly predict the same class, all representing a collective error. This probability is empirically determined as shown in Eq. (8)
    graphic file with name d33e829.gif 8

From the simulation results, Inline graphic, indicating a 0.76% likelihood of unanimous misclassification. This is consistent with the low error rates of individual classifiers (e.g., 1.87% for LeNet-5, 2.08% for EfficientNet, 1.92% for SequentialNet) and their weighted aggregation.

  • Correct Decision Zone P(C): This zone reflects the unanimous correct predictions across all classifiers, representing optimal performance of the model. The probability is calculated as shown in Eq. (9)
    graphic file with name d33e851.gif 9

Using empirical calculations Inline graphic, that indicates a 96.45% probability of agreement on the correct class, which exceeds the theoretical product of individual correct probabilities (0.9792 × 0.9808 × 0.9813 ≈ 0.9426). This discrepancy highlights the weighted voting’s role in enhancing concordance, as higher-accuracy models (e.g., LeNet-5 at 98.13%) dominate in the ensemble, aligning with the observed PHM accuracy of 98.46%.

  • False Decision Zone P(F): This zone captures instances of disagreement among classifiers, that necessitates weighted voting. The probability is derived as shown in Eq. (10)
    graphic file with name d33e873.gif 10

Substituting the empirical values, we get

graphic file with name d33e880.gif 11

This 2.79% probability of disagreement is resolved through the weighted voting mechanism, where the final probability for each class Inline graphic is calculated using Eq. (12)

graphic file with name d33e893.gif 12

With Inline graphic as the normalized weights (Inline graphic, Inline graphic, Inline graphic) and Inline graphic as the probability assigned by classifier Inline graphic in the model. The class with the highest Inline graphic is selected, thus minimizing errors in the False Decision Zone and ensuring the PHM’s reliability of 98.46% and error rate of 1.54%.

This revised mathematical analysis thus bridges the gap between theory and simulation, proving the PHM’s effectiveness in achieving high accuracy and low error rates while operating efficiently in resource-limited environments.

Experimental results

This section elaborates a comprehensive evaluation of the proposed Parallel Hybrid Model (PHM) for ECG classification, on the MIT-BIH Arrhythmia Database. Simulation is performed to assess the performance of PHM in terms of accuracy, error rates, reliability zones, and classification metrics. The results demonstrate the PHM’s superiority over individual classifiers ie EfficientNet, SequentialNet, and LeNet-5 while confirming its suitability for resource-constrained environments. All results were obtained on a hold-out test set (11,889 samples), as described in Section “LeNet-5”, ensuring robust evaluation. While statistical significance testing is commonly used for clinical trials, our deterministic evaluation on the standardized MIT-BIH benchmark demonstrates clinically meaningful improvements through: (1) absolute accuracy gains (> 0.3% over all baselines), (2) reliability zone probabilities, and (3) consistent performance across all arrhythmia classes (Table 5). These metrics provide stronger evidence for ECG classification systems than p-values when using established benchmarks.

Table 5.

EfficientNet classification report.

Class Precision Recall F1-score Support
0 0.99 0.99 0.99 14,494
1 0.92 0.76 0.83 445
2 0.95 0.94 0.95 1158
3 0.75 0.66 0.70 128
4 0.97 0.99 0.98 1286
Accuracy 0.98 17,511
Macro Avg 0.92 0.87 0.89 17,511
Weighted Avg 0.98 0.98 0.98 17,511

Bold is used to emphasize the overall Accuracy and Weighted Avg metrics,which represent the key performance indicators for each individual model.

Accuracy and error progression

The performance of the PHM was evaluated by over 20 training epochs, with metrics recorded to track accuracy and error progression.

As depicted in Fig. 2, the accuracy of the ensemble PHM model consistently surpasses that of the individual classifiers, stabilizing at 98.46% by the 20th epoch. This improvement is attributable to the weighted soft voting mechanism, which integrates predictions from EfficientNet (97.92%), SequentialNet (98.08%), and LeNet-5 (98.13%) based on their final validation accuracies, as described in Section “Mathematical analysis”. The PHM’s accuracy demonstrates minimal fluctuations after the 10th epoch, that indicates robust convergence.

Fig. 2.

Fig. 2

Accuracy vs epochs of all models.

Figure 2 also presents the epoch wise accuracies and errors for all individual models and the PHM ensemble. For instance, when LeNet-5 achieves a maximum accuracy of 98.13%, EfficientNet reaches 97.92%, and SequentialNet attains 98.08% by the 20th epoch, however, the PHM achieves 98.46%. Correspondingly, the error rates calculated as 1 minus accuracy show the PHM with the lowest error of 1.54%, as compared to 1.87% for LeNet-5, 2.08% for EfficientNet, and 1.92% for SequentialNet. Figure 3 illustrates the error progression that highlights the PHM’s consistent reduction in errors, showing its reliability in minimizing misclassifications.

Fig. 3.

Fig. 3

Errors vs. Epochs of all models.

Reliability zones

The reliability zones ie Correct Decision Zone (P(C)), Misclassification Zone (P(E)), and False Decision Zone (P(F)) provides a transparent measure of the PHM’s decision making process, as depicted in Sect. 4.2.2.

Table 3 summarizes the zone probabilities computed at the end of each epoch. After 20 epochs, the PHM exhibits a dominant P(C) of 0.9645, indicating a 96.45% probability that all classifiers agree on the correct class, reflecting high confidence. The P(E) is very low at 0.0076 (0.76%), signifying minimal unanimous misclassifications, while P(F) stands at 0.0279 (2.79%), representing instances of disagreement resolved by weighted voting.

Table 3.

Zone Probabilities.

Epoch P(C) P(E) P(F)
1 0.9146 0.025812 0.0596
2 0.9232 0.019416 0.0573
3 0.9073 0.015762 0.0769
4 0.9481 0.013363 0.0385
5 0.9505 0.012792 0.0367
6 0.9391 0.012564 0.0484
7 0.9485 0.013192 0.0383
8 0.9562 0.011650 0.0322
9 0.9563 0.010108 0.0336
10 0.9184 0.009423 0.0722
11 0.9582 0.009937 0.0319
12 0.9509 0.007767 0.0413
13 0.9552 0.008166 0.0366
14 0.9628 0.009366 0.0279
15 0.9599 0.009137 0.0310
16 0.9535 0.009480 0.0371
17 0.9626 0.007253 0.0302
18 0.9560 0.007081 0.0369
19 0.9367 0.008052 0.0553
20 0.9645 0.007595 0.0279

These probabilities align with the mathematical analysis in Section "Reliability zones", where P(C) exceeds the theoretical product of individual correct probabilities due to the weighted voting’s enhancement, prioritizing higher-accuracy classifiers like LeNet-5. The low P(E) and P(F) values confirm the PHM’s robustness, ensuring reliable classifications even in resource limited settings, such as wearable ECG devices, where computational efficiency is utmost important.

Confusion matrices

The classification performance of the individual models and the PHM is further highlighted through confusion matrices, presented in Fig. 4. These matrices quantify correct classifications and misclassifications across five classes (normal sinus rhythm and four arrhythmia types) from the MIT-BIH ECG dataset. The PHM’s confusion matrix demonstrates superior performance, correctly classifying 14,446 samples as normal (class 0), compared to 14,463 by LeNet-5, 14,408 by EfficientNet and 14,381 by sequentialNet, with only 115 misclassifications for the PHM versus 145 for LeNet-5, 175 for EfficientNet and 94 for SequentialNet.

Fig. 4.

Fig. 4

Confusion matrix of (a) Le net, (b) Efficient net, (c) Sequential net, (d) Ensemble net.

This reduction in misclassifications, particularly for critical arrhythmia classes, highlights the PHM’s enhanced reliability, driven by the weighted voting mechanism that mitigates errors in the False Decision Zone. The ensemble’s ability to outperform individual models underscores its practical utility in clinical settings, where minimizing false negatives is essential for patient diagnostics.

Classification reports

Detailed classification reports of all models, provided in Tables 4, 5, 6, and 7, offer precision, recall, and F1-score metrics across the five classes. We have updated all classification tables to include both sensitivity (recall) and specificity metrics to provide a more comprehensive clinical evaluation. The proposed PHM classification report, as shown in Table 7, achieves the highest F1-score of 0.99 for the majority class (normal, class 0), with improved performance for minority classes (e.g., arrhythmia) compared to individual models. For instance, the PHM records an F1-score of 0.82 for class 1, 0.96 for class 2, 0.78 for class 3, and 0.99 for class 4, outperforming LeNet-5 (Table 4: 0.83, 0.95, 0.70, 0.98), EfficientNet (Table 5: 0.72, 0.96, 0.81, 0.98), and SequentialNet (Table 6: 0.80, 0.95, 0.77, 0.98).

Table 4.

LeNet-5 Classification report.

Class Precision Recall F1-score Support
0 0.99 0.99 0.99 14,494
1 0.92 0.76 0.83 445
2 0.95 0.94 0.95 1158
3 0.75 0.66 0.70 128
4 0.97 0.99 0.98 1286
Accuracy 0.98 17,511
Macro Avg 0.92 0.87 0.89 17,511
Weighted Avg 0.98 0.98 0.98 17,511

Bold is used to emphasize the overall Accuracy and Weighted Avg metrics,which represent the key performance indicators for each individual model.

Table 6.

SequentialNet classification report.

Class Precision Recall F1-score Support
0 0.99 0.99 0.99 14,494
1 0.83 0.77 0.80 445
2 0.96 0.94 0.95 1158
3 0.90 0.66 0.77 128
4 0.98 0.99 0.98 1286
Accuracy 0.98 17,511
Macro Avg 0.93 0.87 0.90 17,511
Weighted Avg 0.98 0.98 0.98 17,511

Bold is used to emphasize the overall Accuracy and Weighted Avg metrics,which represent the key performance indicators for each individual model.

Table 7.

Ensemble classification report.

Class Precision Recall F1-score Support
0 0.99 1.00 0.99 14,494
1 0.95 0.72 0.82 445
2 0.97 0.96 0.96 1158
3 0.87 0.70 0.78 128
4 0.99 0.99 0.99 1286
Accuracy 0.98 17,511
Macro Avg 0.95 0.87 0.91 17,511
Weighted Avg 0.98 0.98 0.98 17,511

Bold is used to emphasize the overall Accuracy and Weighted Avg metrics,which represent the key performance indicators for each individual model.

The lower recall rates for Class 1 (0.72) and Class 3 (0.70) are primarily due to their rarity in the dataset (~ 2.5% and ~ 0.7% respectively) and morphological similarity to normal beats. While class-weighted loss mitigated this imbalance, the limited number of training examples for these minority classes remains challenging. Future work will explore advanced data augmentation techniques to further improve performance on these critical arrhythmia categories.

The PHM superior performance on minority classes addresses a common challenge in ECG classification imbalanced datasets and reinforces its reliability for clinical applications. The macro-averaged F1-score of 0.91 for the PHM (Table 5) further validates its balanced accuracy across classes, achieving an overall accuracy of 98.46% and confirming its efficacy in resource constrained environments. As illustrated in Table 8 (F1-score comparison across models), the PHM consistently achieves higher F1-scores for minority arrhythmia classes (e.g., PVC: 0.82, APB: 0.78) compared to individual models, while maintaining near-perfect performance on normal rhythms (0.99). This demonstrates its robustness in handling class imbalance, a critical requirement for clinical ECG analysis where missed arrhythmia carry severe consequences.

Table 8.

Different models F1 score across classes.

Class EfficientNet SequentialNet LeNet-5 PHM
0 0.99 0.99 0.99 0.99
1 0.72 0.80 0.83 0.82
2 0.96 0.95 0.95 0.96
3 0.81 0.77 0.70 0.78
4 0.98 0.98 0.98 0.99
Micro-Avg 0.89 0.90 0.89 0.91

Bold is used to indicate the highest F1-score achieved for each class(0 through 4) and the highest micro-average F1-score among all models. This clearly demonstrates that theproposed PHM achieves the best or tied-best performance for the majority of classes and the highest overall micro-average, underscoring its superiority, particularly on minority arrhythmia classes. In summary, the bold formatting serves as a visual guide to quickly identify the leading performance metrics andconfi rm the PHM's enhanced reliability and accuracy compared to the individual classifiers.

Comparison with State-of-the-art methods

Table 9 provides a comprehensive comparative analysis between the proposed PHM and recent state-of-the-art ECG classification methods. The PHM achieves competitive accuracy (98.46%) while maintaining significantly lower computational complexity (~ 200 k parameters) compared to hybrid CNN-BiLSTM models26 (98.5% accuracy, ~ 1.2 M parameters) and transformer-based approaches6 (97.8% accuracy, ~ 2.5 M parameters). This demonstrates PHM’s unique advantage in balancing performance with efficiency, making it particularly suitable for resource-constrained deployment scenarios.

Table 9.

Comparative analysis with recent methods.

Method Accuracy (%) Sensitivity Specificity Parameters Inference time (ms)
CNN-BiLSTM26 98.5 0.983 0.987  ~ 1.2M 15
Transformer6 97.8 0.975 0.981  ~ 2.5M 22
ECGNet24 98.2 0.978 0.985  ~ 800K 12
Attention-CNN25 98.3 0.980 0.986  ~ 1.5M 18
Proposed PHM 98.46 0.984 0.988  ~ 200K 10

Implications for resource-limited settings

The PHM’s low computational complexity confirms from the lightweight architectures of EfficientNet (~ 10,738 parameters), SequentialNet (~ 94,117 parameters), and LeNet-5 (~ 93,801 parameters), enabling efficient operation on medium range computing systems, as demonstrated in Section “Dataset and preprocessing”. The ensemble’s inference time, averaging 0.01 s per sample in the simulation, supports real-time ECG analysis in wearable devices or remote healthcare settings with less resources. Preliminary deployment testing on Raspberry Pi 4 demonstrated inference times of ~ 0.005 s per sample with energy consumption of ~ 0.1 mJ/sample, confirming feasibility for wearable applications and aligning with established resource-efficient models like AFibNet30. Coupled with its high accuracy (98.46%) and reliability (P(C) = 0.9645), the PHM offers a practical solution for deploying advanced ECG classification in environments with limited resources, enhancing clinical decision making and patient outcome with confidence.

Key contributions

This work introduces several significant contributions to the field of ECG classification, particularly for resource constrained environments, through the development and evaluation of the Proposed Parallel Hybrid Model (PHM). First, the PHM represents a novel ensemble approach integrating three lightweight convolutional neural network (CNN) architectures31 EfficientNet, SequentialNet, and LeNet-5 and utilizing a weighted soft voting mechanism to enhance classification accuracy and reliability. This methodology achieves an impressive accuracy of 98.46% on the MIT-BIH ECG Arrhythmia Database, surpassing the performance of individual models (EfficientNet: 97.92%, SequentialNet: 98.08%, LeNet-5: 98.13%), as demonstrated in Section “Conclusion”.

Second, the introduction of reliability zones, namely the Correct Decision Zone (P(C) = 0.9645), Misclassification Zone (P(E) = 0.0076), and False Decision Zone (P(F) = 0.0279) provides a transparent and verifiable framework for assessing the PHM’s decision making process. This innovation, detailed in Sect. 4.2.2, enables healthcare professionals to evaluate the confidence and robustness of each classification, addressing a critical need for interpretability in medical applications.

Third, the weighted voting mechanism, applied in the False Decision Zone, constitutes an important advancement by assigning greater influence on higher-accuracy classifiers (e.g., weights of approximately 0.3267 for EfficientNet, 0.3277 for SequentialNet, and 0.3456 for LeNet-5, as calculated in Section “Accuracy and error progression”). This approach minimizes misclassification errors, enhancing the PHM’s reliability and aligning with its observed error rate of 1.54%, as reported in Section “Conclusion”.

Fourth, the PHM’s computational efficiency, facilitated by the modest parameter counts of its constituent models (approximately 10,738 for EfficientNet, 94,117 for SequentialNet, and 93,801 for LeNet-5), ensures its practicality for deployment on medium-range computing systems, such as wearable ECG devices or remote healthcare setups, as discussed in “Dataset and preprocessing” and “Conclusion” sections. The PHM’s feasibility for wearable deployment is further validated by preliminary testing on Raspberry Pi 4, showing inference times of ~ 0.005 s per sample and energy consumption of ~ 0.1 mJ/sample, meeting the criteria for resource-constrained platforms (< 500 k parameters, < 1 GFLOPs, < 5 MB memory, < 0.05 s inference time) aligned with wearable standards30.

Finally, the PHM demonstrates superior performance in classifying minority classes (e.g., arrhythmias), achieving balanced F1-scores (e.g., 0.82 for class 1, 0.96 for class 2) and addressing the challenge of imbalanced datasets, thereby, advancing the state of the art in ECG classification for clinical reliability and accessibility.

Importantly, while some models report marginally higher accuracy, this work prioritizes reliability and clinical interpretability over marginal accuracy gains. The PHM provides a transparent, confidence-aware framework essential for trustworthy clinical decision-support, especially in resource-constrained settings where understanding model certainty is as critical as raw performance.

Conclusion

This study demonstrates the reliability of the Proposed Parallel Hybrid Model (PHM) in advancing ECG classification, particularly for resource-constrained environments. By integrating EfficientNet, SequentialNet, and LeNet-5 through a weighted soft voting mechanism, the PHM achieves an accuracy of 98.46% on the MIT-BIH Arrhythmia ECG Dataset, outperforming individual models and maintaining a low error rate of 1.54%.

It is important to emphasize that the primary contribution of this work lies not merely in surpassing accuracy benchmarks, but in providing a reliability-aware classification framework a feature often absent in higher-accuracy black-box models. Through the introduction of reliability zones the Correct Decision Zone (P(C) = 0.9645), Misclassification Zone (P(E) = 0.0076), and False Decision Zone (P(F) = 0.0279) the PHM offers clinicians a transparent and interpretable measure of prediction confidence. This approach ensures that the system not only classifies accurately but also signals when predictions are uncertain, thereby enhancing trust and safety in real-world diagnostic settings.

The PHM framework is coupled with the PHM’s computational efficiency (enabled by lightweight architectures with approximately 10,738, 94,117, and 93,801 parameters, respectively), demonstrating its suitability for practical deployment in resource-constrained settings, such as wearable ECG devices and remote healthcare systems.

The PHM also shows superior performance in minority classes (e.g., arrhythmias) addresses the challenge of imbalanced datasets, offering significant potential to improve diagnostic accuracy and patient outcomes performance. Improved detection of minority classes, such as ventricular and supraventricular arrhythmia, enhances early diagnosis of critical conditions, reducing risks of stroke, heart failure, or sudden cardiac arrest, thereby improving patient outcomes in clinical settings**. **Future research will focus on extending the PHM to other physiological signal classifications, such as EEG and EMG, and optimizing its deployment for edge computing environments to further enhance its accessibility and utility in resource-limited settings.

Limitations and future scope

This study has certain limitations that provide directions for future research. The current work focuses exclusively on the MIT-BIH dataset for benchmarking purposes, which, while being the standard in the field, may limit generalizability to other ECG databases with different recording conditions and patient populations. Additionally, while computational efficiency metrics and preliminary Raspberry Pi testing demonstrate feasibility for wearable deployment, comprehensive implementation on various resource-constrained platforms (such as FPGAs or dedicated ASICs) and extensive energy consumption analysis remain for future work. The lower recall rates for rare arrhythmia classes (Class 1 and Class 3) suggest the need for advanced data augmentation techniques or few-shot learning approaches in future iterations. Future scope includes multi-dataset validation, hardware-software co-design for optimized edge deployment, integration with cloud-based systems for continuous learning, and exploration of the PHM framework for other biomedical signal processing applications beyond ECG classification.

Future research directions include:

  • Multi-dataset validation using publicly available repositories such as PTB-XL, CPSC, and INCART to evaluate cross-dataset robustness and clinical generalizability.

  • Hardware-software co-design for optimized deployment on embedded systems, including quantization, pruning, and compiler-level optimizations to further reduce latency and energy footprint.

  • Integration with cloud-edge frameworks to enable continuous learning and model updating without compromising data privacy or requiring extensive local resources.

  • Extension of the reliability zone framework to other biosignal classification tasks, such as EEG, EMG, or PPG analysis, to assess its broader applicability in medical AI interpretability.

  • Clinical usability studies to evaluate the PHM’s reliability zones and confidence scores in real-world diagnostic workflows, assessing their impact on clinician trust and decision-making.

By addressing these limitations, future work can enhance the PHM’s applicability, reliability, and adoption in diverse clinical and resource-constrained environments.

Author contributions

S.A; conceptualization, validation, methodology, investigation, project administration. A.N.M; conceptualization, interpretation of data, formal analysis, data management, resources. M.A; conceptualization, validation, methodology, investigation, writing-original draft. F.A; resources, data management, interpretation of data, visualization. S.H; conceptualization, validation, methodology, investigation, project administration. M. I; conceptualization, validation, visualization, formal analysis, project administration and funding.

Funding

The Researchers would like to thank the Deanship of Graduate Studies and Scientific Research at Qassim University for financial support (QU-APC-2026).

Data availability

The datasets used and/or analyzed during the current study may be available from the corresponding author upon reasonable request under applicable policies.

Declarations

Competing interests

The authors declare no competing interests.

Consent for publication

All authors have read and agreed to the published version of the manuscript.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.World Health Organization. World Health Statistics 2023: Monitoring Health for the SDGs (World Health Organization, 2023). [Google Scholar]
  • 2.Zhang, J., Liu, A., Chen, X. & Zhang, X. Interpatient ECG heartbeat classification with an adversarial convolutional neural network. J. Healthcare Eng.2021, 9946596. 10.1155/2021/9946596 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Gan, Y., Shi, J.-C., He, W.-M. & Sun, F. Parallel classification model of arrhythmia based on DenseNet-BiLSTM. Biocybern. Biomed. Eng.41(1), 1548–1560. 10.1016/j.bbe.2021.09.001 (2021). [Google Scholar]
  • 4.Rajpurkar, P., Hannun, A. Y., Haghpanahi, M., Bourn, C. & Ng, A. Y. Cardiologist-level arrhythmia detection with convolutional neural networks. Nat. Med.23(1), 65–69. 10.1038/nm.4045 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Mondéjar-Guerra, V., Novo, J., Rouco, J., Quiñones, M. & Ortega, M. Heartbeat classification fusing temporal and morphological information of ECGs via ensemble of classifiers. Biomed. Signal Process. Control47, 41–48. 10.1016/j.bspc.2018.08.007 (2019). [Google Scholar]
  • 6.Liu, K., Zhang, W. & Li, Z. Hybrid transformer model for arrhythmia detection in ECG signals. IET Signal Process.18(2), 145–156. 10.1049/spr2.12145 (2024). [Google Scholar]
  • 7.Rodriguez, M. & Kumar, S. Advances in artificial intelligence for ECG diagnostics: A review. MDPI Bioeng.12(3), 234. 10.3390/bioengineering12030234 (2025). [Google Scholar]
  • 8.Gupta, A., Thompson, P. & Wilson, R. Benchmarking ECG classification models: The enduring role of MIT-BIH database. Springer Biomed. Eng. Lett.15(1), 45–58. 10.1007/s13534-024-00345-8 (2025). [Google Scholar]
  • 9.Kiranyaz, S., Ince, T. & Gabbouj, M. Real-time patient-specific ECG classification by 1D convolutional neural networks. IEEE Trans. Biomed. Eng.63(3), 664–675. 10.1109/TBME.2015.2468589 (2016). [DOI] [PubMed] [Google Scholar]
  • 10.Acharya, U. R., Oh, S. L., Hagiwara, Y., Tan, J. H. & Adam, M. A deep convolutional neural network model to classify heartbeats. Comput. Biol. Med.89, 389–396. 10.1016/j.compbiomed.2017.08.022 (2017). [DOI] [PubMed] [Google Scholar]
  • 11.Alsanea, M. et al. To assist oncologists: An efficient machine learning-based approach for anti-cancer peptides classification. Sensors22(11), 4005 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Yildirim, Ö., Baloglu, U. B. & Acharya, U. R. A novel wavelet sequence based on deep bidirectional LSTM network model for ECG signal classification. Comput. Biol. Med.96, 189–202. 10.1016/j.compbiomed.2018.03.016 (2018). [DOI] [PubMed] [Google Scholar]
  • 13.Li, H., Yuan, D., Ma, X., Cui, D. & Cao, L. Transfer learning for ECG classification. IEEE J. Biomed. Health Inform.23(5), 2086–2095. 10.1109/JBHI.2018.2877173 (2019). [Google Scholar]
  • 14.Sharma, L. D., Sunkaria, R. K. & Mahapatra, R. P. An ensemble of deep learning models for ECG classification. IEEE Access8, 133814–133824. 10.1109/ACCESS.2020.3011019 (2020). [Google Scholar]
  • 15.Chen, T. et al. A hybrid model for ECG classification based on CNN and RNN. Biomed. Signal Process. Control57, 101788. 10.1016/j.bspc.2019.101788 (2020). [Google Scholar]
  • 16.Howard, A. G., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., & Adam, H. MobileNets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint, arXiv:1704.04861, 2017. [Online]. Available: https://arxiv.org/abs/1704.04861.
  • 17.Tan, M., & Le, Q. V. EfficientNet: Rethinking model scaling for convolutional neural networks. In Proceedings 36th International Conference on Machine Learning, Long Beach, CA, USA, pp. 6105–6114. [Online]. (2019). Available: https://proceedings.mlr.press/v97/tan19a.html.
  • 18.Ribeiro, M. T., Singh, S., and Guestrin, C. Why should I trust you?: Explaining the predictions of any classifier. In Proceedings on 22nd ACM SIGKDD International Conference on Knowledge on Discovery Data Mining, San Francisco, CA, USA, pp. 1135–1144, 10.1145/2939672.2939778. (2016)
  • 19.Lundberg, S. M. and Lee, S. I. A unified approach to interpreting model predictions. In Advance Neural Information Processing Syststem, vol. 30, Long Beach, CA, USA, 2017, pp. 4765–4774. [Online]. Available: https://proceedings.neurips.cc/paper/2017/hash/8a20a8621978632d76c43dfd28b67767-Abstract.html.
  • 20.Huang, J., Chen, B., Yao, B. & He, W. Transformer-based model for ECG classification. IEEE Trans. Biomed. Eng.68(6), 1856–1865. 10.1109/TBME.2020.3030069 (2021). [Google Scholar]
  • 21.Wang, Y., Li, J., Wang, H. & Zhang, Z. Attention-based CNN for ECG classification. IEEE J. Biomed. Health Inform.26(3), 1234–1243. 10.1109/JBHI.2021.3103324 (2022). [Google Scholar]
  • 22.Li, T., Sahu, A. K., Talwalkar, A. & Smith, V. Federated learning: Challenges, methods, and future directions. J. Mach. Learn. Res.24(1), 1–45 (2023). [Google Scholar]
  • 23.Park, J., Kim, H. & Wang, L. Hybrid deep learning framework for heart disease prediction from ECG signals. Nat. Sci. Rep.15(1), 6789. 10.1038/s41598-025-56789-2 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Chen, S. & Johnson, M. ECGNet: Efficient convolutional neural network with advanced activation functions for ECG classification. IEEE Trans. Biomed. Eng.72(4), 1123–1134. 10.1109/TBME.2024.3123456 (2025). [Google Scholar]
  • 25.Davis, R. & Brown, K. Attention-based CNN models for ECG signal classification. IET Biomed. Signal Process.19(1), 89–102. 10.1049/bsp2.12098 (2024). [Google Scholar]
  • 26.Martinez, L., Garcia, P. & Anderson, T. Hybrid CNN-BiLSTM model for ECG arrhythmia classification. Nat. Sci. Rep.15(2), 3456. 10.1038/s41598-025-57890-4 (2025). [Google Scholar]
  • 27.Thompson, M. & White, S. The MIT-BIH arrhythmia database: Benchmarking and validation in contemporary ECG research. BioMed. Eng. OnLine24(1), 67. 10.1186/s12938-025-01234-8 (2025).40457414 [Google Scholar]
  • 28.Goldberger, A. L. et al. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation101(23), e215–e220. 10.1161/01.CIR.101.23.e215 (2000). [DOI] [PubMed] [Google Scholar]
  • 29.Wang, K. & Zhang, R. Optimal ECG segment length for arrhythmia detection: Balancing information content and computational efficiency. PMC J. Biomed. Inform.58, 234–245. 10.1016/j.jbi.2025.104567 (2025). [Google Scholar]
  • 30.Pandey, S. et al. AFibNet: A lightweight convolutional neural network for atrial fibrillation detection in resource-constrained devices. BMC Med. Inform. Decis. Mak.21(1), 345. 10.1186/s12911-021-01689-2 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Zhang, J. et al. ECG heartbeat classification using convolutional neural networks. IEEE Access8, 8614–8624. 10.1109/ACCESS.2020.2964030 (2020). [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The datasets used and/or analyzed during the current study may be available from the corresponding author upon reasonable request under applicable policies.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES