Monte Carlo Diffusion for Generalizable Learning-Based RANSAC
Jiale Wang, Chen Zhao, Wei Ke, Tong Zhang
TL;DR
This work tackles the limited generalization of learning-based RANSAC for robust feature matching by introducing a diffusion-based training paradigm augmented with Monte Carlo sampling. Ground-truth correspondences are progressively diffused to generate diverse noisy variants, and multi-stage randomization expands distribution coverage, enabling RANSAC learners to generalize across unseen data sources. Experiments on ScanNet and MegaDepth show significant improvements in out-of-distribution generalization for NG-RANSAC and related methods, with ablations confirming the contributions of diffusion, MSR, and compatibility with multiple RANSAC variants. The approach maintains competitive in-distribution performance and offers a practical path to robust estimation when encountering data from unfamiliar matchers or environments.
Abstract
Random Sample Consensus (RANSAC) is a fundamental approach for robustly estimating parametric models from noisy data. Existing learning-based RANSAC methods utilize deep learning to enhance the robustness of RANSAC against outliers. However, these approaches are trained and tested on the data generated by the same algorithms, leading to limited generalization to out-of-distribution data during inference. Therefore, in this paper, we introduce a novel diffusion-based paradigm that progressively injects noise into ground-truth data, simulating the noisy conditions for training learning-based RANSAC. To enhance data diversity, we incorporate Monte Carlo sampling into the diffusion paradigm, approximating diverse data distributions by introducing different types of randomness at multiple stages. We evaluate our approach in the context of feature matching through comprehensive experiments on the ScanNet and MegaDepth datasets. The experimental results demonstrate that our Monte Carlo diffusion mechanism significantly improves the generalization ability of learning-based RANSAC. We also develop extensive ablation studies that highlight the effectiveness of key components in our framework.
