[Paper Review] TransMVSNet: Global Context-aware Multi-view Stereo Network with Transformers
TransMVSNet introduces a novel end-to-end multi-view stereo network that leverages a Feature Matching Transformer (FMT) to capture long-range global context within and across views using self- and cross-attention mechanisms. By integrating an Adaptive Receptive Field (ARF) module and a transformed feature pathway, it enables effective feature refinement and gradient flow, achieving state-of-the-art performance on DTU, Tanks and Temples, and BlendedMVS benchmarks with a 0.73 EPE on BlendedMVS.
In this paper, we present TransMVSNet, based on our exploration of feature matching in multi-view stereo (MVS). We analogize MVS back to its nature of a feature matching task and therefore propose a powerful Feature Matching Transformer (FMT) to leverage intra- (self-) and inter- (cross-) attention to aggregate long-range context information within and across images. To facilitate a better adaptation of the FMT, we leverage an Adaptive Receptive Field (ARF) module to ensure a smooth transit in scopes of features and bridge different stages with a feature pathway to pass transformed features and gradients across different scales. In addition, we apply pair-wise feature correlation to measure similarity between features, and adopt ambiguity-reducing focal loss to strengthen the supervision. To the best of our knowledge, TransMVSNet is the first attempt to leverage Transformer into the task of MVS. As a result, our method achieves state-of-the-art performance on DTU dataset, Tanks and Temples benchmark, and BlendedMVS dataset. The code of our method will be made available at https://github.com/MegviiRobot/TransMVSNet .
Motivation & Objective
- To address the limitation of local feature representations in MVS, which hinder robust depth estimation in textureless or repetitive regions.
- To improve feature matching in multi-view stereo by explicitly modeling long-range global context within and across images.
- To enable end-to-end training of a Transformer-based MVS network with effective supervision and memory efficiency.
- To overcome the challenges of adapting Transformers to the one-to-many matching nature of MVS, distinct from standard image matching tasks.
Proposed method
- Proposes a Feature Matching Transformer (FMT) that uses intra-attention to aggregate global context within each image and inter-attention to model cross-view correspondences across all source images.
- Introduces an Adaptive Receptive Field (ARF) module to smoothly transition from locally aggregated CNN features to globally receptive FMT features, ensuring feature consistency across scales.
- Employs a transformed feature pathway to pass intermediate features and gradients across different resolution stages, enabling efficient coarse-to-fine refinement.
- Uses pair-wise feature correlation to compute matching costs between reference and source feature maps, enhancing correspondence estimation.
- Applies ambiguity-reducing focal loss to improve supervision on hard-to-predict pixels, especially in ambiguous or challenging regions.
- Adopts a coarse-to-fine regularization strategy with multi-stage depth prediction and progressive refinement of depth hypotheses.
Experimental results
Research questions
- RQ1Can a Transformer-based architecture effectively model long-range global context for multi-view stereo matching, improving depth estimation in challenging regions?
- RQ2How can the self- and cross-attention mechanisms of Transformers be adapted to the one-to-many matching nature of MVS, as opposed to standard image matching?
- RQ3What architectural components are necessary to enable end-to-end training of a Transformer-based MVS network with high efficiency and low memory overhead?
- RQ4Does incorporating global context via FMT lead to measurable improvements in depth accuracy and completeness on standard MVS benchmarks?
Key findings
- TransMVSNet achieves a 0.73 mean error (EPE) on the BlendedMVS validation set, significantly outperforming prior methods such as CasMVSNet (1.43 EPE) and EPP-MVSNet (1.17 EPE).
- On the DTU dataset, TransMVSNet achieves an EPE of 0.73, a 48% relative improvement over the baseline CasMVSNet (1.43 EPE), and sets a new SOTA on this benchmark.
- On the Tanks and Temples benchmark, TransMVSNet achieves state-of-the-art performance, demonstrating strong generalization to complex, real-world scenes.
- Abllation studies confirm that each component—Focal Loss, FMT, ARF, and the transformed feature pathway—contributes significantly to performance, with the full model achieving 0.305 overall accuracy on DTU.
- The ARF module increases computational cost but enables better feature adaptation, while the transformed pathway improves performance with minimal memory overhead.
- Despite a 1.4× inference speed slowdown compared to baseline models, the full model runs in under one second per image, making it practical for real-world use.
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.