Abstract
PolyMapper is an end-to-end deep learning framework that extracts topological maps of buildings and roads directly from aerial imagery as vector polygons. By treating map extraction as a vector prediction problem, it bypasses traditional pixel-wise segmentation and complex post-processing, producing clean, structured data ready for Geographic Information Systems (GIS).
Introduction
Automated mapping typically involves a two-step process: semantic segmentation to label pixels and post-processing to convert these masks into vector shapes. This approach often results in jagged edges and broken topologies. PolyMapper addresses this by treating map extraction as a direct vector prediction problem, handling both discrete closed shapes (buildings) and complex interconnected graphs (roads) within a unified architecture.
Methods
PolyMapper utilizes a CNN-RNN architecture to transform raw pixels into ordered sequences of vertices.
- Feature Extraction: A VGG-16 backbone with a Feature Pyramid Network (FPN) extracts features. A Region Proposal Network (RPN) identifies building instances, while roads are processed at the tile level.
- Maze-Solver Sequentialization: To represent road graphs as polygons, the model uses a "wall-follower" algorithm, traversing segments twice to create a closed loop suitable for RNN processing.
- Vertex Prediction: A multi-layer Convolutional LSTM (ConvLSTM) predicts the next vertex based on current and previous features, continuing until an end-of-sequence token is reached.
Results and Insights
PolyMapper was evaluated on crowdAI, RoadTracer, and a new custom dataset. It achieved an Average Precision (AP) of 55.7 on the crowdAI building dataset, significantly outperforming Mask R-CNN (41.9). For road networks, it produced graphs with 87% fewer vertices and edges than state-of-the-art methods while maintaining accuracy.
The model learns to produce sharp corners and right angles simply by observing training data, without explicit geometric constraints. This efficiency is reflected in its speed, processing image patches in under 0.4 seconds on a single GPU.
Conclusion
PolyMapper demonstrates that end-to-end vector prediction is a viable and efficient alternative to traditional segmentation pipelines. While performance slightly decreases for very large buildings due to fixed-size feature maps, the model's ability to learn implicit geometry and produce clean, GIS-ready data marks a significant advancement in automated cartography. Future work will explore explicit geometric constraints to further sharpen outputs across diverse architectural styles.
Summary updated