[Paper Review] CGI-Stereo: Accurate and Real-Time Stereo Matching via Context and Geometry Interaction
CGI-Stereo introduces Context and Geometry Fusion (CGF) and Attention Feature Volume (AFV) to enable real-time, accurate stereo matching with strong cross-domain generalization; CGF can be embedded into existing nets and achieves first place among real-time methods on KITTI and strong generalization on multiple datasets.
In this paper, we propose CGI-Stereo, a novel neural network architecture that can concurrently achieve real-time performance, competitive accuracy, and strong generalization ability. The core of our CGI-Stereo is a Context and Geometry Fusion (CGF) block which adaptively fuses context and geometry information for more effective cost aggregation and meanwhile provides feedback to feature learning to guide more effective contextual feature extraction. The proposed CGF can be easily embedded into many existing stereo matching networks, such as PSMNet, GwcNet and ACVNet. The resulting networks show a significant improvement in accuracy. Specially, the model which incorporates our CGF with ACVNet ranks $1^{st}$ on the KITTI 2012 and 2015 leaderboards among all the published methods. We further propose an informative and concise cost volume, named Attention Feature Volume (AFV), which exploits a correlation volume as attention weights to filter a feature volume. Based on CGF and AFV, the proposed CGI-Stereo outperforms all other published real-time methods on KITTI benchmarks and shows better generalization ability than other real-time methods. Code is available at https://github.com/gangweiX/CGI-Stereo.
Motivation & Objective
- Motivate the need for accurate yet real-time stereo matching with good generalization.
- Propose CGF to enable interactive fusion of context and geometry for improved cost aggregation.
- Introduce AFV as a concise cost volume leveraging correlation-based attention.
- Show that CGI-Stereo achieves state-of-the-art real-time KITTI results and strong generalization across datasets.
Proposed method
- Propose Context and Geometry Fusion (CGF) to generate spatial attention weights and adaptively fuse expanded context features with geometry features in the cost volume.
- Construct Attention Feature Volume (AFV) by modulating a left-feature volume with correlation-based attention weights derived from a cosine similarity volume.
- Use a lightweight 3D encoder-decoder with CGF for cost aggregation to recover high-resolution geometry features.
- Predict disparity from the aggregated cost via top-k softmax and up-sampling with superpixel guidance to full resolution.
- Train end-to-end with a two-term loss on 1/4 and full-resolution disparities.
Experimental results
Research questions
- RQ1Can a lightweight 3D cost-aggregation architecture achieve both real-time performance and high accuracy in stereo matching?
- RQ2Does enabling interaction between context features and geometry features via CGF improve disparity accuracy?
- RQ3Does AFV provide a compact yet informative cost volume that enhances matching without heavy computation?
- RQ4How well does CGI-Stereo generalize from synthetic to real-world datasets compared to other real-time methods?
Key findings
- CGF (with AFV) improves accuracy notably, with CGF alone reducing EPE from 0.82 to 0.66 in ablations.
- CGI-Stereo achieves real-time speed (<50 ms) and outperforms other published real-time methods on KITTI benchmarks.
- CGF integrated into other models (PSMNet, GwcNet, ACVNet) yields substantial accuracy gains on KITTI 2012/2015.
- CGI-Stereo generalizes better to real datasets (KITTI, Middlebury, ETH3D) than other real-time methods when trained only on Scene Flow.
- CGI-Stereo (CGF-ACV) ranks first on KITTI 2012 and 2015 leaderboards among published methods in real-time category.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.