Gauss-Newton method for convex nonlinear least-squares problems. We consider a (nonlinear) least-squares problem, in which we minimize a function of the form
f(x)=21i=1∑mfi(x)2,
where fi are twice differentiable functions. The gradient and Hessian of f at x are given by
∇f(x)=i=1∑mfi(x)∇fi(x),∇2f(x)=i=1∑m(∇fi(x)∇fi(x)T+fi(x)∇2fi(x)).
We consider the case when f is convex. This occurs, for example, if each fi is either nonnegative and convex, or nonpositive and concave, or affine.
The Gauss-Newton method uses the search direction
Δxgn=−(i=1∑m∇fi(x)∇fi(x)T)−1(i=1∑mfi(x)∇fi(x)).
(We assume here that the inverse exists, i.e., the vectors ∇f1(x),…,∇fm(x) span Rn.)
This search direction can be considered an approximate Newton direction (see exercise 9.31), obtained by dropping the second derivative terms from the Hessian of f.
We can give another simple interpretation of the Gauss-Newton search direction Δxgn. Using the first-order approximation fi(x+v)≈fi(x)+∇fi(x)Tv we obtain the approximation
f(x+v)≈21i=1∑m(fi(x)+∇fi(x)Tv)2.
The Gauss-Newton search step Δxgn is precisely the value of v that minimizes this approximation of f. (Moreover, we conclude that Δxgn can be computed by solving a linear least-squares problem.)
Test the Gauss-Newton method on some problem instances of the form
fi(x)=(1/2)xTAix+biTx+1,
with Ai∈S++n and biTAi−1bi≤2 (which ensures that f is convex).