English

A Fine Line: Total Least-Squares Line Fitting as QCQP Optimization

Robotics 2022-06-13 v1 Optimization and Control

Abstract

This note uses the Total Least-Squares (TLS) line-fitting problem as a canvas to explore some modern optimization tools. The contribution is meant to be tutorial in nature. The TLS problem has a lot of mathematical similarities to important problems in robotics and computer vision but is easier to visualize and understand. We demonstrate how to turn this problem into a Quadratically Constrained Quadratic Program (QCQP) so that it can be cast either as an eigenproblem or a Semi-Definite Program (SDP). We then turn to the more challenging situation where a Geman-McClure cost function and M-estimation are used to reject outlier datapoints. Using Black-Rangarajan duality, we show this can also be cast as a QCQP and solved as an SDP; however, with a lot of data the SDP can be slow and as such we show how we can construct a certificate of optimality for a faster method such as Iteratively Reweighted Least-Squares (IRLS).

Keywords

Cite

@article{arxiv.2206.05082,
  title  = {A Fine Line: Total Least-Squares Line Fitting as QCQP Optimization},
  author = {Timothy D Barfoot and Connor Holmes and Frederike Dumbgen},
  journal= {arXiv preprint arXiv:2206.05082},
  year   = {2022}
}

Comments

11 pages, 5 figures

R2 v1 2026-06-24T11:46:32.335Z