Introduction
RANSAC (Random Sample Consensus) remains the "gold standard" for robust model fitting in computer vision, particularly for tasks like relative pose estimation. However, its performance is heavily dependent on a manually tuned inlier threshold ($\tau$). A threshold that is too restrictive discards valid data, while one that is too permissive incorporates noise, degrading model accuracy. Finding the optimal "Goldilocks" threshold is challenging as it varies across cameras, scenes, and matching algorithms. This paper introduces SIMFIT++, an improved noise scale estimator that automates threshold selection by correcting systematic biases present in previous methods.
Methodology: Addressing the Overfitting Trap
SIMFIT++ builds upon the original SIMFIT algorithm by introducing three critical refinements to eliminate estimation bias:
- Train/Validation Splitting: Traditional estimators often calculate noise on the same data used to fit the model, leading to "overfitting bias." This makes the model appear more accurate than it is, resulting in an underestimated noise scale. SIMFIT++ mitigates this by splitting the data, fitting the model on one subset and estimating noise on another.
- Truncation Correction: RANSAC inherently ignores points with errors exceeding the current threshold. Standard estimators assume a full error distribution, but they are actually observing a truncated one. SIMFIT++ mathematically adjusts the expected percentile of the error distribution to account for this truncation.
- Multi-Pair Filtering: In scenarios like video sequences, noise scales are often consistent across image pairs. The "multi-pair" variant of SIMFIT++ stabilizes threshold estimates using a geometric mean over time.
Experimental Evaluation
The authors evaluated SIMFIT++ using posebench, a comprehensive benchmark for relative pose estimation across diverse datasets:
- MegaDepth1500: Outdoor scenes with high depth variation.
- ScanNet1500: Indoor environments.
- IMC-PT (Image Matching Challenge): Diverse outdoor "phototourism" imagery.
The method was tested with various modern feature matchers, including SIFT, SuperGlue, LightGlue, and RoMa, demonstrating its versatility across different data generation pipelines.
Key Results and Insights
The most significant finding is the algorithm's threshold independence. Unlike standard RANSAC, where performance drops sharply if the initial threshold is poorly chosen, SIMFIT++ maintains high performance regardless of the starting parameter.
- Superior Robustness: In Fundamental matrix estimation, SIMFIT++ maintained a high AUC of ~34.7 across all tested thresholds. In contrast, fixed-threshold RANSAC performance plummeted from 34.0 to below 30.0 as the threshold deviated from the optimal value.
- Closing the Gap with the Oracle: SIMFIT++ performed within 0.5% of a theoretical "Oracle" system (which knows the perfect threshold for every pair), significantly outperforming the original SIMFIT, which lagged by 1.5% to 2.7%.
Conclusion and Future Work
SIMFIT++ effectively removes the need for manual threshold tuning in RANSAC-based pipelines. While it assumes a linear relationship between the optimal threshold and inlier noise scale—which holds well for the tested geometric problems—future work could explore non-linear relationships or applications in specialized domains like medical or satellite imaging. Despite a slight iterative computational overhead, its robustness makes it a powerful tool for automated computer vision pipelines.
Code is available at: https://github.com/Parskatt/simfitpp
Summary updated