July 16, 2026
Myocardial infarction (MI) remains a leading cause of mortality worldwide. Echocardiography (Echo) is a widely available modality for MI assessment, where regional wall motion abnormality is a key indicator. Prior learning based methods for myocardial motion analysis often use handcrafted descriptors or densely supervised estimation, but the need for extensive annotation limits applicability. Foundation models have recently improved vision-based Echo analysis; however, most methods operate on single views and segment-level localization remains unreliable under view-dependent ambiguity, especially in apical views. To address this, we propose MCF-Net, a novel motion-guided multi-view fusion framework that fuses myocardial motion cues with foundation model representations to localize infarction. Visual features are extracted using EchoPrime, a pretrained Echo foundation model shared across dual views. Cardiac motion is modeled with extremely sparse supervision: a single annotated template frame is transferred across videos to initialize point tracking, avoiding dense labels. Motion-derived segment-aware soft masks provide coarse spatial priors that selectively enhance features for challenging myocardial segments. A motion-conditioned fusion mechanism then integrates motion and vision across views, refining predictions without overriding strong appearance cues. On segment-level MI localization, MCF-Net achieves 72.4% F1 and 84.9% accuracy, outperforming state-of-the-art motion-only, vision-only, and fusion baselines.
Myocardial infarction (MI) refers to irreversible myocardial damage caused by coronary artery occlusion. The associated mechanical dysfunction often results in abnormal myocardial motion [1]. Related contrast-free work in cine MRI has also used cardiac motion to reconstruct patient-specific infarct geometry [2], supporting the value of cardiac mechanics for infarct assessment. Echocardiography (Echo), with its high temporal resolution, is routinely used to assess MI via regional wall motion abnormality (RWMA). In clinical practice, MI assessment integrates multiple acquisition views; the assessment is most commonly made in apical four- and two-chamber (A4C/A2C) views, which provide different coverage of the left ventricle. Following the AHA 17-segment model [3], each apical view maps to six distinct myocardial segments. However, Echo often suffers from limited image quality and view-dependent ambiguity, making RWMA assessment highly dependent on clinician expertise [4] and hindering scalable, reproducible MI localization.
Most automated approaches model RWMA through explicit motion analysis. Optical flow based methods estimate pixel wise motion without anatomical labels but are sensitive to noise and imaging artifacts, often yielding physically implausible motion fields [5], [6]. Image registration methods estimate dense deformation between frames, yet their performance degrades without accurate anatomical supervision [7]–[9]. Biomechanical and deformation based models further rely on detailed anatomical annotations to derive physiological parameters, resulting in substantial labeling burden [10]–[13]. In contrast, we model cardiac motion using an extremely sparse point tracking strategy that requires only a single annotated template frame for the entire dataset. We transfer this template to initialize landmarks in each video and propagate them over time using a tracking model [14], producing dense trajectories with minimal supervision.
Foundation models (FMs) have recently become a dominant paradigm in medical image analysis, driven by large scale pretraining and contrastive learning, leading to growing interest in MI detection from Echo [15]–[17]. Recent work has also explored anatomical significance and multi-task learning for explainable MI prediction [18]. EchoPrime [17], trained on over 12 million image-text pairs and evaluated across 23 cardiac benchmarks, provides a high capacity visual backbone for routine tasks. However, despite reliable global predictions, our experiments indicate that EchoPrime remains limited for segment level MI localization, particularly in structurally ambiguous regions in the A4C view. This motivates utilizing cardiac motion as a complementary cue to guide visual attention toward pathology relevant regions.
Motivated by the complementary strengths and inherent limitations of motion and vision based approaches, we propose MCF-Net, a Motion Conditioned Fusion Network for segment level MI localization. MCF-Net adopts a pretrained foundation model as the primary vision encoder and integrates motion guidance through two components: (i) motion-guided soft refinement, which constructs a trajectory-derived Gaussian mask along the tracked myocardial boundary to lead the encoder towards relevant regions, and (ii) motion conditioned multi-view fusion, which uses motion embeddings to gate visual features and applies cross-view attention to aggregate complementary evidence from both views. MCF-Net consistently outperforms all motion only methods (trajectory/motion features only), vision only methods (visual features only), and previous fusion baselines, including strong FMs, achieving up to +8.1% F1 and +4.8% accuracy gains for segment MI localization. Our main contributions are:
We introduce a motion conditioned multi-view localization framework that combines a pretrained echocardiography foundation model with sparse motion priors to enable segment level MI localization across apical views.
We design a motion guided refinement module (soft mask) and a motion conditioned fusion strategy that selectively pushes visual representations toward pathology relevant regions, improving hard myocardial segments (such as basal regions) while preserving strong global appearance cues.
We propose a sparse motion modeling strategy using a single annotated frame with template transfer and point tracking, enabling robust and scalable cardiac motion extraction across views without the need for dense labels.
Given a paired dual view Echo \(\mathcal{X}=\big(\mathcal{V}^{(\mathrm{A2C})}, \mathcal{V}^{(\mathrm{A4C})}\big)\), where each view is represented as a temporal sequence \(\mathcal{V}^{(v)}=\{ I_t^{(v)} \in \mathbb{R}^{H \times W} \}_{t=1}^{T}\) with \(v \in \{\mathrm{A2C}, \mathrm{A4C}\}\), our goal is segment-level MI localization, learning \(f_{\theta}:\mathcal{X}\rightarrow \mathbf{z}\in\mathbb{R}^{12}\) with \(\mathbf{z}\) the segment-wise logits. As shown in Fig. 1, MCF-Net integrates sparse motion priors with foundation appearance features via: (i) sparse motion modeling, (ii) motion-guided refinement, and (iii) motion-conditioned cross-view fusion.
To avoid the extensive cost of dense frame by frame human annotation, we extract cardiac motion under extremely sparse supervision. Specifically, our approach requires only one manually annotated frame for the entire dataset: we annotate the canonical landmarks on the first frame of a single reference A4C video and initialize landmarks for all videos via localized template matching followed by point tracking. When switching to A2C view, we directly transfer the A4C template across views using the same matching and tracking pipeline. Importantly, A2C and A4C views are initialized and tracked independently. No explicit point-to-point anatomical correspondence between views is assumed. Formally, we define a canonical landmark set \(\mathcal{Q}=\{q_i\}_{i=1}^{N}\) with \(N=32\) on the first frame of a reference A4C video \(\mathcal{I}_{\mathrm{ref}}\), where the points are sampled along the myocardial wall with approximately uniform allocation across the six view-specific segments. For each landmark \(q_i\), we extract a feature patch \(\mathcal{P}_i \in \mathbb{R}^{11 \times 11}\) centered at \(q_i\). To transfer these landmarks to the first frame of a target video \(\mathcal{I}_{\mathrm{tar}}\), we perform localized patch matching within a search window \(\Omega \in \mathbb{R}^{41 \times 41}\) centered at the same spatial coordinate \(q_i\). Correspondence between anatomical features is established by maximizing the Normalized Cross Correlation (NCC):
\[\mathrm{NCC}(\mathbf{u}) = \frac{\sum_{\mathbf{x} \in \mathcal{P}_i} (\mathcal{I}_{\mathrm{ref}}(\mathbf{x}) - \bar{\mathcal{I}}_{\mathrm{ref}}) (\mathcal{I}_{\mathrm{tar}}(\mathbf{x}+\mathbf{u}) - \bar{\mathcal{I}}_{\mathrm{tar}})}{\sqrt{ \sum_{\mathbf{x}} (\mathcal{I}_{\mathrm{ref}}(\mathbf{x}) - \bar{\mathcal{I}}_{\mathrm{ref}})^2 \sum_{\mathbf{x}} (\mathcal{I}_{\mathrm{tar}}(\mathbf{x}+\mathbf{u}) - \bar{\mathcal{I}}_{\mathrm{tar}})^2}}, \quad \mathbf{u}=(u_x,u_y)\in\Omega .\] To ensure our method can robustly locate \(P=\{p_i(1)\}_{i=1}^{N}\) against acoustic artifacts and structural variations, we employ a high confidence fallback mechanism. The initialized point \(p_i\) in \(\mathcal{I}_{\mathrm{tar}}\) is defined as follows: \[p_i = q_i + \arg\max_{\mathbf{u}\in\Omega}\mathrm{NCC}(\mathbf{u}).\] If \(\max_{\mathbf{u}\in\Omega} \mathrm{NCC}(\mathbf{u}) < \tau\), we set \(p_i=q_i\), where \(\tau=0.5\). This fallback ensures that if no reliable structural match is found (e.g., due to poor echo quality), the coordinate defaults to the atlas prior \(q_i\), maintaining a structurally plausible heart shape. The initialized landmarks \(\{p_i(1)\}_{i=1}^{N}\) are propagated across \(T\) frames using CoTracker3 [14], producing dense \(\mathbf{P}=\{p_i(t)\}_{t=1,i=1}^{T,N}\in\mathbb{R}^{T\times N\times2}\).
While FMs such as EchoPrime provide strong spatial representations, they often lack temporal specificity for infarction detection, where subtle wall thinning and hypokinesia along the myocardial boundary are key biomarkers. To bridge this gap, we introduce Motion Guided Soft Refinement (MSR), which injects tracked trajectories into the appearance stream. Since \(\mathcal{Q}\) is sampled along the myocardial wall with roughly equal points per segment, the resulting trajectories \(\{p_i(t)\}_{i=1}^{N}\) induce a segment-aware spatial prior. Therefore we construct a spatial-temporal soft attention mask \(M^{(v)}(t,x,y)\) using a Gaussian mixture centered at the landmark locations: \(M^{(v)}(t,x,y) = \sum_{i=1} ^{N} \exp\!\left(-\frac{\|(x,y)-p_i(t)\|_2^2}{2\sigma^2}\right)\). This mask highlights myocardial regions and is used to softly modulate the input video \(\mathcal{V}^{(v)}\) as follows: \[\tilde{\mathcal{V}}^{(v)} = \mathcal{V}^{(v)} \odot \big(1 + \lambda M^{(v)}\big), \label{msr}\tag{1}\] where \(\lambda\) controls attention strength and \(\odot\) denotes element wise multiplication. This operation enhances intensity and edge responses around the myocardial wall while largely preserving the original appearance distribution and surrounding context (e.g., the left ventricular cavity and surroundings). The refined video is then fed into the frozen foundation encoder \(f_{\phi}\) to extract view level embeddings \(e^{(v)}=f_{\phi}\!\left(\tilde{\mathcal{V}}^{(v)}\right)\in\mathbb{R}^{512}\). Overall, this refinement retains the pretrained spatial priors of \(f_{\phi}\) while injecting localized motion guidance, improving infarction sensitive feature extraction without altering the encoder parameters.
MI localization benefits from complementary evidence across both views, since different AHA segments are best visualized under different orientations. To exploit this complementarity, we propose a motion conditioned fusion module that explicitly couples visual representations with cardiac motion. For each view \(v\), the frozen foundation encoder outputs a visual embedding \(e^{(v)}\in\mathbb{R}^{512}\), while the tracked motion trajectory \(\mathbf{P}^{(v)}\in\mathbb{R}^{T\times N\times 2}\) is summarized by an MLP into a compact motion descriptor \(h^{(v)}\in\mathbb{R}^{128}\). We then modulate appearance features via FiLM style conditioning [19]: \[\tilde{e}^{(v)}=\gamma\!\left(h^{(v)}\right)\odot e^{(v)}+\beta\!\left(h^{(v)}\right)\in\mathbb{R}^{512},\] where \(\gamma(\cdot)\) and \(\beta(\cdot)\) are learned linear mappings. This conditioning enables motion abnormalities (e.g., reduced contraction patterns) to re-weight the visual embedding in a view-specific manner, promoting infarction-relevant cues while suppressing non informative variations. To fuse across two views, we concatenate the modulated embeddings \(V=[\tilde{e}^{(\mathrm{A2C})},\,\tilde{e}^{(\mathrm{A4C})}]\) and form a joint motion query \(q=[\,h^{(\mathrm{A2C})};\,h^{(\mathrm{A4C})}\,]\). Cross view fusion is performed using multi-head attention, \(z=\mathrm{MHA}(q, V, V)\in\mathbb{R}^{512},\) so that pooling across views is explicitly guided by patient-specific motion. Finally, the fused representation is mapped to segment-wise infarction probabilities \(\hat{y}=\sigma(W_o z)\in(0,1)^{12}\). The training objective is optimized by segment-wise classification loss \(L_{\mathrm{cls}} = L_{\mathrm{BCE}}(y,\hat{y}).\) Overall, the proposed fusion couples motion-informed inter-view modulation with attention-based cross-view aggregation, enabling view-complementary and pathologically-informed representations that improve segment level MI localization.
This study uses the HMC-QU dataset [20], the only publicly available Echo dataset for MI detection to date. HMC-QU comprises 162 A4C and 160 A2C Echo videos, with paired A2C and A4C views available for 160 patients. Following the standardized AHA 17-segment model [3], MI presence is annotated for the six segments visible in each view. We randomly partitioned the data into 112/16/32 patients for training, validation, and testing. All experiments were repeated three times, with performance reported as segment-level averages.
All experiments were conducted on a workstation equipped with an Intel i7-13700 CPU and an NVIDIA RTX A4000 GPU. Echo videos were preprocessed by resizing frames to 224 × 224 pixels and uniformly downsampled to 16 frames to meet the input requirements of EchoPrime. The proposed framework was implemented in PyTorch. Model training employed the AdamW optimizer with a learning rate of \(1\times10^{-3}\) and a weight decay of \(1\times10^{-4}\). All models were trained for 50 epochs with a batch size of 16.
We evaluate segment-level MI localization using threshold-free (AUROC, PR-AUC) and threshold-dependent (F1, ACC) metrics, averaged over three runs. MCF-Net is compared against seven baselines spanning motion-only [20], [21], vision-only [17], [22], [23], and fusion-based methods, including naïve EchoPrime fusion and EchoAna [13]. All models operate on full echo videos, enabling systematic comparison of motion priors, foundation representations, and fusion strategies.
| Methods | Motion | Vision | AUROC | PR-AUC | F1-Score | Accuracy |
|---|---|---|---|---|---|---|
| APs [21] | – | – | 57.7 \(\pm\) 5.8 | 79.0 \(\pm\) 2.6 | ||
| APsML [20] | 83.0 \(\pm\) 2.1 | 70.4 \(\pm\) 7.2 | 59.9 \(\pm\) 6.0 | 79.8 \(\pm\) 1.7 | ||
| InceptionV3 [22] | 61.1 \(\pm\) 8.0 | 47.2 \(\pm\) 12.0 | 27.0 \(\pm\) 2.8 | 61.5 \(\pm\) 1.1 | ||
| R(2+1)D [23] | 77.3 \(\pm\) 1.7 | 58.2 \(\pm\) 3.9 | 45.6 \(\pm\) 9.8 | 73.3 \(\pm\) 5.4 | ||
| EchoPrime [17] | 84.9 \(\pm\) 2.6 | 72.7 \(\pm\) 6.2 | 64.3 \(\pm\) 3.8 | 80.1 \(\pm\) 2.1 | ||
| EchoPrimeNF [17] | 84.4 \(\pm\) 1.8 | 70.5 \(\pm\) 6.2 | 59.3 \(\pm\) 5.6 | 78.8 \(\pm\) 1.7 | ||
| EchoAna [13] | 84.6 \(\pm\) 1.9 | 72.1 \(\pm\) 6.5 | 61.7 \(\pm\) 4.6 | 80.9 \(\pm\) 2.8 | ||
| Ours | 87.6 \(\pm\) 2.4 | 74.7 \(\pm\) 5.6 | 72.4 \(\pm\) 3.8 | 84.9 \(\pm\) 2.3 |
Table 1 shows that MCF-Net achieves the best performance across all metrics for segment level MI localization (AUROC \(87.6\), PR-AUC \(74.7\), F1 \(72.4\), ACC \(84.9\)). Improvements are consistent in both threshold-free (AUROC/PR-AUC) and threshold-dependent (F1/ACC) metrics, indicating gains in discrimination and region level decision quality. Motion only methods (APs, APsML) achieve reasonable overall accuracy (\(\sim80\)) but lack spatial precision, resulting in limited segment level localization (APsML: PR-AUC \(70.4\pm7.2\), F1 \(59.9\pm6.0\)). Vision only models show that standard backbones struggle (InceptionV3 F1 \(27.0\pm2.8\), R(2+1)D F1 \(45.6\pm9.8\)), while the pretrained foundation model EchoPrime substantially improves performance (AUROC \(84.9\pm2.6\), F1 \(64.3\pm3.8\)), highlighting the benefit of large scale pretraining. Fusion methods prove critical. Naïve fusion (EchoPrimeNF) degrades performance relative to EchoPrime (F1 \(59.3\pm5.6\) vs.\(64.3\pm3.8\)), suggesting misaligned motion-vision interaction. In contrast, our motion-conditioned fusion consistently improves all metrics, demonstrating the benefit of conditioning visual representations before cross view aggregation. In addition, paired patient-level bootstrap analysis confirms the F1 improvement of MCF-Net over EchoPrime (Delta=0.08, 95% CI=[0.01,0.15], p<0.05), indicating that the observed performance gain is statistically significant. Qualitative results in Fig. 2 further support these findings. Across representative cases spanning lower to upper performance quartiles, MCF-Net produces compact and anatomically coherent infarct regions. Vision only methods often overestimate lesions (diffuse false positives), while motion only approaches generate fragmented patterns. Alternative fusion strategies may shift activation to adjacent segments. In contrast, MCF-Net more accurately recovers infarct extent and topology, consistent with its quantitative gains.
| Variant | MCF | MSR | AUROC | PR-AUC | F1-Score | Accuracy |
|---|---|---|---|---|---|---|
| Baseline | 84.9 \(\pm\) 2.6 | 72.7 \(\pm\) 6.2 | 64.3 \(\pm\) 3.8 | 80.1 \(\pm\) 2.1 | ||
| Baseline + MSR | 86.9 \(\pm\) 2.8 | 71.9 \(\pm\) 6.7 | 66.8 \(\pm\) 3.6 | 82.4 \(\pm\) 3.6 | ||
| Baseline + MCF | 87.2 \(\pm\) 2.5 | 74.7 \(\pm\) 5.8 | 70.3 \(\pm\) 4.8 | 83.8 \(\pm\) 3.3 | ||
| Full Model | 87.6 \(\pm\) 2.4 | 74.6 \(\pm\) 5.6 | 72.4 \(\pm\) 3.8 | 84.9 \(\pm\) 2.3 |
As shown in Table 2, the baseline model (EchoPrime encoder + linear head) achieves strong overall performance (AUROC \(84.9\pm2.6\), F1 \(64.3\pm3.8\)), reflecting the benefit of large scale pretraining for global representations, yet its gains are less pronounced when segment level MI localization is required. Adding MSR yields a modest but consistent improvement (AUROC \(86.9\pm2.8\), F1 \(66.8\pm3.6\)), suggesting that the soft mask mainly sharpens the decision boundary by steering features towards the myocardial region. Incorporating MCF provides a larger boost (F1 \(70.3\pm4.8\), ACC \(83.8\pm3.3\), PR-AUC \(74.7\pm5.8\)), indicating increased model capacity to capture motion appearance interactions that are critical for segment level reasoning. Combining both modules achieves the best results (AUROC \(87.6\pm2.4\), F1 \(72.4\pm3.8\), ACC \(84.9\pm2.3\)), confirming their complementarity: MCF strengthens cross domain fusion, while MSR refines spatial emphasis to improve separability and localization robustness.
We analyze the impact of \(\lambda\) in Equation 1 , which scales the motion derived soft mask. As shown in Fig. 3, performance follows a clear trend, with a moderate refinement strength (\(\lambda = 0.3\)) yielding the best overall performance (AUROC 87.6, F1 72.4, Acc 84.9). A stable high performance region is observed for \(\lambda \in [0.2,0.4]\), indicating robustness to mild hyperparameter variation. However, performance consistently degrades when \(\lambda \ge 0.5\), with F1 decreasing to \(68.3\) at \(\lambda=1.0\), falling below the baseline. This suggests that excessive masking can distort the original Echo, lead to artefactual enhancements and ultimately degrade localization reliability. Notably, while Accuracy and F1 improve significantly at moderate \(\lambda\), PR-AUC remains relatively stable, implying that soft refinement primarily improves decision boundaries rather than ranking quality. These findings support \(\lambda=0.3\) as an optimal trade-off between motion enhancement and visual fidelity.
In this work, we present MCF-Net, a Motion Conditioned Fusion Network for segment level myocardial infarction localization from dual view echocardiography. Our framework utilizes a pretrained foundation model to extract rich visual representations and introduces Motion Guided Soft Refinement to focus feature extraction on infarction-relevant regions. Motion Conditioned Fusion modulates appearance features using view-specific motion and enables cross-view interaction between motion dynamics and visual semantics, improving fine grained localization. Experimental results validate that sparse physiological motion priors can further enhance strong foundation models such as EchoPrime, providing a practical approach for MI localization from routine echocardiography. Future work will investigate larger multi-center validation and systematic failure-case analysis.
The authors acknowledge the use of computing cluster resources provided by the Institute of Biomedical Engineering, Department of Engineering Science, University of Oxford.
The authors declare no competing interests.
Corresponding author.↩︎