Self-supervised cardiac cycle phase learning for ECG delineation
Main Article Content
Abstract
Computational methods play an important role in cardiology, supporting the analysis and interpretation of electrocardiographic data. Automated ECG delineation, including the localization of P-wave, QRS-complex, and T-wave boundaries, is particularly important for extracting clinically relevant temporal and morphological information from ECG recordings. However, accurate delineation remains challenging due to substantial variability in ECG morphology, low signal amplitudes near wave boundaries, and ambiguity in the definition of onset and offset points. Recent advances in machine learning show promising progress in biomedical data processing. Most existing machine learning approaches to ECG delineation rely on supervised learning and therefore require detailed expert annotations. In contrast, self-supervised methods can exploit large collections of unlabeled recordings. In this work, a self-supervised method for learning the physiological phase of the cardiac cycle directly from unlabeled ECG recordings is proposed. The model is trained to predict monotonically increasing phase positions on a unit circle, minimizing morphological distance for signals at similar phase points. Morphology is compared using delay embeddings defined at fixed phase lags. Monotonicity constraints further regularize physiologically consistent phase progression. The method is trained on 12-lead MIMIC-IV-ECG recordings without annotations and evaluated for ECG delineation on the QT Database. Without retraining, phase anchors calibrated on only 10 annotated records provide QRS-boundary localization with precision comparable to supervised models. The weights learned on the self-supervised task also improve a supervised delineation model when used for initialization. These results demonstrate the potential of self-supervised physiological phase learning as an annotation-efficient method for ECG delineation and further automated cardiac signal analysis.

