# Anatomy of Domain Shift Impact on U-Net Layers in MRI Segmentation

arXiv: https://arxiv.org/abs/2107.04914 · HTML: https://mlsanity.com/paper/2107.04914/

## Key facts

- Cited by 9 papers in the map (data through 14 Oct 2026).
- Builds on 18 of its 22 references that are in the map.
- First posted on arXiv 10 Jul 2021.

## Builds on (most cited first, 18 of 18)

- [Deep Residual Learning for Image Recognition](https://mlsanity.com/paper/1512.03385/) (2015)
- [How transferable are features in deep neural networks?](https://mlsanity.com/paper/1411.1792/) (2014)
- [Deep Visual Domain Adaptation: A Survey](https://mlsanity.com/paper/1802.03601/) (2018)
- [Identifying the Best Machine Learning Algorithms for Brain Tumor Segmentation, Progression Assessment, and Overall Survival Prediction in the BRATS Challenge](https://mlsanity.com/paper/1811.02629/) (2018)
- [SpotTune: Transfer Learning through Adaptive Fine-tuning](https://mlsanity.com/paper/1811.08737/) (2018)
- [Unsupervised domain adaptation in brain lesion segmentation with adversarial networks](https://mlsanity.com/paper/1612.08894/) (2016)
- [Test-Time Adaptable Neural Networks for Robust Medical Image Segmentation](https://mlsanity.com/paper/2004.04668/) (2020)
- [Deep learning to achieve clinically applicable segmentation of head and neck anatomy for radiotherapy](https://mlsanity.com/paper/1809.04430/) (2018)
- [Transfer Learning for Domain Adaptation in MRI: Application in Brain Lesion Segmentation](https://mlsanity.com/paper/1702.07841/) (2017)
- [Unsupervised Cross-Modality Domain Adaptation of ConvNets for Biomedical Image Segmentations with Adversarial Loss](https://mlsanity.com/paper/1804.10916/) (2018)
- [Machine Learning with Multi-Site Imaging Data: An Empirical Study on the Impact of Scanner Effects](https://mlsanity.com/paper/1910.04597/) (2019)
- ['Zhores' -- Petaflops supercomputer for data-driven modeling, machine learning and artificial intelligence installed in Skolkovo Institute of Science and Technology](https://mlsanity.com/paper/1902.07490/) (2019)
- [One-shot domain adaptation in multiple sclerosis lesion segmentation using convolutional neural networks](https://mlsanity.com/paper/1805.12415/) (2018)
- [First U-Net Layers Contain More Domain Specific Information Than The Last Ones](https://mlsanity.com/paper/2008.07357/) (2020)
- [Robust White Matter Hyperintensity Segmentation on Unseen Domain](https://mlsanity.com/paper/2102.06650/) (2021)
- [Lightweight Unsupervised Domain Adaptation by Convolutional Filter Reconstruction](https://mlsanity.com/paper/1603.07234/) (2016)
- [Adaptation of a deep learning malignancy model from full-field digital mammography to digital breast tomosynthesis](https://mlsanity.com/paper/2001.08381/) (2020)
- [Domain Adaptation for MRI Organ Segmentation using Reverse Classification Accuracy](https://mlsanity.com/paper/1806.00363/) (2018)

## Built on by (most cited first, 9 of 9)

- [CrossMoDA 2021 challenge: Benchmark of Cross-Modality Domain Adaptation techniques for Vestibular Schwannoma and Cochlea Segmentation](https://mlsanity.com/paper/2201.02831/) (2022)
- [Deep learning for unsupervised domain adaptation in medical imaging: Recent advancements and future perspectives](https://mlsanity.com/paper/2308.01265/) (2023)
- [vMFNet: Compositionality Meets Domain-generalised Segmentation](https://mlsanity.com/paper/2206.14538/) (2022)
- [Self-Supervised-RCNN for Medical Image Segmentation with Limited Data Annotation](https://mlsanity.com/paper/2207.11191/) (2022)
- [Reverse Engineering Breast MRIs: Predicting Acquisition Parameters Directly from Images](https://mlsanity.com/paper/2303.04911/) (2023)
- [Adaptation to CT Reconstruction Kernels by Enforcing Cross-domain Feature Maps Consistency](https://mlsanity.com/paper/2203.14616/) (2022)
- [Confidence-Guided Unsupervised Domain Adaptation for Cerebellum Segmentation](https://mlsanity.com/paper/2206.10357/) (2022)
- [Solving Sample-Level Out-of-Distribution Detection on 3D Medical Images](https://mlsanity.com/paper/2212.06506/) (2022)
- [UESA-Net: U-Shaped Embedded Multidirectional Shrinkage Attention Network for Ultrasound Nodule Segmentation](https://mlsanity.com/paper/2509.22763/) (2025)

## Abstract (arXiv)

Domain Adaptation (DA) methods are widely used in medical image segmentation tasks to tackle the problem of differently distributed train (source) and test (target) data. We consider the supervised DA task with a limited number of annotated samples from the target domain. It corresponds to one of the most relevant clinical setups: building a sufficiently accurate model on the minimum possible amount of annotated data. Existing methods mostly fine-tune specific layers of the pretrained Convolutional Neural Network (CNN). However, there is no consensus on which layers are better to fine-tune, e.g. the first layers for images with low-level domain shift or the deeper layers for images with high-level domain shift. To this end, we propose SpotTUnet - a CNN architecture that automatically chooses the layers which should be optimally fine-tuned. More specifically, on the target domain, our method additionally learns the policy that indicates whether a specific layer should be fine-tuned or reused from the pretrained network. We show that our method performs at the same level as the best of the nonflexible fine-tuning methods even under the extreme scarcity of annotated data. Secondly, we show that SpotTUnet policy provides a layer-wise visualization of the domain shift impact on the network, which could be further used to develop robust domain generalization methods. In order to extensively evaluate SpotTUnet performance, we use a publicly available dataset of brain MR images (CC359), characterized by explicit domain shift. We release a reproducible experimental pipeline.
