Skip to main content
QUICK REVIEW

[Paper Review] MVSFormer++: Revealing the Devil in Transformer's Details for Multi-View Stereo

Chenjie Cao, Xinlin Ren|arXiv (Cornell University)|Jan 22, 2024
Advanced Vision and ImagingComputer Science5 citations
TL;DR

MVSFormer++ improves MVS by tailoring transformer attention to each module, integrating cross-view info into a frozen DINOv2 backbone, and introducing 3D frustoconical positional encoding and adaptive attention scaling to boost high-resolution depth reconstruction; it achieves state-of-the-art results on DTU and Tanks-and-Temples.

ABSTRACT

Recent advancements in learning-based Multi-View Stereo (MVS) methods have prominently featured transformer-based models with attention mechanisms. However, existing approaches have not thoroughly investigated the profound influence of transformers on different MVS modules, resulting in limited depth estimation capabilities. In this paper, we introduce MVSFormer++, a method that prudently maximizes the inherent characteristics of attention to enhance various components of the MVS pipeline. Formally, our approach involves infusing cross-view information into the pre-trained DINOv2 model to facilitate MVS learning. Furthermore, we employ different attention mechanisms for the feature encoder and cost volume regularization, focusing on feature and spatial aggregations respectively. Additionally, we uncover that some design details would substantially impact the performance of transformer modules in MVS, including normalized 3D positional encoding, adaptive attention scaling, and the position of layer normalization. Comprehensive experiments on DTU, Tanks-and-Temples, BlendedMVS, and ETH3D validate the effectiveness of the proposed method. Notably, MVSFormer++ achieves state-of-the-art performance on the challenging DTU and Tanks-and-Temples benchmarks.

Motivation & Objective

  • Motivate and analyze how transformer attention affects different MVS pipeline components (feature encoding vs. cost-volume regularization).
  • Leverage cross-view information in a pre-trained ViT (DINOv2) to improve multi-view depth estimation.
  • Design and validate specialized attention, positional encoding, and normalization strategies to enhance stability, generalization, and length extrapolation in MVS.

Proposed method

  • Use a cascade MVS model with four stages (1/8 to full resolution).
  • Adopt a frozen DINOv2 backbone for feature extraction and add Side View Attention (SVA) to inject cross-view information into DINOv2 features.
  • Employ Cost Volume Transformer (CVT) for 3D cost-volume regularization, strengthened with Frustoconical Positional Encoding (FPE) and Adaptive Attention Scaling (AAS).
  • Apply Normalization and Adaptive Layer Scaling (Norm&ALS) to stabilize multi-layer transformer features.
  • Investigate attention mechanisms: linear attention for feature encoding, vanilla attention for cost volume, and a 3D-aware positional encoding to handle long sequence lengths.
  • Train with multi-scale strategy and fine-tune on DTU + BlendedMVS to improve outdoor generalization.

Experimental results

Research questions

  • RQ1How should attention mechanisms be allocated across MVS feature encoding and cost-volume regularization to maximize depth accuracy?
  • RQ2Can cross-view information be effectively injected into a pre-trained ViT (DINOv2) to improve multi-view stereo performance?
  • RQ3What design choices in positional encoding, attention scaling, and layer normalization most impact MVS Transformer robustness and length extrapolation?
  • RQ4Does a 3D frustoconical positional encoding plus adaptive attention scaling mitigate attention dilution and improve high-resolution depth estimation?

Key findings

  • MVSFormer++ achieves state-of-the-art results on DTU and Tanks-and-Temples benchmarks, surpassing prior transformer-based MVS methods.
  • Cross-view Side View Attention (SVA) on frozen DINOv2 features substantially enhances depth estimation by enabling cross-view feature interactions with preserved efficiency.
  • 3D Frustoconical Positional Encoding (FPE) and Adaptive Attention Scaling (AAS) address length extrapolation and attention dilution, improving CVT performance on high-resolution inputs.
  • Vanilla attention with AAS is effective for smoothing the cost volume along spatial dimensions, while linear attention benefits feature-aggregation for cross-view encoding, yielding complementary benefits.
  • Norm&ALS and Pre-LN usage improve convergence stability when stacking multiple transformer layers in the MVS pipeline.
  • Ablation studies show that FPE and AAS contribute significantly to depth accuracy and robustness, with SVA providing the largest gains in cross-view feature quality.

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.