Robust PVC Identification by Fusing Expert System and Deep Learning

Zhipeng Cai, Tiantian Wang, Yu‐Min Shen, Yantao Xing, Ruqiang Yan, Jianqing Li, Chengyu Liu

TL;DR

This paper introduces a novel approach for identifying premature ventricular contractions (PVCs) in ECG signals by combining deep learning for feature extraction and clustering with an expert system for classification. This hybrid method aims to overcome the limitations of purely deep learning or expert system approaches, achieving high accuracy and robustness while maintaining interpretability.

What Problem Does This Paper Address?

Cardiovascular diseases (CVDs) are a leading cause of death, and arrhythmias like premature ventricular contractions (PVCs) are a significant concern. While automatic ECG analysis can aid physicians in diagnosis and early warning, existing methods often struggle with a trade-off between robustness, generalization, and computational complexity. Purely expert system (ES)-based methods can be sensitive to noise and require expert knowledge for feature selection, while deep learning (DL) methods, though powerful, can be "black boxes" and prone to overfitting on limited data. This paper addresses the need for a more balanced approach that leverages the strengths of both ES and DL to achieve reliable and interpretable PVC identification from long-term ECG recordings.

Methods

The core of the proposed method is a hybrid strategy that fuses deep learning and expert systems.

  1. Deep Learning for Feature Extraction and Clustering:
    • LSTM-based Autoencoder (LSTM-AE): A Long Short-Term Memory-based Autoencoder is employed to learn robust feature representations from ECG heartbeats. The LSTM-AE is trained in an unsupervised manner to reconstruct the input ECG signal, effectively learning compressed feature vectors.
  2. K-Means Clustering: These extracted feature vectors are then used for K-means clustering to group similar heartbeats. The optimal number of clusters (K) is determined using the silhouette coefficient.
  3. Template Construction: For each cluster, the top 30 heartbeats closest to the centroid are selected to construct representative "templates."
  4. Expert System for Template and Heartbeat Classification:
    • Template Classification: The type of each constructed template (PVC or Non-PVC) is determined using a rule-based expert system. This system considers morphological features like QRS complex height and width, and correlation coefficients.
  5. Heartbeat Classification: Individual heartbeats are then classified by evaluating their similarity to the determined templates. This involves calculating three similarity metrics: cross-correlation coefficient (Covr), area difference (ArDiff), and energy difference (EnDiff). A set of rules, incorporating these metrics and rhythm characteristics (like RR intervals), is used to assign a label (PVC or Non-PVC) to each heartbeat. Heartbeats that don't clearly match a template are further evaluated against all templates and rhythm rules.

Datasets

The proposed method was evaluated on three distinct datasets:

  • MIT-BIH Arrhythmia Database (MIT-BIH-AR): A widely used benchmark for arrhythmia detection. The study used lead II ECG signals from 44 recordings (excluding paced beats).
  • St. Petersburg Institute of Cardiological Technics Database (INCART): This database was used to assess the method's performance and generalization capabilities. Lead II ECG signals were extracted from the 12-lead recordings.
  • China Physiological Signal Challenge 2020 (CPSC2020) Database: A long-term wearable ECG dataset used to evaluate the algorithm's performance on real-world, continuous monitoring scenarios. The study used both the training and hidden test sets.

Key Insights and Ideas

  • Synergy of DL and ES: The paper strongly advocates for the combined approach. The DL component (LSTM-AE) provides powerful, noise-robust feature extraction without manual engineering, while the ES component (rule-based classification) offers interpretability and a structured way to leverage clinical knowledge, mitigating the "black box" nature of pure DL.
  • Unsupervised Feature Learning for Clustering: Using an unsupervised LSTM-AE for feature extraction before clustering is a key enabler. This allows the system to discover relevant heartbeat characteristics without requiring labeled data for the initial feature learning phase, making it more adaptable.
  • Template-Based Classification with Rhythm Rules: The approach of creating representative heartbeat templates and then classifying new beats based on similarity to these templates, augmented by rhythm analysis, is a robust strategy. It captures both morphological and temporal patterns.
  • Generalization Across Datasets: Achieving high performance on multiple diverse datasets (MIT-BIH-AR, INCART, and CPSC2020) suggests good generalization capabilities, which is crucial for real-world clinical applications.

Key Results

The proposed method demonstrated strong performance across the evaluated datasets:

  • MIT-BIH-AR Database:
    • Accuracy (ACC): 98.63%
    • Sensitivity (Se) for PVC: 87.51%
    • Positive Predictive Value (P+) for PVC: 92.47%
  • INCART Database:
    • Accuracy (ACC): 97.89%
    • Sensitivity (Se) for PVC: 87.92%
    • Positive Predictive Value (P+) for PVC: 93.18%
  • CPSC2020 Dataset: The method achieved the top rank among open-source codes in the competition, with PVC scores of 36,256 (training) and 46,706 (hidden test). The computational complexity was also noted to be significantly lower than other top-performing methods.

Limitations and Future Work

The authors acknowledge several limitations and suggest future directions:

  • QRS Complex Misalignment: The performance can be affected by inaccuracies in R-peak detection. Future work could involve developing more robust QRS detection algorithms.
  • Platform Dependency: The current training and testing were primarily done on Windows. Embedding the algorithm into mobile terminals for daily monitoring is a key future step.
  • Single-Channel Limitation: The current study focused on single-lead ECG. Investigating the use of multi-channel ECG data could further improve accuracy and robustness, potentially for other types of heartbeat classification as well.

Summary updated

BibTeX
@inproceedings{cai2022robust,
  author = {Zhipeng Cai and Tiantian Wang and Yu‐Min Shen and Yantao Xing and Ruqiang Yan and Jianqing Li and Chengyu Liu},
  title = {{Robust PVC Identification by Fusing Expert System and Deep Learning}},
  booktitle = {Biosensors},
  year = {2022},
  doi = {10.3390/bios12040185},
}
Figure