Contents · Lie Groups & Manifolds
Part 0 · SO(3) & SE(3)
Part 1 · Lie Algebra & Adjoint
Part 2 · Manifold Optimization
- Optimization on Manifolds
Part 2 · Manifold Optimization
Optimization on Manifolds
Pose estimation, hand-eye calibration, and pose-graph SLAM all reduce to the same problem: fit a rotation or a rigid transform to noisy measurements. The unknowns live in or , which are curved manifolds, not vector spaces. A plain gradient step adds a vector to a point on a curved set and lands off the set. Riemannian optimization fixes this with three moves: take the tangential part of the gradient, step, and retract back onto the manifold.
Why a plain step leaves the manifold
Take the smallest curved example, the unit circle , a stand-in for . Suppose we want to align with a fixed unit target by minimizing
The Euclidean update is a point whose norm is generally not , so it is no longer a rotation. You could renormalize after every step, but the raw gradient still points partly off the manifold, and that radial component is wasted work that the projection just throws away.
Project, step, retract
At a point the manifold has a tangent space , the flat space of allowed instantaneous motions. On the circle it is the line orthogonal to . The Riemannian gradient is the tangential part of the Euclidean one, obtained with the orthogonal projector :
We step in the tangent space and then retract back onto . On the circle the retraction is renormalization; on a Lie group such as it is the exponential map applied on the group,1
The exponential map is exactly the same object that advances orientation in a physics engine: integrate the update in the flat Lie algebra, then map back onto the group so the constraint is never violated.2
A worked step on the circle
Start at with target and step size . The Euclidean gradient and its tangential projection are
Here is horizontal, so the gradient is already tangent and projection leaves it unchanged. The descent direction is , which points straight at . Stepping and then retracting:
That is at , and the objective drops from to : moved along the circle toward (at ). Iterating converges to . The naive Euclidean step lands at the same here but keeps it, sitting at norm , an off-manifold error of until something projects it back. Away from this special point the two also disagree in direction: the radial part of survives in the naive step and is discarded by the retraction, so the naive update is a strictly worse use of the same .
Pre-retract off-manifold error of the tangential step is 0.118; the retraction sends it back to 0.
Gauss-Newton on the manifold
Real estimation problems are least squares over many measurements, , and the workhorse is Gauss-Newton done in the tangent space. Using the right-plus of micro Lie theory,1 parametrize the update as a tangent increment around the current estimate,
The Jacobians are taken with respect to the tangent coordinate , so they are for an -dimensional group ( for , for ) with no redundant parameters and no constraint to enforce. Solve the normal equations for and retract:
This is precisely the update inside a pose-graph SLAM back end or a camera or hand-eye calibration solver: linearize in the flat algebra, take one Gauss-Newton step, retract onto , repeat. The manifold is respected at every iteration, so the estimate never drifts off the group and there is nothing to renormalize after the fact.
Footnotes
-
Sola, Deray, Atchuthan, A micro Lie theory for state estimation in robotics (2018). ↩ ↩2
-
Absil, Mahony, Sepulchre, Optimization Algorithms on Matrix Manifolds (2008). ↩