Improving Generalization of Deep Learning for Brain Metastases Segmentation Across Institutions
Organizations: Institute of Medical Technology, Peking University Health Science Center, Beijing, China · Beijing Key Laboratory of Intelligent Neuromodulation and Brain Disorder Treatment, Beijing, China · Department of Radiation Oncology, University Hospital Erlangen, Erlangen, Germany
Abstract
Background: Deep learning has demonstrated significant potential for automated brain metastases (BM) segmentation; however, models trained at a singular institution often exhibit suboptimal performance at various sites due to disparities in scanner hardware, imaging protocols, and patient demographics. The goal of this work is to create a domain adaptation framework that will allow for BM segmentation to be used across multiple institutions. Methods: We propose a VAE-MMD preprocessing pipeline that combines variational autoencoders (VAE) with maximum mean discrepancy (MMD) loss, incorporating skip connections and self-attention mechanisms alongside nnU-Net segmentation. The method was tested on 740 patients from four public databases: Stanford, UCSF, UCLM, and PKG, evaluated by domain classifier's accuracy, sensitivity, precision, F1/F2 scores, surface Dice (sDice), and 95th percentile Hausdorff distance (HD95). Results: VAE-MMD reduced domain classifier accuracy from 0.91 to 0.50, indicating successful feature alignment across institutions. Reconstructed volumes attained a PSNR greater than 36 dB, maintaining anatomical accuracy. The combined method raised the mean F1 by 11.1% (0.700 to 0.778), the mean sDice by 7.93% (0.7121 to 0.7686), and reduced the mean HD95 by 65.5% (11.33 to 3.91 mm) across all four centers compared to the baseline nnU-Net. Conclusions: VAE-MMD effectively diminishes cross-institutional data heterogeneity and enhances BM segmentation generalization across volumetric, detection, and boundary-level metrics without necessitating target-domain labels, thereby overcoming a significant obstacle to the clinical implementation of AI-assisted segmentation.
Figures & tables
| Baseline | VAE-MMD | ||||||||||||
| Configuration | Test | Sens | Prec | F1 | F2 | sDice | HD95 | Sens | Prec | F1 | F2 | sDice | HD95 |
| \multirow 2*Two-center | Stanford | 0.384 | 0.889 | 0.536 | 0.433 | 0.6831 | 12.78 | 0.652 | 0.683 | 0.638 | 0.649 | 0.7827 | 6.76 |
| UCSF | 0.756 | 0.894 | 0.819 | 0.780 | 0.8102 | 2.23 | 0.750 | 0.840 | 0.772 | 0.757 | 0.8251 | 2.07 | |
| \multirow 3*Three-center | Stanford | 0.455 | 0.446 | 0.412 | 0.424 | 0.6738 | 14.79 | 0.628 | 0.684 | 0.635 | 0.626 | 0.6989 | 10.97 |
| UCSF | 0.767 | 0.866 | 0.798 | 0.776 | 0.8109 | 2.43 | 0.786 | 0.894 | 0.826 | 0.799 | 0.8200 | 2.44 | |
| UCLM | 0.730 | 0.793 | 0.715 | 0.702 | 0.7358 | 4.43 | 0.850 | 0.791 | 0.792 | 0.808 | 0.8144 | 1.37 | |