Patched Line Segment Learning for Vector Road Mapping

Jiakun Xu, Bowen Xu, Gui-Song Xia, Liang Dong, Nan Xue

Abstract

This paper presents a novel approach to computing vector road maps from satellite remotely sensed images, building upon a well-defined Patched Line Segment (PaLiS) representation for road graphs that holds geometric significance. Unlike prevailing methods that derive road vector representations from satellite images using binary masks or keypoints, our method employs line segments. These segments not only convey road locations but also capture their orientations, making them a robust choice for representation. More precisely, given an input image, we divide it into non-overlapping patches and predict a suitable line segment within each patch. This strategy enables us to capture spatial and structural cues from these patch-based line segments, simplifying the process of constructing the road network graph without the necessity of additional neural networks for connectivity. In our experiments, we demonstrate how an effective representation of a road graph significantly enhances the performance of vector road mapping on established benchmarks, without requiring extensive modifications to the neural network architecture. Furthermore, our method achieves state-of-the-art performance with just 6 GPU hours of training, leading to a substantial 32-fold reduction in training costs in terms of GPU hours.

Introduction

Converting satellite imagery into usable vector road maps is a critical task for navigation and urban planning. Researchers have developed PaLiS (Patched Line Segment), a new representation that simplifies this process. By predicting line segments within local patches instead of individual keypoints, the method achieves state-of-the-art accuracy while reducing training costs by a staggering 32-fold—slashing training time from nearly 200 GPU hours to just 6.

The Challenge of Vector Road Mapping

Vector road mapping involves converting pixel-based satellite images into symbolic graphs consisting of nodes and edges. Current state-of-the-art methods typically rely on keypoint-based representations, which suffer from two major flaws:

  1. Ambiguity: To capture curves, models often oversample points along a road. During training, it becomes unclear which specific pixel "belongs" to which keypoint, leading to "cluttered" predictions and slow convergence.
  2. Complexity: Keypoints are simple dots that lack inherent connectivity information. This necessitates additional, often heavy, neural network modules to determine the topology of the road network.
Keypoint-based methods often suffer from 'clutter' and ambiguity, especially along curved roads (red box), making training difficult.

The PaLiS Approach

The authors introduce the Patched Line Segment (PaLiS) representation. Instead of analyzing the entire image or individual pixels, the image is divided into a grid of non-overlapping patches (e.g., 8x8 pixels).

The PaLiS method uses a patched line segment representation (b, c) to provide clear geometric orientation and simplify graph construction.

The PaLiS Pipeline:

  • Patch Classification: Each patch is classified into one of four types: I-type (straight road), X-type (intersection/keypoint), T-type (overpasses), or Background.
  • Line Regression: For "I-type" patches, the model regresses the coordinates of two endpoints. Because a line segment has direction and orientation, it is more robust than a single point.
  • Differentiable Rasterization: This serves as a bridge between pixels and vectors. The model predicts vector line segments, which are then converted back into a blurry mask using a "soft rasterizer" to allow training with standard image labels.
  • Graph Construction: Since patches are grid-aligned, connecting segments is straightforward. If adjacent patches contain line segments, the algorithm snaps their closest endpoints together.

Key Insights: Why Line Segments?

  • Orientation Matters: A keypoint only provides a location $(x, y)$, whereas a line segment provides both location and orientation. This extra geometric hint significantly stabilizes the learning process.
  • Patching Resolves Ambiguity: By enforcing a "one segment per patch" rule, the model avoids the clutter seen in keypoint methods. It knows exactly what it is looking for in every 8x8 block.
  • Efficiency as the Killer App: A better geometric representation (PaLiS) is more effective than a more complex neural network. By simplifying the output format, the researchers used a lightweight backbone (ResNet-34) and still outperformed models that required weeks of training.

Experimental Results

The model was evaluated on the City-Scale and SpaceNet benchmarks. Key results include:

  • Massive Speedup: PaLiS achieves superior results in just 6 GPU hours, compared to the ~192 hours required by previous leaders like RNGDet++.
  • Superior Accuracy: On the City-Scale dataset, PaLiS achieved an APLS (Average Path Length Similarity) score of 68.12, outperforming previous point-based and mask-based methods.
  • Rapid Convergence: PaLiS reaches state-of-the-art performance levels within the first 1,000 iterations.

Limitations and Future Work

While highly effective, the performance of PaLiS is sensitive to patch size. Patches that are too large may miss complex structures, while those that are too small lose geometric context. Additionally, extremely complex multi-level interchanges remain a challenge for grid-based strategies. Future work may focus on learning endpoint coordinates directly from rasterized maps to scale road mapping globally without manual vector annotations.

Summary updated

BibTeX
@inproceedings{xu2024patched,
  author = {Jiakun Xu and Bowen Xu and Gui-Song Xia and Liang Dong and Nan Xue},
  title = {{Patched Line Segment Learning for Vector Road Mapping}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=qLaHkAiRD3},
}
Figure