Efficient and robust 3D blind harmonization for large domain gaps

Hwihun Jeong, Hayeon Lee, Se Young Chun, Jongho LeearXiv 2025 · DOI

Introduction

In the field of medical imaging, particularly magnetic resonance imaging (MRI), the "scanner effect" remains a formidable obstacle to the deployment of robust deep learning models. Discrepancies in image appearance arise from differences in scanner hardware (e.g., Siemens, GE, Philips), magnetic field strengths (1.5T vs. 3T), and specific pulse sequence parameters. These variations create "domain gaps" that often cause models trained on a specific dataset to fail when applied to data from a different center or scanner.

Harmonization techniques aim to mitigate these effects by transforming images into a standardized "target" domain. However, traditional methods often require paired data—where the same individual is scanned on multiple machines—which is difficult and expensive to acquire. "Blind harmonization" is considered the ideal solution, as it involves training a model using only target domain data, allowing it to harmonize any unseen source image post-hoc. Despite its promise, previous blind methods have largely been restricted to 2D implementations, which suffer from inter-slice discontinuities, and have struggled to maintain high image quality when faced with large domain gaps.

Methodology

The proposed framework, BlindHarmonyDiff, introduces a paradigm shift by treating harmonization as a generative reconstruction task rather than a simple density estimation problem. It is designed to be inherently 3D and robust to significant domain shifts.

The BlindHarmonyDiff framework (b) compared to baseline 2D flow models (a), alongside the multi-stride patch training strategy (c).

Edge-to-Image (E2I) Reconstruction

A key insight of this work is that while image contrast and intensity distributions vary significantly across scanners, the underlying anatomical structure—captured by edges—remains relatively consistent. BlindHarmonyDiff utilizes an Edge-to-Image (E2I) model trained to reconstruct high-fidelity MRIs from Canny edge maps using only target domain data. By stripping away the source-specific contrast and focusing on structural boundaries, the model effectively "unlearns" the source domain's characteristics, facilitating a more universal harmonization process.

3D Rectified Flow

To achieve high-quality 3D generation with computational efficiency, the authors employ 3D rectified flow. Unlike standard diffusion models that can require hundreds of sampling steps, rectified flow learns a straight-line transport map between a simple noise distribution and the complex image distribution. This allows for the generation of anatomically plausible 3D volumes with significantly fewer computational steps, making 3D generative harmonization practical for clinical workflows.

Multi-Stride Patch Training

Training deep generative models on full-resolution 3D MRI volumes is often impossible due to GPU memory limitations. Standard patch-based training, which crops small sub-volumes, often fails because the model loses the global anatomical context necessary for consistent reconstruction. To address this, BlindHarmonyDiff introduces "multi-stride" patch training. This technique involves randomly skipping voxels during the cropping process to create a "downsampled" version of a larger spatial area. This allows the model to maintain a "big picture" view of the brain's anatomy while operating within a manageable memory footprint.

Refinement Module for Anatomical Fidelity

Generative models can occasionally "hallucinate" details or inadvertently remove pathological features (like lesions) if they were not well-represented in the training set. To ensure clinical safety, the authors integrated a refinement module. This module utilizes gradient ascent to maximize the physical correlation between the harmonized output and the original source image. This step ensures that the final output is not just a high-quality image, but one that remains strictly faithful to the patient's actual anatomy.

Results and Discussion

The framework was rigorously evaluated using the OASIS3 dataset, a large-scale longitudinal neuroimaging resource. The target domain was defined by a Siemens 3T Trio Tim scanner, while source domains included four distinct setups, such as the 1.5T Sonata and 1.5T Vision scanners. Evaluation was performed on "traveling subjects" to provide a ground-truth comparison for harmonization accuracy.

Qualitative comparison of harmonization results across different scanners and methods. BlindHarmonyDiff demonstrates superior contrast consistency and structural preservation compared to methods like SSIMH and Histogram Matching.

Quantitative Performance and Downstream Utility

BlindHarmonyDiff demonstrated state-of-the-art performance across multiple metrics. It achieved an average Peak Signal-to-Noise Ratio (PSNR) of 22.2 dB, a significant improvement over the 18.4 dB observed in unharmonized data. More importantly, the model's impact on downstream clinical tasks was substantial:

  • Tissue Segmentation: The Dice overlap score for brain tissue segmentation improved from 0.801 to 0.879 on the 1.5T Sonata scanner.
  • Age Prediction: The Mean Absolute Error (MAE) in brain-age estimation—a sensitive marker for neurodegeneration—was reduced from 15.4 years to 6.94 years for the 1.5T Vision scanner.

The 3D Advantage and Ablation Insights

Ablation studies highlighted the critical importance of the 3D approach. Unlike 2D slice-by-slice methods that often produce a "Venetian blind" effect (jitter between axial slices), the 3D nature of BlindHarmonyDiff ensures perfect inter-slice continuity. Furthermore, the multi-stride patch strategy was found to be essential; the best results were obtained with a 20% multi-stride patch ratio, which provided the optimal balance between capturing local textures and global structural context.

Conclusion

BlindHarmonyDiff provides an efficient and robust solution for 3D blind MRI harmonization. By combining edge-based priors with efficient 3D rectified flow and a novel patch training strategy, it overcomes the limitations of previous 2D and non-blind methods. While challenges remain in cross-modality contrast conversion and sensitivity to initial edge detection, the framework represents a significant step toward scanner-agnostic medical AI.

Summary updated

BibTeX
@misc{jeong2025efficient,
  author = {Hwihun Jeong and Hayeon Lee and Se Young Chun and Jongho Lee},
  title = {{Efficient and robust 3D blind harmonization for large domain gaps}},
  year = {2025},
  eprint = {2505.00133},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.00133},
}
Figure