NO LINEALs
NO LINEALs
Rajat Talak
VNAV
Fall 2020
Recall … Motion estimation
• Estimation theory:
(1) Maximum likelihood (ML) estimate,
(2) Maximum a-postiriori (MAP) estimate
Recall … Motion estimation
• Estimation theory:
(1) Maximum likelihood (ML) estimate,
(2) Maximum a-postiriori (MAP) estimate
• Estimation theory:
(1) Maximum likelihood (ML) estimate,
(2) Maximum a-postiriori (MAP) estimate
• Abstract Model:
If
and independent across
state variable
measurements
noise
Recall … Motion estimation
• Estimation theory:
(1) Maximum likelihood (ML) estimate,
(2) Maximum a-postiriori (MAP) estimate
is called Mahalanobis distance.
• Abstract Model:
If
and independent across
state variable
measurements
noise
Recall … Motion estimation
• Estimation theory:
(1) Maximum likelihood (ML) estimate,
(2) Maximum a-postiriori (MAP) estimate
is called Mahalanobis distance.
• Linear Model:
If
and independent across
state variable
measurements
noise
Today
• Nonlinear least squares problem
• Gauss-Newton Method
A quick detour
• Nonlinear optimization
• Convexity
• Optimality conditions
• Gradient descent and Newton’s method
Nonlinear Least Squares Problem
•
Nonlinear Least Squares Problem
• Linear model
Nonlinear Least Squares Problem
•
Nonlinear Least Squares Problem
•
Nonlinear Least Squares Problem
Nonlinear
optimization
problem
•
Nonlinear Optimization Problem
• Unconstrained nonlinear optimization problem:
local minimum
• Local minimum:
Nonlinear Optimization Problem
• Unconstrained nonlinear optimization problem:
local minimum
local minimum
local minimum
local minimum
local minimum
• global minimum
Convex Problems
• Convex optimization problem:
• global minimum
Convex Problems
• Convex optimization problem:
•
Convex Problems
• Convex optimization problem:
•
Convex Problems
• Convex optimization problem:
•
Linear Least Squares Problem
• Recall:
Linear Least Squares Problem
• Recall:
•
Linear Least Squares Problem
• Recall:
•
suffices to solve this linear
• system of equations
Linear Least Squares Problem
• Recall:
•
suffices to solve this linear
• system of equations Do not invert!
Cholesky Solver
• Assuming
Cholesky Solver
• Cholesky decomposition of
Cholesky Solver
• Cholesky decomposition of
• Cholesky decomposition of
•
QR Solver
•
QR Solver
•
QR Solver
•
QR Solver
•
can be solved by backward substitution
Cholesky vs QR Solver
• Recall:
•
Done!!
•
Back to Nonlinear Least Squares Problem
•
Back to Nonlinear Least Squares Problem
•
Linear Approximations
•
•
Nonlinear Least Squares Problem
•
Nonlinear Least Squares Problem
•
Nonlinear Least Squares Problem
•
Nonlinear Least Squares Problem
No!!
Nonlinear Least Squares Problem
•
Nonlinear Least Squares Problem
•
Nonlinear Least Squares Problem
2.
Gauss-Newton Method
1.
2.
3.
Gauss-Newton Method
1.
2.
3.
4.
Gauss-Newton Method
1.
2.
3.
4.
Nonlinear Least Squares Problem
•
Summary
• Nonlinear least squares problem
• Linear least squares problem
• Gradient descent
• Cholesky solver
• QR solver
• Gauss-Newton Method
A quick detour
• Nonlinear optimization
• Convexity
• Optimality conditions
• Gradient descent
Summary
• Nonlinear least squares problem
• Linear least squares problem
• Gradient descent
• Cholesky solver
• QR solver
• Gauss-Newton Method
A quick detour
Next
• Nonlinear optimization
• Issues with Gauss-Newton Method
• Convexity
• Levenberg-Marquardt Method
• Optimality conditions
• Nonlinear least squares on Riemannian
• Gradient descent Manifolds