NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PatchMatch-RL: Deep MVS with Pixelwise Depth, Normal, and Visibility

Jae Yong Lee, Joseph DeGol, Chuhang Zou, Derek Hoiem

Abstract

Multi-View Stereo (MVS) reconstruction often faces a trade-off between the efficiency of traditional PatchMatch methods and the robustness of deep learning approaches. PatchMatch-RL introduces an end-to-end trainable framework that bridges this gap. By employing Reinforcement Learning (RL) to handle non-differentiable iterative sampling, the model optimizes pixelwise depth, surface normals, and visibility. Evaluated on challenging benchmarks like ETH3D and Tanks and Temples, PatchMatch-RL demonstrates superior completeness and accuracy, particularly in wide-baseline scenarios and texture-poor regions.

Introduction

Reconstructing 3D geometry from 2D images remains a cornerstone of computer vision. Traditional methods like COLMAP rely on PatchMatch optimization, which excels in handling large depth ranges and wide baselines but lacks the semantic robustness of learned features. Conversely, deep learning methods often utilize memory-intensive plane-sweep volumes that struggle with slanted surfaces and sparse views.

The primary obstacle to a "Deep PatchMatch" has been the non-differentiable nature of its iterative sampling and "best-candidate" selection. PatchMatch-RL addresses this by reframing the selection process as a reinforcement learning problem, allowing the system to be trained end-to-end.

Methodology

Reinforcement Learning for Differentiable Optimization

To overcome the non-differentiable "argmax" selection in PatchMatch, the authors utilize the REINFORCE algorithm. By treating depth and normal candidate selection as an RL problem, the model can minimize expected photometric costs and maximize the likelihood of ground-truth geometry. This allows the network to explore various hypotheses during training and learn an optimal policy for geometric estimation.

Geometric and Contextual Enhancements

Unlike many deep MVS frameworks that focus solely on depth, PatchMatch-RL estimates a 4D continuous value representing both depth and 3D surface normals. To capture surface orientation accurately without excessive memory overhead, the model employs dilated patch kernels. These kernels provide a wider spatial context, allowing the network to better perceive surface slopes.

Furthermore, the system incorporates learned visibility. Instead of using fixed geometric checks, the model learns to identify which source images provide the most reliable information for a given pixel, significantly improving robustness against occlusions.

Recurrent Cost Regularization

Spatial consistency is maintained through a Gated Recurrent Unit (GRU) based cost regularization. This acts as a learned alternative to traditional Belief Propagation, facilitating message passing between neighboring pixels to ensure a coherent global reconstruction. The entire process is embedded within a coarse-to-fine architecture, ensuring computational efficiency across high-resolution inputs.

Experimental Results

The model was trained on the BlendedMVS dataset and evaluated on the ETH3D High-Res Multi-View and Tanks and Temples (TnT) benchmarks.

Quantitative Performance

On the ETH3D benchmark, PatchMatch-RL achieved an F1 score of 86.8 at the 5cm threshold, outperforming other learning-based methods such as PVSNet and PatchmatchNet. Ablation studies highlighted the importance of surface normals, which contributed to a 13.2% improvement in reconstruction accuracy. Processing a high-resolution reference image takes approximately 13.5 seconds on an Nvidia RTX 3090, demonstrating competitive efficiency.

Qualitative Comparison

A key strength of PatchMatch-RL is its ability to reconstruct weakly textured surfaces where traditional methods often fail. As shown in the comparison with COLMAP, the proposed method generates significantly more complete models of surfaces like white walls and pillars.

Qualitative comparison of PatchMatch-RL against COLMAP and Ground Truth.

Conclusion

PatchMatch-RL represents a significant step forward in Multi-View Stereo by successfully integrating iterative optimization into a deep learning framework. By utilizing RL as a differentiable proxy, the model maintains the efficiency of pixelwise optimization while benefiting from the representational power of neural networks. Future work will focus on integrating more advanced geometric consistency checks and improving performance on highly reflective or entirely texture-less surfaces.

Summary updated

BibTeX
@inproceedings{lee2021patchmatch,
  author = {Jae Yong Lee and Joseph DeGol and Chuhang Zou and Derek Hoiem},
  title = {{PatchMatch-RL: Deep MVS with Pixelwise Depth, Normal, and Visibility}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00610},
}
Figure