TL;DR
PolyTopoBench is a new, large-scale benchmark designed to evaluate how well AI models generate vector polygons from remote sensing imagery, with a specific focus on complex polygons containing interior rings (holes). The study reveals a significant gap in current technology: while existing models are decent at outlining exterior boundaries, they largely fail to capture internal structures like courtyards or traffic islands, leading to topologically incorrect maps.
What Problem Does This Paper Address?
In the world of remote sensing, converting satellite or aerial images into editable vector maps is crucial for urban planning, autonomous driving, and disaster response. Most research to date has focused on "simple polygons"—single closed loops representing an object's outer boundary. However, real-world geography is rarely that simple. Buildings have courtyards, roads encircle islands, and land parcels contain holes belonging to other categories.
The authors argue that missing these "interior rings" isn't just a minor detail; it fundamentally misrepresents the spatial function and area of objects. Furthermore, current evaluation metrics like Average Precision (AP) or Intersection over Union (IoU) are "ring-agnostic." A model can achieve a near-perfect score by correctly identifying an object's outer boundary while completely ignoring every hole inside it. PolyTopoBench aims to close this gap by providing a unified framework that explicitly penalizes topological failures.
Methods
The researchers developed a unified evaluator that benchmarks 11 representative methods across four distinct families:
- Segmentation-then-polygonization: Traditional pipelines that predict a raster mask (e.g., U-Net, Mask R-CNN) and then simplify the contours into vectors.
- Foundation model-based: Using large-scale models like SAM2 to generate masks, followed by polygonization.
- Learned representation-to-vector: Models that predict intermediate geometric features like vertices or "frame fields" (e.g., HiSup, ACPV-Net) to reconstruct polygons.
- Direct vector decoding: End-to-end models that attempt to output vertex sequences or graph structures directly (e.g., Pix2Poly, PolyWorld).
To measure success, the paper introduces two novel metrics:
- Hole-F1: Treats each interior ring as a detection object, measuring the model's ability to find and correctly shape individual holes.
- Topo-EM (Topology Exact Match): A strict instance-level check. A prediction only scores a "1" if it is a valid polygon with the exact correct number of holes, all correctly matched to the ground truth.
Datasets
PolyTopoBench utilizes two primary high-resolution aerial datasets, totaling nearly 300,000 polygon instances, including over 10,000 complex polygons and 42,000 interior rings:
- Inria Building Dataset: The authors took the original building masks and aligned them with OpenStreetMap (OSM) vector data, manually correcting them to ensure accurate interior rings (courtyards).
- Deventer Land-Cover: A multi-class dataset covering roads, vegetation, and unvegetated regions, which naturally contain high densities of complex topological structures.
Key Insights and Ideas
- The "Region-Topology Gap": A high region-overlap score (AP50) does not guarantee topological correctness. Models often achieve high scores while failing to recover a single hole.
- Complexity Penalty: As the number of holes ($H$) in a polygon increases, model performance drops precipitously. Figure 2 in the paper illustrates this "simple-to-complex" generalization failure across all method types.
- Segmentation vs. Direct Decoding: Segmentation-based pipelines are currently the most robust because their region-first training signal transfers well across different complexities. However, they often produce "noisy" or jagged vectors. Direct decoders, while elegant, often collapse entirely on dense, complex scenes they weren't originally designed for.
- Holes as Semantic Signal: Missing a hole isn't just a geometric error; it's a semantic one. In land-cover mapping, a hole in a "vegetation" polygon might be a building or a pond—missing it misidentifies the land use.
Key Results
The benchmarking results show that complex polygon generation remains an unresolved challenge:
- On the Inria Building task, while Mask R-CNN achieved a strong AP50 of 0.720, its Hole-F1 was a dismal 0.167. In contrast, the representation-based ACPV-Net led in hole recovery with a Hole-F1 of 0.527.
- On the Deventer Road task—the most complex in terms of holes per instance—the best Topo-EM score across all models remained below 0.15, meaning models failed to perfectly capture the topology of 85% of the road instances.
- Direct methods (like Pix2Poly and PolyWorld) struggled significantly, often producing fragmented instances or failing to generate any output for dense patches, resulting in AP50 scores near zero.
Limitations and Future Work
The authors acknowledge several limitations: the benchmark is currently limited to single-class tasks, and the ground-truth annotations may inherit some noise from OpenStreetMap or the original raster labels.
Future research directions suggested by the paper include:
- Direct Supervision: Moving beyond binary masks to explicitly supervise interior rings and their topological roles during training.
- Constrained Decoding: Enforcing polygon validity (e.g., no self-intersections) and ring containment (holes must be inside the exterior) directly within the model architecture.
- End-to-End Integration: Better joining of object proposal modules with vector decoders to handle dense, complex scenes more effectively.
Summary updated