延长心电图上下文长度能显著提升模型对心律动态的捕捉能力。
The Impact of Temporal Context Length and Encoding Strategies on Self-Supervised ECG Representation Learning

- 对比16秒至10分钟的时序长度,发现更长上下文有助于学习心律变化规律。
- 连续嵌入优于离散令牌,量化会丢失关键波形细节。
- 适合做临床心律预测与患者跨会话匹配的研究者参考。
自监督心电图(ECG)模型通常在数秒的信号片段上训练,且越来越多地采用离散化标记序列。但这种设计是否牺牲了真实动态监测中节奏推断与纵向一致性所需的信息仍不明确。本文在Icentia11k单导联数据集上开展受控实验,系统比较了(i)输入时序长度(16秒、1分钟、5分钟、10分钟)与(ii)前端表示方式(连续卷积补丁嵌入 vs. 固定向量量化令牌),同时保持Transformer主干网络与训练协议不变。通过下游异常心律检测与患者级检索任务评估表示性能,后者考察跨会话稳定性。结果表明,将时序上下文扩展至16秒以上可显著提升迁移性能与检索准确率,5分钟与10分钟模型表现最优,说明其更有效捕捉慢变心律动态与个体特异性结构。所有时长下,连续补丁嵌入均优于离散令牌,提示量化可能丢弃临床相关波形信息。研究结果支持构建强调长上下文与连续编码的心电图基础模型,适用于临床预测与基于相似性的应用。代码与预训练模型已开源。
原文摘要 · Abstract (English)
Self-supervised electrocardiogram (ECG) models are often trained on a few seconds of ECG signal and, increasingly, on discretized token sequences. It remains unclear whether these choices sacrifice information needed for rhythm inference and longitudinal consistency in real-world ambulatory recordings. We present a controlled study on the Icentia11k single-lead dataset that varies (i) the input horizon (16 seconds, 1 minute, 5 minutes, and 10 minutes) and (ii) the front-end representation (continuous convolutional patch embeddings vs. fixed vector-quantized tokens), while holding the Transformer backbone and training protocol constant. Representations are assessed by downstream abnormal rhythm detection and by patient-level retrieval that probes cross-session stability. Our results show that increasing temporal context beyond 16-second snapshots yields stronger transfer and higher retrieval accuracy, with the strongest performance achieved by the 5- and 10-minute models, indicating improved capture of slow-varying rhythm dynamics and individual-specific structure. Across all evaluated horizons, continuous patch embeddings outperform discretized tokens, suggesting that quantization can discard clinically relevant waveform detail. These findings motivate ECG foundation models that emphasize extended context and continuous encoders for clinical prediction and similarity-based applications. Our code and pretrained models are publicly available at https://github.com/muha-0/ecg-ssl-representation-learning.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。