Satellite and aerial scenes are far too large for a GPU, so practitioners cut them into tiles, run a vision model on each tile separately, and stitch the outputs back together. Pixels near a tile's edge are predicted with half their surrounding context missing. The result is a visible grid of seams in segmentation maps, and objects such as roads, roofs, and field boundaries get split where a tile border crosses them. The standard fix is to make tiles overlap and average the overlapping predictions. That fix pays for the same pixels several times, and on country-scale imagery the extra compute is the main cost.
We propose to treat the tile seam as a blending problem, the same problem image-editing methods face when they paste a region into a picture without leaving a visible edge, and to solve it with a free training signal that overhead imagery provides. A top-down image has no privileged frame: any location can sit at the center of some tiling. So we can compute the frozen model's features for a location placed comfortably inside a tile and use them as a target for the features of the same location when it falls on a border. A small learned module then blends neighboring tiles' features only along the seams. It needs no labels and no overlapping passes, and it works under any downstream head. The remote sensing domain gap enters in two ways. Overhead imagery is the regime where this border-free target is valid, and we test whether natural-image pretraining makes border degradation worse on nadir data.
Core Claim
Edge degradation in tiled inference is a correctable, feature-level distortion. A frozen encoder can supply its own correction target through shifted tilings. A seam module trained this way, running once over non-overlapping tiles, should recover most of the accuracy of dense overlapping sliding windows for a small fraction of the extra compute. Concretely, for a token at location $s$ near a border, let $F_s$ be the frozen encoder's feature computed within its own tile and $N_s$ the feature strip from the adjacent tile across the seam. The module outputs
$$\hat F_s = \alpha_s \odot G(F_s, N_s) + (1-\alpha_s)\odot F_s ,$$
where $G$ is a small cross-attention block over a strip a few tokens wide on each side of the seam, and $\alpha_s\in[0,1]$ is a predicted per-channel blending weight. It is trained with
$$\mathcal{L} = \lVert \hat F_s - F^{\star}_s \rVert^2 ,$$
where $F^{\star}_s$ is the same frozen encoder's feature at location $s$, computed in a tile shifted so that $s$ lies at least $d$ tokens from every border. Here $d$ is chosen from the measured curve of feature drift against border distance.
The composition form comes directly from learnable alpha blending in inpainting. Deep Fusion Network for Image Completion predicts a completion and a soft alpha map to hide hole borders in natural photos. We reuse that mechanism but apply it to features at tile seams rather than pixels at a known hole, and we supervise it without ground truth.
Relation to Prior Work
Three lines of prior work motivate the gap without closing it. The Power of Tiling for Small Object Detection shows that tiling is essential for small aerial targets. Moving from downsampling to a 5x3 tiling raises VisDrone2018 mAP from 11% to 36%. It handles split objects only with 25% overlap and box merging, which cannot repair dense predictions and whose cost grows with overlap. Boundary Loss for Remote Sensing Imagery Semantic Segmentation explicitly notes that objects cut by tile borders hurt segmentation, but its fix is an output loss inside each tile, with no information exchanged across tiles. BASeg and SAM-Assisted Remote Sensing Segmentation sharpen object contours within single crops. The SAM-assisted method must itself tile SAM over large scenes to produce its priors, so seams leak into its supervision.
Two works supply ideas we adapt and also constrain the design. Tiled Diffusion enforces continuity by copying neighbor latents into a tile's padding during generation, cutting its Tiling Score from 0.29 to 0.03 on LAION captions. Two differences matter. It is generative and modifies every denoising step, whereas we correct a single discriminative forward pass. It also reports failure on cross-axis connections because latents lack rotation invariance. Nadir imagery has no preferred orientation, so we test, as an ablation, whether one seam module can be shared across all four edge orientations by rotating strips. High Quality Segmentation for Ultra High-resolution Images avoids tiling with a continuous coordinate decoder that refines masks on 2K–6K natural images. It assumes a salient central subject and refines a given coarse mask, while our setting has thousands of small structures and no subject.
On the domain gap, How to Efficiently Adapt Foundation Models to Remote Sensing for Object Detection? finds that parameter-efficient tuning of GLIP fails on DIOR and full tuning is needed. This is a constraint: a lightweight add-on cannot be expected to fix the backbone's semantics. We therefore target only the border distortion, not overhead semantics. Towards Geospatial Foundation Models via Continual Pretraining supplies a geospatially adapted backbone to contrast with natural-image ones. Neither paper studies tiled inference.
Research Program
The first step is measurement. Across a frozen natural-image encoder (DINOv3, as in BASeg), an ImageNet-22k Swin, and the continually pretrained geospatial model, we measure two curves on full aerial orthophotos rather than pre-cut chips. The first is feature drift against distance to the tile border: cosine distance between a token's in-tile feature and its centered-tile feature. The second is downstream segmentation accuracy against the same distance.
The domain-gap hypothesis is that photographers' framing gives internet-pretrained encoders a learned bias tied to position within the image. If so, the drift curve should be steeper for natural-pretrained encoders than for the geospatial one. This is falsifiable. If the curves match, the method stands as an efficiency contribution, and we report the hypothesis as unsupported.
The second step builds the seam module and trains it on unlabeled orthophotos with shifted tilings. The target choice needs one caveat. For encoders with absolute position embeddings, the centered-tile feature carries a different absolute position. We therefore define the target as "what this location looks like when the encoder sees it in the kind of position the downstream head was trained on." Downstream heads trained on random crops make this target appropriate.
The third step plugs corrected features into unchanged downstream heads for semantic segmentation. As a secondary probe, we also use them to produce the tiled SAM boundary priors used in the SAM-assisted pipeline, to check whether seam repair transfers to a second consumer of features.
Baselines
The naive reference is non-overlapping tiling with plain stitching, using the same frozen encoder and the same trained head. It sets the floor and defines what "seam error" means.
The strongest competitor is overlapping sliding-window inference with distance-weighted (Gaussian) averaging of logits. This is the dense-prediction descendant of the 25% overlap scheme in The Power of Tiling for Small Object Detection. It is the strongest competitor because it is what practitioners actually deploy, and with enough overlap it removes border effects almost entirely. We run it at stride ratios giving roughly 1.3x, 1.8x, and 4x the compute of non-overlapping tiling, with the same encoder, head, and tile size. The comparison is a compute–accuracy curve. Beating it means our method, at no more than about 1.15x non-overlapping compute, matches the accuracy and seam-consistency of the overlap setting that costs at least 1.8x. If overlap at 1.3x already matches us, the method has failed.
For reported context, the file gives full-tile-protocol-independent chip results: 93.85% IoU on ISPRS Potsdam for Boundary Loss, 91.08% mF1 and 84.01% mIoU on ISPRS Vaihingen for SAM-assisted FTUNetformer (SAM-Assisted Remote Sensing Segmentation), and 68.86% mIoU on GCD-25k for BASeg. These were measured on chip protocols that are not directly comparable to whole-scene tiled inference. No reported result was found on Lacuna for overlapping sliding-window segmentation on Potsdam or Vaihingen, so we produce that number ourselves.
Two further baselines complete the set. The first is a halo baseline: each tile is run with a border of extra context pixels that are then discarded. This is the non-learned analogue of Tiled Diffusion's padding slices, matched in extra pixels to our strip width. The second is Boundary Loss and BASeg's angle–Mahalanobis loss applied to the head. These represent output-space fixes and test the literature's tension over whether output losses suffice for seams.
Ablations isolate the key ingredient. The first replaces the self-distillation target with ground-truth labels only (a seam head trained supervised). The second removes $\alpha$ by using $G$ directly. The third trains separate modules per edge orientation versus one shared rotated module. The fourth gives $G$ the neighbor strip without the module's own tile features.
Why not just…?
Why not just use overlapping sliding windows? This is the real threat. It needs no training and works with any model. Its weakness is cost: the encoder reprocesses large areas several times, which The Power of Tiling for Small Object Detection acknowledges grows with the tiling. The compute-matched curve above settles it directly. If cheap overlap matches seam self-distillation, we will say so, and the contribution reduces to the diagnostic edge-drift study.
Why not just use bigger tiles? Larger tiles shrink the fraction of pixels near a border. However, attention cost grows faster than area, memory caps tile size, and stretching position embeddings beyond the pretraining resolution is itself a distribution shift. We include a larger-tile baseline at matched memory and report accuracy as a function of border distance. Bigger tiles should reduce how often seams occur but not the error at each seam. Our module targets the second quantity.
Why not just fine-tune the backbone with random crops so it stops caring about borders? How to Efficiently Adapt Foundation Models to Remote Sensing for Object Detection? suggests full tuning is what closes the overhead gap, and it may also flatten the edge-drift curve. We test this by measuring the curve after full fine-tuning on Potsdam. If border drift disappears, the method's value is limited to frozen-backbone settings like BASeg's, and possibly to cases where many tasks share one encoder. We will report that boundary honestly rather than claim generality.
Why not just blend outputs with Poisson editing or feathering? Natural Image Composition with Inhomogeneous Boundaries shows that Poisson blending bleeds color across mismatched boundaries, which is exactly what adjacent land-cover tiles are. Tiled Diffusion argues that post-hoc blending cannot realign broken structures. Feathered logits are nonetheless included, as the zero-overlap limit of the Gaussian-averaging baseline.
Decisive Experiments
The main evaluation uses whole orthophotos from ISPRS Potsdam and Vaihingen, plus LoveDA and INRIA Aerial Image Labeling for building footprints. GCD-25k tests cross-city transfer of a seam module trained in one city.
Metrics are mIoU and boundary F1, both reported separately for pixels within the seam band and overall. We add a tiling-consistency score: the fraction of pixels whose predicted class changes when the grid is shifted by half a tile, an analytic counterpart to Tiled Diffusion's Tiling Score. Cost is reported as encoder FLOPs and wall-clock time per square kilometer.
The decisive check is three-part. The first part is the Pareto comparison against overlapping windows. The second is that the seam-band accuracy gap to tile centers closes by at least half while center accuracy does not drop. The third is cross-city transfer of the label-free module.
The domain-gap check compares edge-drift slopes between natural-pretrained and geospatially pretrained encoders, and asks whether the module's gains are larger on the former. A secondary check rebuilds SAM boundary priors from repaired features on full Vaihingen scenes. It measures whether downstream SAM-assisted training improves near former seams.
References
- Deep Fusion Network for Image Completion
- The Power of Tiling for Small Object Detection
- Boundary Loss for Remote Sensing Imagery Semantic Segmentation
- BASeg: Boundary-Aware Remote Sensing Segmentation with Structural Penalties
- SAM-Assisted Remote Sensing Imagery Semantic Segmentation With Object and Boundary Constraints
- Tiled Diffusion
- High Quality Segmentation for Ultra High-resolution Images
- How to Efficiently Adapt Foundation Models to Remote Sensing for Object Detection?
- Towards Geospatial Foundation Models via Continual Pretraining
- Natural Image Composition with Inhomogeneous Boundaries