Full-resolution features
A shared Depth Anything V2 encoder and DPT-style decoders recover dense matching features and the initial recurrent state.
1 Imperial College London2 Princeton University
Drag to rotate · Right-drag to pan · Scroll to zoom



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.
A shared Depth Anything V2 encoder and DPT-style decoders recover dense matching features and the initial recurrent state.
A 12-block ViT-S predicts a distribution over 81 disparity centres. Its expectation initializes the dense disparity estimate.
A 24-block ViT-L refines disparity four times using horizontally warped right-view features, sharing parameters across updates.
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.
Whole-image inference with fixed weights, evaluated on all valid pixels in the public training splits. Error rates are percentages and lower is better.
| Method | KITTI 2012D1 | KITTI 2015D1 | ETH3DBad-1 | Middlebury QBad-2 | Middlebury HBad-2 |
|---|---|---|---|---|---|
| LAS2-L | 2.57 | 3.38 | 2.24 | 9.30 | 11.87 |
| MonSter++ | 2.94 | 3.25 | 1.08 | 4.18 | 3.78 |
| BridgeDepth | 2.86 | 3.34 | 1.23 | 3.52 | 6.35 |
| PromptStereo | 2.87 | 3.14 | 0.97 | 3.59 | 6.27 |
| FoundationStereo | 2.52 | 2.83 | 0.65 | 2.58 | 2.48 |
| WAFT-Stereo | 2.73 | 2.93 | 0.52 | 2.19 | 2.72 |
| SGT | 2.48 | 2.93 | 0.48 | 1.90 | 1.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%.
Zero-shot test-set results reported in Table 3 of the paper. Lower error rates are better.
| Method | Non-occluded pixels | All valid pixels | ||||
|---|---|---|---|---|---|---|
| Bad-0.5 | Bad-1 | Bad-2 | Bad-0.5 | Bad-1 | Bad-2 | |
| FoundationStereo | 2.31 | 1.52 | 0.66 | 2.80 | 1.96 | 1.07 |
| WAFT-Stereo | 0.89 | 0.28 | 0.07 | 0.97 | 0.31 | 0.07 |
| MatchAttention | 1.05 | 0.26 | 0.09 | 1.16 | 0.30 | 0.11 |
| SGT | 0.58 | 0.15 | 0.05 | 0.67 | 0.18 | 0.06 |
Test leaderboard results after benchmark-specific fine-tuning. Error rates are percentages over all valid pixels and lower is better.
| Benchmark | Metric | Best listed baseline | Baseline | SGT |
|---|---|---|---|---|
| KITTI 2012 | Bad-3-All | WAFT-Stereo | 0.95 | 0.85 |
| KITTI 2015 | D1-All | WAFT-Stereo | 1.28 | 1.27 |
| ETH3D | Bad-0.5-All | NBS | 0.71 | 0.55 |
| Middlebury | Bad-4-All | S2M2-XL | 1.63 | 1.59 |
Test results on 20 Dynamic Replica sequences and 30 Infinigen SV sequences. TEPE measures temporal endpoint error, and T-Bad-1 is a percentage. Lower is better for all metrics.
| Method | Dynamic Replica | Infinigen SV | ||||
|---|---|---|---|---|---|---|
| TEPE | T-Bad-1 | EPE | TEPE | T-Bad-1 | EPE | |
| DynamicStereo | 0.077 | 0.76 | 0.25 | 1.839 | 14.91 | 4.28 |
| BiDAStereo | 0.080 | 0.70 | 0.31 | 1.730 | 13.76 | 3.47 |
| StereoAnyVideo | 0.046 | 0.57 | 0.14 | 1.514 | 13.34 | 2.39 |
| SGT | 0.032 | 0.24 | 0.11 | 1.138 | 10.51 | 1.20 |
Stereo disparities are converted to metric depth using camera calibration. Lower AbsRel and RMSE (metres) are better, and higher δ1 is better.
| Method | ETH3D | Middlebury H | ||||
|---|---|---|---|---|---|---|
| AbsRel | RMSE | δ1 | AbsRel | RMSE | δ1 | |
| DA3-Metric | 0.214 | 1.499 | 0.631 | 0.230 | 0.630 | 0.733 |
| VGGT | 0.234 | 2.008 | 0.617 | 0.168 | 0.455 | 0.774 |
| VGGT-Ω | 0.138 | 1.288 | 0.784 | 0.338 | 0.894 | 0.441 |
| FoundationStereo | 0.028 | 0.799 | 0.995 | 0.003 | 0.055 | 0.998 |
| WAFT-Stereo | 0.031 | 0.835 | 0.996 | 0.004 | 0.054 | 0.998 |
| SGT | 0.031 | 0.777 | 0.996 | 0.003 | 0.052 | 0.998 |
@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/}
}