All models

RNGDet

A CNN and DETR-style transformer that grows a road network graph from an aerial image one vertex at a time.

Detection and tracking · 1,700 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (25 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
112.3M
Operations
1,700
Framework
PyTorch
Recurrent
No
Published
IEEE Transactions on Geoscience and Remote Sensing (arXiv 2022)
Cited by
82 (as of 29 October 2026)
Authors
Zhenhua Xu, Yuxuan Liu, Lu Gan and others
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19674
Graph hash
ca8bd83c128cdaeb7057cccd6e8c47fc0c9dc87ad0eb459404bdf0d0174d89fb
Skeleton hash
ec7193a525e1e688661841609030018100773de29f4f0ef42c5b60aa7f63e4d3
Architecture hash
df04d12c2a99333156739594bdebde68405b370aa6976f30e8fa99a3c74a5ab0
Diagram SHA-256
e38debdcd216d7d4e1d2b2ff0dfb91a0fbe3a41f8f4b700a15f3b082a82531fd
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

RNGDet (Road Network Graph Detection by Transformer) extracts the graph of a road network from an aerial image. Such graphs matter for autonomous vehicles because they provide information such as drivable areas for motion planning. The model builds the graph iteratively, vertex by vertex: an agent explores the road network, and at each step the network predicts the vertices adjacent to the agent's current position.

Each step works on a crop centered on the agent. A CNN backbone extracts features from this region of interest, and segmentation heads predict a map of road segments and a map of road intersections. The graph generated so far is rasterized within the same crop and passed, together with the two maps, through a second CNN. The fused features go to a transformer based on the DETR structure. Its decoder takes a set of learned vertex queries and predicts, for each query, a valid probability and the coordinates of a vertex. Because several queries can be valid at once, the model can handle intersections with any number of road segments.

RNGDet is trained end to end by imitation learning, with a sampling algorithm that generates the expert demonstrations by exploring the whole road network. The paper's experiments use the RoadTracer dataset, which contains 300 high-resolution aerial images. The paper sets the number of vertex queries to 10.

Key idea. RNGDet detects road network graphs from aerial images end to end, using a DETR-style transformer with vertex queries to predict all adjacent vertices at each step of iterative graph growth.

  • RNGDet
  • Road Network Graph Detection by Transformer
  • road network graph detection
  • road extraction
  • aerial images
  • remote sensing
  • road graph
  • imitation learning
  • road network extraction

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{xu2022rngdetroadnetworkgraph,
      title={RNGDet: Road Network Graph Detection by Transformer in Aerial Images}, 
      author={Zhenhua Xu and Yuxuan Liu and Lu Gan and Yuxiang Sun and Xinyu Wu and Ming Liu and Lujia Wang},
      year={2022},
      eprint={2202.07824},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      doi={https://doi.org/10.1109/TGRS.2022.3186993},
      url={https://arxiv.org/abs/2202.07824}, 
}