Test-Time Domain Generalization via Universe Learning: A Multi-Graph Matching Approach for Medical Image Segmentation
Xingguo Lv, Xingbo Dong, Liwen Wang, Jiewen Yang, Lei Zhao, Bin Pu, Zhe Jin, Xuejun Li
TL;DR
The paper introduces Test-Time Domain Generalization via Universe Learning (TTDG-MGM), a multi-graph matching framework that embeds morphological priors of medical images into learnable universe embeddings to achieve robust segmentation under unseen-domain shifts. By enforcing cycle-consistency through a universe-based formulation and enabling unsupervised test-time adaptation, the method learns domain-invariant features and facilitates rapid deployment without labeled target data. Extensive experiments on retinal fundus, polyp, and MRI prostate segmentation demonstrate state-of-the-art performance in both multi-source and single-source DG settings, with ablations confirming the value of universe embeddings, morphology priors, and the multi-graph approach. The approach offers practical impact for medical imaging deployment by improving cross-domain generalization while highlighting downstream considerations such as computational efficiency and handling of small structures.
Abstract
Despite domain generalization (DG) has significantly addressed the performance degradation of pre-trained models caused by domain shifts, it often falls short in real-world deployment. Test-time adaptation (TTA), which adjusts a learned model using unlabeled test data, presents a promising solution. However, most existing TTA methods struggle to deliver strong performance in medical image segmentation, primarily because they overlook the crucial prior knowledge inherent to medical images. To address this challenge, we incorporate morphological information and propose a framework based on multi-graph matching. Specifically, we introduce learnable universe embeddings that integrate morphological priors during multi-source training, along with novel unsupervised test-time paradigms for domain adaptation. This approach guarantees cycle-consistency in multi-matching while enabling the model to more effectively capture the invariant priors of unseen data, significantly mitigating the effects of domain shifts. Extensive experiments demonstrate that our method outperforms other state-of-the-art approaches on two medical image segmentation benchmarks for both multi-source and single-source domain generalization tasks. The source code is available at https://github.com/Yore0/TTDG-MGM.
