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 0.78 0.19 and a mean Silhouette score of 0.65 0.14. Application of the clustering approach to the HiDB resulted in an average Silhouette score of 0.74 0.13. 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.

Intra-Subject Clustering of ECG Heartbeats from Wearable Devices Using Deep Learning and Feature Engineering / Digiacomo, Federico; Olmo, Gabriella; Gumiero, Alessandro. - (2025), pp. 57-64. (Intervento presentato al convegno 38th IEEE International Symposium on Computer-Based Medical Systems, CBMS 2025 tenutosi a Madrid (ESP) nel 18-20 June 2025) [10.1109/cbms65348.2025.00021].

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

Digiacomo, Federico;Olmo, Gabriella;
2025

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 0.78 0.19 and a mean Silhouette score of 0.65 0.14. Application of the clustering approach to the HiDB resulted in an average Silhouette score of 0.74 0.13. 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.
2025
979-8-3315-2610-8
File in questo prodotto:
File Dimensione Formato  
Intra-Subject_Clustering_of_ECG_Heartbeats_from_Wearable_Devices_Using_Deep_Learning_and_Feature_Engineering.pdf

accesso riservato

Tipologia: 2a Post-print versione editoriale / Version of Record
Licenza: Non Pubblico - Accesso privato/ristretto
Dimensione 1.4 MB
Formato Adobe PDF
1.4 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
CBMS_AAM.pdf

accesso aperto

Tipologia: 2. Post-print / Author's Accepted Manuscript
Licenza: Pubblico - Tutti i diritti riservati
Dimensione 7.58 MB
Formato Adobe PDF
7.58 MB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11583/3003585