NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MedVAE: Efficient Automated Interpretation of Medical Images with Large-Scale Generalizable Autoencoders

Maya Varma, Ashwin Kumar, Rogier Van der Sluijs, Sophie Ostmeier, Louis Blankemeier, Pierre Joseph Marcel Chambon, Christian Bluethgen, Jip Prince, Curtis Langlotz, Akshay S Chaudhari

TL;DR

This paper introduces MedVAE, a suite of large-scale autoencoders designed to efficiently compress high-resolution medical images into smaller latent representations while preserving crucial diagnostic information. MedVAE significantly reduces computational costs for downstream tasks like AI-assisted diagnosis, offering up to a 70x speedup and 512x storage reduction, without sacrificing diagnostic accuracy.

What Problem Does This Paper Address?

Medical imaging, while essential for diagnosis, generates massive datasets that are computationally expensive to store and process. High-resolution images are necessary to capture subtle diagnostic features, but training deep learning models on them requires substantial computational resources, leading to slow training times and high memory demands. This bottleneck hinders the widespread adoption and advancement of AI in medical diagnostics. Existing methods for reducing image size often compromise diagnostic quality, while models trained on natural images don't generalize well to the unique characteristics of medical data.

Methods

MedVAE employs a novel two-stage training approach for its family of six 2D and 3D autoencoders.

  • Stage 1: Base Autoencoder Training: This stage focuses on learning to encode high-resolution medical images into downsized latent representations and then decode them back to reconstruct the original image. It utilizes a combination of perceptual loss, patch-based adversarial loss, and a domain-specific embedding consistency loss (leveraging a medical vision-language model called BioMedCLIP) to ensure that clinically relevant features are preserved.
  • Stage 2: Preserving Clinically-Relevant Features Across Modalities: This stage refines the latent space to ensure that features are consistent across different imaging modalities. For 2D images, this involves a lightweight fine-tuning process using BioMedCLIP embeddings. For 3D images, the approach involves lifting 2D architectures to 3D and continuing training.

The models are characterized by a downsizing factor ($f$) and the number of latent channels ($C$).

Datasets

MedVAE was trained on a large, curated dataset comprising over 1 million 2D images and over 31,000 3D images from 19 multi-institutional, open-source datasets. This dataset includes a diverse range of modalities and anatomical regions:

  • 2D Images: Chest X-rays, Full-Field Digital Mammograms (FFDMs).
  • 3D Images: Head MRIs, Knee MRIs, Head/Neck CTs, Whole-body CTs, Chest CTs.

For evaluation, the authors used 20 different medical image datasets across various Computer-Aided Diagnosis (CAD) tasks, including:

  • 2D CAD Tasks: Malignancy Detection, Calcification Detection, BI-RADS Classification, Bone Age Prediction, Pediatric Wrist Fracture Detection.
  • 3D CAD Tasks: Spine Fracture Detection, Head Fracture Detection, ACL and Meniscal Tear Detection.

Key Insights and Ideas

  • Domain-Specific Autoencoders are Crucial: Natural image autoencoders perform poorly on medical images due to significant domain shifts. MedVAE's domain-specific approach is key to its success.
  • Two-Stage Training is Effective: The proposed two-stage training strategy is vital for both high-quality reconstructions and preserving clinically relevant features in the latent space.
  • 3D Autoencoders Excel for Volumetric Data: Dedicated 3D autoencoders (MedVAE's 3D models) capture volumetric information better than stitching 2D slices, leading to superior latent representations for 3D medical data.
  • Latent Representations as Drop-in Replacements: MedVAE's latent representations can directly replace high-resolution images in existing CAD pipelines without architectural modifications, simplifying integration.
  • Reconstruction Quality Matters for Radiologists: Beyond efficiency, the ability to reconstruct high-fidelity images is critical for clinical interpretability, and MedVAE demonstrates strong performance here.

Key Results

  • Efficiency Gains: MedVAE latent representations offer substantial efficiency improvements:
  • Throughput: Up to 70x increase in 2D settings and 55x in 3D settings.
  • Storage: Up to 512x reduction.
  • Batch Size: Significantly larger batch sizes are possible, aiding modern deep learning training.
  • Performance Preservation: MedVAE latent representations maintain or even exceed the performance of high-resolution images on various CAD tasks. For example, 2D MedVAE with $f=16$ perfectly preserves clinically-relevant features on four out of five 2D tasks.
  • Superiority over Baselines: MedVAE consistently outperforms interpolation methods and natural image autoencoders (KL-VAE, VQ-GAN) in both latent representation quality and reconstruction fidelity.
  • Reconstruction Quality: Automated metrics (PSNR, MS-SSIM) and manual expert reader studies show that MedVAE reconstructions are highly faithful to the original images, preserving diagnostic features with minimal artifacts, especially compared to bicubic interpolation.

Limitations and Future Work

  • Trade-offs in Downsizing: The paper notes that at very high downsizing factors (e.g., $f=512$ for 3D), the benefits of 3D autoencoder training become less pronounced, suggesting a need to balance efficiency with quality.
  • Future Work: The authors suggest further research into:
  • New model architectures, data augmentation, and training strategies for downstream CAD models.
  • Leveraging latent representations for training large-scale foundation models, potentially accelerating their development.
  • Exploring additional autoencoder training strategies to enhance feature preservation at high downsizing factors.

Summary updated

BibTeX
@inproceedings{varma2025medvae,
  author = {Maya Varma and Ashwin Kumar and Rogier Van der Sluijs and Sophie Ostmeier and Louis Blankemeier and Pierre Joseph Marcel Chambon and Christian Bluethgen and Jip Prince and Curtis Langlotz and Akshay S Chaudhari},
  title = {{MedVAE: Efficient Automated Interpretation of Medical Images with Large-Scale Generalizable Autoencoders}},
  booktitle = {MIDL},
  year = {2025},
  url = {https://openreview.net/forum?id=jNmvKHniMe},
}
Figure