Chen Wenping, Wang Huibin, Zhang Lili, Zhang Min
College of Information Science and Engineering, Hohai University, Nanjing, 211100, China.
College of Computer Science and Software Engineering, Hohai University, Nanjing, 211100, China.
Sci Rep. 2025 Feb 19;15(1):6029. doi: 10.1038/s41598-025-90084-2.
The limited availability of labeled ECG data restricts the application of supervised deep learning methods in ECG detection. Although existing self-supervised learning approaches have been applied to ECG analysis, they are predominantly image-based, which limits their effectiveness. To address these limitations and provide novel insights, we propose a Temporal-Spatial Self-Supervised Learning (TSSL) method specifically designed for ECG detection. TSSL leverages the intrinsic temporal and spatial characteristics of ECG signals to enhance feature representation. Temporally, ECG signals retain consistent identity information over time, enabling the model to generate stable representations for the same individual across different time points while isolating representations of different leads to preserve their unique features. Spatially, ECG signals from various leads capture the heart's activity from different perspectives, revealing both commonalities and distinct patterns. TSSL captures these correlations by maintaining consistency in the relationships between signals and their representations across different leads. Experimental results on the CPSC2018, Chapman, and PTB-XL databases demonstrate that TSSL introduces new capabilities by effectively utilizing temporal and spatial information, achieving superior performance compared to existing methods and approaching the performance of full-label training with only 10% of the labeled data. This highlights TSSL's ability to provide deeper insights and enhanced feature extraction beyond mere performance improvements. We make our code publicly available on https://github.com/cwp9731/temporal-spatial-self-supervised-learning.
带标签心电图数据的有限可用性限制了监督深度学习方法在心电图检测中的应用。尽管现有的自监督学习方法已应用于心电图分析,但它们主要基于图像,这限制了其有效性。为了解决这些限制并提供新的见解,我们提出了一种专门为心电图检测设计的时空自监督学习(TSSL)方法。TSSL利用心电图信号的内在时空特征来增强特征表示。在时间上,心电图信号随时间保留一致的身份信息,使模型能够在不同时间点为同一个体生成稳定的表示,同时隔离不同导联的表示以保留其独特特征。在空间上,来自不同导联的心电图信号从不同角度捕捉心脏活动,揭示共性和独特模式。TSSL通过保持不同导联信号与其表示之间关系的一致性来捕捉这些相关性。在CPSC2018、Chapman和PTB-XL数据库上的实验结果表明,TSSL通过有效利用时空信息引入了新的能力,与现有方法相比实现了卓越的性能,并且仅使用10%的带标签数据就接近全标签训练的性能。这突出了TSSL不仅能提升性能,还能提供更深入见解和增强特征提取的能力。我们将代码公开在https://github.com/cwp9731/temporal-spatial-self-supervised-learning上。