Comparing Feature Based Classifiers and Convolutional Neural Networks to Detect Arrhythmia from Short Segments of ECG

Fernando Andreotti, Oliver Carr, Marco A. F. Pimentel, Adam Mahdi, Maarten De VosCinc 2017

Introduction

Atrial fibrillation (AF) is the most common cardiac arrhythmia, yet its diagnosis traditionally requires expert review of long-term ECG recordings. The rise of wearable technology has introduced a surge of short-segment ECG data (30–60 seconds), necessitating automated detection methods. This paper benchmarks two distinct methodologies: a traditional approach using 169 hand-engineered features and a deep learning approach utilizing Residual Networks (ResNet).

Methodology

Feature-Based Approach

This method relies on expert-defined characteristics, including heart rate variability (HRV), morphological features (e.g., P-wave power), and signal quality indices. These features were processed using a consensus classifier combining bagged trees and a multi-layer perceptron (MLP).

Deep Learning Approach

A ResNet architecture was employed to learn hierarchical patterns directly from raw, preprocessed ECG signals. To comply with competition constraints, the model was optimized by reducing convolutional filters to 16 per layer, significantly lowering the parameter count from 13.5 million to 1.5 million.

Datasets and Augmentation

The study utilized the PhysioNet Challenge 2017 dataset (TRAIN-DB), consisting of 8,528 records. To address class imbalance—where normal rhythms significantly outnumber AF and noise—the authors developed an Augmented Database (AUG-DB). This included 2,000 additional AF segments and simulated noise records.

Class distribution in the original (TRAIN-DB) and augmented (AUG-DB) datasets, illustrating the strategy to balance minority classes like AF (A) and Noise (~).

Results

The ResNet model demonstrated a significant performance gain when trained on augmented data, with cross-validation scores rising from 62.4% to 72.1%. Most notably, the ResNet model (16 filters, 60s segments) achieved the highest overall performance on the hidden TEST-DB with an 83% F1 score, outperforming the feature-based baseline of 79%.

Performance comparison (F1 scores) across different model configurations and datasets. The ResNet model trained on AUG-DB shows the best generalization to the hidden test set.

Discussion and Conclusion

The findings suggest that while hand-engineered features are robust, they may be too rigid to capture the full complexity of diverse ECG signals. Deep learning models, though less interpretable, offer superior generalization and better utilize large, augmented datasets. Future research should focus on enhancing the interpretability of these "black box" models to facilitate clinical adoption and addressing the high inter-rater variability in short-segment ECG labeling.

Summary updated

BibTeX
@inproceedings{andreotti2017comparing,
  author = {Fernando Andreotti and Oliver Carr and Marco A. F. Pimentel and Adam Mahdi and Maarten De Vos},
  title = {{Comparing Feature Based Classifiers and Convolutional Neural Networks to Detect Arrhythmia from Short Segments of ECG}},
  booktitle = {Cinc},
  year = {2017},
  doi = {10.22489/cinc.2017.360-239},
}
Figure