Segmenting thin, connected structures breaks badly when a model moves to a new domain. Roads look different when a network trained on one country's satellite images is applied to another country's images, and retinal vessels look different when a model trained on one clinic's fundus camera sees another clinic's images. In both cases the typical failure is not a slightly wrong boundary. The predicted network falls apart into disconnected fragments, and that is exactly what route planning or vessel analysis cannot tolerate. The usual cheap fix for unfamiliar data is to have an expert scribble on a few target images, but scribbles were designed for blob-shaped objects such as tumors and organs. For a road or a vessel, the cheapest and most informative thing an expert can draw is the structure's centerline: a quick polyline traced along a few branches, optionally with an occasional width measurement, much like the caliper lines radiologists already draw in routine practice.
We propose to treat those traced centerlines as direct supervision for the model's skeleton, meaning a one-pixel-wide midline map predicted by a dedicated output head. Traces are not fed in as ordinary sparse labels on the segmentation mask. A consistency loss between the skeleton and the full mask then carries the traced connectivity out to the pixels, and a pseudo-labeling step that keeps only fragments reachable from traced paths turns a few minutes of expert time into topologically coherent target labels. The claim is that, for curvilinear targets under domain shift and at matched annotation time, skeleton-level supervision recovers connectivity that both unsupervised adaptation and area scribbles miss. The same mechanism should work on satellite roads and retinal vessels, because what it exploits is the geometry of the target rather than anything specific to one imaging modality.
Core Claim
Three bodies of work each hold one piece of this. Leveraging Topology for Domain Adaptive Road Segmentation in Satellite and Aerial Imagery supplies the architecture. It adds a skeleton head next to the road-mask head, enforces agreement between them, and refines pseudo-labels by connectivity, and it improves SpaceNet-to-DeepGlobe transfer over competing methods by at least 6.6% IoU and 9.8% APLS (Average Path Length Similarity, a measure of how well shortest routes through the predicted network match the true ones). It uses no target labels at all, so its skeleton head on the target learns only from its own guesses. Scribble-based Domain Adaptation via Co-segmentation shows that sparse target scribbles covering about 1% of scan volume rescue a cross-modality MRI shift on which unsupervised adaptation largely failed, reaching 83.4% Dice against 81.6% for full target supervision. Its method links pixels through a CRF (conditional random field, a graph model that encourages similar pixels to share labels) on deep features. It was tested on one compact tumor, and the file notes that such global features struggle to preserve thin curvilinear topology. Weakly Supervised Lesion Co-Segmentation on Ct Scans shows that line-shaped clinical measurements (RECIST diameters) are enough to seed accurate lesion masks, but it uses them only as GrabCut seeds within a single dataset.
What is new here is the pairing: a cheap line annotation whose shape matches the structure's skeleton, sent into the output head that represents the skeleton, with the aim of adapting across a domain shift. The claim is falsifiable in a specific way. If traces help only because they are extra labels, then feeding the same traced pixels into the mask head as ordinary scribbles should do just as well. If the claim is right, routing them through the skeleton head should give clearly better connectivity metrics at identical annotation cost.
Research Program
The model is a standard encoder-decoder with two heads, a mask head and a skeleton head, following the topology-aware road work. It is trained with full labels on the source domain. On the target domain, an annotator is given a fixed time budget. In that time they trace polylines along any structure branches they choose, add a few background strokes, and optionally click width calipers at a handful of points along a trace.
Target training has three parts. First, the skeleton head receives positive supervision on the traced polylines, relaxed to a narrow tolerance band so the loss is not dominated by one or two pixels of hand jitter. Background strokes supply negatives to both heads. Second, a conformity loss requires the skeletonized mask prediction to agree with the skeleton head. Where calipers exist, the mask's local width along the trace must also match the measured width; elsewhere width is borrowed from the source-trained prior. This part matters because the road benchmark spans 30 to 100 cm per pixel, so apparent road widths change between domains. Third, pseudo-labels are refined by connectivity with the traces as anchors. Predicted fragments that connect to a traced path through confident skeleton pixels are kept as high-confidence labels, gaps along a traced path are filled, and isolated fragments are down-weighted rather than trusted. The model then retrains on these labels for a small number of rounds.
The third part addresses a known risk. Iterative self-training amplifies bad seeds, as both Learning to Segment Medical Images with Scribble-Supervision Alone and the RECIST co-segmentation work report. Human traces supply anchors that are correct by construction. Connectivity-only refinement has no such anchors: it can confidently propagate a wrong fragment.
Annotation cost is the currency of the whole study. We will time annotators producing full masks, area scribbles, and centerline traces on a sample of images in each domain. For large sweeps, we will simulate each protocol from ground truth, taking random subsets of skeleton branches with positional jitter for traces and eroded region strokes for scribbles, calibrated to the measured seconds per unit length. All comparisons are then made at equal annotator-seconds.
The application regime is deliberately two-sided. The remote sensing side is SpaceNet to DeepGlobe roads, a geographic, resolution, and layout shift. The medical side is retinal vessels, trained on CHASE and tested on DRIVE, STARE, ARIA, and HRF, a camera and population shift under data scarcity. As a negative control we add building extraction from Austin and Kitsap to ISPRS Potsdam, where targets are blobs and traces should bring no special advantage. If traces helped equally there, our explanation of the effect would be wrong.
Baselines
The naive reference is the source-only model: trained on fully labeled source data and applied to the target without adaptation. It shows how large the shift is, and every other method must beat it.
The strongest annotation-free competitor on roads is the skeleton-plus-connectivity unsupervised method from Leveraging Topology for Domain Adaptive Road Segmentation in Satellite and Aerial Imagery. It is the most relevant baseline because it uses our architecture and refinement ideas without target labels, so any gain we report over it is attributable to the traces. The file reports its margin over other methods (at least 6.6% IoU, 6.7% F1, 9.8% APLS) but no absolute values; no reported absolute result was found on Lacuna for SpaceNet→DeepGlobe. We will therefore re-run it with the same backbone, training schedule, and hyperparameter search budget as our method. The strongest annotation-free competitor on vessels is ErrorNet: Learning error representations from limited data to improve vascular segmentation, which corrupts predictions with a learned shape prior and trains a network to fix them. It reports an average Dice of 71.0 when trained on CHASE and tested on the four other retinal datasets, about 2.5 points above the next domain adaptation method. We will reproduce it on our split and treat 71.0 as the published reference.
The strongest weakly supervised competitor is area-scribble adaptation at the same annotator time. We will run it in two forms: the deep-feature CRF co-segmentation loss of Scribble-based Domain Adaptation via Co-segmentation, and the random-walk, CRF, and Monte Carlo dropout pipeline of Learning to Segment Medical Images with Scribble-Supervision Alone, which loses only 2.9 Dice points to full supervision on ACDC. The cheapest competitor, and the one we consider most dangerous, is simple fine-tuning of the source model on the traced pixels with a partial cross-entropy loss on the mask head. It is covered below. A further budget-matched competitor fully annotates as many target images as the same time buys, in the spirit of the seeded pipeline used to build AMOS: A Large-Scale Abdominal Multi-Organ Benchmark for Versatile Medical Image Segmentation. For buildings, the reference is Select, Purify, and Exchange: A Multisource Unsupervised Domain Adaptation Method for Building Extraction at 59.1% IoU on Potsdam.
The key ablation keeps the traced pixels and the budget fixed and changes only where they go: into the mask head as scribbles, or into the skeleton head. Two further ablations remove the width calipers and remove trace anchoring from the pseudo-label refinement.
Beating the baselines means the following. On roads, we must significantly improve APLS over both the re-run topology method and budget-matched scribbles across at least three budgets and three seeds, with IoU no worse. On vessels, we must exceed the ErrorNet reference of 71.0 average Dice and reduce connected-component and branch-gap errors relative to scribbles at matched time.
Why not just…?
Why not just fine-tune the source model on the traces with a partial cross-entropy loss? This is a real threat. With modern backbones, a few labeled target pixels may be enough to fix the model's appearance statistics, and connectivity could then recover without any skeleton machinery. The key ablation settles it directly. If fine-tuning the mask head on traced pixels matches the full method on APLS and component errors, the skeleton routing is unnecessary, and we would report the cheaper recipe as the result. Our expectation is that fine-tuning corrects pixel classification near the traces but leaves untraced branches fragmented. That expectation is exactly the difference between Dice and connectivity metrics, so we report both.
Why not skip annotation and use unsupervised topology-aware adaptation? It costs no expert time, and on roads it already exploits skeletons. There is evidence it has a ceiling, though. Model Assumptions and Data Characteristics: Impacts on Domain Adaptation in Building Segmentation finds that output-space alignment produces negative transfer, doing worse than no adaptation, when target layouts diverge. The scribble co-segmentation work found that unsupervised adaptation largely failed under a severe MRI shift. Plotting accuracy against annotation budget, starting from zero, shows exactly how many seconds of tracing are needed before the unsupervised method is overtaken. If the answer is "a lot," that finding is itself useful.
Why not spend the same time on a few full masks? Full masks carry width and boundary information that traces lack. Tracing a vessel tree or road network is fast, but painting its full extent is slow, so at equal time traces cover many more images and branches. The budget-matched comparison reports whichever protocol wins at each budget. We would not be surprised if full masks win at large budgets, and we will say so if they do.
Why not use area scribbles, which already work well in medical segmentation? Scribble methods reach within a few Dice points of full supervision on compact organs. On thin structures, though, a region stroke gives the model no instruction to keep a branch continuous, and the global-feature CRF used for cross-modality scribble adaptation is noted to lose fine topology. The Potsdam negative control keeps this comparison honest. If traces and scribbles tie on buildings but traces win on roads and vessels, the advantage comes from matching the annotation to the structure's geometry.
Proposed Experiments
The main experiment sweeps annotator time per target domain from zero to the cost of a handful of full masks, on SpaceNet→DeepGlobe roads and on CHASE→{DRIVE, STARE, ARIA, HRF} vessels, with three seeds per point. Every method uses one shared backbone and an equal tuning budget. Metrics are IoU, F1, and APLS for roads, and Dice for vessels, plus two topology measures for both: centerline overlap, and the number of spurious components and missing branch connections relative to ground truth. The Potsdam building control uses IoU against the SPENet reference of 59.1%.
There are three decisive checks. First, at matched pixels and time, sending traces to the skeleton head must beat sending them to the mask head on connectivity metrics. Second, the advantage should grow with the size of the domain shift, which we measure by the source-only model's drop on each target dataset. Third, the advantage should vanish on buildings. A small real-annotator study in each domain verifies that the simulated per-length costs are faithful, and we will report any change in method rankings when real traces replace simulated ones.
References
- Leveraging Topology for Domain Adaptive Road Segmentation in Satellite and Aerial Imagery
- Scribble-Based Domain Adaptation via Co-segmentation
- Weakly Supervised Lesion Co-Segmentation on Ct Scans
- Learning to Segment Medical Images with Scribble-Supervision Alone
- ErrorNet: Learning Error Representations from Limited Data to Improve Vascular Segmentation
- AMOS: A Large-Scale Abdominal Multi-Organ Benchmark for Versatile Medical Image Segmentation
- Select, Purify, and Exchange: A Multisource Unsupervised Domain Adaptation Method for Building Extraction
- Model Assumptions and Data Characteristics: Impacts on Domain Adaptation in Building Segmentation