# RANSAC Scoring Done Right

*James Pritts, Felix Seegräber, Kevin Köser*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154742) · [OpenReview](https://openreview.net/forum?id=BK5yH67CQC) · [alphaXiv](https://www.alphaxiv.org/abs/2606.27385) · [Open on the map](../papers.html#p154742)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Manifold Diffusion Modeling](../pgroup/188.md) · Type: new method · Keywords: robust model fitting, inlier scale estimation, RANSAC scoring, two-view geometry, prior marginalization

Areas: [Computer Vision & 3D](../areas/computer-vision.md) › Dynamic 3D Scene Understanding › Point cloud registration

## Summary
RANSAC Scoring Done Right introduces a new scoring function that analytically marginalizes the inlier scale under a prior, yielding a closed-form expression that works across data regimes and can be computed efficiently.

## Explained to a 5-year-old
When we try to find a rule that fits some points, we also have some wrong points mixed in. The old way needs a number that tells how far the good points are, but that number is hard to know. The new idea works out a way to ignore that number by using a smart math rule that works whether we have lots of data or just a little. This makes the rule more reliable and easier to use.

## Explained to a 5-year-old, longer
Imagine you are drawing a straight line through a bunch of dots on paper, but some of the dots are not supposed to be on the line. You need a way to decide if a line is good. The old way uses a number that says how far the good dots are from the line, but that number is tricky because you might not know it. The new method figures out a way to skip that tricky number by using a special math trick that works whether you have many dots or only a few. This trick is based on a simple rule that can be calculated quickly, so you can find the best line fast. It also works well when you have a lot of data or very little data, making it useful in many situations. The result is a more reliable way to find the right line without needing extra work.

## For a technical reader
The paper addresses the need for a robust scoring function in outlier-rejection algorithms. It analytically integrates out the inlier scale using an Inverse-Gamma prior, producing a closed-form expression that works with both non-informative and data-driven priors. This yields O(N log N) computation via sort-and-sweep, reducing sensitivity to hyperparameter choices and adapting to data-rich or data-scarce settings. Experiments on a large two-view geometry benchmark confirm the improvements over existing scores.

## Problem
Estimating model parameters from data contaminated by outliers typically requires a scoring function that depends on a scale parameter of inliers, which itself must be estimated from noisy data, leading to sensitivity to hyperparameter choices.

## Method
The approach reverses the inference order by analytically marginalizing the inlier scale under an Inverse-Gamma prior for a fixed inlier partition, then optimizing over partitions, producing a closed-form score that works with both non-informative and empirical-Bayes priors and can be computed in O(N log N) via sort-and-sweep.

## Results
The approach matches or exceeds state-of-the-art scores on the benchmark, showing improved robustness to hyperparameter miscalibration, better sample efficiency with small validation budgets, and adaptive regularization across data-rich and data-scarce regimes.

## Contributions
A scoring method for model fitting that removes the need for a user-supplied scale parameter by analytically marginalizing the inlier scale under a prior, providing a unified closed-form expression that works with both non-informative and empirical-Bayes priors and can be computed efficiently, and a large-scale validation on two-view geometry problems demonstrating superior performance.

## Limitations and assumptions
The method assumes a conjugate Inverse-Gamma prior for the inlier scale and requires a small validation set for empirical-Bayes priors; evaluation is limited to two-view geometry problems and specific feature pipelines.

## Practical relevance
The method enables reliable model fitting with minimal hyperparameter tuning, making it suitable for applications where validation data is scarce or expensive.

## Research questions this paper is counted under

- [How can we estimate model parameters or structures when data contain unknown outliers or noise?](../q/822.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154742)
