Disentangled latent energy-based style translation: An image-level structural MRI harmonization framework

Mengqi Wu, Lintao Zhang, Pew-Thian Yap, Hongtu Zhu, Mingxia Liu

TL;DR

Researchers have developed DLEST (Disentangled Latent Energy-Based Style Translation), a framework that harmonizes MRI scans from different acquisition sites by operating in a low-dimensional latent space. By using Energy-Based Models (EBMs) to capture site-specific distributions, DLEST achieves superior image-level harmonization and synthesis with significantly lower computational costs than current state-of-the-art GAN-based methods.

What Problem Does This Paper Address?

Magnetic Resonance Imaging (MRI) is notoriously sensitive to "site effects"—non-biological variations caused by differences in scanner hardware, field strengths (e.g., 1.5T vs. 3T), and software protocols. These variations act as noise that can confound clinical diagnoses and cause machine learning models to fail when applied to data from new hospitals.

Existing solutions for "harmonizing" these images often rely on Generative Adversarial Networks (GANs). However, GANs typically operate in high-dimensional pixel space, making them computationally expensive and prone to "mode collapse." Furthermore, many models require retraining from scratch for every new site and struggle to preserve fine anatomical details while changing the image "style" (contrast, noise levels, etc.).

Methods

The authors propose a three-part framework called DLEST, which shifts the heavy lifting from pixel space to a compact 512-dimensional latent space.

  1. Site-Invariant Image Generation (SIG): A latent autoencoder is trained to map MRIs into a site-neutral latent space. This module learns to separate anatomical "content" from site-specific "style."
  2. Site-Specific Style Translation (SST): Instead of using a standard GAN, the authors employ an Energy-Based Model (EBM). The EBM learns the probability distribution of latent codes for a specific target site. To translate a source image, the model uses Stochastic Gradient Langevin Dynamics (SGLD) to iteratively "nudge" the source latent code until it fits the target site's distribution.
  3. Site-Specific MRI Synthesis (SMS): Because the style translation happens in latent space, the model can generate entirely new, diverse synthetic MRIs with a specific site's style by simply sampling random noise and passing it through the EBM.
The DLEST framework architecture, showing the SIG, SST, and SMS modules.

Datasets

The study utilized two major public datasets:

  • OpenBHB: A large-scale dataset featuring 3,984 T1-weighted MRIs from 58 different centers. This was used primarily for training the site-invariant generation module.
  • SRPBS: A unique "traveling subject" dataset containing 108 scans of 9 healthy individuals who were scanned at 11 different sites. This provided a "gold standard" for validation, as the underlying anatomy for a single subject remains constant across different scanner styles.

Key Insights and Ideas

  • Distribution vs. Reference: Traditional methods often translate a source image to match a single reference image from a target site. DLEST’s EBM captures the entire distribution of the target site, accounting for intra-site variations and leading to more robust harmonization.
  • Latent Space Efficiency: By performing style translation in a 512-dimensional vector space rather than a $256 \times 256$ pixel grid, DLEST reduces the number of trainable parameters by over 90% compared to models like ImUnity.
  • Disentanglement is Key: Separating the image reconstruction (SIG) from the style refinement (SST) allows the model to generalize to unseen sites without retraining the entire network—only the lightweight EBM needs a quick fine-tuning.

Key Results

DLEST was benchmarked against several state-of-the-art (SOTA) methods, including CycleGAN, StarGAN, and ImUnity:

  • Site Classification: A "successful" harmonization makes it impossible for a classifier to tell which site an image came from. DLEST reduced site classification accuracy to 48.3% (lower is better), significantly outperforming StarGAN (56.2%) and CycleGAN (66.0%).
  • Downstream Segmentation: When training a U-Net on one site and testing on another, DLEST-harmonized data yielded higher Dice coefficients (a measure of overlap) for gray matter and cerebrospinal fluid compared to other methods.
  • Computational Cost: DLEST requires only 2.4 GMacs (Giga multiply-accumulate operations) per forward pass, compared to 1794.1 GMacs for CycleGAN. This represents a massive leap in efficiency for clinical deployment.

Limitations and Future Work

Despite the strong results, the authors note a few areas for improvement:

  • 2D vs. 3D: The current implementation processes 2D slices. While efficient, this can miss volumetric consistency. The authors suggest moving to 2.5D or 3D implementations in the future.
  • 1D Latent Encoding: The aggressive compression into a 1D latent vector can sometimes discard subtle spatial structures. Future work may explore 2D latent maps (similar to Latent Diffusion Models) to better preserve anatomy.
  • Biological Conditioning: The current model does not explicitly account for biological variables like age or gender during synthesis, which could be integrated as conditional inputs to improve the fidelity of generated images.

Summary updated

BibTeX
@article{wu2025disentangled,
  author = {Mengqi Wu and Lintao Zhang and Pew-Thian Yap and Hongtu Zhu and Mingxia Liu},
  title = {{Disentangled latent energy-based style translation: An image-level structural MRI harmonization framework}},
  journal = {Neural Networks},
  year = {2025},
  doi = {10.1016/j.neunet.2024.107039},
}
Figure