Watching Unlabeled Scans Wobble: Validation-Free Stopping for Few-Shot 3D Segmentation

When a 3D medical segmentation model is adapted to a new organ from one to ten labeled scans, the result depends heavily on choices nobody can check: how many training steps to run, what learning rate to use, and how strongly to enforce a prior on expected organ size. The usual way to make these choices is to hold out labeled scans for validation. With five labeled patients that is not a real option, because every scan held out is one fewer to learn from. We propose to make these choices by watching how the model's predictions on unlabeled scans from the same hospital change during training. Our hypothesis is that predictions on unlabeled scans first settle as the model learns the general shape of the organ. They then start to wobble again, mostly near organ boundaries, once the model begins memorizing quirks of the few labeled scans. The point where they are most stable is a stopping and selection signal that costs no labels and needs no outside data.

The idea extends a result from noisy-label classification into a regime where the cause of overfitting is different. If it works, practitioners could adapt large CT foundation models to rare structures without the "validation tax." If it fails, the failure is informative in its own right. One possible failure is that the fixed published hyperparameters are already nearly optimal, and we will measure this first.

Core Claim

Define the boundary flip rate at training step $t$ as

$$F_t = \frac{1}{|B|}\sum_{v \in B} \mathbb{1}\left[\hat y_t(v) \neq \hat y_{t-\Delta}(v)\right],$$

where $B$ is the set of voxels in the unlabeled target scans that lie within a few millimeters of any predicted boundary, $\hat y_t(v)$ is the binary mask prediction at voxel $v$ after step $t$, and $\Delta$ is a fixed step interval. We claim that $F_t$ traces a dip-then-rise curve during few-shot adapter training. We further claim that its first sustained minimum selects a checkpoint whose Dice score is close to the best checkpoint chosen with hindsight on test labels, and closer than any label-consuming or default-based alternative.

The mechanism is a reinterpretation of Early Stopping Against Label Noise Without Validation Data. Label Wave counts how many training labels flip between epochs and finds that a mid-training rise in flips marks the moment the network starts fighting mislabeled examples. The authors state that on clean data this rise may not appear. Few-shot segmentation labels are clean, so applying Label Wave directly to the labeled voxels should fail, and we will test that. Our bet is that the support set plays the role that noise played in Label Wave: fitting the idiosyncratic boundaries of five patients moves the decision surface on everyone else's scans. Those other patients' scans are available unlabeled, so the flip signal can be read off them.

Position Relative to Prior Work

Three papers motivate the gap. Few-Shot, Now for Real: Medical VLMs Adaptation without Balanced Sets or Validation shows that splitting off validation data hurts few-shot medical adaptation. It removes tuning altogether with a closed-form solver on frozen features and class-adaptive regularization anchored to text prototypes. That solution only covers image-level classification. It explicitly leaves gradient-based dense prediction open, and it relies on text descriptions that 3D scans lack. Enabling Validation for Robust Few-Shot Recognition builds a proxy validation set from web-retrieved images. Its generalized F1 score picks how many transformer blocks to unfreeze and which checkpoint to keep. Rare-anatomy CT has no web pool to draw on, so our signal is internal to the private cohort. Transductive few-shot adapters for medical image segmentation, FSEFT, supplies both the method we tune and the motivating weakness. It trains small 3D convolutional adapters on a frozen Swin-UNETR pretrained on 2,042 CT volumes and adds a transductive organ-size penalty, but its step count, learning rate and penalty weight are fixed by hand.

Two papers constrain the design. Few-Shot Segmentation Without Meta-Learning: A Good Transductive Inference Is All You Need? (RePRI) balances support cross-entropy, query entropy and a proportion KL term with fixed weights. Realistic evaluation of transductive few-shot learning shows that transductive priors built on wrong proportion assumptions can cost 18–20% accuracy. Together they warn that the size-prior weight is exactly the setting most likely to be wrong when organs vary across patients. They also suggest a risk for our method: a strong size prior could make predictions stable for the wrong reason. We therefore treat the prior weight as a selection target and do not hold it fixed.

Research Program

The first phase measures whether the problem exists. On FSEFT we sweep step count, learning rate across one order of magnitude, and size-prior weight, for $K \in \{1, 2, 5, 10\}$ support scans and many organs. We report the gap between the published default configuration and the hindsight-best configuration. If that gap is under about one Dice point almost everywhere, the validation bottleneck is not binding for 3D adapters. That would be a useful negative result consistent with the "fixed robust solver" finding of the SS-Text+ paper, and the stopping method would be unnecessary.

The second phase characterizes $F_t$. We log it on unlabeled target scans and test whether its minimum aligns with the peak of test Dice. We run three analogous signals side by side: flips on the labeled support voxels (direct Label Wave), flips over all voxels, and flips at boundaries. The comparison tells us whether the effect lives at boundaries and whether unlabeled data is essential. We also test whether $F_t$ lets us choose among configurations, by picking the configuration whose flip curve reaches the lowest minimum. This step is less principled than stopping, because a large size-prior weight can freeze predictions artificially. We therefore check it specifically on structures with high size variability, where a wrongly strong prior should look stable yet score poorly.

Baselines

The naive reference point is FSEFT run with its published fixed hyperparameters and all support scans used for training. This is the "do nothing" option and, per the SS-Text+ validation-tax finding, plausibly a strong one. The strongest label-consuming competitor is leave-one-support-scan-out cross-validation for $K \ge 2$. Each fold trains on $K-1$ scans and scores the held-out scan, and the chosen setting is then retrained on all $K$. It receives the same configuration grid and the same GPU budget as our method. The strongest external-knowledge competitor is source-transferred defaults. Here hyperparameters are tuned with full labels on held-out source organs from the pretraining collection and applied unchanged to the target organ. This is the cleanest validation-free alternative a reviewer would propose.

The direct prior method is Label Wave applied to support voxels, which isolates our key ingredient: reading flips on unlabeled target scans instead of the labeled training set. We also ablate boundary-restricted against all-voxel flips. We report the hindsight oracle as a ceiling. The headline metric is regret, defined as the oracle Dice minus the selected Dice. We claim success if our regret is lower than every baseline's on most organ-and-$K$ cells and within one Dice point of the oracle on median. The one-point bar is set loosely against the 0.2–0.9% accuracy gap Label Wave reports on noisy CIFAR and Clothing1M.

For the strongest baseline's absolute performance, FSEFT's FLARE'22 and per-organ TotalSegmentator Dice values are shown only graphically, so no reported result found on Lacuna for FSEFT Dice on FLARE'22 or TotalSegmentator at specific $K$. The only FSEFT numbers in the file are a "+11.8% in Dice" average gain from supervised pretraining and up to "+0.9%" Dice from the size prior. The latter suggests prior-weight effects may be small in magnitude but are still worth selecting correctly.

Why not just…?

Why not just use the published default hyperparameters? This is the most serious threat. The SS-Text+ paper shows that a fixed, robust configuration beats tuning on a reduced split in classification. Phase one exists to measure this directly. If defaults sit within a Dice point of the oracle across organs and $K$, we report that and stop. The method only earns its place if regret from defaults is large somewhere, which we expect for atypical-size structures and very small $K$.

Why not just cross-validate on the few labeled scans? With $K=5$, each fold trains on four scans and validates on one patient. The Dice estimate is therefore very noisy, and the chosen setting is tuned for less data than will finally be used. Both the SS-Text+ paper and the Label Wave paper report that holding out data degrades the final model relative to label-free selection. Our leave-one-out baseline tests whether this holds for 3D segmentation, and it cannot run at all at $K=1$.

Why not just tune on source organs with plenty of labels and transfer the settings? This could genuinely work, because the backbone and adapter architecture are shared. It is likely to break for structures whose size or contrast differs from the source organs. The size-prior weight is the clearest case, given the proportion-mismatch failures documented by the α-TIM paper. We evaluate on target structures excluded from tuning and report regret separately for high-variability structures, so the experiment will show directly whether transferred defaults suffice.

Why not just apply Label Wave as published? Its authors note that the mid-training rise may not appear without label noise, and few-shot support labels are clean. The support-voxel ablation tests this prediction. If support flips select checkpoints as well as unlabeled-scan flips, the unlabeled data adds nothing and our claim reduces to "Label Wave transfers."

Proposed Experiments

The main experiments use FSEFT on TotalSegmentator and FLARE'22 with $K \in \{1, 2, 5, 10\}$, each over several random support draws. Unlabeled target scans come from the remaining training-side volumes, and test volumes are never touched during selection. A secondary 2D check runs RePRI on PASCAL-$5^i$ through its public code, RePRI repository. It asks whether the flip signal also selects RePRI's entropy and proportion weights, where RePRI reports 5-shot gains of about 5% over prior methods with fixed weights.

The first decisive check is rank correlation between $F_t$ and test Dice across checkpoints within a run. The second is regret against each baseline per organ and $K$. The third is the high-variability stress test: if the configuration-selection rule picks over-strong size priors because they produce stable predictions, we restrict the claim to stopping alone and say so.