TL;DR
Align and Segment (AnS) is a novel unsupervised framework that trains semantic segmentation networks on spatially misaligned labels (e.g., satellite images paired with shifted OpenStreetMap data) without requiring any clean, "golden" ground-truth data. By jointly estimating an affine transformation matrix and predicting segmentation masks, AnS corrects systematic label shifts and delivers high-quality building footprints.
What Problem Does This Paper Address?
Training deep learning models for remote sensing tasks, such as building footprint extraction, requires massive amounts of accurately labeled data. While crowdsourced platforms like OpenStreetMap (OSM) provide global coverage, their vector labels are frequently misaligned with satellite imagery due to orthorectification errors, terrain variations, or sensor differences.
Standard segmentation networks possess high capacity and will easily overfit to these systematic biases, severely degrading their real-world performance. Existing solutions typically assume that label noise is small and unbiased, or they require a clean subset of "golden" labels to guide the alignment—a luxury that is unavailable in many resource-scarce regions.
Methods
The authors propose Align and Segment (AnS), a model-agnostic, plug-and-play framework consisting of two sub-networks trained simultaneously:
- SNet (Segmentation Network): A canonical semantic segmentation network (e.g., a U-Net with a frozen ConvNeXt-Tiny encoder) that predicts a clean segmentation mask directly from the input image.
- TNet (Transformation Network): A lightweight module inspired by Spatial Transformer Networks (using a ViT-Small architecture) that takes the misaligned label and SNet's predicted mask as inputs to estimate the parameters of an affine transformation matrix ($A_\theta$).
To prevent SNet from simply memorizing the misaligned labels (a phenomenon known as shortcut learning), AnS introduces two critical regularizers:
- Self-Supervised Consistency Loss ($L_{Con}$): TNet is independently tasked with predicting the inverse of a known, randomly applied transformation on the misaligned labels. This provides a stable learning signal early in training when SNet's predictions are still highly noisy.
- Geometric Data Augmentation: Applying random flips and discrete rotations ($90^\circ, 180^\circ, 270^\circ$) to the image-label pairs effectively cancels out systematic directional biases (e.g., a constant 50-pixel shift to the east) in expectation.
Datasets
The framework was evaluated on both synthetic and real-world datasets:
- Synthetic Datasets ($\mathcal{D}_{bias}$ and $\mathcal{D}_{uni}$): Derived from SpaceNet 2 imagery across Las Vegas, Paris, and Khartoum. $\mathcal{D}_{bias}$ simulates systematic noise by shifting all masks by 50 pixels along the x-axis, while $\mathcal{D}_{uni}$ applies uniformly sampled random affine transformations.
- San Juan Dataset: A real-world dataset combining SpaceNet 5 imagery with actual, uncorrected OpenStreetMap building footprints.
- ReBO Dataset ($\mathcal{D}_{ReBO}$): A real-world benchmark covering 41 cities globally, containing real misaligned OSM labels alongside manually verified "golden" roof/footprint labels used strictly for evaluation.
Key Insights and Ideas
- The Chicken-and-Egg Dilemma: Jointly learning alignment and segmentation is notoriously tricky. If left unchecked, a high-capacity segmentation network will happily learn shifted labels rather than forcing the transformation network to align them.
- Sequential Training Fails: You cannot simply pre-train the alignment network (TNet) because it expects clean masks, whereas the segmentation network (SNet) outputs highly noisy masks early on. Simultaneous, end-to-end training allows both networks to co-adapt.
- Augmentation as a Bias-Breaker: Simple geometric augmentations (like flipping an image) turn a systematic, biased dataset shift into an unbiased one, preventing the segmentation network from locking onto a constant directional error.
Key Results
- Outperforming Unsupervised Baselines: AnS significantly outperformed existing unsupervised methods (such as AutoCorrect and Map Alignment) in both segmentation quality ($IoU_{seg}$) and alignment accuracy ($IoU_{align}$) across all test cities.
- Competitive with Supervised Methods: On the real-world $\mathcal{D}_{ReBO}$ dataset, AnS achieved an $IoU_{seg}$ of 0.62 and an $IoU_{align}$ of 0.74, approaching the performance of fully supervised baselines that require clean training data.
- High Noise Robustness: Robustness tests demonstrated that AnS can successfully recover correct alignments even under massive spatial distortions—up to 100 pixels for random noise and 70 pixels for systematic bias.
Limitations and Future Work
- Blurry Boundaries: The framework currently utilizes a generic decoder without specialized post-processing, meaning the predicted building boundaries can sometimes appear structurally blurry.
- Affine Restriction: The current model is restricted to patch-level affine transformations (translation, rotation, scaling) and cannot handle complex, non-rigid local warping.
- Other Label Noise Types: AnS focuses purely on spatial misalignment; it does not account for other common label errors, such as missing annotations or entirely omitted buildings, which can still hamper training.
Summary updated