Sat2Graph: Road Graph Extraction Through Graph-Tensor Encoding

Songtao He, Favyen Bastani, Satvat Jagwani, Mohammad Alizadeh, Hari Balakrishnan, Sanjay Chawla, Mohamed M. Elshrif, Samuel Madden, Mohammad Amin Sadeghi

Extracting road networks from satellite imagery is a cornerstone of modern cartography, essential for everything from autonomous vehicle navigation to disaster response. Traditionally, researchers have approached this as either a "coloring" problem (pixel-wise segmentation) or a "tracing" problem (iterative graph construction).

In their paper "Sat2Graph: Road Graph Extraction through Graph-Tensor Encoding," researchers from MIT and other institutions propose a third way. By introducing a novel encoding scheme, they allow standard neural networks to "see" and predict entire road graphs—including complex multi-level overpasses—in a single pass.

The Challenge of Road Extraction

Inferring a road graph (nodes and edges) from a satellite image is notoriously difficult. Existing solutions generally fall into two camps, both with significant flaws:

  1. Segmentation-based approaches: These treat the task like a semantic segmentation problem, predicting which pixels are "road." While they have a wide "receptive field" (they see the big picture), they produce noisy results. Turning these pixel blobs into a clean graph requires messy post-processing like "morphological thinning," which often breaks connectivity.
  2. Graph-based (Iterative) approaches: These act like a person tracing a map, adding vertices and edges one by one. While they produce better connectivity, they are slow and suffer from "local-sightedness." If the model makes one wrong turn early on, the error propagates, leading to a broken map.

Furthermore, almost all prior work assumes the world is flat. They struggle with stacked roads (overpasses and underpasses), often incorrectly merging them into a single junction.

Methods: The Sat2Graph Approach

The core innovation is Graph-Tensor Encoding (GTE). Instead of asking a network to output a 2D image of roads, the authors train it to output a 3D tensor that represents the graph structure directly. This allows for a holistic, one-shot inference process.

The Sat2Graph workflow: from satellite imagery to a road graph in one step.

The GTE Secret Sauce

Imagine a grid over a satellite image. For every cell in that grid, the GTE tensor stores:

  • Vertexness ($p_v$): The probability that a road vertex (an intersection or a point on a road) exists in that cell.
  • Edgeness ($p_{ei}$): For six different angular sectors (each 60 degrees), the probability that an edge is "leaving" this cell.
  • Relative Position ($dx_i, dy_i$): The coordinates of where that edge ends relative to the current cell.
The Graph-Tensor Encoding (GTE) scheme, representing road geometry and topology in a 3D tensor.

Because the model predicts edges as vectors originating from a point, it can represent two roads crossing at different heights without them sharing a node. This vector-based approach naturally allows Sat2Graph to handle overpasses, breaking the "planar barrier" that limits most other models.

Workflow and Implementation

The authors use a Deep Layer Aggregation (DLA) backbone—a standard CNN architecture—to predict this tensor. During training, ground-truth road graphs are converted into the GTE format. During inference, the CNN predicts the tensor, and a simple decoding algorithm identifies local maxima in the "vertexness" map to find nodes, then uses the "edgeness" vectors to snap those nodes together into a final graph.

Key Results and Performance

The model was evaluated on the City-Scale Dataset (720 $km^2$ across 20 U.S. cities) and the SpaceNet Roads Dataset. The researchers used two main metrics: TOPO (measuring sub-graph similarity) and APLS (measuring the quality of shortest paths).

  • Superior Accuracy: Sat2Graph outperformed all baselines. On the City-Scale dataset, it achieved a TOPO $F_1$ score of 76.26%, compared to RoadTracer’s 66.16%.
  • Better Connectivity: On the APLS metric, which is highly sensitive to broken connections, Sat2Graph scored 63.14, significantly higher than the next best baseline (57.29).
  • Overpass Detection: It successfully identified overpasses with 83.11% precision, a feat previous models simply couldn't attempt.

Limitations and Future Work

While Sat2Graph is a major step forward, the authors note that the recall for stacked roads is only ~50%, as the model often misses small roads hidden in the shadows of wide highway overpasses. Additionally, label inconsistency in ground-truth data can lead to slight instabilities on long, straight road stretches. Future work may involve adding "discriminative loss" functions to further refine the predicted graph structure and improve the detection of occluded roads.

Summary updated

BibTeX
@inproceedings{he2020sat,
  author = {Songtao He and Favyen Bastani and Satvat Jagwani and Mohammad Alizadeh and Hari Balakrishnan and Sanjay Chawla and Mohamed M. Elshrif and Samuel Madden and Mohammad Amin Sadeghi},
  title = {{Sat2Graph: Road Graph Extraction Through Graph-Tensor Encoding}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58586-0\_4},
}
Figure