Research map / Detection and segmentation / Open-set and few-shot detection
Hierarchical Object-Aware Dual-Level Contrastive Learning for Domain Generalized Stereo Matching
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Proposes HODC, a plug-in hierarchical object-aware intra- and inter-scale dual-level contrastive loss that improves synthetic-to-real generalization of stereo matching networks trained only on SceneFlow.
Problem
Stereo matching networks trained on synthetic data generalize poorly to unseen realistic domains because they rely on superficial appearance cues rather than semantic and structural features.
Approach
Segment object index maps into rectangular grids at multiple scales to form object-aware regional representations, warp left features to the right using ground-truth disparity, and apply intra- and inter-scale InfoNCE contrastive losses with hard negative selection, added to the smooth-L1 loss without architecture changes.
Key results
- HODC-PSMNet reduces KITTI-2015 D1 error from 16.3 (PSMNet) to 4.7 and ETH3D from 23.8 to 5.4 when trained only on SceneFlow.
- HODC-IGEV achieves 4.5 on KITTI-2015, 3.8 on KITTI-2012, and 2.7 on ETH3D, the best ETH3D result in Table 1.
- HODC improves GwcNet on Middlebury half from 34.2 to 8.4 and CFNet on KITTI-2012 from 4.7 to 3.8, outperforming prior domain generalization methods in most settings.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Add HODC to IGEV | IGEV · KITTI-2015 | D1: 5.6 -> 4.5 | Helped |
| Add HODC to PSMNet | PSMNet · KITTI-2012 | D1: 15.1 -> 3.9 | Helped |
| Add HODC to IGEV | IGEV · Middlebury Half | D1: 7.1 -> 7.0 | Helped |
| Add HODC to IGEV | IGEV · Middlebury Quarter | D1: 6.2 -> 5.2 | Helped |
| Add HODC to IGEV | IGEV · ETH3D | D1: 3.6 -> 2.7 | Helped |
| Add intra-scale contrastive loss (ablation) | PSMNet with HODC · KITTI-2015 | D1: 4.9 -> 4.7 | Helped |
| Add inter-scale contrastive loss (ablation) | PSMNet with HODC · KITTI-2015 | D1: 4.9 -> 4.7 | Helped |
| Add object index prior (ablation) | PSMNet with HODC · KITTI-2015 | D1: 4.9 -> 4.7 | Helped |
| Add intra-scale contrastive loss (ablation) | GwcNet with HODC · KITTI-2015 | D1: 5.0 -> 4.9 | Helped |
| Add inter-scale contrastive loss (ablation) | GwcNet with HODC · KITTI-2015 | D1: 5.1 -> 4.9 | Helped |
| Add object index prior (ablation) | GwcNet with HODC · KITTI-2015 | D1: 5.3 -> 4.9 | Helped |
| Set maximum segmentation scale M to 32 instead of 128 (ablation) | PSMNet with HODC · KITTI-2015 | D1: 4.7 -> 4.6 | Helped |
Surprising findings
- Lower similarity between hard negatives, rather than feature consistency between matching pixels, appears more predictive of generalization, contrary to the claim in prior FC-Stereo work.
- Segmenting with fewer grids (larger scale) benefits some datasets, and the method remains effective even without object index priors (whole-image segmentation).
Limitations
- Direct integration into existing architectures overlooks the role of network architecture in domain generalization.
- Requires object index maps (provided by SceneFlow or a pretrained segmentation model) and ground-truth disparity for correspondence.
- Training adds computational and memory overhead from contrastive pairs over multiple scales.
Experimental setup
Datasets: SceneFlow KITTI-2012 KITTI-2015 Middlebury ETH3D DrivingStereo
Benchmarks: KITTI-2012 KITTI-2015 Middlebury ETH3D DrivingStereo
Metrics: D1 outlier percentage
Baselines: PSMNet GwcNet CFNet IGEV STTR DSMNet FC-GANet PCWNet CREStereo++ MS-Net ITSA GraftNet
Builds on: FC-GANet InfoNCE smooth L1 loss domain normalization
Closest papers by meaning
- Revisiting Domain Generalized Stereo Matching Networks From a Feature Consistency Perspective (CVPR 2022 · similarity 0.93)
- Domain Generalized Stereo Matching via Hierarchical Visual Transformation (CVPR 2023 · similarity 0.91)
- Robust Synthetic-to-Real Transfer for Stereo Matching (CVPR 2024 · similarity 0.89)
- All-in-One: Transferring Vision Foundation Models into Stereo Matching (AAAI 2025 · similarity 0.88)
- Stereo Anywhere: Robust Zero-Shot Deep Stereo Matching Even Where Either Stereo or Mono Fail (CVPR 2025 · similarity 0.87)
- Stereo Risk: A Continuous Modeling Approach to Stereo Matching (ICML 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
