A land-cover segmentation model trained on aerial photos of one city usually degrades on another. The target city's pixels arrive without labels, so the standard fix is self-training: the model labels the new images itself and retrains on its most confident guesses. The weakness is circular. Where the model is confidently wrong, it teaches itself the error. This proposal breaks the circle with a label-free source of truth that physics already provides. Growing plants reflect near-infrared light strongly and red light weakly, and a height map separates roofs and trees from ground-level surfaces. From those two facts we can build coarse masks of "vegetated" and "elevated" regions on the target images alone, with no labels and no training. We use these masks to veto or redirect the model's own pseudo-labels, and to decide which pixels contribute to per-class feature statistics during alignment.
In two sentences: cheap, physically grounded masks computed only on the unlabeled target domain can say which group of classes a pixel belongs to, even when they cannot say which exact class. Letting those masks overrule self-training's confident mistakes should reduce error accumulation under domain shift, and it works even when the source domain lacks the spectral band the masks need.
Core Claim
The claim is narrower than "domain knowledge helps." Physics-derived masks are most useful under domain shift as constraints on target supervision, not as extra input channels. Input channels can be ignored by the network, and they require the same band in source and target. A pseudo-label veto is enforced, and it only needs the band in the target. The normalized difference vegetation index, $\mathrm{NDVI} = (N - R)/(N + R)$ with $N$ and $R$ the near-infrared and red reflectances, is unchanged if both bands are scaled by a common sensor or illumination gain $k$, because $k$ cancels. That is part of why such a mask should transfer across acquisitions better than raw pixel intensities do. It is not invariant to additive haze or to differences in spectral response. For that reason we threshold it per scene rather than with a fixed global cutoff.
The mechanism is simple. On each target pixel $i$, a physics mask assigns a soft super-class membership $m_{i,g}\in[0,1]$ over a few groups $g$: vegetated-and-elevated, vegetated-and-low, bare-and-elevated, bare-and-low. Each group admits a set of fine classes $G(g)$; for example, bare-and-elevated admits building and clutter. With model probabilities $p_{i,c}$, the pseudo-label and its training weight are
$$ \hat y_i = \arg\max_{c \in G(g_i^*)} p_{i,c}, \qquad w_i = m_{i,g_i^*}\,\max_{c\in G(g_i^*)} p_{i,c}, $$
where $g_i^*$ is the most likely group under the mask. Where the mask is confident, the model may only choose among physically plausible classes. Where the mask is uncertain, $w_i$ is small and ordinary confidence-based self-training takes over. The same soft masks weight the pooling of target features into class prototypes for alignment. This borrows mask-weighted pooling from medical imaging, but the masks come from physics instead of a second segmentation network.
Where This Sits in Prior Work
Two medical-imaging papers motivate the approach. The Role of Pleura and Adipose in Lung Ultrasound AI showed that unmasked models learn shortcuts from irrelevant tissue, and that masking to the anatomically relevant region raises severity-classification AUC from 0.6553 to 0.7742. Computed tomography–based COVID–19 triage through a deep neural network using mask–weighted global average pooling inserted a smoothed lung mask into the final pooling layer to suppress features outside the lung. Its pooling technique is reused here directly. Both were evaluated in-domain, and both obtained their masks from geometry heuristics or a trained segmenter. We move the mask source to label-free physics and the purpose to cross-domain supervision.
The same literature also constrains the design. Integrating Domain Knowledge Into Deep Networks for Lung Ultrasound With Applications to COVID-19 fed domain masks as extra input channels and matched baseline accuracy with half the data. The authors also note that such heuristic masks break when the underlying structure is disrupted. That is why our masks are soft, per-scene thresholded, and allowed to abstain, rather than hard.
In remote sensing, Boosting Semantic Segmentation of Remote Sensing Images by Introducing Edge Extraction Network and Spectral Indices stacked water and vegetation indices onto RGB+NIR inputs and gained up to 3.5% mIoU on GID. It trained and tested within a single domain, however, and used indices only as inputs. Deep Covariance Alignment for Domain Adaptive Remote Sensing Image Segmentation is the closest method. It pools target features by class using the model's own coarse predictions, then aligns their covariances across domains, and it reports that gains are smallest on heterogeneous "background" and "barren" classes. Our proposal replaces the self-predicted pooling masks with physics masks that do not inherit the model's target errors, and it adds the supervision veto that DCA lacks. Decomposition-Based Unsupervised Domain Adaptation for Remote Sensing Image Semantic Segmentation aligns high- and low-frequency feature components adversarially and holds the strongest reported numbers on our benchmarks. It uses no physical priors, so it is the natural external reference.
FrogDogNet fights background clutter by discarding high frequencies. That suits scene classification but is a poor fit for dense boundaries. Spatial physics masks remove background influence without touching frequency content, which is one reason we prefer them here. SpectralX and OSMDA inject spectral or map knowledge through adapters or captions. Neither uses that knowledge as a pixel-level constraint on target labels.
Research Program
We will build the physics masks for ISPRS Vaihingen, which provides near-infrared, red and green bands plus a normalized digital surface model (height above ground). NDVI crossed with normalized height gives the four super-classes above. These map onto the benchmark classes as follows: trees are vegetated-high, low vegetation is vegetated-low, buildings are bare-high, and impervious surfaces and cars are bare-low. Clutter is admitted wherever height suggests. Thresholds come from per-tile quantile splitting, and membership is a sigmoid of distance to the threshold, so pixels near the boundary abstain.
Before training anything, we will measure mask quality against Vaihingen ground truth, for analysis only: super-class precision at each confidence level, and failure modes such as shadowed vegetation or trees overhanging roofs.
We will then add the veto and the mask-weighted prototype pooling to a standard self-training segmentation pipeline, and attach DCA's covariance alignment to the physics-pooled prototypes. One analysis matters beyond headline mIoU. We will track pseudo-label precision on the target across training rounds, with and without the veto, to test the mechanism directly: fewer confidently wrong pseudo-labels, and less drift over rounds.
LoveDA is RGB-only, so there we can only form weak visible-band vegetation and water cues and no height. We treat it as a stress test of graceful degradation, not as the main evidence.
Baselines
The naive reference is a source-only model with the same backbone, trained on the source domain and applied to the target without adaptation. Every gain is reported relative to it.
The first adaptation baseline is class-balanced confidence self-training (CBST), rerun with our backbone, schedule and number of self-training rounds. It is exactly our method minus the physics veto, so it isolates the key ingredient. On LoveDA the dataset paper reports CBST at 41.32% mIoU Rural→Urban, against an in-domain oracle of 45.67% (LoveDA).
The second baseline is DCA with its original self-predicted category pooling, rerun under the same budget. It is the most direct competitor for the pooling half of our method. The file gives no absolute DCA mIoU, only relative gains of 9.19% and 9.65%, so our rerun is the only valid comparison.
The strongest external reference is De-GLGAN. It reports 68.09% mIoU on Potsdam-IRRG→Vaihingen-IRRG, 63.09% on Potsdam-RGB→Vaihingen-IRRG, and 55.50% and 38.58% on LoveDA Rural→Urban and Urban→Rural (De-GLGAN). These numbers may not be directly comparable to ours: De-GLGAN's LoveDA figure exceeds the oracle LoveDA itself reports, which suggests backbone and protocol differences. We will therefore quote them as reported and, where feasible, reimplement De-GLGAN on our backbone. We will also test whether adding our veto on top of De-GLGAN helps, since the two act on different parts of training.
The input-channel baseline concatenates NDVI and normalized height onto the network input, in the style of HAE-RNet and Frank et al., and then runs the same self-training. It can only run on Potsdam-IRRG→Vaihingen, where both domains share the near-infrared band. It cannot run on Potsdam-RGB→Vaihingen, because the source lacks near-infrared.
Two ablations complete the set. The first replaces physics masks with random masks of matched coverage and confidence distribution, to show that physical content, not mere sparsification of pseudo-labels, drives any gain. The second uses hard masks in place of soft ones, to test the brittleness concern.
All runs share data splits, backbone, iteration budget and a fixed hyperparameter search of equal size, and are repeated over three seeds. Beating a baseline means a mean mIoU gain larger than the combined seed spread. The gain should also concentrate in classes the masks cover and be accompanied by measurably higher target pseudo-label precision. A gain without the precision increase would mean the mechanism is not what we claim.
Why not just…?
Why not just add NDVI and height as input channels and self-train as usual? This is the real threat on Potsdam-IRRG→Vaihingen, and we do not assume it loses there. Input channels help in-domain (HAE-RNet), but nothing forces the adapted network to respect them on target pixels where its confidence is misplaced. The input-channel baseline and our veto will be run head-to-head, and the combination of the two tested. On Potsdam-RGB→Vaihingen the alternative cannot be applied at all, because the source lacks near-infrared, while the veto needs the band only on the target. If channels match the veto where both apply, the contribution narrows to the missing-band setting, and we will say so.
Why not just raise the confidence threshold in ordinary self-training? Confidence and correctness diverge exactly where domain shift bites. Rural–urban transfer on LoveDA shows self-training still well below the oracle (LoveDA), and DCA reports its weakest gains on heterogeneous classes (DCA). The pseudo-label precision curves will show directly whether thresholding alone removes the same errors the veto removes. The random-mask ablation guards against the veto simply acting as a stricter threshold.
Why not just normalize colors, matching target histograms to the source? Histogram matching addresses the gain and offset part of the shift. The ratio index already neutralizes much of that, so the two partly overlap. Matching does nothing about changes in layout and class proportions between cities. We will include histogram-matched self-training as a baseline. If it closes most of the gap on Vaihingen, the physics masks' value lies mainly in their radiometric robustness, and a simpler method should be preferred.
Decisive Checks
Three results would settle the question. On Potsdam-RGB→Vaihingen-IRRG, the setting where input-channel priors are impossible, the veto must beat rerun CBST and DCA by more than seed variance, and should approach or exceed De-GLGAN's reported 63.09% mIoU under a matched backbone. On Potsdam-IRRG→Vaihingen-IRRG, it must beat the input-channel baseline, or else be honestly reported as tying it. Across both tasks, target pseudo-label precision must rise and stay higher over self-training rounds, while random masks of equal coverage yield no comparable gain. If the LoveDA stress test with only visible-band cues shows no gain, that marks the boundary of the method: physics referees need physically informative bands.
References
- The Role of Pleura and Adipose in Lung Ultrasound AI
- Computed tomography–based COVID–19 triage through a deep neural network using mask–weighted global average pooling
- Integrating Domain Knowledge Into Deep Networks for Lung Ultrasound With Applications to COVID-19
- Boosting Semantic Segmentation of Remote Sensing Images by Introducing Edge Extraction Network and Spectral Indices
- Deep Covariance Alignment for Domain Adaptive Remote Sensing Image Segmentation
- Decomposition-Based Unsupervised Domain Adaptation for Remote Sensing Image Semantic Segmentation
- FrogDogNet: Fourier frequency Retained visual prompt Output Guidance for Domain Generalization of CLIP in Remote Sensing
- SpectralX: Parameter-efficient Domain Generalization for Spectral Remote Sensing Foundation Models
- OSMDA: OpenStreetMap-based Domain Adaptation for Remote Sensing VLMs
- LoveDA: A Remote Sensing Land-Cover Dataset for Domain Adaptive Semantic Segmentation