arXiv:2610.09784cs.CVOct 2026

Manuscript Offprint

arXiv:2610.09784

CIRSeg: Coarse-to-Fine Intensity-Robust Liver Segmentation with Source-Free Continual Test-Time Adaptation

Ruoshi Xu, Mingqi Gao, Shengda Luo, Jingkun Chen

Ruoshi Xu 2^{2}, Mingqi Gao 3^{3}, Shengda Luo 2∗^{2*}, and Jingkun Chen 1∗^{1*}

School of Automation, Northwestern Polytechnical University, Xi'an, China 1^{1}

jingkunchen@nwpu.edu.cn

Chinese Medicine Guangdong Laboratory, Zhuhai, China 2^{2}

xuruoshi2003@gmail.com, luoshengda@hqcmlab.cn

School of Computer Science, University of Sheffield, Sheffield, UK 3^{3}

m.gao@sheffield.ac.uk

Abstract. Reliable liver segmentation in contrast-enhanced MRI is essential for quantitative hepatic assessment, treatment planning, and longitudinal disease monitoring. However, limited annotated data and scanner- or vendor-dependent intensity variations can cause overfitting and poor generalization to unseen acquisition domains. Moreover, simultaneously achieving robust global localization and precise boundary delineation remains challenging, while predictions may contain isolated false-positive regions outside the main liver component. To address these challenges, we propose CIRSeg, a coarse-to-fine, intensity-robust liver segmentation framework based on nnU-Netv2. CIRSeg combines 3D CutMix with stochastic intensity transfer using either Nyul augmentation or histogram matching to improve robustness to heterogeneous MRI intensities. Its cascaded architecture decouples low-resolution anatomical localization from full-resolution boundary refinement. At inference, source-free test-time adaptation based on confidence-filtered predictions and probability-prior regularization further improves robustness to out-of-distribution inputs. As a final deterministic post-processing step, largest connected component filtering removes isolated false-positive regions. On the CARE 2026 test set, CIRSeg achieves Dice scores of 97.13% and 97.93% on the in-domain and unseen-domain subsets, with corresponding HD95 values of 20.18 mm and 11.30 mm, respectively. These results demonstrate consistently accurate segmentation across both in-domain and unseen acquisition settings. The code is available at https://github.com/jingkunchen/MICCAI_CARE_2026

Keywords: Liver Segmentation · Test Time Adaptation · Data Augmentation · Semi-Supervised Learning

∗^{*} Corresponding author.

1 Introduction

Contrast-enhanced magnetic resonance imaging (MRI) is widely used for quantitative liver assessment, treatment planning, surgical navigation, and longitudinal disease monitoring. However, manual delineation of the liver in three-dimensional MRI volumes is labor-intensive and requires substantial expert knowledge. Reliable automated segmentation remains challenging because annotated training volumes are limited, while abdominal MRI intensities vary considerably across scanner vendors, acquisition protocols, reconstruction settings, contrast enhancement patterns, and patients. Such variations can cause models to overfit to cohort-specific appearances and compromise generalization to unseen acquisition domains. In addition, liver segmentation requires both robust global localization and precise boundary delineation, which rely on different spatial contexts, while predicted masks may contain small disconnected false-positive regions outside the dominant liver structure.

Recent medical image segmentation studies have addressed these challenges from complementary perspectives. Report-supervised, weakly-supervised, and pseudo-labeling methods reduce dependence on dense annotations [1, 10, 3, 4], while foundation-model studies investigate the transferability of general-purpose segmentation priors to medical images [9]. Other approaches focus on domain generalization [6] and test-time adaptation [5, 12] to improve robustness when deployment data differ from the labeled training distribution. Nevertheless, these directions are often investigated independently, whereas robust liver segmentation under heterogeneous acquisition conditions requires coordinated treatment of limited training diversity, intensity-domain variation, multi-scale anatomical modeling, and inference-time distribution shift.

To address these challenges, we propose CIRSeg, a coarse-to-fine, intensity-robust liver segmentation framework built upon nnU-Netv2 [11]. At the data level, CIRSeg introduces 3D CutMix [20] to improve regularization and increase spatial diversity under limited labeled data. We further design a composite intensity-domain augmentation strategy that probabilistically applies either Nyul augmentation [16] or histogram matching [8]. For histogram matching, the reference volume is randomly sampled from the training set, allowing the model to encounter a broader range of plausible intensity distributions during training. Together, these augmentations reduce sensitivity to acquisition-specific appearance patterns and improve generalization to heterogeneous domains.

At the model level, CIRSeg adopts cascaded nnU-Netv2. A low-resolution network first performs coarse liver localization, and a subsequent full-resolution network refines local structures and boundaries. This coarse-to-fine formulation separates global anatomical localization from fine-grained segmentation refinement. During full-resolution inference, CIRSeg incorporates a source-free continual test-time adaptation strategy inspired by SicTTA [19]. The model is continually updated across test cases using confidence-filtered anchor predictions and probability-prior regularization, improving robustness to out-of-distribution inputs while limiting adaptation drift. Finally, a deterministic three-dimensional largest connected component post-processing step removes isolated false-positive regions and retains the dominant liver component.

Our contributions are threefold: 1. We develop an intensity-robust training data augmentation recipe that combines 3D CutMix with probabilistic Nyul augmentation and histogram matching to increase spatial and intensity diversity and improve generalization under limited annotations. 2. We construct a coarse-to-fine liver segmentation framework based on cascaded nnU-Netv2 and integrate it with source-free continual test-time adaptation to improve cross-domain robustness while limiting adaptation drift. 3. CIRSeg achieves strong performance on the CARE 2026 test set, demonstrating accurate liver segmentation and robust generalization to unseen acquisition domains.

References (19)