[Paper Review] PolyBuilding: Polygon Transformer for End-to-End Building Extraction
PolyBuilding is a fully end-to-end polygon Transformer model that directly predicts vectorized building polygons from remote sensing images using a deformable Transformer encoder-decoder architecture. It jointly regresses polygon coordinates and classifies corner vertices, applying 1D non-maximum suppression to reduce redundancy, achieving state-of-the-art performance in pixel-level coverage, instance-level precision/recall, and geometric regularity on the CrowdAI dataset.
We present PolyBuilding, a fully end-to-end polygon Transformer for building extraction. PolyBuilding direct predicts vector representation of buildings from remote sensing images. It builds upon an encoder-decoder transformer architecture and simultaneously outputs building bounding boxes and polygons. Given a set of polygon queries, the model learns the relations among them and encodes context information from the image to predict the final set of building polygons with fixed vertex numbers. Corner classification is performed to distinguish the building corners from the sampled points, which can be used to remove redundant vertices along the building walls during inference. A 1-d non-maximum suppression (NMS) is further applied to reduce vertex redundancy near the building corners. With the refinement operations, polygons with regular shapes and low complexity can be effectively obtained. Comprehensive experiments are conducted on the CrowdAI dataset. Quantitative and qualitative results show that our approach outperforms prior polygonal building extraction methods by a large margin. It also achieves a new state-of-the-art in terms of pixel-level coverage, instance-level precision and recall, and geometry-level properties (including contour regularity and polygon complexity).
Motivation & Objective
- To develop a fully end-to-end method for direct vectorized building polygon prediction from remote sensing imagery, avoiding complex post-processing pipelines.
- To improve geometric quality of predicted buildings by ensuring sharp corners, straight edges, and low vertex redundancy.
- To address limitations of segmentation-based methods (blobby shapes) and multi-stage detection+regression methods (inflexible, error-prone).
- To unify input and output representation across multiple building instances using fixed-vertex sampling and learnable queries.
- To enable efficient, parallelizable training and inference on GPUs by leveraging the self-attention mechanism of Transformers.
Proposed method
- Extends Deformable DETR with a polygon regression head to predict vertex coordinate sequences for building polygons.
- Introduces a corner classification head that outputs confidence scores for each predicted vertex to identify true corners.
- Employs a uniform sampling encoding scheme to standardize ground truth polygons to a fixed number of vertices for all instances.
- Uses a two-phase training strategy to decouple location learning and corner classification for improved convergence.
- Applies 1D non-maximum suppression on corner scores to filter redundant vertices and refine polygon geometry.
- Performs bipartite matching between ground truth and predicted instances using bounding boxes as matching proxies.
Experimental results
Research questions
- RQ1Can a fully end-to-end Transformer-based model directly predict accurate, regular, and low-complexity building polygons from remote sensing images?
- RQ2How does joint regression of polygon coordinates and corner classification improve geometric fidelity compared to segmentation-based or multi-stage methods?
- RQ3To what extent can 1D non-maximum suppression reduce vertex redundancy while preserving corner accuracy?
- RQ4Does the use of fixed-vertex uniform sampling and learnable queries enable effective generalization across diverse building shapes and sizes?
- RQ5Can the model achieve superior performance in both instance-level detection and geometry-level regularity without relying on post-processing pipelines?
Key findings
- PolyBuilding achieves new state-of-the-art performance on the CrowdAI dataset in terms of pixel-level coverage, instance-level precision and recall, and geometry-level properties such as contour regularity and polygon complexity.
- The model significantly outperforms prior segmentation-based and multi-stage polygon extraction methods in both quantitative metrics and qualitative visual quality.
- The combination of polygon regression and corner classification enables the generation of polygons with sharp corners and minimal vertex redundancy.
- 1D non-maximum suppression effectively reduces redundant vertices near corners without degrading shape accuracy.
- Failure cases are primarily due to inaccurate vertex localization or NMS filtering on short edges, indicating room for improvement via geometric regularization losses.
- The model demonstrates strong generalization and robustness, with no observed polygon intersections in predictions despite no explicit non-intersection constraint.
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.