Abstract
This paper studies the problem of polygonal mapping of buildings by tackling the issue of mask reversibility that leads to a notable performance gap between the predicted masks and polygons from learning-based methods. We addressed such an issue by exploiting hierarchical supervision—comprising bottom-level vertices, mid-level line segments, and high-level regional masks—and proposed a novel interaction mechanism of feature embedding sourced from different levels of supervision signals to obtain reversible building masks. Our results show that these learned reversible masks leverage the advances of deep convolutional neural networks for high-performing polygonal mapping. Evaluated on the AICrowd and Inria benchmarks, our method obtains unanimous improvements on metrics including AP, AP_boundary, and PoLiS.
The Challenge of Mask Reversibility
In remote sensing, building footprints are required as polygons (vectors) for Geographic Information Systems (GIS). However, most deep learning models are optimized for semantic segmentation, which outputs pixel grids (rasters).
The transition from pixels to polygons is often problematic. Standard models prioritize the interior of a building to maximize accuracy scores, frequently resulting in "fuzzy" boundaries. When vectorizing these fuzzy masks, the results include jagged edges, rounded corners, and redundant vertices. This lack of mask reversibility means the predicted mask does not contain enough geometric truth to be easily converted back into its original polygonal form.
The HiSup Framework
The proposed HiSup (Hierarchical Supervision) framework solves this by forcing the neural network to learn geometry at three distinct levels simultaneously:
- Bottom-Level (Vertices): The model predicts specific building corners or junctions.
- Mid-Level (Line Segments): Instead of simple edge detection, HiSup uses Regional Attraction Fields (AFM). This represents line segments as a field that "attracts" nearby pixels toward the nearest edge, providing richer geometric context than a flat binary line.
- High-Level (Regional Masks): The standard pixel-wise classification of building versus background.
Cross-Level Interaction and Inference The model utilizes a Cross-Level Interaction module where mid-level AFM features enhance the features for both vertices and masks, ensuring the final mask is "shape-aware." During inference, a scheme called Mask-and-Vertices Attraction (MaV-Attr) is used. The system traces the predicted mask boundary and "snaps" those boundary pixels to the nearest high-confidence vertices, resulting in sharp polygons with minimal unnecessary points.
Key Insights and Ideas
- Geometry as a Regularizer: Mask quality improves when the network is forced to account for underlying geometry (points and lines) during training. This prevents the mask from degrading into a generic "blob."
- The Power of Attraction Fields: Simple edge maps are brittle. By using Attraction Fields, the model learns the direction and distance to the nearest edge for every pixel, making the representation robust to noise.
- Handling Complexity: Unlike previous point-based methods that struggle with complex shapes, HiSup can handle buildings with holes (like inner courtyards) because it refines a high-quality mask rather than attempting to connect dots from scratch.
Key Results
HiSup established new state-of-the-art records on the AICrowd benchmark:
- Average Precision (AP): Reached 79.4%, a significant increase over the previous best of 73.8%.
- Boundary Accuracy: On the
AP_boundarymetric, HiSup scored 66.5%, significantly outperforming the 50.0% held by previous methods like PolyWorld. - Polygon Quality: It achieved the lowest (best) score on the PoLiS metric (0.726), measuring the physical distance between predicted polygons and ground truth.
- Efficiency: The method produces concise polygons, using the minimum number of vertices necessary, which is critical for large-scale GIS databases.
Limitations and Future Work
While highly effective, the model occasionally misses very small building fragments near the edges of image tiles. Additionally, the hierarchical supervision requires preprocessing training data to extract vertices and attraction fields. Future research may extend this hierarchical embedding approach to other man-made structures, such as road networks or land parcels, where geometric precision is equally vital.
Summary updated