End2End Multi-View Feature Matching with Differentiable Pose Optimization

Barbara Roessle, Matthias NießnerICCV 2023 · DOI

Abstract

This work presents an end-to-end trainable pipeline for multi-view feature matching and camera pose estimation. By integrating a differentiable pose solver, the system enables gradient flow from final camera pose errors back to the matching network. This allows the model to learn geometrically significant features and perform implicit outlier rejection, significantly outperforming traditional modular pipelines in both accuracy and speed.

Introduction

Traditional 3D reconstruction pipelines, such as Structure from Motion (SfM), typically follow a disjointed sequence: feature detection, matching, outlier filtering via RANSAC, and final pose optimization. This "divide and conquer" approach suffers from two primary limitations. First, there is a fundamental disconnect: matching networks are optimized for visual similarity rather than geometric utility. Second, most matchers operate on image pairs, ignoring the multi-view constraints that could resolve ambiguities in complex scenes.

Methodology

The proposed architecture addresses these flaws through two core components: a Multi-View Graph Neural Network (GNN) and a Differentiable Pose Solver.

The end-to-end pipeline architecture, showing the flow from multi-view RGB input to differentiable pose optimization and loss calculation.

The Multi-View GNN extends the SuperGlue architecture to process $N$ images simultaneously. Using self-attention for intra-image reasoning and cross-attention for inter-image reasoning across the entire set, the network forms robust feature "tracks." This global context is crucial for handling repetitive patterns and low-overlap regions.

To enable end-to-end training, the authors replace non-differentiable geometric steps with differentiable counterparts. A weighted eight-point algorithm uses GNN-predicted confidence scores to initialize poses, which are then refined via a differentiable Bundle Adjustment (BA) layer using a Gauss-Newton optimizer. This differentiability allows the "Pose Loss"—the error between predicted and ground-truth poses—to guide the matching network's learning process.

Experimental Results

The model was evaluated on benchmarks including ScanNet (indoor), MegaDepth (outdoor), and Matterport3D (sparse views).

Pose error AUC results on the ScanNet dataset, comparing various matching methods and pose estimation strategies.

On ScanNet, the method achieved a 6.7% improvement in pose estimation accuracy over SuperGlue. The gains were even more pronounced in sparse-view scenarios like Matterport3D, where accuracy improved by 18.5%. Beyond accuracy, the pipeline is over 50% faster than traditional methods because the high-quality, weighted matches often render the computationally expensive RANSAC iterations unnecessary.

Discussion and Limitations

A key insight of this research is "Pose-Guided Learning." By training against a geometric loss, the GNN naturally learns to down-weight outliers that would negatively impact the pose solver. However, limitations remain. The current system uses fixed SuperPoint descriptors and does not yet backpropagate to the feature extraction stage. Additionally, it lacks a subpixel refinement mechanism for keypoint locations and faces potential memory scaling challenges for very large image sets.

Conclusion

By bridging the gap between feature matching and geometric optimization, this end-to-end approach sets a new standard for multi-view pose estimation. The integration of differentiable solvers not only improves robustness and accuracy but also significantly enhances computational efficiency by streamlining the traditional reconstruction pipeline.

Summary updated

BibTeX
@inproceedings{roessle2023end,
  author = {Barbara Roessle and Matthias Nießner},
  title = {{End2End Multi-View Feature Matching with Differentiable Pose Optimization}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.00050},
}
Figure