For a nonlinear least-squares objective with residual and Jacobian :
- gradient: ;
- Hessian: .
Gauss–Newton drops the second-order term, which is small near a good fit, and solves at each step the linearised least-squares problem
then updates with a step length from a Line Search.
Jacobian in EIT. Row of is the derivative of the -th boundary measurement of pattern . By the linearisation identity its entries are integrals of , where is the solution driven by the -th measurement functional. Building explicitly costs one extra solve per measurement. Matrix-free variants only need products (linearised forward) and (adjoint solves), and solve the normal equations with CG or LSQR. With a factorisation of the forward problem, each product costs one back-substitution per pattern. A dense Gauss–Newton step costs and memory; an inexact CG step costs a few dozen products and no dense matrix at all. On an EIT problem with pixels, electrodes and residuals, seven Levenberg–Marquardt iterations took 3.2 hours with dense steps and 104 seconds with CG steps, reaching the same reconstruction. The diagonal of (for Jacobi preconditioning and sensitivity damping) can be accumulated from row blocks of without storing it. So can the full Gram matrix, over row blocks , when fits into memory but does not. Each block is a symmetric rank- update. It should go into one triangle only (BLAS syrk), with the triangle mirrored once at the end. Mirroring after every update is a transpose copy of all entries, which is limited by memory bandwidth rather than arithmetic. For and blocks of 64 rows, the copy took 5 to 10 seconds per block and the update 0.07 seconds.
If only per-pattern gradients are available (one adjoint solve per pattern, see Adjoint State Method), a cheaper reduced Gauss–Newton model treats each pattern’s misfit as one scalar residual , with gradient . Since , Gauss–Newton applies with the Jacobian whose rows are . It combines the pattern gradients into one search direction, at the price of a coarser curvature model than the full measurement Jacobian.
Properties. Locally quadratic convergence for zero-residual problems and linear convergence for small residuals. The matrix is extremely ill-conditioned in EIT, so the step must be damped, which gives the Levenberg-Marquardt Method. With a regulariser one solves .
In ModularEIT.jl: GaussNewton, residual_and_jacobian!, jacobian_operator, jacobian_column_norms.
References
- J. Nocedal, S. J. Wright (2006). Numerical Optimization, 2nd ed., Ch. 10. Springer. doi:10.1007/978-0-387-40065-5
- W. R. B. Lionheart (2004). EIT reconstruction algorithms: pitfalls, challenges and recent developments. Physiol. Meas. 25(1), 125–142. doi:10.1088/0967-3334/25/1/021