MediBench: A Benchmark for VAEs in Medical Imaging Across Fidelity, Structure, and Latent Utility

Ao Li, Haowei Lou, Chenglong Ma, Binxu Li, Rui Liu, Lina Yao, Yuanfeng Ji, Mingjie LiOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

MediBench is a new, comprehensive benchmark designed to evaluate Variational Autoencoders (VAEs) in medical imaging across three critical dimensions: reconstruction quality, clinical structure preservation, and latent space utility. The study reveals a significant "decoupling" between how good an image looks and how useful its underlying data is for diagnosis, finding that tokenized models and medical-specific pretraining are essential for reliable medical AI.

What Problem Does This Paper Address?

In the world of medical AI, we are drowning in data. High-resolution pathology slides can reach gigapixel scales, and 3D radiology scans (CT/MRI) are massive. To make these manageable for deep learning, researchers often use Variational Autoencoders (VAEs) to compress images into a compact "latent space."

The problem? A VAE has a dual mandate: it must produce high-fidelity reconstructions for generative tasks (like synthesizing new data) while simultaneously preserving enough semantic information for understanding tasks (like classification or segmentation). Currently, the medical imaging community lacks a standardized way to measure if a VAE is actually succeeding at both. Most researchers simply use VAEs trained on natural images (like cats and dogs), which often fail to capture the subtle, clinically vital details—like a tiny lesion or a thin blood vessel—that matter most in a hospital setting.

Methods

The authors introduce MediBench, a framework that evaluates VAEs across three "pillars":

  1. Reconstruction Fidelity: Standard pixel-level metrics like PSNR and SSIM to see how closely the "uncompressed" image matches the original.
  2. Clinical Structure Preservation (3D only): This is a novel addition. Since pixel metrics can be deceptive, the authors use automated, pretrained segmentation tools (like SynthSeg) as a proxy for a radiologist. They check if the anatomical structures in the reconstructed image still "make sense" and align with the original labels.
  3. Latent Space Utility: They test how well a simple classifier can perform using only the compressed latent code. If the VAE is doing its job, the latent space should contain all the information needed to identify a disease.

The benchmark compares two major families of architectures: Continuous VAEs (which use smooth Gaussian distributions) and Vector-Quantized (VQ) VAEs/Tokenizers (which use a discrete "codebook" of visual patterns).

Datasets

MediBench evaluates models across a massive suite of 2D and 3D medical data:

  • 2D Modalities: Histopathology (PathMNIST, PCam), Dermatoscopy (DermaMNIST, DERM12345), Fundus photography (RetinaMNIST, DDR), and Chest X-rays (CheXpert-Plus).
  • 3D Modalities: Functional MRI (fMRI) for Parkinson’s and emotion recognition, Triphasic CT scans, and multi-modal Brain MRI (BraTS 2023).
  • VQA-derived: The SLAKE dataset for medical metadata classification.

Key Insights and Ideas

  • The Fidelity-Utility Gap: One of the biggest "aha" moments is that higher pixel fidelity does not equal better downstream performance. A model might produce a beautiful, sharp reconstruction (high SSIM) but fail miserably at classification because it "hallucinated" details or smoothed over the diagnostic features.
  • Tokenization Wins for "Understanding": Discrete, tokenized models (like MediTok and PUMIT) consistently outperformed continuous VAEs in latent utility. They seem to learn more robust, discriminative features that are easier for downstream models to use.
  • Domain Shift is Real: VAEs trained on natural images (like the SDXL VAE) often struggle with medical-specific contrasts. For example, they might perform well on X-rays but fail on fMRI because they haven't seen those specific intensity distributions before.
  • Pretraining is the Great Equalizer: Medical-specific pretraining (even on 2D data) significantly improves how well a model preserves 3D clinical structures, suggesting that "learning the language" of medical textures is more important than the specific dimensionality of the encoder.

Key Results

  • Latent Power: In 2D tasks, tokenized models like MediTok and PUMIT achieved the highest Area Under the Curve (AUC), reaching ~0.96 on histopathology and dermatoscopy, significantly beating general-purpose continuous VAEs.
  • 3D Structure: On T1 MRI scans, MediTok improved Segmentation Similarity (SegSim) to 99.2, compared to 91.4 for MedVAE, despite having similar "quality control" scores.
  • Compression Efficiency: The authors found that parameter count is a weak predictor of performance. Instead, the compression ratio and tokenizer type mattered more. MediTok, for instance, uses a highly compact representation (ratio of 0.004) yet remains highly discriminative.

Limitations and Future Work

While comprehensive, MediBench has a few boundaries:

  • Dataset Scope: The authors acknowledge the datasets are diverse but finite. They plan to add ultrasound and PET scans in future versions.
  • Proxy Metrics: Using automated segmenters as a proxy for clinical validity is clever, but it doesn't fully replace a human expert's judgment on "clinical endpoints."
  • 3D Native Models: Some evaluations involved adapting 2D models to 3D data. The authors aim to incorporate more native 3D tokenizers in the next iteration.

Future work will also dive deeper into fairness and robustness, testing how these VAEs handle data from different hospitals or scanners (cross-institution shifts).

Summary updated

BibTeX
@misc{li2026medibench,
  author = {Ao Li and Haowei Lou and Chenglong Ma and Binxu Li and Rui Liu and Lina Yao and Yuanfeng Ji and Mingjie Li},
  title = {{MediBench: A Benchmark for VAEs in Medical Imaging Across Fidelity, Structure, and Latent Utility}},
  year = {2026},
  url = {https://openreview.net/forum?id=sWQe6bKsLW},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure