Introduction
In 3D computer vision, estimating camera positions from image points—known as minimal problems—is a fundamental task. Traditionally, these are solved using a "solve & pick" approach: an algebraic solver finds all possible mathematical solutions to a system of polynomial equations, and RANSAC subsequently selects the one that best fits the observed data.
However, "hard" minimal problems, such as the "Scranton" problem (estimating the pose of three cameras from four points), can have hundreds of complex solutions. Exhaustively finding all solutions is computationally expensive, creating a significant bottleneck for real-time applications like SLAM or Augmented Reality.
The "Pick & Solve" Strategy
This paper proposes a paradigm shift from "solve & pick" to "pick & solve." Instead of finding all solutions, the authors leverage machine learning to predict a single promising starting point, which is then refined using numerical methods.
The pipeline consists of two main stages:
- Offline Training: Millions of problem-solution pairs are generated from 3D models. A small set of "anchors"—representative pairs that cover the space of real-world scenarios—is identified. A Multi-Layer Perceptron (MLP) is then trained to predict which anchor is most likely to lead to the correct physical solution for a given input.
- Online Solver: During inference, the input data is normalized, and the MLP selects the optimal anchor. The solver then employs Homotopy Continuation (HC) to "deform" the anchor solution into the solution for the current problem by tracking a path through the problem-solution manifold.
Key Insights
- Exploiting Data Distribution: Unlike traditional solvers that treat all mathematical solutions as equally likely, this method recognizes that real-world data follows specific distributions. The MLP learns to ignore physically impossible "spurious" solutions.
- Locality of Homotopy Continuation: HC is naturally local. Starting near the correct solution allows the solver to bypass the cost of finding hundreds of other irrelevant solutions.
- Real-Domain Optimization: By restricting the solver to the real-number domain and using a "pick" strategy, the overhead of complex-number arithmetic is avoided.
Experimental Results
The proposed method was evaluated on the ETH 3D Dataset and the CVPR 2020 RANSAC Tutorial Dataset.
- Speed: For the Scranton problem, the solver finds a solution in under 70 µs on average, representing a ~14x speedup over previous state-of-the-art numerical searches and a ~7000x speedup over global HC solvers.
- RANSAC Integration: Although the MLP's "picking" accuracy is approximately 26-29%, the extreme speed of the solver allows RANSAC to run significantly more iterations. This results in faster convergence to a correct global pose compared to slower, more "accurate" solvers.
Conclusion and Future Work
The "pick & solve" approach demonstrates that combining machine learning with classical numerical methods can overcome long-standing computational barriers in geometric vision. Future work may extend this to problems with thousands of solutions or degenerate cases that are currently intractable for symbolic-numeric solvers.
Summary updated