arXiv:2610.11104cs.CVOct 2026

Manuscript Offprint

arXiv:2610.11104

Skeleton-Guided Progressive Test-Time Adaptation for Thin Curvilinear Structures

Boa Jang, JunGyu Lee, Gwanho Lee, Jinwook Choi, Young-Gon Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Accurate segmentation of thin curvilinear structures is vital for various real-world applications, from vessel analysis to road extraction. Yet their intricate geometry makes even minor pixel-wise errors enough to break the global topology, and this structural fragility turns severe domain shifts into catastrophic failures. The difficulty is most acute under cross-modality gaps, where the imaging process itself differs fundamentally between source and target. While test-time adaptation (TTA) offers a practical source-free remedy, existing methods adapt feature statistics and confidence, neither of which constrains connectivity, and thus degrade under such extreme gaps. To address this, we propose Skeleton-Guided Progressive Test-Time Adaptation (SGP-TTA). Progressive Batch Normalization (ProgBN) shifts normalization from frozen source statistics toward current target estimates under a sample-count schedule, so that the source–target balance follows the stage of adaptation rather than a fixed coefficient. Consensus Skeleton Recall (CSR) then derives a structural target from geometrically aligned multi-view predictions and updates only the BN affine parameters to preserve connected structures. Extensive experiments show that SGP-TTA consistently outperforms existing TTA methods in topological connectivity, with the largest margins under cross-modality shift. The project page is available at https://boa-jang.github.io/SGP-TTA.

Introduction

Segmentation of thin curvilinear structures is a critical challenge in computer vision, arising in domains like satellite road extraction and vessel segmentation in medical imaging (Bibiloni, González-Hidalgo, and Massanet 2016; Cheng et al. 2021; Goharbavang et al. 2025). Because these narrow and intricately branched structures are highly susceptible to local prediction errors, minor misclassifications easily break structural connectivity. Such topological failures critically undermine downstream applications including autonomous navigation (Bastani et al. 2018) and biomarker quantification (Giesser et al. 2024; Montalt-Tordera et al. 2022). Consequently, recent methods focus on preserving structural fidelity through topological architectures and connectivity losses (Hu et al. 2019; Shit et al. 2021; Kirchhoff et al. 2022).

Figure

(a)

(b)

Figure 1: Representative curvilinear structure datasets and their domain characteristics. (a) Images from color fundus photography (CFP), OCT angiography (OCTA), fluorescein angiography (FA), and road datasets. (b) t-SNE of batch-normalization statistics; colors denote datasets, marker shapes denote imaging domains.

et al. 2024). Yet these methods rely heavily on supervision from a single domain, failing to generalize under inevitable distributional shifts. The limitation is most formidable across modalities. Retinal vasculature imaged by different systems and road networks captured by different sensors share the same underlying structure yet differ sharply in appearance, contrast, and background characteristics (Figure 1).

To address severe domain shifts, unsupervised domain adaptation (UDA) typically exploits a pre-collected target dataset for offline alignment or retraining (Hu et al. 2024; Guo, Feng, and Zhou 2026). While effective, this requirement limits its applicability in deployment scenarios where target data are available only at inference time. Consequently, test-time adaptation (TTA) has emerged as a practical source-free alternative, adapting models on-the-fly during inference (Wang et al. 2020; Zhou et al. 2025). However, existing TTA frameworks are poorly matched to thin curvilinear structures for two reasons. First, normalization-based methods must determine how strongly to rely on target statistics estimated from a single test image. Immediately replacing the source statistics can destabilize early predictions because the

∗^{*}These authors contributed equally.

†^{\dagger}Corresponding author.

∗^{*}Work done prior to joining Yonsei University.

batch normalization (BN) affine parameters remain tuned to source-normalized features. Conversely, a source-heavy mixture that stabilizes this early stage becomes increasingly conservative after the affine parameters have adapted. The appropriate source–target balance is therefore stage-dependent rather than constant. Second, confidence-based objectives such as entropy minimization are reduced as effectively by suppressing a weak branch as by confirming it, and under the extreme foreground–background imbalance of thin structures suppression is the cheaper direction; connectivity enters the objective nowhere and is therefore free to break.

To address these two limitations, we propose Skeleton-Guided Progressive Test-Time Adaptation (SGP-TTA), a unified source-free framework that separately adapts the normalization statistics and affine parameters of BN layers. This separation reflects their different roles during test-time adaptation. Normalization statistics can be recalibrated directly from the current target input, whereas affine parameters are updated through unsupervised optimization. SGP-TTA therefore combines Progressive Batch Normalization (ProgBN) for statistical recalibration with Consensus Skeleton Recall (CSR) for topology-aware parameter adaptation.

ProgBN addresses the stage-dependent source–target trade-off by monotonically increasing the target-statistics weight as more target samples are processed. We use the number of observed samples as a simple, label-free surrogate for adaptation progress, allowing the model to remain anchored to source statistics early in the stream and to rely more strongly on current target estimates later. The resulting schedule is deterministic and requires neither offline coefficient learning nor stored target statistics.

CSR addresses the lack of structural supervision in confidence-based adaptation. Predictions from geometrically transformed views are aligned and aggregated into a multi-view consensus map, from which a dilated skeleton is extracted as a self-supervised structural target. CSR encourages each view prediction to recover the consensus-supported centerline and, together with an entropy term, updates only the BN affine parameters. ProgBN and CSR thus play complementary roles, with ProgBN reducing statistical mismatch and CSR preserving the connectivity of thin foreground structures. Our contributions are threefold:

• We identify a stage-dependent limitation in BN-statistics adaptation. A source–target mixture that stabilizes early predictions becomes overly conservative once the affine parameters have adapted. We address this limitation with ProgBN, a deterministic sample-count schedule that requires neither target labels nor offline coefficient learning.

• We introduce CSR, a self-supervised structural objective that aggregates geometrically aligned multi-view predictions into a consensus map, extracts a dilated skeleton from it, and encourages each view prediction to recover the consensus-supported centerline, supplying the connectivity constraint that confidence-based objectives lack.

• We combine the two into SGP-TTA, a source-free framework that adapts the normalization statistics and the affine parameters of BN through separate mechanisms.

References (59)