Skip to content
lab-midasPublic

Repository files navigation

MRBench: Benchmarking Foundation Models for MRI Reconstruction

MRBench evaluates MRI reconstruction foundation models across acquisition conditions, signal fidelities, and imaging domains.

💻 Interactive Dashboard

📄 Paper (arXiv:2611.37405)

Framework Overview

MRBench framework overview

Quick start

From the repository root, use Python 3.10 or newer in a virtual environment. Create an environment with python -m venv .venv and activate it with source .venv/bin/activate on Linux/macOS or .\.venv\Scripts\Activate.ps1 in PowerShell.

The bundled synthetic cardiac cine case runs on CPU with zero-filled reconstruction and requires no pretrained weights.

python -m pip install .
python -m zipfile -e examples/samples/prepared_cine.zip outputs/demo_cine
python -m cmrbench.run_experiment --config examples/prepared_cine.yaml

Look in outputs/prepared_cine/subjects/ for the reconstruction and outputs/prepared_cine/evaluation/metrics_v2.csv for NRMSE, PSNR and SSIM. See data setup to use your own prepared cine inputs or try the bundled format-compatible CMRxRecon2024 SAX/LAX and fastMRI examples.

Use a pretrained model

On Linux x86-64, run the following from the Core environment after extracting the quick-start sample. The installer prepares a pinned evaluation environment, a separate model environment, the official public assets and a local cine YAML.

python -m pip install ".[setup]"
python scripts/setup_models.py ram
source .mrbench/ram/activate.sh
python -m cmrbench.run_experiment --config .mrbench/ram/cine.yaml
Model Setup command Local example
RAM (DeepInv) python scripts/setup_models.py ram .mrbench/ram/cine.yaml
SDUM Base python scripts/setup_models.py sdum .mrbench/sdum-base/cine.yaml
CardioMM python scripts/setup_models.py cardiomm Public components only. Generating the local cine YAML requires separately authorized local reconstruction weights.

Source the activation file printed for the model you select. The examples request CUDA. SDUM also requires GPU BF16 support. See model setup for other model variants, CardioMM and CPU use with RAM. To reconstruct your own data, copy the generated cine YAML and edit its dataset and output sections.

Experiments and evaluation

To select a sampling implementation or use your own binary mask, see the sampling guide and runnable examples. The experiment guide links to sample configurations for acceleration, sampling, ACS, noise, motion, scaling, magnitude-derived k-space and dataset shift. The evaluation protocol defines the subject-level metrics and normalization.

The Dashboard presents the study designs, quantitative downloads and representative reconstructions. The bundled synthetic samples exercise the code and formats. Recreating the paper's in-house results requires the original cohort and model assets.

Package code is in cmrbench/, run templates and synthetic samples in examples/, and reusable model settings in configs/models/. See the third-party notices for component terms.

Citation

If you use this code or find our work helpful, please cite:

@misc{xu2026mrbench,
  title         = {{MRBench}: Evaluating Robustness and Generalization of MRI Reconstruction Foundation Models in Cardiovascular MR},
  author        = {Xu, Siying and Gatidis, Sergios and K{\"u}stner, Thomas},
  year          = {2026},
  eprint        = {2611.37405},
  archivePrefix = {arXiv},
  primaryClass  = {eess.IV},
  doi           = {10.48550/arXiv.2611.37405},
  url           = {https://arxiv.org/abs/2611.37405}
}

Releases

Packages

Contributors

Languages