WASP: Weakly Aligned Spatiotemporal Pairs for Fetal Brain MRI-Ultrasound Learning

Francesco Correnti, Gabriele Magrini, Marco Mistretta, Niccolò Biondi, Pietro Pala, Alessandro Ramalli, Simona Fiori, Andrew D. Bagdanov, Matteo Lenge

TL;DR

WASP (Weakly Aligned Spatiotemporal Pairs) is a new framework that enables cross-modal learning between fetal MRI and ultrasound without requiring rare, perfectly paired scans of the same subject. By leveraging routinely collected clinical metadata—gestational age and diagnostic plane—as a "weak" supervision signal, WASP allows researchers to adapt powerful ultrasound-pretrained models to interpret fetal MRI with minimal computational overhead.

What Problem Does This Paper Address?

In fetal medicine, there is a massive "data asymmetry." Ultrasound (US) is cheap, safe, and ubiquitous, leading to massive datasets and highly capable AI models. Magnetic Resonance Imaging (MRI) provides far superior anatomical detail but is expensive and rare, resulting in a scarcity of both data and specialized models.

The logical solution is to use the vast US ecosystem to "teach" models about MRI. However, standard cross-modal learning usually requires paired data: images of the exact same fetus taken with both modalities at the same time. In clinical practice, these pairs are almost never acquired. Existing unpaired methods often rely on generative models (like CycleGANs) that are prone to "hallucinating" medical details or adversarial methods that ignore valuable clinical context.

Methods

WASP bridges this gap by observing that fetal brain development follows a highly predictable biological trajectory. At a specific Gestational Age (GA) and along a specific diagnostic plane (e.g., the transthalamic plane), the anatomy is remarkably consistent across different fetuses.

The framework operates in two phases:

  1. Phase I: Weak Pairing: The authors formulate cross-modal correspondence as an entropic Optimal Transport (OT) problem. Instead of forcing a strict one-to-one match, they build a cost matrix based on three factors:
  2. Temporal Cost: The difference in gestational age.
  3. Spatial Cost: A hard penalty for mismatched diagnostic planes.
  4. Prototype Cost: The distance between mean feature embeddings of similar age/plane groups in the target domain. This results in a "soft" transport plan that matches an MRI scan to a set of anatomically similar US scans.

  5. Phase II: Cross-modal Alignment: Using this soft mapping, a lightweight alignment module (like a simple MLP or Ridge regression) is trained to project MRI features into the US latent space. Crucially, the heavy model "backbones" remain frozen, preserving their original feature-extraction capabilities.

Figure 1: Motivation and overview of WASP. Left: Existing MRI–US alignment requires paired fetal scans from the same subject, but such data are not publicly available at scale. Right: WASP avoids exact pairing through two phases: Phase I builds an entropic Optimal Transport plan P from unpaired cohorts using commonly available metadata such as Gestational Age and diagnostic plane. Phase II uses P to project the target encoder space and train a lightweight alignment module F on the frozen source encoder’s features.

Datasets

The authors consolidated a diverse dataset ($D$) consisting of:

  • Ultrasound ($D^{US}$): 3,369 images from 1,744 subjects, aggregated from several major benchmarks including HC18 and FETAL_PLANES_DB. Since US datasets rarely record exact age, GA was estimated using standard biometric formulas (Hadlock).
  • MRI ($D^{MRI}$): 687 images from 229 subjects, sourced from the FeTa challenge, LFC, and the CRL atlas. These were processed into 2D slices along standard diagnostic planes to match the US format.

All images underwent a standardized preprocessing pipeline involving "brain stripping" (removing maternal tissue) and axis alignment to ensure spatial consistency across modalities.

Figure 2: US and MRI data preprocessing. While in MRI we can directly get axis-aligned samples, for US images we also need to fix the orientation of the major and minor axes of the fetal brain.

Key Insights and Ideas

  • Metadata as a Bridge: The "aha moment" is that clinical metadata (age and plane) is a sufficient proxy for identity in fetal imaging. You don't need to know who the fetus is if you know how old it is and what part of the brain you are looking at.
  • Entropic Regularization is Key: By using entropic OT rather than rigid matching, the model accounts for biological variability. A single MRI scan can be "weakly" paired with multiple plausible US counterparts, making the alignment more robust to noise.
  • Backbone Agnosticism: WASP works as a "plug-and-play" adapter. It can be used to unlock MRI capabilities in US-only models or to further refine multimodal models that have already seen both modalities.

Key Results

The authors tested WASP across five different model backbones, including US-only models (USFM, Echocare) and multimodal ones (SAM-Med2d, BioMedParse).

  • Unlocking Unseen Modalities: For the US-only model USFM, WASP reduced the error in estimating gestational age from MRI from 21.9 days to 17.4 days and boosted diagnostic plane classification from 61.9% to 69.0%.
  • Refining Multimodal Models: Even for models already trained on both modalities, WASP provided gains. For SAM-Med2d, plane classification accuracy climbed from 83.3% to 89.7%.
  • Teacher-Student Distillation: The authors showed that the gains from a large "teacher" model (like BioMedParse) could be distilled into a smaller "student" model using WASP-aligned features, improving the student's performance on MRI tasks.
Table 1: Cross-modal alignment results in the MRI→US direction across four backbones: two unimodal US models (USFM, Echocare) and two multimodal models (SAM-Med2d, BioMedParse). We compare zero-shot transfer, CORAL, and three pairing strategies combined with CCA, Ridge, or MLP alignment. Performance is measured by GA regression error (↓) and diagnostic-plane classification accuracy (↑). CORAL, CCA, and Ridge are deterministic; MLP rows report mean ± std over 3 seeds. Best and second-best results are shown in bold and underlined, respectively.

Limitations and Future Work

  • Lack of Gold Standard: Because no large-scale paired fetal MRI-US dataset exists, the authors could not compare WASP directly against "perfectly paired" supervision.
  • 2D vs. 3D: The current framework uses 2D slices. The authors suggest that incorporating neighboring slices or moving to full 3D volumes could better exploit anatomical context.
  • Neurotypical Focus: The study focused exclusively on neurotypical fetuses. How WASP performs in the presence of anatomical anomalies remains an open research question.
  • Metadata Uncertainty: The gestational age in the US dataset is an estimate, which introduces some inherent noise into the temporal cost calculation.

Summary updated

BibTeX
@inproceedings{correnti2026wasp,
  author = {Francesco Correnti and Gabriele Magrini and Marco Mistretta and Niccolò Biondi and Pietro Pala and Alessandro Ramalli and Simona Fiori and Andrew D. Bagdanov and Matteo Lenge},
  title = {{WASP: Weakly Aligned Spatiotemporal Pairs for Fetal Brain MRI-Ultrasound Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ZOMRRwH1Md},
}
Figure