Paper commentary
ShadowTransfer: A Geographic Transfer Benchmark for Overhead Shadow Detection
Overhead shadow detectors lose accuracy when tested in a city they never saw
- Problem Shadow detectors trained in one city lose accuracy in another, and no benchmark measured this shift. Existing shadow datasets lack a cross-city test or rely on automatic labels.
- Method ShadowTransfer pairs 4,500 human-verified shadow masks across three U.S. cities with a leave-one-city-out protocol. Two cities train the model and the third tests it, rotating through all three.
- Results Holding out the test city costs 3.5 to 7.8 mIoU across four architectures under vanilla training.
Why shadow models fail in a new city
Shadow masks feed several overhead pipelines, including solar irradiance estimation, urban heat mapping and building footprint extraction. Those pipelines are often trained on one region and then deployed in another, so the training city is rarely the city where the model is used. Overhead shadow detection, however, has no comparable evaluation setup for this kind of shift.
AISD is the largest human-verified overhead shadow dataset, with 514 images, but it defines no train-test split across cities. S-EO is far larger, with roughly 19,000 images, but its masks come from digital surface models and sun geometry, and it reports no geographic holdout either. The in-domain benchmark also looks saturated, since recent methods report F1 scores within about one point of each other on AISD.
The open question is therefore how a model behaves on a city it never saw during training, and that is what the authors set out to measure.
A benchmark that holds one city out
The authors keep both native resolutions instead of downsampling the 0.3 m imagery, because NAIP releases them as separate acquisitions with different sensor characteristics.
Under leave-one-city-out (LOCO), two cities train the model and the third tests it, and three rotations cover all three cities. The cities differ in urban morphology and climate, so a held-out city is an appearance shift rather than a near copy of the training scenes. Co-located coordinates give 300 paired patches per city, which allows analyses that compare the two resolutions.
Masks are drawn by seven annotators in three phases: manual drawing first, then edits to predictions from an interim detector, then a retroactive quality-control pass. Shadow boundaries are imprecise, and about 3% inter-annotator disagreement remains after quality control, so the authors score with a boundary tolerance.
How large the gap under vanilla training is
The gap is measured against a within-city upper bound, where the model is tested on a city it was trained on. On DINOv3 the vanilla model scored 70.0 mIoU, compared to an upper bound of 77.6. The loss shows up across all four architectures, so it is not a quirk of one model.
The authors tested eight adaptation methods, and six of them degrade more than vanilla training on average.
A natural objection is that the gap reflects too little training data, so the authors grew the LOCO training set from 225 to 900 images. The gap narrows by 0.80 mIoU, with a 95% CI of 0.46 to 1.14, and the upper bound stays significantly ahead in every 900-image cell. More data helps only a little, and the gap remains significant at 900 images.
Three probes that locate the failure
The three-probe framework asks where the shift acts, how the prediction distribution distorts, and which architectural components carry the failure. The first probe places the failure in feature space, which pixel-histogram matching doesn't reach. The second probe looks at confidence, and it needs a probability-based metric to show what happens there.
On shadow pixels the foreground gap is +0.136, while the background gap is +0.006. So the shift collapses confidence on shadow pixels, while background confidence holds.
Cross-entropy AURC depends on the probability values, and its foreground gap is +0.315, compared to +0.136 for 0/1 AURC, a factor of 2.3. Temperature scaling fitted on the source-city validation split is indistinguishable from no calibration, with a paired Wilcoxon p = 0.19, and it degrades 26 of 63 cells.
Which architectural component carries the failure
Recovery is measured by a per-image ratio R, and images with a within-city gap below 0.02 are excluded to avoid dividing by near zero.
The authors read this as an architecture-dependent locus rather than one failure point shared by all models.
The authors argue that the locus predicts which methods will fail on a given architecture before they are run.
SIB: a module built from the three findings
SIB sits between the encoder and the decoder and splits the encoder features into four Haar subbands. Its content and edge subbands pass through variational information bottlenecks, while the diagonal subband passes through unchanged. The authors built one component per finding, so the design follows the diagnosis rather than a generic recipe.
The Haar step has no learned parameters and is perfectly invertible, so the split and recombination don't add learned distortion. For the content band, two 1×1 convolutional MLPs give a per-pixel mean and log-variance, and training samples \(Z_{LL}=\mu_{LL}+\epsilon\cdot\sigma_{LL}\) with \(\epsilon\sim N(0,I)\), while inference uses the mean only.
The KL penalty on the content latent is weighted by \(\beta_{\text{content}}(x)=\beta_{\text{base}}+\beta_{\text{scale}}\cdot\sigma(\text{MLP}(I_{\text{local}}(x)))\), where \(I_{\text{local}}(x)\) is the local mean intensity around location x.
For CNN backbones only, SIB also applies FDA as input preprocessing with spectral radius 0.005 and adds a 3×3 contrast channel. The training loss adds the two band-specific KL terms to the segmentation loss, and these terms ramp up over the first 10% of iterations.
At deployment, the threshold is the largest coverage \(c\) on the source-city validation split for which \(\text{err}_{\text{val}}(c)\le(1-\tau)\,\text{err}_{\text{val}}(1.0)\), with \(\tau=0.5\). The coverage grid runs from 0.10 to 1.00, and no held-out labels enter this step.
Does SIB close the gap?
Over the nine architecture-city cells, SIB's mean gap to the upper bound is 6.42 mIoU, with a 95% CI of 5.01 to 7.96. FDA's mean gap is 6.47, and the difference of +0.05 has a CI of −0.42 to +0.49. So SIB matches FDA on mean gap rather than clearly beating it, although it has the smallest gap among vanilla and the eight adaptation methods.
SIB's worst cell is OGLANet on Miami, at 10.41 mIoU, while FDA's worst cell is DINOv3 on Phoenix, at 9.10. That difference of +1.31 has a CI of −1.01 to +3.65, so the two worst cases can't be separated. SIB uses unlabeled target-city images on its CNN backbones through FDA, and FDA and SegDeSiC use them in every cell. SIB's gap is significant in all nine cells.
On OGLANet, removing skip attention gates costs 2.06 mIoU, and compressing the FHL band in place of FLL costs 1.99. Removing the content VIB costs 1.01 mIoU on OGLANet, while on MAMNet removing the gates changes mIoU by +0.23, which is not significant. Removing the Haar decomposition on DINOv3 gives −23.49 mIoU, but that run predicts almost no shadow on nearly every Chicago and Miami image, so it records a training collapse rather than the component's effect.
A drop on removal supports keeping a component, but it doesn't show that the component helps in every setting.
The deployment-time recipe reduces selective shadow error on all nine cells, with a mean change of −0.199 and a paired Wilcoxon p = 0.002. The authors report that this holds across the thresholds they tried, which is the only label-free recipe they identify that recovers within-city quality.
Does the diagnosis hold beyond shadows
The authors test this on INRIA building footprints with the same three-city LOCO structure and 750 patches per city, split 450, 150 and 150. MAMNet is trained from scratch with the shadow hyperparameters, and its upper bound lands between 0.74 and 0.81 across cities.
The foreground SP gap, the foreground-versus-background asymmetry and the cross-entropy under-reporting all point the same way on all six cells, with Cohen's d above 1.1. The predicted-positive logit erosion holds in direction on five of six cells.
The authors attribute this to which class is the majority, sparse foreground in shadows and dense foreground in INRIA. So they keep the ECE result scoped to shadow and treat the other findings as properties of LOCO across dense prediction.
Limits of the evidence
The authors describe where the failure sits and which component recovers it, but they don't isolate a causal mechanism connecting the two. DINOv3's decoder locus can't be attributed to its ViT architecture alone, because no CNN in the tests matches its pretraining scale.
The OGLANet reimplementation rebuilds its 20 downsampling convolutions on every forward pass, so inference depends on the random state and batch size. The reported confidence intervals don't include this variation.
The DINOv3 Haar ablation collapsed during training, so its −23.49 mIoU row doesn't isolate the decomposition. The class-stratified ECE result holds for shadow only, because its direction flips on INRIA.
Paper info
- Authors
- Shagun Mittal, Raymond A. Yeh, Satish Ukkusuri
- Venue
- arXiv · Preprint
- First published
- 2026-11-18
- Added
- 2026-11-20
- Updated
- 2026-11-18
- Version
- v1
- arXiv
- 2611.24904
- Category
- cs.CV
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
Overhead aerial imagery feeds dense-prediction pipelines that are routinely trained in one geographic region and deployed in another, yet no benchmark measures how shadow detection models transfer across regions. Existing overhead shadow datasets either lack a geographic transfer protocol or rely on automatically generated labels. We introduce ShadowTransfer, a benchmark of 4,500 human-verified shadow masks across three U.S. cities at two native resolutions, paired with a leave-one-city-out evaluation protocol. Under vanilla training, holding out the test city costs 3.5 to 7.8 mIoU across four architectures, the gap remains significant when the training set grows from 225 to 900 images, and six of eight adaptation methods degrade more than vanilla training on average. We propose a three-probe framework that diagnoses where and how the transfer breaks: the failure operates in feature space, beyond the reach of pixel-histogram matching, shows up as a confidence collapse on shadow pixels while background confidence stays intact, and is recoverable by retraining different architectural components depending on the model: encoder for some, decoder for others. These findings replicate on INRIA building footprints, suggesting they describe geographic transfer beyond shadows. Guided by the diagnosis, we build Spectral Information Bottleneck (SIB), a plug-in module with one component per finding. Across the 9 (architecture, held-out city) cells, SIB has the smallest mean gap to the within-city upper bound of the ten methods we evaluate (6.42 mIoU), level with FDA. The benchmark, LOCO protocol, code, and trained models are released to support reproducible evaluation of geographic transfer in overhead dense prediction.
Quote from the paper
Shagun Mittal, Raymond A. Yeh, Satish Ukkusuri (2026). ShadowTransfer: A Geographic Transfer Benchmark for Overhead Shadow Detection. arXiv:2611.24904v1. https://arxiv.org/abs/2611.24904v1
BibTeX
@misc{mittal2026shadowtransfer,
title = {{ShadowTransfer: A Geographic Transfer Benchmark for Overhead Shadow Detection}},
author = {Shagun Mittal and Raymond A. Yeh and Satish Ukkusuri},
year = {2026},
eprint = {2611.24904},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.24904v1}
}