Stereo Geometry Transformer

1 Imperial College London2 Princeton University

Left input
SGT disparity
SGT point cloud

Quantitative Overview

Each axis compares SGT with the strongest reported baseline for that metric. Blue labels show zero-shot results and green labels show fine-tuned leaderboard results.

Interactive Comparison

05 / 17
Potted plants
Input images and disparity maps
Left camera input: potted plants
Input image
FoundationStereo disparity
DisparityFoundationStereo
SGT disparity
DisparitySGT (ours)
Disparity0 px169.2 pxSame colour scale across models

FoundationStereo

Loading interactive view…

SGT (ours)

Loading interactive view…

Drag to rotate · Right-drag to pan · Scroll to zoom

Abstract

Stereo Geometry Transformer (SGT) uses standard vision transformers to initialize and refine disparity from rectified stereo pairs. Horizontal feature warping provides geometric guidance during refinement. Dense matching features, recurrent states, and disparity predictions stay at the input resolution throughout.

Increasing the capacity of the refinement transformer improves accuracy more consistently than using finer tokens. The simplified mixture-of-Laplace (SMoL) loss stabilizes training as the model scales by improving the conditioning of uncertainty prediction. On the ETH3D test leaderboard, SGT reduces zero-shot Bad-1 error on non-occluded pixels from 0.26% to 0.15%, a relative reduction of 42.3% against MatchAttention.

Model Architecture

Full-resolution features

A shared Depth Anything V2 encoder and DPT-style decoders recover dense matching features and the initial recurrent state.

Disparity initialization

A 12-block ViT-S predicts a distribution over 81 disparity centres. Its expectation initializes the dense disparity estimate.

Iterative refinement

A 24-block ViT-L refines disparity four times using horizontally warped right-view features, sharing parameters across updates.

Training and Scaling

On ETH3D, finer disparity bins improve initialization. Larger refinement transformers produce the most consistent gains in final accuracy.

Simplified Mixture-of-Laplace

SMoL applies layer normalization before the uncertainty head predicts a relative mixture logit and a log scale. This preserves the mixture likelihood while stabilizing optimization.

SGT trains on approximately 9.35 million stereo pairs and then adapts to mixed resolutions. Zero-shot training excludes KITTI, ETH3D, and Middlebury.

Quantitative Comparison

Zero-shot generalization

Whole-image inference with fixed weights, evaluated on all valid pixels in the public training splits. Error rates are percentages and lower is better.

Zero-shot results from Table 1 of the paper. Error percentages; lower is better.
MethodKITTI 2012D1KITTI 2015D1ETH3DBad-1Middlebury QBad-2Middlebury HBad-2
LAS2-L2.573.382.249.3011.87
MonSter++2.943.251.084.183.78
BridgeDepth2.863.341.233.526.35
PromptStereo2.873.140.973.596.27
FoundationStereo2.522.830.652.582.48
WAFT-Stereo2.732.930.522.192.72
SGT2.482.930.481.901.84

Q and H denote quarter and half resolution. On Middlebury H, SGT reduces Bad-2 from 2.48% to 1.84% against FoundationStereo, a relative improvement of 25.8%.

ETH3D test leaderboard

Zero-shot test-set results reported in Table 3 of the paper. Lower error rates are better.

ETH3D zero-shot test leaderboard error rates in percent
Method Non-occluded pixels All valid pixels
Bad-0.5Bad-1Bad-2 Bad-0.5Bad-1Bad-2
FoundationStereo2.311.520.662.801.961.07
WAFT-Stereo0.890.280.070.970.310.07
MatchAttention1.050.260.091.160.300.11
SGT0.580.150.050.670.180.06

BibTeX

@misc{jing2026stereogeometrytransformer,
  title  = {Stereo Geometry Transformer},
  author = {Junpeng Jing and Yihan Wang and Zhelun Shen and
            Rolandos Alexandros Potamias and Stefanos Zafeiriou and
            Jiankang Deng},
  year   = {2026},
  note   = {Manuscript},
  url    = {https://tomtomtommi.github.io/SGT/}
}