K-文化的一切——从回归到 K-美妆,发送到您的邮箱订阅邮件

METAL MEDIA

CardioState-JEPA: Delay-Aware Cross-Modal Learning of a Shared Cardiac Representation

arXiv:2608.129442026-08-12

让心电、脉搏波和心音三种信号共用同一个模型联合训练,效果超过各自单独训练的模型

心电图(ECG)、光电容积脉搏波(PPG)和心音图(PCG)其实是同一次心跳在不同生理时刻的三种表现:电激动、外周脉搏到达和心音产生。CardioState-JEPA让这三种信号共用同一个Transformer编码器,训练目标是预测被遮住部分对应的隐含心脏状态,而不是重建原始波形,并用一个可学习的延迟对齐模块来匹配不同信号之间存在的时间差。在25个下游任务中,这个共享编码器比同类最强的单信号自监督基线在PPG分类上高出8.2个AUROC点,在PCG心脏杂音检测上高出18.8个点,在ECG分类上高出15.5个点。

METAL MEDIA 解读图

CardioState-JEPA 两阶段训练流程

证据状态已报告实测结果

  1. 第一阶段:单信号预训练ECG、PPG、PCG分别使用各自大量的单一信号数据,通过遮盖信号部分并预测该位置的隐含心脏状态来训练共享的Transformer编码器
  2. 第二阶段:延迟感知的跨模态训练使用数量较少的同步配对录音(ECG-PPG、ECG-PCG及三模态同步录音),可学习的延迟对齐模块估计时间偏移,让一种信号在对应生理时刻预测另一种信号的隐含状态
  3. 共享表示空间训练完成后,三种信号产生的表示不再按信号类型分离而是充分混合(模态轮廓系数从0.121降到-0.006),同时如心律失常分类等类别相关结构的区分度提高
  4. 冻结编码器评测训练完成的编码器被冻结不再更新,仅为每个任务附加一个小型线性分类器,在25个ECG、PPG、PCG下游任务上进行评测
  5. 性能对比结果共享编码器相比最强单信号自监督基线,PPG分类高出8.2个AUROC点,PCG心脏杂音检测高出18.8个点,ECG分类高出15.5个点
这是 METAL MEDIA 制作的解读图,并非论文作者提供的原图。

他们做了什么

  1. 心电图记录心脏电活动,PPG通常在指尖等处测量血液脉搏波形,PCG通过麦克风记录心音,论文的出发点是这三者其实是同一次心跳在不同生理时刻的观测。
  2. 第一阶段先用大量单一信号数据分别学习每种信号自身的结构,方法是遮住信号的一部分,让模型预测被遮住位置对应的隐含状态。
  3. 第二阶段利用数量少得多的同步录制配对数据,通过一个可学习的延迟对齐模块估计信号间的时间偏移,让模型学会用一种信号在对应的生理时刻预测另一种信号的隐含状态。
  4. 训练目标不是直接重建原始波形,而是预测被遮盖位置的隐含心脏状态,这样能让模型更多关注三种信号共有的生理结构,而不是各自传感器特有的噪声或形状。
  5. 训练完成后编码器被冻结,只在其上加一个小型线性分类器,用于评测25个真实下游任务,包括心律失常检测、心脏杂音识别、活动识别、血压和呼吸频率估计等。
Figure 1: Motivation of CardioState-JEPA. ECG, PPG, and PCG observe the same cardiac cycle at different physiological times, motivating a shared cardiac representation.
Figure 1: Motivation of CardioState-JEPA. ECG, PPG, and PCG observe the same cardiac cycle at different physiological times, motivating a shared cardiac representation.
Table 1: PPG Baseline Linear Probe Results (100% training data). ↑: macro-AUROC ×100 (higher is better); ↓: MAE (lower is better). Bold: best; underline: second best. Average (Classification) is the unweighted mean macro-AUROC across the 6 classification tasks. Average (Regression) is the unweighted mean MAE across the 11 regression tasks.
TaskPaPaGei-SPaPaGei-PAnyPPGPulsePPGChronosBoltCardioState-JEPA
PPG Classification Tasks
WESAD ↑65.365.770.166.864.074.5
DaLiA Activity ↑68.471.179.077.377.290.3
MIMIC AF ↑48.481.193.332.446.197.7
PPG Arrhythmia ↑86.388.795.892.690.496.8
BIDMC RR ↑51.338.253.243.538.078.4
UQVital RR ↑40.641.841.829.530.544.6
Average (Classification) ↑60.164.472.257.057.780.4
PPG Regression Tasks
DaLiA HR ↓11.811.55.88.68.23.8
EarSet HR ↓10.79.59.88.98.38.2
WildPPG HR ↓10.09.95.47.77.55.4
Sensors DBP ↓7.27.06.97.46.96.8
Sensors SBP ↓20.019.416.718.618.016.8
UCI DBP ↓7.87.96.76.97.25.8
UCI SBP ↓18.518.115.216.217.410.3
BCG DBP ↓10.112.94.511.210.82.8
BCG SBP ↓13.710.213.512.711.84.4
UQVital SpO2 ↓0.760.850.780.840.830.82
WildPPG RMSSD ↓36.637.634.936.735.934.8
Average (Regression) ↓13.413.210.912.312.19.1
Figure 2: Overview of CardioState-JEPA. Stage I learns unimodal cardiac codes with masked latent prediction from abundant ECG, PPG, and PCG recordings. Stage II uses paired recordings for delay-aware cross-modal prediction, where a learned aligner estimates the physiological offset so that one modality predicts another at the corresponding cardiac time.
Figure 2: Overview of CardioState-JEPA. Stage I learns unimodal cardiac codes with masked latent prediction from abundant ECG, PPG, and PCG recordings. Stage II uses paired recordings for delay-aware cross-modal prediction, where a learned aligner estimates the physiological offset so that one modality predicts another at the corresponding cardiac time.
Table 2: ECG linear probing results under 1%, 10%, and 100% label fractions across six datasets. Avg is the mean macro-AUROC across all 18 settings (six datasets × three label fractions). Label-supervised and ECG-text models are shown as reference models but are excluded from the SSL bold/underline comparison.
PTB-XL SuperPTB-XL SubPTB-XL FormPTB-XL RhythmCPSCCSN
Method1%10%100%1%10%100%1%10%100%1%10%100%1%10%100%1%10%100%Avg
Self-supervised ECG-only models
SimCLR63.469.873.560.868.373.455.057.062.551.469.477.759.868.576.559.067.373.265.9
BYOL71.773.876.557.267.471.648.761.670.842.074.477.260.974.478.854.271.974.767.1
BarlowTwins72.976.078.462.670.874.352.160.466.150.173.577.655.172.878.460.771.677.468.4
MoCo-v373.276.778.355.969.276.750.363.771.351.471.774.362.176.775.354.674.377.768.5
SimSiam73.272.775.662.569.376.455.262.971.349.369.575.958.472.975.358.368.677.468.0
TS-TCC70.775.978.953.567.077.948.061.871.243.369.578.257.173.678.755.368.576.867.0
CLOCS68.973.476.357.972.676.252.058.072.747.271.976.359.677.877.554.471.976.167.8
ASTCL72.577.381.061.968.876.544.160.967.052.472.076.157.977.079.556.470.975.868.2
CRT69.778.277.262.070.878.746.459.568.747.473.574.458.076.482.056.273.778.868.4
ST-MEM61.166.971.454.157.963.655.760.066.151.165.474.956.763.370.459.866.971.463.2
Label-supervised ECG model
ECGFounder83.187.289.673.676.581.761.169.785.187.091.694.687.693.696.371.981.791.983.5
ECG-Text foundation models
MERL82.486.388.764.980.684.758.372.479.753.382.988.370.385.390.666.682.788.078.1
HeartLang78.984.486.769.875.183.956.466.179.572.677.391.171.184.891.368.476.189.878.0
AnyChat82.184.486.872.173.282.258.469.777.173.184.794.583.788.992.671.279.589.980.2
ESI72.380.883.761.669.075.656.959.372.856.671.481.768.278.983.860.165.179.471.0
D-BETA83.288.490.177.782.985.270.178.984.086.692.896.785.591.494.980.087.490.785.9
ECG-FM81.387.089.471.776.983.064.676.386.177.091.096.384.792.695.776.087.795.084.0
CardioState-JEPA (Ours)81.386.489.171.079.186.460.570.083.987.892.496.487.693.495.875.183.193.884.1
Figure 3: T-SNE of cardiac codes from co-recorded ECG, PPG, and PCG samples after Stage I (left) and Stage II (right).
Figure 3: T-SNE of cardiac codes from co-recorded ECG, PPG, and PCG samples after Stage I (left) and Stage II (right).
Table 3: PCG linear probe results on the murmur detection and abnormal heart sound detection tasks (macro-AUROC ×100, ↑; mean±std over 3 seeds).
MethodCirCor ↑CinC2016 ↑
StethoLM64.9 ± 1.245.7 ± 0.4
CLAP75.3 ± 1.844.3 ± 0.7
AudioMAE79.1 ± 2.762.4 ± 0.7
CardioState-JEPA (Ours)97.9 ± 0.166.8 ± 0.4
Figure 8: Learned delay alignment on paired recordings. The top panel shows ECG to PPG alignment on VitalDB and the bottom panel shows ECG to PCG alignment on EPHNOGRAM. For each ECG R-peak tR, the predicted event time tR+τ^ (red dashed) is overlaid on the target signal alongside the actual event (green), namely the systolic upstroke for PPG and the first heart sound S1 for PCG. The learned delay tracks the physiological offset between modalities.
Figure 8: Learned delay alignment on paired recordings. The top panel shows ECG to PPG alignment on VitalDB and the bottom panel shows ECG to PCG alignment on EPHNOGRAM. For each ECG R-peak tR, the predicted event time tR+τ^ (red dashed) is overlaid on the target signal alongside the actual event (green), namely the systolic upstroke for PPG and the first heart sound S1 for PCG. The learned delay tracks the physiological offset between modalities.
Table 4: Ablation studies on pretraining modalities, self-supervised objectives, and auxiliary losses.
Model / VariantECG Avg ↑PPG Cls Avg ↑PPG Reg Avg ↓PCG Avg ↑
Pretraining Modality Combination
ECG only89.7 ± 0.5
PPG only78.5 ± 2.610.7 ± 0.6
PCG only60.2 ± 0.9
ECG + PPG91.4 ± 0.480.6 ± 2.810.1 ± 0.8
ECG + PCG88.4 ± 0.679.7 ± 0.7
CardioState-JEPA (Ours)90.9 ± 0.380.4 ± 2.59.1 ± 0.682.3 ± 0.2
Self-Supervised Objective
SimCLR89.5 ± 0.570.1 ± 2.911.1 ± 0.680.0 ± 0.7
BYOL89.3 ± 0.466.7 ± 3.811.0 ± 0.580.3 ± 0.4
BarlowTwins88.6 ± 0.464.1 ± 4.411.3 ± 0.578.8 ± 1.0
MAE84.4 ± 0.562.0 ± 3.811.8 ± 0.578.1 ± 0.3
CardioState-JEPA (Ours)90.9 ± 0.380.4 ± 2.59.1 ± 0.682.3 ± 0.2
Auxiliary Loss Terms
w/o Cross-modal prediction83.8 ± 0.563.9 ± 3.510.7 ± 0.578.4 ± 0.4
w/o State alignment84.4 ± 0.566.3 ± 3.511.2 ± 0.579.3 ± 0.5
w/o Delay modeling85.3 ± 0.668.9 ± 3.711.1 ± 0.681.3 ± 0.5
w/o Phase supervision88.7 ± 0.571.0 ± 3.110.4 ± 0.678.3 ± 0.5
CardioState-JEPA (Ours)90.9 ± 0.380.4 ± 2.59.1 ± 0.682.3 ± 0.2
Figure 9: t-SNE of PPG features on the binary atrial fibrillation task (MIMICPerform-AF) from the Stage I (left) and Stage II (right) checkpoints, colored by class. The class silhouette rises from 0.03 to 0.12.
Figure 9: t-SNE of PPG features on the binary atrial fibrillation task (MIMICPerform-AF) from the Stage I (left) and Stage II (right) checkpoints, colored by class. The class silhouette rises from 0.03 to 0.12.
Table 5: Training configurations for pretraining and downstream linear probing. Regression tasks are shown with a dash in the class column and are scored with mean absolute error, while classification tasks are scored with macro-AUROC.
Dataset# ClassesTrainValidTestOpt.EpochsBSLR
ECG Pretraining
MIMIC-IV-ECG [13]710,56078,951AdamW1961.2e-4
PPG Pretraining
PPG-EXT [29]4,611,607512,401AdamW1961.2e-4
PCG Pretraining
BMD-HS [1]3,436382AdamW1961.2e-4
ECG Downstream
PTB-XL Super [40]517,0842,1462,158AdamW100161e-3
PTB-XL Sub2317,0842,1462,158AdamW100161e-3
PTB-XL Form197,197901880AdamW100161e-3
PTB-XL Rhythm1216,8322,1002,098AdamW100161e-3
CPSC 2018 [27]94,9505511,376AdamW100161e-3
CSN [48]3816,5461,8604,620AdamW100161e-3
PPG Downstream
WESAD22,104297597AdamW100161e-3
DaLiA829,2944,6025,320AdamW100161e-3
MIMIC AF23,239240717AdamW100161e-3
PPG Arrhythmia236,8204,7645,243AdamW100161e-3
BIDMC9,4121,6521,398AdamW100161e-3
UQVital22,1582,5298,158AdamW100161e-3
EarSet1,36844364AdamW100161e-3
WildPPG179,49215,00045,000AdamW100161e-3
Sensors BP1,631180250AdamW100161e-3
UCI BP89,05411,28611,411AdamW100161e-3
BCG BP5218664AdamW100161e-3
PCG Downstream
CirCor Murmur [32]31,745608654AdamW100161e-3
CinC [26]22,006627607AdamW100161e-3
Figure 10: t-SNE of PPG features on the six-class arrhythmia task from the Stage I (left) and Stage II (right) checkpoints, colored by class. The class silhouette rises from 0.01 to 0.09.
Figure 10: t-SNE of PPG features on the six-class arrhythmia task from the Stage I (left) and Stage II (right) checkpoints, colored by class. The class silhouette rises from 0.01 to 0.09.
Table 6: Input length ablation on ECG tasks (macro-AUROC ×100, ↑, 10% training data). Bold marks the best value in each column. Mean and Std are the mean and standard deviation across the three input lengths.
PTB-XL Super ↑PTB-XL Sub ↑PTB-XL Form ↑PTB-XL Rhythm ↑
Method2.5s5s10sMeanStd2.5s5s10sMeanStd2.5s5s10sMeanStd2.5s5s10sMean
ST-MEM65.369.569.268.01.958.960.760.059.90.752.458.153.554.72.562.658.762.261.2
ECG-FM80.581.986.583.02.673.372.275.173.51.262.267.876.068.75.772.377.082.077.1
ECGFounder83.386.587.085.61.674.876.076.275.70.662.668.269.366.72.973.581.790.281.8
CardioState-JEPA85.285.686.485.70.578.478.779.178.70.365.668.370.068.01.887.087.392.488.9
Table 7: Sensitivity to the cross-modal loss weight λcross. The CardioState-JEPA row uses the default weighting. Values other than MAE are macro-AUROC ×100, where higher is better, and lower is better for MAE.
VariantECG Avg ↑PPG Cls ↑PPG Reg ↓PCG Avg ↑
CardioState-JEPA (λcross=1.0)90.980.49.182.3
λcross=0.590.978.510.3479.4
λcross=2.090.677.310.5480.9
Table 8: Sensitivity to the delay supervision loss weight λdelay. The CardioState-JEPA row uses the default weighting. Values other than MAE are macro-AUROC ×100, where higher is better, and lower is better for MAE.
VariantECG Avg ↑PPG Cls ↑PPG Reg ↓PCG Avg ↑
CardioState-JEPA (λdelay=1.0)90.980.49.182.3
λdelay=0.590.878.79.6879.3
λdelay=2.090.878.010.2082.5
Table 9: Sensitivity to the state loss weight λstate. The CardioState-JEPA row uses the default weighting. Values other than MAE are macro-AUROC ×100, where higher is better, and lower is better for MAE.
VariantECG Avg ↑PPG Cls ↑PPG Reg ↓PCG Avg ↑
CardioState-JEPA (λstate=0.05)90.980.49.182.3
λstate=0.2590.774.510.2082.7
λstate=1.090.275.89.6582.7

研究结果

  • 在PPG任务上,平均分类AUROC相比最强基线从72.2提升到80.4,平均回归误差(MAE)从10.9降到9.1。
  • 在ECG的18种设置(6个数据集×3种标签比例)上,平均AUROC达到84.1,比最强自监督基线MoCo-v3的68.5高出15.5个点。
  • 在PCG任务上,模型在心脏杂音检测和异常心音检测的线性探测评测中均取得最佳结果,杂音检测比最强自监督基线高出18.8个AUROC点。
  • 在若干ECG基准上,CardioState-JEPA达到甚至超过了一些依赖临床文本或大规模监督标签训练的模型的表现,而它本身并未使用这类额外监督信息。
  • t-SNE可视化显示,第一阶段训练后不同信号形成明显分离的簇,第二阶段训练后这些簇彼此充分混合(模态轮廓系数从0.121降到-0.006),同时下游任务(如心律失常分类)的类别区分度(轮廓系数)反而提高。

可应用场景

  • 利用可穿戴设备(如智能手表)采集的PPG信号,结合从ECG和PCG预训练中获得的知识,来估计心律失常、血压或呼吸频率。
  • 在听诊音(PCG)自动筛查心脏杂音的系统开发中,尝试使用同时由ECG、PPG联合预训练的共享编码器,以期用更少的PCG专属数据获得更好效果。
  • 在医院场景中,将不同传感器采集的心脏数据整合进一个共享表示模型,减少为每种传感器单独维护模型的负担。
  • 为标注数据稀缺的临床场景设计预训练策略提供参考,因为该方法在1%和10%的低标签比例下也进行了测试。

局限与待验证事项

  • 同步采集的多信号配对数据远少于单一信号数据,因此延迟对齐模块只能在相对较少的、可清晰检测到心跳的数据上训练。
  • PCG的预训练数据量是三种信号中最少的,这限制了在没有跨模态迁移帮助的情况下,声学表示本身能被提升到什么程度的验证。
  • 在ECG任务上,三模态模型的表现与最强的双模态变体相比几乎在误差范围内,说明加入第三种信号带来的收益在ECG上不如在PPG和PCG上明显。
  • 延迟对齐模块依赖于能在源信号中检测到可靠的参考事件,噪声非常大的录音会退化为无监督对齐方式,缺乏生理学锚定。
  • 所有报告结果均基于冻结编码器加线性探测得到,完整微调编码器以及使用更大规模编码器的实验被留作未来工作。

为什么重要

以往心电、脉搏波和心音的AI模型基本各自为战,这项研究表明三种信号在训练时可以互相充当老师、互相监督。如果不同传感器(可穿戴设备、听诊器等)采集的数据能被整合进同一个共享表示模型,就有可能减少为每种设备单独训练模型的成本,并缓解某些信号标注数据不足的问题。

本文术语

  • JEPA(联合嵌入预测架构) · 一种训练方式,预测被遮盖位置对应的隐含表示,而不是直接重建原始输入
  • AUROC · 衡量分类模型区分阳性和阴性能力的指标,数值越接近1越好
  • 线性探测(linear probing) · 一种评测方法,保持预训练编码器权重不变,只训练其上一个小型线性分类器
  • 延迟对齐模块(delay aligner) · 一个可学习的模块,用来估计同一次心跳在电信号、脉搏信号、声音信号之间的时间偏移,从而对齐三者
  • 动量编码器(momentum encoder) · 主编码器权重的缓慢滑动平均副本,用来为训练提供稳定的目标值

论文原文摘要(英文)

Electrocardiography (ECG), photoplethysmography (PPG), and phonocardiography (PCG) provide complementary views of the same cardiac cycle, yet existing cardiac foundation models are trained for a single sensing modality, leaving the shared physiology across sensors unexploited. We introduce CardioState-JEPA, a cardiac foundation model to learn a single shared representation jointly across ECG, PPG, and PCG, built on a physiology-aware joint-embedding predictive architecture. The model maps heterogeneous waveforms into a common token space, processes them with a single shared Transformer encoder, and learns by predicting masked latent cardiac states, placing the pretraining target on shared physiology rather than sensor-specific waveform appearance. To handle the temporal offsets between electrical, mechanical, and hemodynamic events, cross-modal prediction uses a learned delay aligner that matches signals at the corresponding cardiac time. Because synchronized multi-sensor recordings are scarce, CardioState-JEPA first learns within-modality structure from abundant unimodal data and then uses paired data to align modalities in latent cardiac time. Evaluated as a frozen encoder across 25 downstream tasks spanning ECG, PPG, and PCG, our encoder improves average PPG classification by 8.2 AUROC points, PCG murmur detection by 18.8 AUROC points, and ECG classification by 15.5 AUROC points over the best self-supervised signal baseline and matches or exceeds cardiac models trained with privileged clinical text or supervised labels on several ECG benchmarks. These results establish that heterogeneous cardiac signals can mutually supervise a single foundation model of cardiac physiology.

作者 · Hamza Shafiq

在 arXiv 阅读

最新论文

全部论文 →

METAL MEDIA 最新报道

图片来源: Hamza Shafiq et al., arXiv:2608.12944, CC BY 4.0