[Paper Review] GeoFormer: A Swin Transformer-Based Framework for Scene-Level Building Height and Footprint Estimation from Sentinel Imagery
GeoFormer jointly predicts scene-level building height and footprint on a 100 m grid using Sentinel-1/2 and open DEM data, with strong cross-city generalization and open-release of code and models.
Accurate three-dimensional urban data are critical for climate modelling, disaster risk assessment, and urban planning, yet remain scarce due to reliance on proprietary sensors or poor cross-city generalisation. We propose GeoFormer, an open-source Swin Transformer framework that jointly estimates building height (BH) and footprint (BF) on a 100 m grid using only Sentinel-1/2 imagery and open DEM data. A geo-blocked splitting strategy ensures strict spatial independence between training and test sets. Evaluated over 54 diverse cities, GeoFormer achieves a BH RMSE of 3.19 m and a BF RMSE of 0.05, improving 7.5% and 15.3% over the strongest CNN baseline, while maintaining under 3.5 m BH RMSE in cross-continent transfer. Ablation studies confirm that DEM is indispensable for height estimation and that optical reflectance dominates over SAR, though multi-source fusion yields the best overall accuracy. All code, weights, and global products are publicly released.
Motivation & Objective
- Motivate the need for scalable, global-scale 3D urban data at 100 m resolution using open data sources.
- Develop a joint BH and BF estimation model that works with Sentinel-1/2 and DEM inputs.
- Ensure spatially independent training/testing splits to robustly evaluate generalization across cities.
- Demonstrate the effectiveness of a Swin Transformer-based multi-task architecture for urban morphology mapping.
- Provide open-source code, weights, and global products for broad reuse.
Proposed method
- Propose GeoFormer, a Swin Transformer-based multi-task model for joint BH and BF prediction at 100 m resolution.
- Fuse multi-source inputs (Sentinel-1 SAR, Sentinel-2 optical, and DEM) into an 8-channel tensor.
- Use 3×3, 5×5, or 9×9 context windows around a central 100 m cell to learn contextual features.
- Extract the center token from Swin outputs and apply two task-specific heads (BH regression with ReLU; BF via sigmoid).
- Train with an uncertainty-weighted multi-task loss combining Adaptive Huber losses for both tasks.
- Adopt a spatially aware data partitioning strategy (GeoSplit) to ensure strict train/test independence and prevent leakage.
Experimental results
Research questions
- RQ1Can a Swin Transformer-based multi-task model jointly predict building height and footprint at 100 m grid resolution using only Sentinel imagery and open DEM data?
- RQ2How does multi-source data fusion (SAR, optical, DEM) affect BH and BF estimation accuracy compared to single-modality baselines?
- RQ3What is the impact of receptive-field size on BH/BF accuracy and generalization across diverse urban morphologies?
- RQ4How well does the model generalize across cities, continents, and post-disaster scenarios without relying on proprietary data or vector inputs?
- RQ5What role does DEM play in height estimation versus footprint estimation?
Key findings
- GeoFormer achieves BH RMSE of 3.19 m and BF RMSE of 0.050 on 54 cities, outperforming the strongest CNN baseline by 7.5% (BH) and 15.3% (BF).
- 5×5 receptive field offers the best overall BH/BF accuracy and generalization among tested context sizes.
- Ablations show DEM is indispensable for height estimation, optical data dominates over SAR for height retrieval, and multi-source fusion yields the best overall accuracy.
- Cross-city, cross-continent, and post-disaster evaluations demonstrate robust generalization of the 100 m GeoFormer method.
- Removing model capacity beyond a point leads to overfitting and poorer generalization; excessive context can cause over-smoothing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.