Learning to Solve Hard Minimal Problems
Petr Hruby, Timothy Duff, Anton Leykin, Tomás Pajdla
Abstract
We present an approach to solving hard geometric optimization problems in the RANSAC framework. The hard minimal problems arise from relaxing the original geometric optimization problem into a minimal problem with many spurious solutions. Our approach avoids computing large numbers of spurious solutions. We design a learning strategy for selecting a starting problem-solution pair that can be numerically continued to the problem and the solution of interest. We demonstrate our approach by developing a RANSAC solver for the problem of computing the relative pose of three calibrated cameras, via a minimal relaxation using four points in each view. On average, we can solve a single problem in under 70 µs. We also benchmark and study our engineering choices on the very familiar problem of computing the relative pose of two calibrated cameras, via the minimal case of five points in two views. Motivation Many geometrical problems are optimization problems that have only one optimal solution. Minimal problems, however, often have many additional spurious solutions. The optimal solution is typically real, satisfies inequality constraints, and fits well all data. Such constraints, however, can not be used by methods of nonlinear algebra [13, 65] which have no ability to bypass finding (or incurring the cost of finding) all solutions of polynomial systems. RANSAC [23, 53] approximates the optimal solution to a geometrical problem by computing candidate solutions from data samples and picking a solution with maximal data support. This is done by iterating over the samples in an outer loop and over the solutions of a minimal problem for each sample in an inner loop. To find a single solution for a data sample in the inner loop, the state-of-the-art "solve & pick" approach first computes all solutions of a minimal problem and then picks the optimal solutions by removing nonreal solutions, using inequalities, and evaluating the support. Optimization in the inner loop may be very costly when there are many spurious solutions to the minimal problem. Fig. 1 compares the standard "solve & pick" approach with our "pick & solve" approach that learns, for a given data sample, how to first pick a promising starting point and then (ideally) continue it to a meaningful solution.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 340b47ff-fdae-4200-8605-e61b941c786eCited by top-tier papers15
- Continuation Path Learning for Homotopy OptimizationXi Lin, Zhiyuan Yang, Xiaoyuan Zhang, Qingfu ZhangICML 2023 · 18 citations
- Minimal Solutions to Generalized Three-View Relative Pose ProblemYaqing Ding, Chiang-Heng Chien, Viktor Larsson, Karl Åström et al.ICCV 2023 · 8 citations
- Ground Truth Inference for Weakly Supervised Entity MatchingRenzhi Wu, Alexander Bendeck, Xu Chu, Yeye HeSIGMOD 2023 · 4 citations
- Neural Predictor-Corrector: Solving Homotopy Problems with Reinforcement LearningJiayao Mai, Bangyan Liao, Zhenjun Zhao, Yingping Zeng et al.ICLR 2026 · 3 citations
- Practical Solutions to the Relative Pose of Three Calibrated CamerasCharalambos Tzamos, Viktor Kocur, Yaqing Ding, Daniel Barath et al.CVPR 2025
Builds on3
- PLMP - Point-Line Minimal Problems in Complete Multi-View VisibilityTimothy Duff, Kathlén Kohn, Anton Leykin, Tomás PajdlaICCV 2019 · 43 citations
- TRPLP - Trifocal Relative Pose From Lines at PointsRicardo Fabbri, Timothy Duff, Hongyi Fan, Margaret H. Regan et al.CVPR 2020
- A Sparse Resultant Based Method for Efficient Minimal SolversSnehal Bhayani, Zuzana Kukelova, Janne HeikkiläCVPR 2020
Related papers
- On the Instability of Relative Pose Estimation and RANSAC's RoleHongyi Fan, Joe Kileel, Benjamin B. KimiaCVPR 2022 · 10 citations
- Minimal Cases for Computing the Generalized Relative Pose using Affine CorrespondencesBanglei Guan, Ji Zhao, Daniel Barath, Friedrich FraundorferICCV 2021 · 14 citations
- Relative Pose Estimation for Multi-Camera Systems from Point Correspondences with Scale RatioBanglei Guan, Ji ZhaoACM MM 2022 · 7 citations
- Minimal Solutions for Relative Pose With a Single Affine CorrespondenceBanglei Guan, Ji Zhao, Zhang Li, Fang Sun et al.CVPR 2020
- General Planar Motion from a Pair of 3D CorrespondencesJuan Carlos Dibene, Zhixiang Min, Enrique DunnICCV 2023 · 3 citations
