Zhang, Jinwei; Zuo, Lianrui; Dewey, Blake E.; Remedios, Samuel W.; Liu, Yihao; Hays, Savannah P.; Pham, Dzung L.; Mowry, Ellen M.; Newsome, Scott Douglas; Calabresi, Peter Arthur; Saidha, Shiv; Carass, Aaron; & Prince, Jerry L. (2026). UNISELF: A unified network with instance normalization and self-ensembled lesion fusion for multiple sclerosis lesion segmentation. Medical Image Analysis, 109, 103954. https://doi.org/10.1016/j.media.2026.103954
Multiple sclerosis (MS) causes lesions, or areas of damage, in the brain that can be seen on multicontrast magnetic resonance (MR) images. Automatically segmenting, or outlining, these lesions using deep learning (DL) can improve speed and consistency compared to manual tracing by experts. Although many DL methods perform well on data similar to what they were trained on, they often struggle when tested on new datasets from different hospitals or scanners, a problem known as poor out-of-domain generalization.
To address this issue, the researchers developed a new method called UNISELF. The goal of UNISELF is to achieve high segmentation accuracy within the original training domain while also performing well on data from different sources. UNISELF introduces a test-time self-ensembled lesion fusion strategy, which combines multiple predictions at test time to improve accuracy. It also uses test-time instance normalization (TTIN) of latent features, meaning it adjusts internal feature representations during testing to better handle domain shifts and missing input contrasts, such as when certain MR image types are unavailable.
The model was trained using data from the ISBI 2015 longitudinal MS segmentation challenge. On the official test dataset, UNISELF ranked among the top-performing methods. Importantly, when evaluated on out-of-domain datasets with different scanners, imaging protocols, and missing contrasts—including the MICCAI 2016 dataset, the UMCL dataset, and a private multisite dataset—UNISELF outperformed other benchmark models trained on the same ISBI data. These results suggest that UNISELF is both accurate and robust to real-world variations in MR imaging, making it a promising tool for automated MS lesion segmentation across diverse clinical settings.

Fig. 1. An illustration of the spatial augmentation, network input, and network output during training in UNISELF.