All models

raft_stereo

A stereo matching network that refines a disparity field step by step with multi-level GRUs.

Depth estimation · 186 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 (188 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
330K
Operations
186
Framework
PyTorch
Recurrent
Yes
Published
International Conference on 3D Vision (3DV) (arXiv 2021)
Cited by
533 (as of 9 October 2026)
Authors
Lahav Lipson, Zachary Teed, Jia Hao Deng
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
m12091
Graph hash
732504a99a0faff5431fd0668910e921e44e631c33637ef74007bb8d6a7d9e9f
Skeleton hash
623599e2f9b1355172bc1c5b47e9cc6c77edb66986556155cdd235b33c500788
Architecture hash
b709a3e53b10ea94e5ccf4b64790bf2c0ec12a0ee50fadb66653ddaa0aa9fd34
Diagram SHA-256
058ecc3295d09cb8aa0bc82561aa714343d7624ceefe2441440d85353a276bfa
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.raft_stereo:build_raft_stereo: build({})

What it is

RAFT-Stereo takes a rectified pair of stereo images and predicts a disparity for every pixel, a displacement map from which depth can be recovered. It is built on RAFT, a network designed for optical flow. Earlier stereo networks mostly built a 3D cost volume and filtered it with 3D convolutions, which the paper says is computationally costly and limits the resolution a model can work at.

The model has three main components: a feature extractor, a correlation pyramid and a GRU-based update operator. Where RAFT compares all pairs of pixels, RAFT-Stereo computes similarity only between pixels at the same height, which turns the 4D correlation volume into a 3D one. The disparity field starts at zero and is refined over repeated iterations: each time, the GRU uses the current estimate to look up correlation features and outputs an update. The paper's own addition is a multi-level update operator, with cross-connected GRUs working on feature maps at 1/8, 1/16 and 1/32 resolution at once, introduced because a single high-resolution GRU widens its receptive field slowly.

The paper reports that RAFT-Stereo ranked first on the Middlebury test set leaderboard at the time, with a bad 2px error of 4.74%. Trained only on synthetic data, it also ranked first among published methods on the ETH3D two-view stereo leaderboard, as the paper reports.

Key idea. RAFT-Stereo adapts the optical flow network RAFT to rectified stereo and adds multi-level convolutional GRUs that propagate information across the image more efficiently.

  • raft-stereo
  • raft stereo
  • multilevel recurrent field transforms
  • stereo matching
  • stereo depth estimation
  • disparity estimation
  • correlation pyramid
  • iterative refinement stereo
  • convgru stereo

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

Cite the paper

@misc{lipson2021raftstereomultilevelrecurrentfield,
      title={RAFT-Stereo: Multilevel Recurrent Field Transforms for Stereo Matching}, 
      author={Lahav Lipson and Zachary Teed and Jia Deng},
      year={2021},
      eprint={2109.07547},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2109.07547}, 
}