Heart-JEPA:Learning Cross-View Representations for Cardiac MRI with Joint-Embedding Predictive Architectures

Xingzhong Zhao, Lei You, Ziqian Xie, Tian Xia, Degui ZhiarXiv 2026

TL;DR

When doctors image a beating heart with MRI, they capture videos from several distinct geometric slices—meaning pixel coordinates in one view map to completely different anatomy in another. The authors introduce HEART-JEPA, a self-supervised architecture that learns to predict abstract latent features across different anatomical planes without needing spatial registration. The result is an encoder whose coordinate space is so consistent across views that a linear phenotype predictor trained on one slice of the heart can be dropped directly onto a completely different slice—weights untouched—and still work.

What Problem Does This Paper Address?

Cine cardiac magnetic resonance imaging (CMR) records the motion of a beating heart across multiple anatomical planes—specifically the 2-chamber (2Ch), 3-chamber (3Ch), and 4-chamber (4Ch) long-axis views. While all views observe the same underlying organ, they slice through different structures: 2Ch and 3Ch predominantly show the left side of the heart, while 4Ch captures both left and right sides.

Normally, if you train a downstream machine learning probe to estimate a clinical trait (like myocardial mass) from a 2Ch video, you cannot simply feed 4Ch features into that exact same linear probe at test time. Even if a self-supervised model learns rich representations of each view, there is no guarantee that its feature coordinates mean the same thing across unaligned planes. The authors ask a sharp, fundamental question about representation geometry: can we pretrain an encoder for predictive compatibility—the ability to fit a predictor and feature scaler on one anatomical view and reuse them directly on another, with zero recalibration or target-view labels?

Methods

HEART-JEPA adapts the video Joint-Embedding Predictive Architecture (V-JEPA) from predicting masked content within a single video to predicting across different anatomical views of the same patient.

Figure 1: Overview of HEART-JEPA. Paired 2-, 3-, and 4-chamber cine CMR views from the same subject provide complementary observations of the same heart. The right panel illustrates a 2Ch→3Ch/4Ch training configuration: a masked 2Ch context view is encoded by the trainable context encoder Eθ, and a view-conditioned predictor Pψ predicts latent features at queried positions in the full 3Ch or 4Ch target view. Target features are produced by the EMA-updated encoder Eϕ with stop-gradient, and training minimizes the latent-space mean-squared error between predicted and target features.

Here is what is standard versus what is new:

  • Standard JEPA Backbone: 50-frame MRI videos ($128 \times 128$) are tokenized into spatiotemporal tubes. A 12-block Transformer context encoder ($E_\theta$) processes visible tokens from a masked video, while an exponential-moving-average (EMA) target encoder ($E_\phi$, with stop-gradient) processes an unmasked target video. Training minimizes mean-squared error in latent space rather than reconstructing raw pixels.
  • Novel Cross-View Objective: Instead of predicting missing patches within the same slice, HEART-JEPA pairs two different views from the same patient (e.g., masked 2Ch context $\rightarrow$ 3Ch or 4Ch target). A 6-block view-conditioned predictor ($P_\psi$) takes the visible context latents, target grid coordinates, and target-view identity to predict the target latents. Crucially, this requires no spatial registration, patch correspondence, or heartbeat phase synchronization.
  • Frozen Readout Evaluation: At test time, the view-conditioned predictor $P_\psi$ is thrown away. The authors fit a feature standardizer and ridge regression probe on frozen features from a source view, and apply them—completely unchanged—to features from a target view.

Datasets

  • UK Biobank (Pretraining & Internal Evaluation): 39,992 participants with paired 2Ch, 3Ch, and 4Ch cine CMR videos were used for self-supervised pretraining. A strictly disjoint cohort of 15,935 participants (Cohort C2) was held out to evaluate 17 imaging-derived phenotypes (13 structural, 4 functional), left/right ventricular ejection fraction (LVEF/RVEF), and 5 cardiac/metabolic diseases (plus an expanded 17,841-participant set for objective controls and retrieval).
  • M&Ms-2 (External Evaluation): An external multi-disease cohort of 360 participants containing only 4Ch views, used to test out-of-distribution cardiac disease classification.

Key Insights and Ideas

  • Cross-view prediction aligns encoder coordinates—without erasing view identity: Even though a view-conditioned predictor could theoretically translate between incompatible coordinate spaces on its own, training with cross-view targets forces the encoder itself into predictive compatibility. Remarkably, linear probes can still classify which view a feature came from with $>99.97\%$ accuracy, proving the model aligns shared cardiac traits without collapsing view-specific geometry.
  • Mixing same-view and cross-view targets hurts: You might expect a 50/50 mix of same-view and cross-view pretraining to give you the best of both worlds. Instead, the response is non-monotonic: mixing views degrades performance, with standard 3-view probing dipping below both pure endpoints at a 50% mix.
Structural transfer across target mixtures
  • Standard benchmarks hide readout incompatibility: Different evaluation protocols rank pretraining objectives completely differently. A global non-contrastive variant ("Global HEART-JEPA") achieves higher standard linear-probing $R^2$ than HEART-JEPA ($0.775$ vs. $0.743$), yet fails catastrophically on direct cross-view transfer ($R^2 = -0.550$). High probing accuracy or cosine similarity does not mean a readout can be reused across views.
  • Post-hoc alignment cannot rescue same-view pretraining: Same-view JEPA still encodes useful information (fitting a fresh supervised probe on the target view yields $R^2 = 0.536$), but its direct cross-view transfer is terrible ($R^2 = -1.101$). Trying to fix this misalignment using unlabeled target feature statistics or paired orthogonal Procrustes alignment leaves transfer $R^2$ firmly below zero.

Key Results

  • Direct Cross-View Transfer: On the 15,935 held-out participants, HEART-JEPA achieves a direct structural transfer $R^2$ of $0.477 \pm 0.020$ (Pearson $r = 0.742$), compared to $-1.101 \pm 0.393$ ($r = 0.298$) for matched same-view JEPA and $0.435 \pm 0.021$ for cross-view contrastive learning.
  • Ventricular Function Benchmark: Across a 7-model benchmark using concatenated 3-view frozen features (including external foundation models CineMA, ViTa-MAE, and CMR Transformer), HEART-JEPA achieves the lowest LVEF mean absolute error at 3.19 percentage points ($R = 0.7563$) and competitive RVEF MAE (3.32 percentage points, second only to Global HEART-JEPA at 3.23).
  • Disease & External Tasks: HEART-JEPA beats same-view JEPA across all five UK Biobank disease endpoints in ROC-AUC and average precision, and splits top spots with contrastive learning. On external M&Ms-2 (4Ch only), task strengths vary: CMR Transformer leads overall macro AUC ($0.898$ vs. $0.848$), while HEART-JEPA leads on specific conditions like hypertrophic cardiomyopathy.

Limitations and Future Work

  • Long-Axis Scope Only: The study is restricted to 2Ch, 3Ch, and 4Ch long-axis videos. Short-axis stacks—which are ubiquitous in clinical CMR—have a 3D multi-slice geometry and were left out.
  • Refitting Still Wins When Labels Exist: Target-view refitting reaches $R^2 = 0.654$ vs. $0.477$ for direct transfer. If you already have target-view data and labels, training a target-specific probe remains the better practical choice; moreover, paired multi-view datasets already share patient-level phenotype labels, so this setup does not automatically save annotation effort.
  • Untested Clinical Missing-View Utility: External M&Ms-2 data only included 4Ch views, leaving external cross-view transfer and real-world missing-view clinical workflows untested in future work.

Summary updated

BibTeX
@misc{zhao2026heart,
  author = {Xingzhong Zhao and Lei You and Ziqian Xie and Tian Xia and Degui Zhi},
  title = {{Heart-JEPA:Learning Cross-View Representations for Cardiac MRI with Joint-Embedding Predictive Architectures}},
  year = {2026},
  eprint = {2611.40012},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40012},
}
Figure