Combining Multi-source Features and Support Vector Machine for Heart Rhythm Classification

Chengyu Liu, Qiao Li, Pradyumna B. Suresha, Gari D. Clifford

Introduction

Atrial Fibrillation (AF) is the most prevalent sustained cardiac arrhythmia, affecting approximately 1-2% of the global population. Its presence significantly elevates the risk of stroke, heart failure, and overall mortality. Detecting AF is critical for clinical intervention; however, automated detection is complicated by the presence of other arrhythmias with similar irregular rhythms and the inherent noise in real-world ECG data, particularly from mobile or wearable devices. This study presents a robust classification framework designed for the PhysioNet/CinC Challenge 2017, focusing on short, single-lead ECG recordings.

Methods

The proposed methodology utilizes a multi-stage pipeline centered on a Support Vector Machine (SVM) classifier, as illustrated in Figure 1.

Flowchart of the proposed heart rhythm classification system.

Signal Quality Assessment

ECG recordings are first segmented into 10-second episodes. A preliminary assessment determines if the signal quality is sufficient for reliable analysis, filtering out segments that are too poor to interpret.

Feature Engineering

The core of the system is a set of 40 hand-crafted features categorized into five domains:

  • Signal Quality (4): Statistical moments like skewness and kurtosis, alongside spectral power ratios.
  • Rhythm (11): Metrics capturing RR interval variability, including fuzzy entropy and Lorenz plot analysis.
  • Morphology (15): Features describing the shapes of the QRS complex, P waves, and T waves.
  • Arrhythmia (6): Indices specifically targeting Premature Atrial Contractions (PACs) and Premature Ventricular Contractions (PVCs).
  • Novel Abnormality Indices (4): Custom-designed indices for morphology, templates, amplitude, and intervals.

Optimization and Classification

To maximize classification accuracy, the researchers employed a Modified Cuckoo Search (MCS) algorithm. This nature-inspired optimization technique was used to fine-tune the SVM's hyperparameters—specifically the cost $C$ and the kernel parameter $\gamma$. The final model classifies recordings into four categories: Normal, AF, Other, or Noisy.

Results

The model was evaluated using the PhysioNet/CinC Challenge 2017 dataset, which contains 12,186 single-lead ECG recordings. Performance was measured using the $F_1$ score, the harmonic mean of precision and recall.

F1 score performance comparison between default and MCS-optimized SVM parameters.

As shown in Figure 2, the application of MCS optimization consistently improved performance across the 10-fold cross-validation on the training set, raising the mean $F_1$ score from 0.822 to 0.832. On the hidden test set, the system achieved a final $F_1$ score of 0.803.

Class-specific performance on the test set revealed varying levels of difficulty:

  • Normal Sinus Rhythm: 0.914
  • AF Rhythm: 0.805
  • Noisy: 0.737
  • Other Rhythm: 0.691

Discussion

The results underscore the importance of feature diversity. By integrating rhythm, morphology, and signal quality features, the model achieves resilience against real-world noise. Furthermore, the optimization step proved essential, demonstrating that default SVM parameters are often suboptimal for complex biological signals.

The primary challenge remains the "Other" rhythm category. With an $F_1$ score of 0.691, this category is the most difficult to classify, likely due to the heterogeneous nature of non-AF arrhythmias. Future work will focus on refining feature selection to reduce redundancy and incorporating more specific features for conditions like Ventricular Tachycardia to improve the classification of the "Other" category. Additionally, exploring frequency-domain analysis via spectrum or cepstral methods may provide deeper insights into arrhythmia characteristics.

Summary updated

BibTeX
@inproceedings{liu2017combining,
  author = {Chengyu Liu and Qiao Li and Pradyumna B. Suresha and Gari D. Clifford},
  title = {{Combining Multi-source Features and Support Vector Machine for Heart Rhythm Classification}},
  booktitle = {Cinc},
  year = {2017},
  doi = {10.22489/cinc.2017.162-294},
}
Figure