Pay Attention to the Atlas: Atlas-Guided Test-Time Adaptation Method for Robust 3D Medical Image Segmentation

Jingjie Guo, Weitong Zhang, Matthew Sinclair, Daniel Rueckert, Chen Chen · DOI

Introduction

Deep learning models for medical imaging often encounter significant performance degradation when deployed across different clinical sites. This "domain shift" is typically caused by variations in scanner manufacturers, imaging protocols, and patient demographics. While unsupervised domain adaptation can mitigate this, it often requires access to source training data, which is frequently restricted by privacy regulations like HIPAA.

Test-Time Adaptation (TTA) offers a solution by adapting models using only unlabeled target data at inference time. However, existing TTA methods often rely on pixel-level statistics (like entropy minimization), which can lead to anatomically unrealistic results. This paper introduces AdaAtlas, a novel TTA framework that leverages a 3D anatomical atlas as a robust shape prior to guide the adaptation process.

The AdaAtlas Framework

AdaAtlas shifts the focus of adaptation from low-level pixel distributions to high-level anatomical constraints. The method consists of two primary components: atlas-guided supervision and flexible dual-attention blocks.

Atlas-Guided Adaptation

During training, the system learns a 3D probabilistic atlas representing the average target anatomy. At test time, the segmentation network predicts a mask for a new subject. A frozen registration network then aligns this prediction with the learned atlas. The model is updated by minimizing the cosine similarity loss between the registered prediction and the atlas, effectively forcing the model to produce anatomically plausible shapes.

Overview of the AdaAtlas framework showing the segmentation network, registration to the atlas space, and the resulting gradient flow for adaptation.

Dual Attention Blocks

Traditional TTA methods often limit updates to Batch Normalization layers. AdaAtlas instead utilizes Dual Attention Blocks that calibrate features both channel-wise (identifying important features) and spatial-wise (focusing on relevant image regions). Adapting these blocks provides the network with more degrees of freedom to correct errors caused by domain-specific noise or artifacts.

Experimental Evaluation

The researchers evaluated AdaAtlas on two challenging 3D tasks: Prostate MRI (148 images across seven sites) and Atrial MRI. The method was compared against several state-of-the-art TTA approaches, including TENT, EATA, and TTT.

Key Results

AdaAtlas-Attention demonstrated superior performance across all test sites. On the prostate dataset, it improved the average Dice score from a baseline of 0.677 to 0.8205, representing a 21% relative improvement. On the Atrial MRI dataset, the improvement reached as high as 50.1%.

Qualitatively, AdaAtlas produces segmentations that are significantly more consistent with human anatomy. While entropy-based methods like TENT often "hallucinate" fragmented or biologically impossible structures, the atlas guidance ensures the predicted masks maintain the correct global topology.

Qualitative comparison of segmentation results across various TTA methods. AdaAtlas-Attention produces results closest to the Ground Truth (GT) by maintaining anatomical shape.

Conclusion and Future Work

AdaAtlas demonstrates that anatomical priors are powerful tools for robust test-time adaptation in medical imaging. By moving beyond pixel-level metrics and utilizing dual-attention mechanisms, the method achieves state-of-the-art results on unseen datasets.

A current limitation is the requirement for a registration network and atlas to be integrated during the initial training phase. Future research will explore the use of publicly available atlases and off-the-shelf registration toolkits to enable the application of AdaAtlas to "black-box" pre-trained models, further increasing its clinical utility.

Summary updated

BibTeX
@misc{guo2023pay,
  author = {Jingjie Guo and Weitong Zhang and Matthew Sinclair and Daniel Rueckert and Chen Chen},
  title = {{Pay Attention to the Atlas: Atlas-Guided Test-Time Adaptation Method for Robust 3D Medical Image Segmentation}},
  year = {2023},
  eprint = {2307.00676},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.00676},
}
Figure