Intra-Subject Clustering of ECG Heartbeats from Wearable Devices Using Deep Learning and Feature Engineering

Cardiovascular diseases (CVDs) represent a significant global health concern, necessitating effective early detection methods. The advent of wearable electrocardiogram (ECG) devices offers the potential for enhanced portability and continuous monitoring. However, the substantial volume of data generated underscores the need for automated analysis techniques. This paper presents a framework for intra-subject clustering of ECG heartbeats, employing a robust P-QRS-T wave classifier based on a Multiscale Convolutional Neural Network (Multiscale CNN) combined with a Bidirectional Gated Recurrent Unit (biGRU). This is followed by heartbeat segmentation, feature engineering using both manual descriptors and the Time Series Feature Extraction Library (TSFEL), and subsequent clustering via a k-means algorithm. Furthermore, a novel ECG database, the Hi Database (HiDB), is introduced. It was acquired using the Hi 3-Leads ECG (Hi-ECG), a wearable three-lead device commercialised by CGM in collaboration with STMicroelectronics. The proposed wave classifier demonstrated strong performance, tested according to the ANSI/AAMI EC57 standard. It achieved an average sensitivity of 97.79 % and precision of 96 % for QRS detection across the MIT-BIH Arrhythmia Database (MITDB), the American Heart Association ECG Database (AHADB), and the MIT-BIH Noise Stress Test Database (NSTDB). Intra-subject clustering on the MITDB yielded a mean Adjusted Rand Index (ARI) of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$0.78 \pm 0.19$</tex> and a mean Silhouette score of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$0.65 \pm 0.14$</tex>. Application of the clustering approach to the HiDB resulted in an average Silhouette score of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$0.74 \pm 0.13$</tex>. The findings suggest that the presented framework can support clinicians in ECG beat annotation tasks. Its modular design enables adaptability to additional objectives, such as rhythm anomaly detection, by leveraging QRS information from the wave classifier. Both the wave classifier and the feature-based clustering model demonstrated the robustness of the approach across different ECG data sources. Moreover, the intra-subject setting highlights its potential for personalised cardiac monitoring.

Authors

Institutions

Publication Details

Published
2025-06-18
DOI
https://doi.org/10.1109/cbms65348.2025.00021
Citations
1
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
1.39
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Intra-Subject Clustering of ECG Heartbeats from Wearable Devices Using Deep Learning and Feature Engineering

Alessandro Gumiero, Gabriella Olmo, Federico Digiacomo
1 citations
ECG Monitoring and Analysis
1.39
article

Intra-Subject Clustering of ECG Heartbeats from Wearable Devices Using Deep Learning and Feature Engineering

Alessandro Gumiero, Gabriella Olmo, Federico Digiacomo
article en
1 citations

Abstract

Cardiovascular diseases (CVDs) represent a significant global health concern, necessitating effective early detection methods. The advent of wearable electrocardiogram (ECG) devices offers the potential for enhanced portability and continuous monitoring. However, the substantial volume of data generated underscores the need for automated analysis techniques. This paper presents a framework for intra-subject clustering of ECG heartbeats, employing a robust P-QRS-T wave classifier based on a Multiscale Convolutional Neural Network (Multiscale CNN) combined with a Bidirectional Gated Recurrent Unit (biGRU). This is followed by heartbeat segmentation, feature engineering using both manual descriptors and the Time Series Feature Extraction Library (TSFEL), and subsequent clustering via a k-means algorithm. Furthermore, a novel ECG database, the Hi Database (HiDB), is introduced. It was acquired using the Hi 3-Leads ECG (Hi-ECG), a wearable three-lead device commercialised by CGM in collaboration with STMicroelectronics. The proposed wave classifier demonstrated strong performance, tested according to the ANSI/AAMI EC57 standard. It achieved an average sensitivity of 97.79 % and precision of 96 % for QRS detection across the MIT-BIH Arrhythmia Database (MITDB), the American Heart Association ECG Database (AHADB), and the MIT-BIH Noise Stress Test Database (NSTDB). Intra-subject clustering on the MITDB yielded a mean Adjusted Rand Index (ARI) of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$0.78 \pm 0.19$</tex> and a mean Silhouette score of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$0.65 \pm 0.14$</tex>. Application of the clustering approach to the HiDB resulted in an average Silhouette score of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$0.74 \pm 0.13$</tex>. The findings suggest that the presented framework can support clinicians in ECG beat annotation tasks. Its modular design enables adaptability to additional objectives, such as rhythm anomaly detection, by leveraging QRS information from the wave classifier. Both the wave classifier and the feature-based clustering model demonstrated the robustness of the approach across different ECG data sources. Moreover, the intra-subject setting highlights its potential for personalised cardiac monitoring.

Politecnico di Torino (IT), STMicroelectronics (Italy) (IT)
Quality Education
Openalex Percentile: Top 17%
ECG Monitoring and Analysis
1.39
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.