Manuscript Offprint
arXiv:2611.05689TRUST-Stereo: Teacher-Assisted Robust Uncertainty-Guided Search and Transfer for Fast Stereo Matching
Abstract
Coarse-to-fine stereo matching enables efficient disparity estimation but remains sensitive to errors in propagated disparity, which may place ground-truth correspondences outside subsequent local search ranges. We propose TRUST-Stereo Teacher-Assisted Robust Uncertainty-Guided Search and Transfer for fast Stereo, that addresses this limitation through an Uncertainty-Guided Residual Search Module (UGRSM). UGRSM estimates the reliability of propagated disparity and predicts residual offsets to adaptively relocate local cost-volume centers. Additionally, we introduce a two-stage Senior–Junior Teacher Assistant knowledge distillation strategy to transfer rich monocular representations from a large foundation model to a lightweight backbone to achieve fast stereo matching performance. Experiments on KITTI 2012, KITTI 2015, ETH3D, and Middlebury demonstrate strong zero-shot generalization. Using only 1.4M synthetic stereo pairs, TRUST-Stereo achieves state-of-the-art results on several benchmark metrics, outperforming competing efficient methods trained with substantially larger datasets, including real-world pseudo-labeled samples. Specifically, it achieves a KITTI 2015 EPE of 0.93, ETH3D Bad 1.0 of 2.13% and Middlebury Bad 2.0 of 6.79% while maintaining inference at approximately 50 ms per stereo pair.¹
1. Introduction
Stereo matching is widely used for dense depth estimation due to its strong geometric foundation. Recent learning-based methods achieve high accuracy through cost-volume construction and disparity regression [33, 39]. However, dense cost volumes at high resolutions and large disparity ranges incur substantial computational and memory costs, limiting the real-time deployment [7, 26, 42, 45, 46, 49].
To improve reconstruction accuracy and efficiency, re-

Figure 1. Zero-shot generalization comparison under SceneFlow-only training.
current stereo matching architectures, such as RAFT-Stereo [25] and IGEV-Stereo [49], have demonstrated that Gated Recurrent Unit (GRU)-based iterative refinement can progressively correct initial disparity errors and improve matching accuracy. Coarse-to-fine stereo methods are cluster of models that can estimate disparity at low resolution and progressively refine the disparity estimation using local cost volumes to improve the match efficiency [8, 25, 44].
However, integrating the two ideas are still challenging to maintain both computational accuracy and efficiency. Coarse-to-fine stereo methods, although efficient, rely heavily on accurate disparity propagation. Errors introduced during coarse estimation or upsampling may place the ground-truth correspondence outside the local search range, preventing subsequent refinement stages from recovering the correct disparity. Such failures are particularly common near object boundaries, thin structures, occlusions, and large disparity discontinuities [26, 27, 37, 38].
To mitigate these failures, previous works have explored uncertainty-aware adaptive stereo matching. UAS-Net [27] leverages cost-volume probability distributions to predict adaptive disparity ranges and sampling locations, while CRESTereo++ [21] employs variance-based uncertainty to guide content-aware feature warping during recurrent refinement. However, uncertainty derived from match-
¹https://github.com/PouyaSohrabipour/TRUST-Stereo ing distributions primarily characterizes matching ambiguity rather than the actual reliability of disparity estimates. Specifically, a strong but incorrect matching response may produce low uncertainty even when the ground-truth correspondence lies outside the local search window. Conversely, ambiguous or multimodal matching responses may produce high uncertainty despite the ground-truth correspondence already being within the search range. Such discrepancies can lead to insufficient correction of inaccurate search centers or unnecessary adaptation of reliable ones. This limitation is particularly important in coarse-to-fine recurrent architectures, where disparity estimates undergo iterative refinement and are subsequently propagated across scales, potentially shifting the next local search window away from the correct correspondence.
To address this issue, we propose UGRSM, which adaptively relocates local cost-volume search centers while maintaining a fixed search radius. The module learns uncertainty through pseudo-ground-truth supervision derived from the propagated disparity error relative to the next-stage search radius. Unlike uncertainty derived solely from matching statistics, our formulation explicitly supervises the uncertainty predictor to identify whether the propagated disparity error exceeds the local search range. This enables the model to distinguish unreliable search centers requiring correction from those already covering the correct correspondence. The predicted uncertainty then selectively guides residual offsets to relocate local cost-volume centers, improving correspondence coverage without increasing the search radius or number of disparity candidates.
Addressing these limitations requires improving two complementary aspects of coarse-to-fine stereo matching: the quality of extracted image features and the reliability of subsequent disparity refinement. Recent monocular foundation models provide rich semantic and structural representations that can enhance stereo feature extraction, particularly in textureless, repetitive, and occluded regions [2, 9, 31, 54]. However, large backbones such as Depth Anything V2 ViT-L introduce substantial inference costs [22, 54]. Lightweight alternatives improve efficiency but introduce a representation capacity gap that complicates knowledge transfer [30]. In addition, even with strong features, errors remaining after recurrent refinement and upsampling may shift the next local search window away from the correct correspondence.
To address these challenges, we propose Teacher-Assisted Robust Uncertainty-Guided Search and Transfer for fast Stereo Matching (TRUST-Stereo), a real-time coarse-to-fine stereo matching framework that combines teacher-assisted feature extraction with uncertainty-guided disparity search.
First, we introduce a two-stage Senior–Junior Teacher Assistant (SJTA) distillation strategy to enhance the feature extraction capability and efficiency of a lightweight ViT-S encoder. Existing Teacher Assistant Knowledge Distillation (TAKD) [30] offers an good way to distillate teacher knowledge through an intermediate assistant. However, it requires a large-scale retraining on millions of images for any new datasets applied which can incur substantial computational overhead. In the first stage of our design, pretrained DINOv2-based ViT-L (Teacher) and ViT-S (Junior TA) backbones are employed to construct a teacher-enriched intermediate representation through cross-attention and self-attention. The intermediate representation is upgraded version of Junior TA, and therefore we call it Senior TA. This stage is performed only once and is never repeated during subsequent dataset-specific fine-tuning. In the second stage, the Senior TA can independently supervises the lightweight student through feature-level distillation. Thus, although SJTA employs two training stages, only the second stage is repeated for subsequent training or adaptation, avoiding the computational overhead of retraining the intermediate assistant in traditional TAKD while improving feature representations for stereo correspondence estimation.
Second, to guarantee reliable disparity propagation in the course-to-fine architecture, we introduce an Uncertainty-Guided Residual Search Module (UGRSM). Instead of using probability estimation, the module directly estimates propagated disparity reliability relative to the next local search range and predicts uncertainty-guided residual offsets to adaptively relocate local cost-volume centers before refinement.
Together, SJTA and UGRSM address complementary sources of error in coarse-to-fine stereo matching: SJTA strengthens efficient feature representations for correspondence estimation, while UGRSM improves the robustness of local search against remaining disparity propagation errors. Their integration supports accurate zero-shot stereo matching while preserving real-time inference.
As illustrated in Fig. 1, TRUST-Stereo demonstrates strong zero-shot generalization under SceneFlow-only training, achieving the best performance on five of six evaluation metrics among the compared SOTA efficient stereo matching methods across KITTI 2012 [13], KITTI 2015 [29], ETH3D [35], and Middlebury-H [34].
The main contributions are summarized as follows:
• We identify a key limitation of coarse-to-fine stereo matching, where disparity propagation errors shift the local search range away from the ground-truth correspondence.
• We propose UGRSM, which estimates propagated disparity reliability and predicts residual offsets to adaptively relocate local cost-volume centers.
• We introduce a two-stage Senior–Junior Teacher Assistant distillation strategy that transfers foundation-model representations to a lightweight backbone without sepa-rate large-scale teacher-assistant pretraining.
• We demonstrate state-of-the-art (SOTA) zero-shot generalization, outperforming competing efficient stereo methods on five of six metrics under SceneFlow-only pretraining [28]. With only 1.4M synthetic stereo pairs, TRUST-Stereo achieves SOTA performance across all six evaluated metrics, including a KITTI 2015 D1 of 3.49% and ETH3D Bad 1.0 of 2.13%, while maintaining fast inference at approximately 50 ms per stereo pair. Furthermore, benchmark-specific fine-tuning achieves competitive results on KITTI 2012 [13] and a D1-all of 1.64% on KITTI 2015 [29].
2.1. Stereo Matching Based Depth Estimation
Stereo matching estimates depth by exploiting geometric correspondences between rectified image pairs. Early-stage deep learning approaches replaced handcrafted matching costs with learned representations, demonstrating the effectiveness of convolutional neural networks for disparity estimation [12, 24, 27, 28, 37, 53, 56, 58, 59]. These methods construct a cost volume over disparity candidates and regress dense disparity maps end to end.
Subsequent works focused on improving accuracy through cost-volume regularization using 3D convolutional neural networks [1, 10, 11, 18, 47]. Pyramid Stereo Matching Network (PSMNet) [6] introduced spatial pyramid pooling to enlarge the receptive field, while later methods such as GA-Net [58] and cascade-based architectures [16] further enhanced geometric consistency. Additionally, recurrent approaches such as RAFT-Stereo [25] and IGEV-Stereo [49] employ GRU-based iterative updates to progressively refine disparity estimates using correlation and cost-volume features. Despite these advances, stereo matching remains challenging in textureless, repetitive, and occluded regions, where ambiguous correspondences can lead to inaccurate disparity estimation.
Recent efforts have specifically focused on real-time stereo matching by adopting coarse-to-fine architectures that restrict disparity search to local cost volumes centered on upsampled estimates [8, 16, 44]. AnyNet [44] progressively refines disparity through residual matching at finer resolutions, while RT-MonSter++ [8] employs global matching at the coarsest scale and local cost volumes at finer scales to reduce computation. However, these approaches rely on accurate disparity propagation between scales. When propagation errors exceed the local search radius, the ground-truth correspondence falls outside the search window, limiting the ability of subsequent refinement stages to recover the correct disparity.
2.2. Monocular Depth Estimation
Unlike stereo matching, which relies on reliable correspondences between image pairs, monocular depth estimation leverages learned semantic and contextual priors to infer depth, offering advantages in textureless and repetitive regions where stereo matching becomes ambiguous. Monocular depth estimation predicts scene depth from a single RGB image by learning semantic and contextual cues such as perspective, object size, and texture gradients [4, 14, 15, 32, 54].
Recently, large-scale pretraining and vision foundation models have significantly advanced monocular depth estimation. Depth Anything V2 [54] offers both large (ViT-L) and small (ViT-S) backbones. While ViT-L provides rich semantic and structural representations that can enhance stereo matching, its high computational cost limits real-time deployment. In contrast, ViT-S offers greater efficiency but has lower representation capacity, potentially reducing feature quality in challenging regions. This introduces a trade-off between feature representation quality and computational efficiency. Despite their strong semantic understanding, monocular methods often struggle with metric scale ambiguity for reliable robotics control applications [3, 17, 57].
2.3. Hybrid Mono-Stereo Methods
Hybrid methods combine the geometric accuracy of stereo matching with the semantic robustness of monocular depth estimation. MonSter [9] integrates monocular and stereo disparity predictions through dual refinement branches, using flaw maps and cross-modal guidance to correct unreliable regions. However, its multi-stage architecture introduces substantial computational overhead.
3. Our Approach
3.1. Overview
We propose TRUST-Stereo, a fast coarse-to-fine stereo matching framework illustrated in Fig. 2. The proposed two-stage SJTA knowledge distillation strategy transfers representations from a large pretrained teacher to a lightweight backbone. In the first stage, cross-attention and self-attention construct a teacher-enriched Junior TA representation. In the second stage, the intermediate Junior TA becomes the Senior TA and supervises the lightweight student, enabling efficient inference without the large teacher. Additionally, the proposed Uncertainty-Guided Residual Search Module (UGRSM) estimates the reliability of prop-

Figure 2. Overview of TRUST-Stereo. A coarse-to-fine stereo matching architecture iteratively refines disparity using ConvGRUs. The proposed UGRSM adaptively adjusts local search centers, while Senior-Junior Teacher Assistant distillation provides lightweight monocular guidance for robust zero-shot generalization.
agated disparities and predicts residual offsets to adaptively relocate local cost-volume centers, improving disparity refinement.
3.2. Senior–Junior Teacher Assistant Feature Distillation
TRUST-Stereo introduces a two-stage SJTA distillation framework to transfer rich representations from a pretrained Depth Anything V2 ViT-L teacher to a lightweight ViT-S student, as illustrated in Fig. 3.
Direct distillation is hindered by the substantial teacher-student capacity gap. Conventional teacher assistant methods can introduce considerable training overhead, but it still relies on a large teacher model for adapting new datasets or tasks. To address the limitations, SJTA leverages pretrained ViT-L (Teacher) and ViT-S (Junior TA) backbones to construct an intermediate teacher assistant (Senior TA) using only one dataset (SceneFlow). This first stage is performed only once, while subsequent training or adaptation, including million-scale training, requires only the second stage, avoiding redundant large teacher model involvement in following task. Here, million-scale training refers to training on approximately 1.4 million synthetic stereo pairs from multiple datasets. To train the Senior TA, cross-attention integrates Junior TA features as queries and teacher features as keys and values, followed by self-attention to learn a teacher-enriched Senior TA representation.
In the second stage, the trained Senior TA supervises the lightweight ViT-S student through feature-level knowledge distillation:
where and denote the Senior TA and student features at level , respectively. Distillation is applied across selected feature levels. During inference, only the lightweight ViT-S student is retained, introducing no additional distillation-related computational overhead.
3.3. GRU-Based Coarse-to-Fine Stereo Matching
TRUST-Stereo employs three refinement stages at , , and of the input resolution [8, 25, 49]. At the coarsest scale, a full group-wise correlation (GWC) cost volume is constructed from left and right image features:
where denotes spatial coordinates, is a candidate disparity at the scale, and indexes the channel groups. and denote the left and right feature vectors of group , respectively, is the number of channels per group, and denotes the inner product. GWC measures the similarity between left- and right-image features at each candidate disparity, with higher correlation indicating stronger evidence of a stereo correspondence.
The cost volume is regularized using 3D convolutions, followed by softmax normalization and soft-argmin disparity regression to obtain the initial disparity estimate.

Figure 3. Overview of the proposed two-stage Senior–Junior Teacher Assistant knowledge distillation framework.
Following [25, 49], Convolutional Gated Recurrent Units (ConvGRUs) iteratively refine disparity at each scale. At iteration and scale , where denotes the downsampling factor, the current disparity estimate is used to determine the sampling locations in the correlation volume. The sampled correlation features are then passed to the ConvGRU along with the current disparity estimate and recurrent hidden state to predict a residual disparity correction . The disparity is updated as
Here, and denote the disparity estimates before and after iteration at scale , respectively.
The refined disparity and interpolated hidden state are propagated to the next finer scale. At and resolution, the proposed UGRSM adjusts the local search centers before constructing the corresponding local cost volumes, as detailed in the following section.
3.4. Uncertainty-Guided Residual Search Module
In coarse-to-fine stereo matching, local cost volumes search within a limited disparity range centered on the propagated disparity estimate. When propagation errors exceed this range, the correct correspondence falls outside the search window, limiting the ability of subsequent refinement to recover it. Expanding the search range increases computational cost. To identify unreliable search centers, we define uncertainty based on the propagated disparity error relative to the local search radius. Based on this definition, UGRSM learns to predict uncertainty from the propagated disparity and image features, and the predicted uncertainty can guide residual offsets that adaptively adjust local cost-volume centers.
To start, UGRSM predicts an uncertainty map and an initial residual offset from the left-image features and the propagated disparity :

Figure 4. Architecture of the proposed Uncertainty-Guided Residual Search Module (UGRSM). The module predicts an uncertainty map and a residual search offset from the propagated disparity and image features. The uncertainty score modulates the residual offset to produce an adjusted local cost-volume center used for local disparity search.
Here, denotes the learnable uncertainty predictor, while denotes the residual offset predictor. The offset predictor employs two convolutions followed by two convolutions. For training , since ground-truth uncertainty labels are unavailable, pseudo-targets are generated from the propagated disparity error:
where denotes ground-truth disparity, is the local search radius, and controls uncertainty sensitivity. The target is zero when the disparity error is within the search radius and approaches one as the error exceeds it.
The predicted uncertainty modulates the initial offset to adjust the local search center:
Local disparity candidates are then sampled around the adjusted center:
where is the sampling radius and denotes the disparity sampling interval.
UGRSM operates at the 1/8 and 1/4 resolution stages, while the 1/16 stage uses a full cost volume. This enables uncertainty-guided search center correction without expanding the local search range.
3.5. Mono-Stereo Mutual Refinement
At the final resolution stage, TRUST-Stereo follows the mono-stereo mutual refinement strategy of MonSter [9]. Stereo and monocular disparity estimates are used to warp right-image features toward the left view, generating complementary feature-difference cues. These cues, together with geometric features and disparity estimates, enable iterative stereo refinement and reciprocal monocular refinement.
3.6. Training Objective
TRUST-Stereo is trained using disparity, uncertainty, and feature-level distillation supervision. The stereo and uncertainty losses are defined as
where assigns greater weight to later predictions, and is defined in Eq. (5).
During the second training stage, feature-level distillation is additionally applied. The overall training objective is
where and balance the uncertainty and distillation losses.
4. Experiment
4.1. Zero-Shot Generalization
Implementation Details. TRUST-Stereo is trained under two settings: SceneFlow-only and million-scale training with approximately 1.4M synthetic stereo pairs from SceneFlow [28], TartanAir [41], FallingThings [40], Virtual KITTI 2 [5], FoundationStereo [46], and Dynamic Replica [23]. We use maximum disparity of 192 during
Table 1. Zero-shot generalization on KITTI 2012, KITTI 2015, ETH3D, and Middlebury-H. Baseline results are adopted from [22], except Fast Foundation Stereo, which we retrained on SceneFlow since the official SceneFlow-only weights are not released. ETH3D and Middlebury-H results are evaluated on valid non-occluded pixels. SceneFlow-only methods are trained on SceneFlow. In million-scale training, denotes models retrained using the synthetic data and training strategy of [19]; denotes 30M pseudo-labeled samples; denotes 1.8M synthetic and 0.5M real-world pseudo-labeled samples; and denotes our 1.4M synthetic-only training. Best and second-best results within each setting are highlighted in red (bold) and yellow, respectively.
| Method | KITTI 2012 | KITTI 2015 | ETH3D | Middlebury | Runtime (ms) | ||
|---|---|---|---|---|---|---|---|
| D1 | EPE | D1 | EPE | Bad 1.0 | Bad 2.0 | ||
| Efficient methods: SceneFlow training | |||||||
| CoEX [1] | 22.30 | 3.37 | 17.33 | 3.00 | 31.97 | 26.42 | 27 |
| MobileStereoNet-2D [36] | 19.30 | 2.51 | 21.88 | 2.85 | 17.10 | 37.98 | 41 |
| MobileStereoNet-3D [36] | 19.59 | 2.67 | 17.89 | 3.01 | 18.42 | 25.26 | 67 |
| FastACV+ [50] | 16.69 | 2.29 | 15.28 | 3.27 | 11.50 | 27.34 | 45 |
| LightStereo-M [20] | 6.76 | 1.26 | 6.79 | 1.42 | 13.93 | 16.99 | 20 |
| LightStereo-L [20] | 6.80 | 1.27 | 6.62 | 1.29 | 9.66 | 17.23 | 34 |
| BANet-2D [51] | 14.75 | 2.23 | 16.98 | 3.91 | 44.89 | 26.79 | 21 |
| BANet-3D [51] | 17.39 | 2.41 | 17.28 | 3.36 | 29.27 | 28.79 | 30 |
| Lite Any Stereo [22] | 5.45 | 1.18 | 6.45 | 1.32 | 15.38 | 13.13 | 7 |
| WAFT-Stereo (DAv2S, 4) [43] | 9.78 | - | 16.60 | - | 71.10 | - | 47 |
| Fast Foundation Stereo [47] | 6.29 | 1.06 | 7.06 | 1.50 | 6.36 | 16.51 | 41 |
| TRUST-Stereo (Ours) | 4.30 | 0.93 | 5.78 | 1.16 | 8.79 | 10.14 | 50 |
| Efficient methods: Million-scale training | |||||||
| LightStereo-M [20] | 4.10 | 0.99 | 4.97 | 1.13 | 5.33 | 10.58 | 20 |
| BANet-2D [51] | 3.90 | 0.93 | 4.71 | 1.07 | 5.92 | 10.05 | 21 |
| StereoAnything-L [19] | 4.00 | 0.92 | 4.81 | 1.10 | 3.81 | 9.82 | - |
| Lite Any Stereo [22] | 3.04 | 0.79 | 3.87 | 0.99 | 3.53 | 7.51 | 7 |
| TRUST-Stereo (Ours) | 3.20 | 0.77 | 3.49 | 0.91 | 2.13 | 6.79 | 50 |
training. All zero-shot evaluations are reported without target-domain fine-tuning.
Benchmark Datasets and Metrics. We evaluate on KITTI 2012, KITTI 2015, ETH3D, and Middlebury-H using EPE, D1, Bad 1.0, and Bad 2.0. All results are reported on valid non-occluded pixels.
Quantitative Comparison. As shown in Tab. 1, compared to the state-of-the-art efficient stereo matching methods, TRUST-Stereo achieves the best zero-shot training results on five of six metrics under SceneFlow-only training. Qualitative comparisons on ETH3D and Middlebury against Fast Foundation Stereo, BANet-2D, and LightStereo-M are presented in Fig. 5. Under million-scale training, using only 1.4M synthetic stereo pairs without real-world pseudo-labeled data, TRUST-Stereo achieves the best performance on all six metrics, including KITTI 2012 EPE (0.77), KITTI 2015 D1 (3.49%) and EPE (0.91), ETH3D Bad 1.0 (2.13%), and Middlebury Bad 2.0 (6.79%). These results demonstrate strong zero-shot generalization with less training data.
4.2. Fine-Tuned Benchmark Results
Although benchmark-specific fine-tuning is not the primary focus of this work, we additionally evaluate TRUST-Stereo in this setting for completeness. The pretrained model is
Table 2. Fine-tuned comparison on the KITTI 2012 and KITTI 2015 test sets. Lower values indicate better performance. Baseline MACs are adopted from [22] and reported at input resolution.
| Method | KITTI 2012 | KITTI 2015 | MACs (G) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| 3-noc | 3-all | 4-noc | 4-all | EPE-noc / all | D1-bg | D1-fg | D1-all | ||
| DispNetC [28] | 4.11 | 4.65 | 2.77 | 3.20 | 0.9 / 1.0 | 4.32 | 4.41 | 4.34 | - |
| DeepPruner-Fast [11] | - | - | - | - | - | 2.32 | 3.91 | 2.59 | 194 |
| AANet+ [52] | 1.55 | 2.04 | 1.20 | 1.58 | 0.4 / 0.5 | 1.65 | 3.96 | 2.03 | - |
| DecNet [55] | - | - | - | - | - | 2.07 | 3.87 | 2.37 | - |
| BGNet+ [48] | 1.62 | 2.03 | 1.16 | 1.48 | 0.5 / 0.6 | 1.81 | 4.09 | 2.19 | 77 |
| HITNet [38] | 1.41 | 1.89 | 1.14 | 1.53 | 0.4 / 0.5 | 1.74 | 3.20 | 1.98 | 47 |
| CoEx [1] | 1.55 | 1.93 | 1.15 | 1.42 | 0.5 / 0.5 | 1.79 | 3.82 | 2.13 | 54 |
| MobileStereoNet-2D [36] | - | - | - | - | - | 2.49 | 4.53 | 2.83 | 127 |
| MobileStereoNet-3D [36] | - | - | - | - | - | 2.75 | 3.87 | 2.10 | 564 |
| Lite-CRESTereo++ [21] | 1.43 | 1.82 | 1.12 | 1.44 | 0.5 / 0.5 | 1.79 | 3.53 | 2.08 | 93 |
| LightStereo-M [20] | 1.56 | 1.91 | 1.10 | 1.36 | 0.5 / 0.5 | 1.81 | 3.22 | 2.04 | 33 |
| LightStereo-L [20] | 1.55 | 1.87 | 1.10 | 1.33 | 0.5 / 0.5 | 1.78 | 2.64 | 1.93 | 84 |
| BANet-2D [51] | 1.38 | 1.79 | 1.01 | 1.32 | 0.5 / 0.5 | 1.59 | 3.03 | 1.83 | 36 |
| BANet-3D [51] | 1.27 | 1.72 | 0.95 | 1.27 | 0.5 / 0.5 | 1.52 | 3.02 | 1.77 | 78 |
| Lite Any Stereo [22] | 1.09 | 1.49 | 0.76 | 1.04 | 0.4 / 0.5 | 1.36 | 3.45 | 1.71 | 33 |
| TRUST-Stereo (Ours) | 1.15 | 1.52 | 0.87 | 1.12 | 0.4 / 0.5 | 1.42 | 2.74 | 1.64 | 291 |

Figure 5. Qualitative zero-shot disparity estimation comparison on ETH3D and Middlebury-H. The first two rows show ETH3D, while the last two rows show Middlebury-H. Disparity predictions from TRUST-Stereo (ours), Fast-FoundationStereo, LightStereo-M, and BANet-2D are compared. All models are trained exclusively on SceneFlow and evaluated zero-shot without target-domain fine-tuning.
fine-tuned on the KITTI 2012 and KITTI 2015 training sets and evaluated on the corresponding official test sets. We compare against representative efficient stereo matching methods using standard benchmark metrics, with results re-
ported in Tab. 2. On KITTI 2012, TRUST-Stereo achieves competitive results, with 3-noc and 3-all errors of 1.15% and 1.52%, respectively, approaching the performance of Lite Any Stereo, which achieves 1.09% and 1.49%. On
Table 3. Effect of UGRSM on local cost-volume coverage under SceneFlow-only zero-shot generalization. Values indicate the percentage of ground-truth correspondences outside the local search range. Lower is better.
| Dataset | w/o UGRSM (%) | w/ UGRSM (%) |
|---|---|---|
| KITTI 2012 | 0.2833 | 0.2701 |
| KITTI 2015 | 0.5189 | 0.3188 |
| ETH3D | 2.7000 | 1.4300 |
| Middlebury | 4.0777 | 2.6741 |
KITTI 2015, TRUST-Stereo achieves the best D1-fg and D1-all results among the compared methods, reducing D1-fg from 3.45% to 2.74% and D1-all from 1.71% to 1.64% compared with Lite Any Stereo. Notably, TRUST-Stereo is pretrained using only 1.4M synthetic stereo pairs, whereas Lite Any Stereo benefits from a larger and more diverse pre-training dataset that includes real-world samples. These results demonstrate the effectiveness of TRUST-Stereo under benchmark-specific fine-tuning, complementing its strong zero-shot generalization performance.
4.3. Ablation Study
We conduct ablation studies to separately evaluate the effectiveness of the proposed UGRSM and SJTA knowledge distillation strategy. Both components are evaluated under SceneFlow-only training, with zero-shot generalization assessed on KITTI 2012, KITTI 2015, ETH3D, and Middlebury.
Effect of Uncertainty-Guided Residual Search. We evaluate UGRSM by comparing models trained with and without the proposed module. Knowledge distillation is disabled in both settings to isolate the contribution of UGRSM. Both models are trained exclusively on SceneFlow and evaluated zero-shot on four unseen datasets.
As shown in Table 3, UGRSM consistently reduces the percentage of valid ground-truth correspondences falling outside the local cost-volume search range. Specifically, the out-of-range rate decreases from 0.2833% to 0.2701% on KITTI 2012, 0.5189% to 0.3188% on KITTI 2015, 2.7000% to 1.4300% on ETH3D, and 4.0777% to 2.6741% on Middlebury. These correspond to relative reductions of 4.7%, 38.6%, 47.0%, and 34.4%, respectively.
These results demonstrate that UGRSM improves local search coverage by adaptively correcting inaccurate disparity propagation, with particularly substantial improvements on ETH3D and Middlebury under zero-shot generalization.
As shown in Tab. 4, UGRSM reduces KITTI 2015 D1 from 6.79% to 6.23%, while improving KITTI 2012 D1 from 4.81% to 4.64%. ETH3D Bad 1.0 decreases from 9.62% to 9.12%, and Middlebury Bad 2.0 decreases from 15.96% to 14.62%.
Effect of Knowledge Distillation. We compare the pro-
Table 4. Effect of uncertainty-guided residual search on zero-shot disparity accuracy. All variants are trained on SceneFlow without knowledge distillation. ETH3D and Middlebury are evaluated on all valid pixels, including occluded regions. Lower is better.
| Dataset | Metric | w/o UGRSM | UGRSM (No Uncertainty) | Full UGRSM (Ours) |
|---|---|---|---|---|
| KITTI 2012 | D1 (%) | 4.81 | 4.85 | 4.64 |
| KITTI 2015 | D1 (%) | 6.79 | 6.73 | 6.23 |
| ETH3D | Bad 1.0 (%) | 9.62 | 13.46 | 9.12 |
| Middlebury | Bad 2.0 (%) | 15.96 | 14.82 | 14.62 |
Table 5. Zero-shot comparison of direct Teacher-Student KD, ViTKD, and the proposed Senior-Junior TA KD. Lower is better.
| Dataset | Metric | Direct KD | ViTKD | SJTA KD (Ours) |
|---|---|---|---|---|
| KITTI 2012 | EPE | 0.95 | 0.99 | 0.93 |
| D1 (%) | 4.45 | 4.96 | 4.30 | |
| KITTI 2015 | EPE | 1.19 | 1.18 | 1.16 |
| D1 (%) | 5.71 | 6.35 | 5.78 | |
| ETH3D | Bad 1.0 (%) | 24.80 | 21.31 | 8.79 |
| Bad 2.0 (%) | 20.43 | 16.55 | 4.35 | |
| Bad 3.0 (%) | 18.68 | 14.51 | 2.74 | |
| Middlebury | Bad 1.0 (%) | 25.92 | 21.86 | 19.07 |
| Bad 2.0 (%) | 15.82 | 13.48 | 10.14 | |
| Bad 3.0 (%) | 11.50 | 10.34 | 7.06 |
posed SJTA strategy against direct Teacher-Student KD and ViTKD, with UGRSM enabled in all variants. All models are trained exclusively on SceneFlow and evaluated zero-shot on KITTI 2012, KITTI 2015, ETH3D, and Middlebury. As shown in Tab. 5, this comparison assesses the effectiveness of intermediate teacher-assistant representations relative to direct and ViT-specific feature distillation.
SJTA achieves the best results on nine of ten metrics. The largest improvements occur on ETH3D, where Bad 1.0 decreases from 24.80% (direct KD) and 21.31% (ViTKD) to 8.79%, while Bad 2.0 decreases from 20.43% and 16.55% to 4.35%, respectively. Improvements are also observed on Middlebury and KITTI, except for KITTI 2015 D1, where direct KD performs slightly better. These results demonstrate the effectiveness of SJTA for cross-domain feature transfer.
Joint Contribution of SJTA and UGRSM. To investigate the individual and combined effects of the proposed components, we conduct a four-way ablation under SceneFlow-only training. As shown in Tab. 6, both SJTA and UGRSM independently improve zero-shot generalization over the baseline. Combining both components achieves the best performance, reducing D1 from 4.81% to 4.30% on KITTI 2012 and from 6.79% to 5.78% on KITTI 2015. These results demonstrate the complementary bene-
Table 6. Ablation study of the proposed Senior-Junior Teacher Assistant (SJTA) distillation and Uncertainty-Guided Residual Search Module (UGRSM) under SceneFlow-only training. All variants are evaluated zero-shot on KITTI 2012 and KITTI 2015 using D1 (%). Lower is better.
| SJTA | UGRSM | KITTI 2012D1 (%) ↓ | KITTI 2015D1 (%) ↓ |
|---|---|---|---|
| × | × | 4.81 | 6.79 |
| × | ✓ | 4.64 | 6.23 |
| ✓ | × | 4.60 | 6.43 |
| ✓ | ✓ | 4.30 | 5.78 |
fits of teacher-assisted feature distillation and uncertainty-guided disparity search.
5. Conclusion
We presented TRUST-Stereo, a real-time coarse-to-fine stereo matching framework that improves disparity refinement and zero-shot generalization. The proposed Uncertainty-Guided Residual Search Module (UGRSM) estimates the reliability of propagated disparities and adaptively adjusts local cost-volume centers to recover out-of-range correspondences. Additionally, our two-stage Senior-Junior Teacher Assistant (SJTA) strategy transfers rich representations from a large ViT-L teacher to a lightweight ViT-S backbone without requiring costly large-scale assistant pretraining.
Experiments on KITTI 2012, KITTI 2015, ETH3D, and Middlebury demonstrate strong zero-shot generalization using only 1.4M synthetic stereo pairs, outperforming competing efficient methods on several metrics while maintaining real-time inference at approximately 50 ms per stereo pair. Ablation studies further confirm the contributions of UGRSM and SJTA to robust stereo matching.
LLM Usage Statement
OpenAI's ChatGPT was used to assist with manuscript editing, LaTeX formatting, and code development and debugging. All scientific contributions, experimental results, and conclusions were reviewed and verified by the authors.
References
[1] A. Bangunharcana, J. W. Cho, S. Lee, I. S. Kweon, K.-S. Kim, and S. Kim. Correlate-and-excite: Real-time stereo matching via guided cost volume excitation. In CVPR, pages 1959–1968, 2021. 3, 6, 7
[2] Luca Bartolomei, Fabio Tosi, Matteo Poggi, and Stefano Mattoccia. Stereo anywhere: Robust zero-shot deep stereo matching even where either stereo or
mono fail. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025. 2
[3] Shariq Farooq Bhat, Reiner Birkl, Diana Wofk, Peter Wonka, and Matthias Müller. Zoedepth: Zero-shot transfer by combining relative and metric depth. arXiv preprint arXiv:2302.12288, 2023. 3
[4] Reiner Birkl, Diana Wofk, and Matthias Müller. Midas v3.1 – a model zoo for robust monocular relative depth estimation. arXiv preprint arXiv:2307.14460, 2023. 3
[5] Yohann Cabon, Naila Murray, and Martin Humenberger. Virtual KITTI 2, 2020. 6
[6] J.-R. Chang and Y.-S. Chen. Pyramid stereo matching network. In CVPRW, 2018. 3
[7] Ziyang Chen, Wei Long, He Yao, Yongjun Zhang, Bingshu Wang, Yongbin Qin, and Jia Wu. Mocha-stereo: Motif channel attention network for stereo matching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024. 1
[8] Junda Cheng, Wenjing Liao, Zhipeng Cai, Longliang Liu, Gangwei Xu, Xianqi Wang, Yuzhou Wang, Zikang Yuan, Yong Deng, Jinliang Zang, Yangyang Shi, Jinhui Tang, and Xin Yang. MonSter++: Unified stereo matching, multi-view stereo, and real-time stereo with monodepth priors. IEEE Transactions on Pattern Analysis and Machine Intelligence, 48(10): 13567–13584, 2026. 1, 3, 4
[9] J. Cheng et al. Monster: Marry monodepth to stereo unleashes power. In CVPR, 2025. 2, 3, 6
[10] Xuelian Cheng, Yiran Zhong, Mehrtash Harandi, Yuchao Dai, Xiaojun Chang, Hongdong Li, Tom Drummond, and Zongyuan Ge. Hierarchical neural architecture search for deep stereo matching. Advances in Neural Information Processing Systems, 33, 2020. 3
[11] S. Duggal, S. Wang, W.-C. Ma, R. Hu, and R. Urtasun. Deeprunner: Learning efficient stereo matching via differentiable patchmatch. In ICCV, 2019. 3, 7
[12] Miaojie Feng, Junda Cheng, Hao Jia, Longliang Liu, Gangwei Xu, and Xin Yang. Mc-stereo: Multi-peak lookup and cascade search range for stereo matching. arXiv preprint arXiv:2311.02340, 2023. 3
[13] Andreas Geiger, Philip Lenz, and Raquel Urtasun. Are we ready for autonomous driving? the KITTI vision benchmark suite. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 3354–3361, 2012. 2, 3
[14] C. Godard, O. Mac Aodha, and G. J. Brostow. Un-supervised monocular depth estimation with left-right consistency. In CVPR, pages 270–279, 2017. 3
[15] Clément Godard, Oisin Mac Aodha, Michael Firman, and Gabriel J. Brostow. Digging into self-supervised monocular depth prediction. 2019. 3
[16] Xiaodong Gu, Zhiwen Fan, Siyu Zhu, Zuozhuo Dai, Feitong Tan, and Ping Tan. Cascade cost volume for high-resolution multi-view stereo and stereo matching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 2495–2504, 2020. 3
[17] Vitor Guizilini, Igor Vasiljevic, Dian Chen, Rares Ambrus, and Adrien Gaidon. Towards zero-shot scale-aware monocular depth estimation. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2023. 3
[18] Xiaoyang Guo, Kai Yang, Wukui Yang, Xiaogang Wang, and Hongsheng Li. Group-wise correlation stereo network. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 3273–3282, 2019. 3
[19] Xianda Guo, Chenming Zhang, Youmin Zhang, Dujun Nie, Ruilin Wang, Wenzhao Zheng, Matteo Poggi, and Long Chen. Stereo anything: Unifying stereo matching with large-scale mixed data. arXiv preprint arXiv:2411.14053, 2024. 6
[20] Xianda Guo, Chenming Zhang, Youmin Zhang, Wenzhao Zheng, Dujun Nie, Matteo Poggi, and Long Chen. Lightstereo: Channel boost is all your need for efficient 2d cost aggregation. In 2025 IEEE International Conference on Robotics and Automation (ICRA), 2025. 6, 7
[21] Junpeng Jing, Jiankun Li, Pengfei Xiong, Jiangyu Liu, Shuaicheng Liu, Yichen Guo, Xin Deng, Mai Xu, Lai Jiang, and Leonid Sigal. Uncertainty guided adaptive warping for robust and efficient stereo matching. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 3318–3327, 2023. 1, 7
[22] Junpeng Jing, Weixun Luo, Ye Mao, and Krystian Mikolajczyk. Lite any stereo: Efficient zero-shot stereo matching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026. 2, 6, 7
[23] Nikita Karaev, Ignacio Rocco, Benjamin Graham, Natalia Neverova, Andrea Vedaldi, and Christian Rupprecht. DynamicStereo: Consistent dynamic depth from stereo videos. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 13229–13239, 2023. 6
[24] A. Kendall, H. Martirosyan, S. Dasgupta, P. Henry, R. Kennedy, A. Bachrach, and A. Bry. End-to-end learning of geometry and context for deep stereo regression. In ICCV, pages 66–75, 2017. 3
[25] L. Lipson, Z. Teed, and J. Deng. Raft-stereo: Multi-level recurrent field transforms for stereo matching. In 3DV, 2021. 1, 3, 4, 5
[26] Zihua Liu, Yizhou Li, and Masatoshi Okutomi. Global occlusion-aware transformer for robust stereo matching. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2024. 1
[27] Yamin Mao, Zhihua Liu, Weiming Li, Yuchao Dai, Qiang Wang, Yun-Tae Kim, and Hong-Seok Lee. Uasnet: Uncertainty adaptive sampling network for deep stereo matching. In CVPR, pages 6311–6319, 2021. 1, 3
[28] N. Mayer, E. Ilg, P. Häusser, P. Fischer, D. Cremers, A. Dosovitskiy, and T. Brox. A large dataset to train convolutional networks for disparity, optical flow, and scene flow estimation. In CVPR, pages 4040–4048, 2016. 3, 6, 7
[29] Moritz Menze and Andreas Geiger. Object scene flow for autonomous vehicles. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 3061–3070, 2015. 2, 3
[30] Seyed Iman Mirzadeh, Mehrdad Farajtabar, Ang Li, Nir Levine, Akihiro Matsukawa, and Hassan Ghasemzadeh. Improved knowledge distillation via teacher assistant. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 5191–5198, 2020. 2
[31] M. Oquab et al. Dinov2: Learning robust visual features without supervision, 2023. arXiv:2304.07193. 2
[32] René Ranftl, Katrin Lasinger, David Hafner, Konrad Schindler, and Vladlen Koltun. Towards robust monocular depth estimation: Mixing datasets for zero-shot cross-dataset transfer. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(3), 2022. 3
[33] Daniel Scharstein and Richard Szeliski. A taxonomy and evaluation of dense two-frame stereo correspondence algorithms. International Journal of Computer Vision, 47(1–3):7–42, 2002. 1
[34] Daniel Scharstein, Heiko Hirschmüller, York Kitajima, Greg Krathwohl, Nera Nešić, Xi Wang, and Porter Westling. High-resolution stereo datasets with subpixel-accurate ground truth. In German Conference on Pattern Recognition (GCPR), pages 31–42. Springer, 2014. 2
[35] Thomas Schöps, Johannes L. Schönberger, Silvano Galliani, Torsten Sattler, Konrad Schindler, Marc Pollefeys, and Andreas Geiger. A multi-view stereo benchmark with high-resolution images and multi-camera videos. In Proceedings of the IEEE Con-ference on Computer Vision and Pattern Recognition (CVPR), pages 3260–3269, 2017. 2
[36] Faranak Shamsafar, Samuel Woerz, Rafia Rahim, and Andreas Zell. Mobilestereonet: Towards lightweight deep networks for stereo matching. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pages 2417–2426, 2022. 6, 7
[37] Zhelun Shen, Yuchao Dai, and Zhibo Rao. Cfnet: Cascade and fused cost volume for robust stereo matching. In CVPR, pages 13906–13915, 2021. 1, 3
[38] V. Tankovich, C. Hane, S. Fanello, C. Rhemann, S. Izadi, and A. Kowdle. Hitnet: Hierarchical iterative tile refinement network for real-time stereo matching. In CVPR, pages 14362–14372, 2021. 1, 7
[39] F. Tosi, L. Bartolomei, and M. Poggi. A survey on deep stereo matching in the twenties. IJCV, 2025. 1
[40] Jonathan Tremblay, Thang To, and Stan Birchfield. Falling things: A synthetic dataset for 3d object detection and pose estimation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 2038–2041, 2018. 6
[41] Wenshan Wang, Delong Zhu, Xiangwei Wang, Yaoyu Hu, Yuheng Qiu, Chen Wang, Yafei Hu, Ashish Kapoor, and Sebastian Scherer. TartanAir: A dataset to push the limits of visual SLAM. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 4909–4916, 2020. 6
[42] Xianqi Wang, Hao Yang, Hangtian Wang, Junda Cheng, Gangwei Xu, Min Lin, and Xin Yang. Promptstereo: Zero-shot stereo matching via structure and motion prompts. arXiv preprint arXiv:2508.02408, 2025. 1
[43] Yihan Wang and Jia Deng. WAFT-Stereo: Warping-alone field transforms for stereo matching. In Computer Vision – ECCV 2026, pages 210–228. Springer, 2026. 6
[44] Yan Wang, Zihang Lai, Gao Huang, Brian H. Wang, Laurens van der Maaten, Mark Campbell, and Kilian Q. Weinberger. Anytime stereo image depth estimation on mobile devices. In 2019 International Conference on Robotics and Automation (ICRA), pages 5893–5900, 2019. 1, 3
[45] Xiaobao Wei, Jiawei Liu, Dongbo Yang, Junda Cheng, Changyong Shu, and Wei Wang. A wavelet-based stereo matching framework for solving frequency convergence inconsistency. arXiv preprint arXiv:2505.18024, 2025. 1
[46] Bowen Wen, Matthew Trepte, Joseph Aribido, Jan Kautz, Orazio Gallo, and Stan Birchfield. Foundationstereo: Zero-shot stereo matching. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025. 1, 6
[47] Bowen Wen, Shaurya Dewan, and Stan Birchfield. Fast-FoundationStereo: Real-time zero-shot stereo matching. CVPR, 2026. 3, 6
[48] B. Xu, Y. Xu, X. Yang, W. Jia, and Y. Guo. Bilateral grid learning for stereo matching networks. In CVPR, pages 12497–12506, 2021. 7
[49] G. Xu, X. Wang, X. Ding, and X. Yang. Iterative geometry encoding volume for stereo matching. In CVPR, 2023. 1, 3, 4, 5
[50] Gangwei Xu, Yun Wang, Junda Cheng, Jinhui Tang, and Xin Yang. Accurate and efficient stereo matching via attention concatenation volume. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(4):2461–2474, 2024. 6
[51] Gangwei Xu, Jiaxin Liu, Xianqi Wang, Junda Cheng, Yong Deng, Jinliang Zang, Yurui Chen, and Xin Yang. Banet: Bilateral aggregation network for mobile stereo matching. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2025. 6, 7
[52] H. Xu and J. Zhang. Aanet: Adaptive aggregation network for efficient stereo matching. In CVPR, pages 1959–1968, 2020. 7
[53] Haofei Xu, Jing Zhang, Jianfei Cai, Hamid Rezatofighi, Fisher Yu, Dacheng Tao, and Andreas Geiger. Unifying flow, stereo and depth estimation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023. 3
[54] Lihe Yang, Bingyi Kang, Zilong Huang, Zhen Zhao, Xiaogang Xu, Jiashi Feng, and Hengshuang Zhao. Depth anything v2. arXiv:2406.09414, 2024. 2, 3
[55] C. Yao, Y. Jia, H. Di, P. Li, and Y. Wu. A decomposition model for stereo matching. In CVPR, pages 6091–6100, 2021. 7
[56] J. Zbontar and Y. LeCun. Computing the stereo matching cost with a convolutional neural network. In CVPR, pages 1592–1599, 2015. 3
[57] Ziyao Zeng, Yangchao Wu, Hyoungseob Park, Daniel Wang, Fengyu Yang, Stefano Soatto, Dong Lao, Byung-Woo Hong, and Alex Wong. Rsa: Resolving scale ambiguities in monocular depth estimators through language descriptions. arXiv preprint arXiv:2410.02924, 2024. 3
[58] F. Zhang, V. Prisacariu, R. Yang, and P. H. S. Torr. Ga-net: Guided aggregation net for end-to-end stereo matching. In CVPR, pages 185–194, 2019. 3
[59] Haoliang Zhao, Huizhou Zhou, Yongjun Zhang, Jie Chen, Yitong Yang, and Yong Zhao. High-frequency stereo matching network. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1327–1336, 2023. 3