TL;DR
Imagine trying to reconstruct an entire movie of a beating heart from just a single still frame and an electrocardiogram (ECG) squiggle. This paper introduces CardioFAD, a diffusion framework that solves this extreme puzzle by first discovering a handful of "anchor" moments—keyframes where the heart's physical motion and electrical signals are easiest to synchronize and reconstruct from—before filling in the rest of the video. By breaking an impossible one-step generation task into smart, physiologically grounded stepping stones, it synthesizes remarkably accurate 2D and 3D heart dynamics.
What Problem Does This Paper Address?
Watching a heart beat over a full cycle—via 3D+time Cardiac MRI (CMR) or 2D+time echocardiography (ECHO) videos—is vital for diagnosing disease. However, capturing dense spatiotemporal sequences is expensive and slow. Clinicians are frequently left with "one-shot" sparse observations: a single 2D video frame or a single 3D spatial slice.
Reconstructing a full, beating cycle from one snapshot is wildly ill-posed; countless different motion trajectories could plausibly pass through that single frame. Pairing the image with an ECG signal seems like an obvious fix, since ECGs track the heart's electrical rhythm. Yet, ECGs only tell you when phases happen electrically, not what the anatomy looks like, and electrical-to-visual timing drifts across patients. Standard one-stage video diffusion models treat every frame equally—causing them to ignore weak ECG cues, blur rapid contractions, or hallucinate erratic heartbeats.
Methods
Rather than forcing a model to generate all frames at once, the authors reframe the task as an anchor discovery problem via a three-part pipeline called CardioFAD (Focus–Align–Diffuse). While the visual tokenizer (LeanVAE), ECG encoder (lightweight ViT), and generative backbone (video Diffusion Transformer, or DiT, trained with rectified flow) build on standard architectures, the novelty lies in how keyframes are learned and used:
- Focus (Trajectory Sufficiency Principle - TSP): A lightweight transformer reads ECG tokens and selects $K$ keyframes (8 or 10 in practice) using straight-through Gumbel-Softmax. To ensure these aren't just random frames, non-keyframes are masked out and a 3D UNet is forced to reconstruct the entire visual sequence solely from the chosen keyframes. This guarantees the anchors pack maximum motion information.
- Align (Anchor Alignment Principle - AAP): Using cross-modal contrastive learning, the model synchronizes visual and ECG latents in time. Crucially, the alignment matrix is weighted by the keyframe probabilities from the Focus module. This concentrates cross-modal supervision right on the motion-salient anchors rather than spreading it thinly across quiescent frames.
- Diffuse (Unified Masked Diffusion): Instead of training two separate networks, a single conditional video DiT handles two-stage generation via binary masking. In Stage 1, it generates the keyframe latents conditioned on the sparse input observation and ECG. In Stage 2, it interpolates all the remaining frames between those newly minted anchors.
Datasets
The authors evaluate CardioFAD across two imaging modalities using existing public benchmarks (no new datasets are introduced):
- UK Biobank (UKBB): 4,379 subjects with paired short-axis 3D+t CMR sequences (50 frames each) and patient-specific ECGs.
- EchoNet-Dynamic & EchoNet-Pediatric: 2D+t echocardiography video datasets (with Pediatric split into A4C and PSAX views). Because these lack paired ECGs, the authors feed the model a shared, patient-agnostic canonical phase template as a weak "pseudo-ECG" surrogate.
Key Insights and Ideas
- Clinical landmarks aren't enough: Clinicians traditionally look at End-Diastole (ED, maximum filling) and End-Systole (ES, maximum contraction). Surprisingly, forcing the model to use ground-truth ED/ES frames as anchors underperforms CardioFAD's self-discovered keyframes—even when padded to the same frame budget. Two coarse landmarks simply miss rapid intermediate contraction and relaxation dynamics.
- Unsupervised physiological discovery: Even without labels, CardioFAD's self-emergent keyframes naturally cluster around true physiological events: over 85% of ground-truth ED/ES frames fall within $\pm 3$ frames of a learned keyframe, hitting 99.1% recall at $K=8$.
- Synergy of TSP and AAP: Diagnostics show that without TSP, the model picks visually boring frames that happen to correlate easily with ECG; without AAP, it picks high-motion frames that drift out of phase with the ECG. Together, they lock onto the "sweet spot" of high motion and tight cross-modal alignment.
Key Results
Under extreme one-shot sparsity (reconstructing from just $B=1$ volume, slice, or frame), CardioFAD substantially outperforms general controllable video baselines (like Tora and MotionCtrl), ECHO-specific models (like ECHOPulse), and a matched internal one-stage baseline:
- 3D+t CMR (UKBB): In
Volume2Seq, CardioFAD slashes Fréchet Video Distance (FVD, where lower means better temporal coherence) from 1007.63 (one-stage baseline) to 736.01, while boosting PSNR to 32.41 dB. In the harderSlice2Seqsetting, FVD drops from 2785.30 to 1847.73. - 2D+t ECHO: On EchoNet-Dynamic, CardioFAD achieves 27.73 dB PSNR and an FVD of 137.70 (improving over ECHOPulse's 25.63 dB and 196.28 FVD).
- Clinical Functional Consistency: When an ejection fraction (EF) regressor is run on synthesized EchoNet-Dynamic videos, CardioFAD achieves an $R^2$ of 0.82 and MAE of 4.17% against ground-truth patient EF (compared to $R^2 = 0.78$, MAE $= 4.62\%$ for ECHOPulse), proving the generated motion preserves true diagnostic function.
Limitations and Future Work
The authors note three main limitations:
- Inferring full 3D+t cardiac motion from a single 2D slice (
Slice2Seq) remains highly ambiguous despite quantitative gains. - Evaluating the clinical fidelity of synthesized CMR sequences currently lacks explicit structural checks (since UKBB experiments didn't evaluate downstream segmentation labels or annotated ED/ES phases), which they aim to address next.
- The framework is currently validated only on periodic cardiac cycles; extending this keyframe-anchor paradigm to non-periodic biological motion or general video synthesis remains open for future exploration.
Summary updated