Skip to main content
QUICK REVIEW

[Paper Review] GraftNet: Towards Domain Generalized Stereo Matching with a Broad-Spectrum and Task-Oriented Feature

Biyang Liu, Huimin Yu|arXiv (Cornell University)|Apr 1, 2022
Advanced Vision and ImagingComputer Science5 citations
TL;DR

This paper proposes GraftNet, a domain-generalized stereo matching framework that enhances generalization by grafting a broad-spectrum feature from an ImageNet-pretrained model into a stereo matching network via a cosine similarity-based cost volume. By disentangling feature extraction from cost aggregation and refining the grafted feature with a lightweight adaptor, GraftNet achieves state-of-the-art performance on KITTI 2015, KITTI 2012, Middlebury, and ETH3D without fine-tuning on target domains.

ABSTRACT

Although supervised deep stereo matching networks have made impressive achievements, the poor generalization ability caused by the domain gap prevents them from being applied to real-life scenarios. In this paper, we propose to leverage the feature of a model trained on large-scale datasets to deal with the domain shift since it has seen various styles of images. With the cosine similarity based cost volume as a bridge, the feature will be grafted to an ordinary cost aggregation module. Despite the broad-spectrum representation, such a low-level feature contains much general information which is not aimed at stereo matching. To recover more task-specific information, the grafted feature is further input into a shallow network to be transformed before calculating the cost. Extensive experiments show that the model generalization ability can be improved significantly with this broad-spectrum and task-oriented feature. Specifically, based on two well-known architectures PSMNet and GANet, our methods are superior to other robust algorithms when transferring from SceneFlow to KITTI 2015, KITTI 2012, and Middlebury. Code is available at https://github.com/SpadeLiu/Graft-PSMNet.

Motivation & Objective

  • To address the domain shift problem in stereo matching, where models trained on synthetic data fail on real-world images.
  • To investigate whether a broad-spectrum feature from a large-scale pre-trained model can improve cross-domain generalization in stereo matching.
  • To decouple feature extraction from cost aggregation to enable modular, non-fine-tuned feature grafting.
  • To recover task-specific information from general-purpose features using a lightweight adaptor network.
  • To achieve domain generalization without requiring target-domain annotations during training.

Proposed method

  • Graft a broad-spectrum feature from an ImageNet-pretrained model (e.g., VGG, ResNet) into the cost aggregation module of a stereo matching network.
  • Construct a generalized cost volume using cosine similarity between features, ensuring metric invariance and discarding semantic interference.
  • Use a shallow, task-specific adaptor network to refine the grafted feature before cost computation, enhancing task relevance.
  • Train the adaptor only on the source domain (e.g., SceneFlow), leveraging the robustness of the broad-spectrum feature to reduce overfitting.
  • Integrate the grafted and adapted feature into PSMNet and GANet architectures to form Graft-PSMNet and Graft-GANet.
  • Use cosine similarity to project features of arbitrary channels into a scalar cost volume, enabling compatibility with diverse features.
Figure 1 : The toy experiment to validate the grafting operation. Two models with the cost volume formed by feature concatenation (Subfigure c ) and cosine similarity (Subfigure e ) are trained on SceneFlow, then their feature extraction modules are replaced with a B road- S pectrum feature (Subfigu
Figure 1 : The toy experiment to validate the grafting operation. Two models with the cost volume formed by feature concatenation (Subfigure c ) and cosine similarity (Subfigure e ) are trained on SceneFlow, then their feature extraction modules are replaced with a B road- S pectrum feature (Subfigu

Experimental results

Research questions

  • RQ1Can a broad-spectrum feature from a large-scale pre-trained model improve domain generalization in stereo matching?
  • RQ2Does using cosine similarity for cost volume construction enable effective grafting of pre-trained features without fine-tuning?
  • RQ3Can a lightweight adaptor network recover task-specific information from a general-purpose feature to improve stereo matching performance?
  • RQ4How does GraftNet compare to existing robust and domain-generalized stereo matching methods across diverse real-world datasets?
  • RQ5What are the limitations of the grafted feature in handling domain shifts, particularly on datasets with atypical image styles like ETH3D?

Key findings

  • Graft-PSMNet and Graft-GANet achieve state-of-the-art performance on KITTI 2015, KITTI 2012, and Middlebury, with 5.3% and 5.4% 3-pixel error rates respectively, outperforming other robust methods.
  • On ETH3D, the models achieve 10.7% and 6.2% 3-pixel error rates, respectively, though performance is lower due to limited gray-scale image representation in ImageNet.
  • The use of cosine similarity-based cost volume enables effective grafting of features from different models, including ResNet18, ResNet50, and OFE, with consistent performance gains.
  • Grafting without fine-tuning significantly improves cross-domain performance compared to direct feature replacement, validating the effectiveness of the generalized cost space.
  • When combined with data augmentation (e.g., color jitter), Graft-PSMNet and Graft-GANet achieve even better results, with 4.8% and 4.9% 3-pixel error rates on KITTI 2015.
  • The method demonstrates that broad-spectrum features can be effectively leveraged for stereo matching without requiring target-domain annotations, enabling true domain generalization.
Figure 2 : The overall architecture of GraftNet, consisting of a broad-spectrum feature, a feature adaptor, and a cost aggregation module. To build GraftNet, we first graft the feature from a classic model trained on the large-scale dataset ImageNet to the cost aggregation module of an ordinary ster
Figure 2 : The overall architecture of GraftNet, consisting of a broad-spectrum feature, a feature adaptor, and a cost aggregation module. To build GraftNet, we first graft the feature from a classic model trained on the large-scale dataset ImageNet to the cost aggregation module of an ordinary ster

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.