Automatic Premature Ventricular Contraction Detection Using Deep Metric Learning and KNN

Junsheng Yu1, Xiangqing Wang1, Xiaodong Chen2

  • 1School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China.

Biosensors
|April 3, 2021
PubMed

Insights

This study introduces a novel, automated method for detecting premature ventricular contractions (PVCs) from long-term ECGs using deep metric learning and KNN classification, achieving high accuracy without complex preprocessing.

Area of Science:

  • Cardiology
  • Biomedical Engineering
  • Artificial Intelligence in Medicine

Background:

  • Premature ventricular contractions (PVCs) are common irregular heartbeats indicating potential heart disease.
  • Long-term electrocardiograms (ECG) from wearable devices are crucial for PVC diagnosis but analysis is time-consuming.
  • Current methods often rely on manual feature engineering, introducing potential bias.

Purpose of the Study:

  • To develop a simplified, automated approach for detecting PVCs from long-term ECG data.
  • To leverage deep metric learning for intelligent, bias-free feature extraction.
  • To improve the efficiency and accuracy of PVC detection.

Main Methods:

  • Utilized deep metric learning for supervised feature extraction, focusing on intra-product variance and inter-product differences.
  • Employed a k-nearest neighbors (KNN) classifier to detect PVCs based on extracted heartbeat features.
  • Evaluated the method on the MIT-BIH Arrhythmia Database without complex preprocessing.

Main Results:

  • Achieved high diagnostic performance: 99.7% accuracy, 97.45% sensitivity, and 99.87% specificity.
  • Demonstrated the reliability of deep metric learning and KNN for PVC recognition.
  • Confirmed the method's effectiveness without requiring complicated preprocessing steps.

Conclusions:

  • The proposed deep metric learning and KNN approach offers a reliable and automated solution for PVC detection from long-term ECGs.
  • This method overcomes limitations of manual feature engineering, reducing bias and improving efficiency.
  • The technique shows significant potential for clinical application in diagnosing irregular heartbeats.