Latent-SR: Latent Diffusion Weights for Medical Image Super-Resolution

Trained diffusion checkpoints from the paper:

"Latent Geometry Shapes Fidelity in Diffusion-Based Medical Image Super-Resolution"
Sebastian Cajas, Ashaba Judith, Rahul Gorijavolu, Sahil Kapadia, Hillary Clinton Kasimbazi, Leo Kinyera, Emmanuel Paul Kwesiga, Sri Sri Jaithra Varma Manthena, Luis Filipe Nakayama, Ninsiima Doreen, Leo Anthony Celi.
Accepted at Scientific Reports (2026). DOI: 10.1038/s41598-026-82708-y.

Preprint: https://arxiv.org/abs/2604.12152
Code: https://github.com/sebasmos/latent-sr

Model description

Trained x₀-prediction latent diffusion (LDM) weights for 4× medical image super-resolution. Each checkpoint holds the diffusion UNet only. The VAE encoder and decoder are not bundled and are loaded at inference time from their original sources (MedVAE, SD-VAE, KL-f4).

All models were trained with:

  • Schedule: cosine β, T=1000 train, T=100 inference
  • Prediction target: x₀ (clean latent)
  • Pipeline: frozen VAE encoder → diffusion UNet → frozen VAE decoder

Checkpoints

14 checkpoints: 7 latent geometries × 2 datasets (BraTS 2023 brain MRI, MRNet knee MRI). File names are <vae>_<dataset>.ckpt, for example medvae-4-3_brats.ckpt.

MIMIC-CXR chest X-ray: the 7 MIMIC-CXR checkpoints will be shared via PhysioNet soon; this page will link to them.

VAE Latent Role in the paper
medvae-4-3 3×64×64 Proposed method (MedVAE SR)
sdvae 4×32×32 Natural-image baseline (SD-VAE SR)
klf4 3×64×64 Natural-image VAE at the same geometry as medvae-4-3 (domain control)
medvae-8-4 4×32×32 Medical VAE at the exact SD-VAE geometry (domain control)
medvae-4-1 1×64×64 Same element budget as SD-VAE at higher spatial resolution (resolution and capacity control)
medvae-8-1 1×32×32 Geometry control, used in the supplementary AE-ceiling to SR regression
medvae-4-4 4×64×64 Higher-capacity anchor

Results reported in the paper

SR PSNR (dB) on the validation splits, scored against the true high-resolution image (Tables 1, 3 and 4 of the paper). Bicubic is shown for reference.

Dataset Bicubic sdvae medvae-8-4 medvae-4-1 klf4 medvae-4-3
MRNet (refinement, 256→256) 23.79 22.08 23.02 23.28 23.99 24.00
BraTS (n=700) 29.91 23.40 23.73 25.58 26.09 26.23
MIMIC-CXR 30.47 25.13 26.02 26.57 28.76 28.73

MS-SSIM and LPIPS for the two main models (Table 1):

Dataset sdvae MS-SSIM medvae-4-3 MS-SSIM sdvae LPIPS medvae-4-3 LPIPS
MRNet 0.868 0.918 0.187 0.238
BraTS 0.871 0.935 0.100 0.098
MIMIC-CXR 0.860 0.942 0.173 0.155

What the paper finds: MedVAE SR beats SD-VAE SR by +1.9 to +3.6 dB PSNR. At matched latent geometry (klf4 vs medvae-4-3) the medical-pretraining gain at the SR output is within ±0.14 dB of zero, so latent geometry accounts for most of the gap. Bicubic has higher PSNR than the diffusion models on BraTS and CXR, but much worse LPIPS. The paper does not tabulate per-checkpoint SR numbers for medvae-8-1 and medvae-4-4; see the paper and its supplementary material for those and for the statistics.

Usage

from huggingface_hub import hf_hub_download
import torch

ckpt_path = hf_hub_download(repo_id="sebasmos/latent-sr-weights",
                            filename="medvae-4-3_brats.ckpt")
state = torch.load(ckpt_path, map_location="cpu")

See the code repository for the full inference pipeline. Matching latents are in sebasmos/latent-sr-embeddings.

Citation

@article{cajas2026latent,
  title   = {Latent Geometry Shapes Fidelity in Diffusion-Based Medical Image Super-Resolution},
  author  = {{Sebastian Cajas} and {Ashaba Judith} and {Rahul Gorijavolu} and {Sahil Kapadia} and {Hillary Clinton Kasimbazi} and {Leo Kinyera} and {Emmanuel Paul Kwesiga} and {Sri Sri Jaithra Varma Manthena} and {Luis Filipe Nakayama} and {Ninsiima Doreen} and {Leo Anthony Celi}},
  journal = {Scientific Reports},
  year    = {2026},
  doi     = {10.1038/s41598-026-82708-y},
  note    = {Accepted}
}

License

MIT License. The base VAE weights (MedVAE, SD-VAE, KL-f4) are subject to their own licenses.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train sebasmos/latent-sr-weights

Paper for sebasmos/latent-sr-weights