[Paper Review] WT-MVSNet: Window-based Transformers for Multi-view Stereo
WT-MVSNet introduces a novel window-based Transformer framework for multi-view stereo, leveraging a Window-based Epipolar Transformer (WET) for robust, epipolar-constrained feature matching and a Cost Transformer (CT) for global cost volume regularization. It achieves state-of-the-art performance, ranking 1st on the Tanks and Temples benchmark with improved depth accuracy and completeness across multiple datasets.
Recently, Transformers were shown to enhance the performance of multi-view stereo by enabling long-range feature interaction. In this work, we propose Window-based Transformers (WT) for local feature matching and global feature aggregation in multi-view stereo. We introduce a Window-based Epipolar Transformer (WET) which reduces matching redundancy by using epipolar constraints. Since point-to-line matching is sensitive to erroneous camera pose and calibration, we match windows near the epipolar lines. A second Shifted WT is employed for aggregating global information within cost volume. We present a novel Cost Transformer (CT) to replace 3D convolutions for cost volume regularization. In order to better constrain the estimated depth maps from multiple views, we further design a novel geometric consistency loss (Geo Loss) which punishes unreliable areas where multi-view consistency is not satisfied. Our WT multi-view stereo method (WT-MVSNet) achieves state-of-the-art performance across multiple datasets and ranks $1^{st}$ on Tanks and Temples benchmark.
Motivation & Objective
- To address matching redundancy and sensitivity to pose errors in attention-based multi-view stereo by incorporating epipolar geometry constraints.
- To improve cost volume regularization beyond 3D CNNs by enabling long-range global feature aggregation using a window-based Transformer.
- To enhance depth map quality by introducing a geometric consistency loss that enforces multi-view consistency during training.
- To achieve state-of-the-art performance in depth estimation accuracy and completeness on standard MVS benchmarks.
Proposed method
- Proposes a Window-based Epipolar Transformer (WET) that matches reference image patches with source image windows near epipolar lines, reducing redundancy and improving robustness to pose errors.
- Introduces a Cost Transformer (CT) that replaces 3D convolutions for cost volume regularization, enabling global context aggregation across the entire cost volume.
- Employs a novel geometric consistency loss (Geo Loss) that penalizes depth predictions inconsistent across multiple views, improving reliability.
- Uses shifted window attention mechanisms in both WET and CT to maintain computational efficiency while enabling long-range feature interactions.
- Adapts differentiable homography warping for cost volume construction and combines multi-scale features from a CNN backbone for initial representation learning.
- Optimizes the model using a weighted combination of cross-entropy loss and Geo Loss, with ablation studies on loss weights.
Experimental results
Research questions
- RQ1Can window-based attention mechanisms improve matching robustness to inaccurate camera poses in multi-view stereo?
- RQ2Can a Transformer-based cost volume regularization outperform 3D CNNs in terms of smoothness and completeness of depth probability volumes?
- RQ3Does enforcing geometric consistency across multiple views through a novel loss improve depth estimation accuracy?
- RQ4How do window size and number of attention blocks affect the trade-off between performance, memory, and inference speed in the proposed architecture?
Key findings
- WT-MVSNet achieves state-of-the-art performance on the DTU dataset, with an overall error of 0.295 mm, outperforming prior methods.
- On the Tanks and Temples benchmark, WT-MVSNet ranks 1st on both the intermediate and advanced sets, demonstrating strong generalization across diverse scenes.
- The ablation study shows that setting the window size to 16×16 and using one attention block in WET achieves the best balance of performance and efficiency.
- The Cost Transformer (CT) with 3 blocks and a 2×8×10 window size achieves the best regularization, reducing overall error to 0.295 mm on DTU.
- The geometric consistency loss (Geo Loss) with λ₂=1 yields the best performance, reducing overall error by 0.012 mm compared to using only cross-entropy loss.
- Increasing the number of input images from 3 to 9 improves accuracy but increases memory and inference time, with 5 images providing a good trade-off.
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.