arXiv:2611.05689cs.CVNov 2026

Manuscript Offprint

arXiv:2611.05689

TRUST-Stereo: Teacher-Assisted Robust Uncertainty-Guided Search and Transfer for Fast Stereo Matching

Pouya Sohrabipour, Yihong Feng, Chaitanya Kumar Reddy Pallerla, Tuan Dang, Ngan Le, Dongyi Wang

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

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].

References (58)