SpaceNet Speedrun · Part 2 of 2 · Roads

Can AI from 2026 map roads from space better than the 2018 champion?

Yes, by a small margin that holds up statistically. Finding out took more than a leaderboard lookup: we had to rerun the 2018 winner's own code on the same images.

Part 1 asked the same question about buildings: SpaceNet Buildings Speedrun (public copy on Hugging Face).

The short version

The task. SpaceNet was a public competition series (2016 to 2020) that asked teams to turn satellite photos into maps. In 2018, SpaceNet 3 asked for the road network of four cities (Las Vegas, Paris, Shanghai and Khartoum) from 30 cm imagery, where one pixel is about a ruler's length.

The score. A road map is only useful if you can navigate with it. So the challenge did not count pixels. It picked thousands of pairs of points and asked whether the shortest route between them on your map is as long as on the true map. A perfect map scores 1.0. One missing stretch of road can break many routes at once.

0.636
the 2018 winner's code, rerun on our test images
0.636
one 2026 AI model, same images: a tie
0.661
our final system, five models averaged
$95
total GPU cost of the whole study

What we learned

  1. Compare like with like. The 2018 leaderboard said we were behind. Run on the same images with the same scoring, the old winner and one new model tie.
  2. The one idea that worked was teaching the AI where roads end (more below).
  3. One model can map buildings and roads together for a small loss of accuracy, but training them together does not make either better.
  4. Roads don't travel well. A model trained on four cities found almost no roads in snowy Moscow.
  5. The same model can also draw main roads only, leaving out parking lanes and driveways, at no cost to the full map. Scored on main roads, that map beats the every-road map by 0.12.
  6. It scales to a whole city. The final system mapped 4,000 km of Las Vegas roads, and a 2,800 km main-roads map alongside, in about an hour for $3. On streets nobody had checked, it agrees with OpenStreetMap as well as where we could check it.
★ The one idea

Teach the AI where roads really end

Most of the score is lost at road ends. A road hidden by trees shows up as a gap, which breaks every route through it. A road that stops in real life but runs on in the map adds a fake route. Simple rules cannot tell the two apart, so fixing one kind of error creates the other.

So the model learned one more thing: to mark the places where a road truly ends. When the map has a loose end, it checks that mark. If the model says "real dead end", the end stays. If not, the map treats it as a gap and joins it to the road ahead.

½
broken-road errors, cut in half
+0.02
score gain, repeated on three different models

Is it new?

Partly. We checked the 2018 and 2019 winning code and recent research.

  • Already done in 2018–19: extra outputs for road junctions (SpaceNet 3 runner-up cannab; SpaceNet 5 entries by cannab and selim_sef), and joining gaps where the road map supports it (cannab, 2018). In those entries the junction maps helped training; we found no sign they were used to repair the map.
  • In research since: models that predict road end points as map keypoints, such as PaRK-Detect (2023) and KDGraph (2024), and link nearby loose ends.
  • What we did not find elsewhere: a model output for true dead ends, used to decide for each loose end whether to keep it, join it or remove it. Our search was not exhaustive, so read this as a small twist on known ideas, not a breakthrough.
On the map: the image where it helps most. without it, 0.67 · with it, 0.84 · where the model thinks roads end.

The work was done end to end by an AI coding agent (Claude Code) on rented cloud GPUs, from data preparation to this page. Scroll on for the details. The images on the right are real test images with the true roads and each model's map.

01 The data

Roads and buildings come from the same photos

The road images are the building images from Part 1, joined four at a time. That matters: a model must never practise on photos it is later tested on. So we set aside whole 400 m blocks for testing, for both tasks at once.

  • 2,032images to learn from
  • 599images held back for the final test, never seen in training
On the map: one test image and the four building images inside it. building test image · true roads and buildings
02 The score

Small errors in the wrong place cost a lot

Because the score is about routes, a short gap can matter more than a long road drawn slightly off. We tested the scorer on the true map with damage added:

  • 0.99whole map shifted 2 m: barely matters
  • 0.32shifted 6 m: most routes no longer line up
  • 0.52a 10 m gap at the start of each road
On the map: a typical Las Vegas test image. true roads · one model's map.
03 First try

Reusing the buildings model looked 0.03 short

In Part 1, a modern model beat the 2017 buildings winner easily. We gave the same model one extra output for roads. It scored 0.636, against 0.666 for the 2018 winner on the official leaderboard.

Show as table
On the map: a typical Shanghai test image with the first model's map in blue.
04 A closer look

The leaderboard number was not a fair comparison

The 2018 score came from a different, secret test set. And the official scoring code has settings that move the same map's score from 0.57 to 0.66:

Show as table

The 2018 road winners also already used modern methods. Unlike buildings, there was no easy gap to close.

On the map: a typical Khartoum test image. Look at where the roads stop.
05 Head to head

We reran the 2018 winner's code. It's a tie.

The 2018 winner, Alexander Buslaev ("albu"), published his code. We ran it unchanged on our images: his training, his four models, his map-building steps. Only the 2018 software setup had to be replaced, because it no longer runs on today's GPUs.

  • 0.636his system on our test images
  • 0.636our single model on the same images

Our test set is simply harder than the official one. One 2026 model matches his team of four.

On the map: a Paris image where his map beats ours.
06 The new idea at work

Road ends, case by case

On this Paris image the plain map breaks several streets into pieces. The road-end marks (pink) show which loose ends are real. The rest get joined, and the score rises from 0.67 to 0.84.

Across all 599 test images, the gain is about 0.02 on each of three models we tried it on. More context and higher resolution, by contrast, changed nothing.

On the map: before · after · predicted road ends.
07 Result

Final score 0.661, ahead of the 2018 winner

Like the 2018 winners, we averaged several models: five, plus the dead-end idea. Same images, same scoring:

Show as table

The lead is +0.025, and we're 95 % confident it is above zero. It is biggest in Khartoum. The 2018 winner is still slightly ahead in Paris.

On the map: a Shanghai image, ours 0.79 against 2018 0.67.
08 One model for everything

Buildings and roads in one model: cheap, not better

We also trained one model to find buildings and roads together, across all six SpaceNet datasets. It loses about 1 to 2 points on each task compared with specialists, and replaces six separate models.

On the map: the combined model's roads and buildings.
09 New cities

A model from four cities fails in Moscow snow

SpaceNet 5 (2019) added Moscow and Mumbai. Our four-city model scored 0.06 there, and 0.02 in Moscow's winter image. Training on all the cities fixed it (0.54). AI maps still need training images that look like the place being mapped.

On the map: Moscow. four-city model · model trained with Moscow.
10 The whole city

4,000 km of Las Vegas roads in an hour

The test images are small squares. To see a real road network, we ran the final system over the entire satellite image they were cut from: a strip about 15 by 16 km.

  • 3,999km of road found, in 74 minutes of cloud GPU time
  • 2,821km of it main roads, drawn by the same run
  • $3.09total cost of the run

To judge it where no answer key exists, we compared it with OpenStreetMap, the volunteer-built world map (here via Overture Maps, which takes 97 % of its Las Vegas roads from OpenStreetMap).

On the map: the whole strip. our road network · OpenStreetMap. Pink without teal is a road only OpenStreetMap has. Turn on main roads in the panel. Zoom in with the mouse or by pinching.
11 Checking it

It holds up on streets nobody labelled

First we measured both maps where SpaceNet's hand-drawn answer key exists. Our map matches it better than OpenStreetMap does. So where the two disagree, OpenStreetMap is not always the one that is right.

0.83
our map vs the answer key
0.70
OpenStreetMap vs the answer key
0.76
ours vs OpenStreetMap, where the key exists
0.75
ours vs OpenStreetMap, on ground SpaceNet never labelled

The last two numbers match. On never-labelled ground, 94 % of our roads lie on OpenStreetMap roads and we cover 84 % of theirs, the same as where we can check. About half of what we "miss" is drawing style: OpenStreetMap draws divided roads as two lines, one per direction, where we draw one down the middle, as SpaceNet does. The rest is mostly driveways, private service roads and some residential streets.

On the map: a typical never-labelled area. ours · OpenStreetMap. Use the panel to see two more.
12 Main roads only

A second map without the parking lots

SpaceNet's answer key also draws parking-lot lanes and driveways. That's right for some uses, but a navigation map usually wants streets only.

The labels record each road's type, and in Las Vegas the type "unclassified" turned out to be mostly parking lanes and service roads. So we trained models that draw two maps at once: every road, and main roads only. The final system averages five of them.

  • 0.65main-roads map, scored against main roads only
  • 0.53the every-road map, scored the same way
  • +0.12gain, with 95 % confidence between +0.09 and +0.14; largest in Las Vegas and Shanghai

The every-road map lost nothing by sharing the model: 0.661, the same as before. On the Las Vegas test images, the whole-strip main-roads map matches SpaceNet's main roads at 0.82, while OpenStreetMap without its service roads manages 0.70. One limit: the road types can't separate parking lanes from alleys and delivery roads, and "unclassified" means different things in different cities.

On the map: a Las Vegas image full of parking lots. true main roads · our every-road map, 0.13 here · our main-roads map, 0.87.
13 Fine print

Cost and caveats

  • $95GPU time for everything: $28 rerunning the 2018 code, $15.60 the five main-roads models, $3.09 the whole-strip map (plus $2.60 for a first attempt that hit a storage error)
  • testsThe official 2018 test answers were never released, so the fair comparison is the rerun, not the leaderboard.
  • scorerWe rewrote the scoring code, because the original no longer installs. Every entry here is scored the same way.
  • noiseDifferences under about 0.015 between single models may be chance.
14 Explore

Test images and the whole strip, every map

Each city's image is the typical one by score, not the best. The panel shows each map's score on the image in view.

Part 1, buildings: SpaceNet Buildings Speedrun. Code and full write-up: github.com/dlindenbaum/Spacenet-Speedrun.

Imagery and labels: SpaceNet 2, 3 and 5 (Maxar, CosmiQ Works), CC BY-SA 4.0. 2018 winning solution: albu, SpaceNetChallenge/RoadDetector.

Layers

Loading…