Levenberg–Marquardt algorithm

This is an old revision of this page, as edited by Frau Holle (talk | contribs) at 20:00, 1 November 2004 (more text). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Levenberg-Marquardt algorithm provides a numerical solution to the mathematical problem of minimizing a sum of squares of several, generally nonlinear functions that depend on a common set of parameters.

This minimization problem arises especially in least squares curve fitting (see also: nonlinear programming).

The Levenberg-Marquardt algorithm (LMA) interpolates between the Gauss-Newton algorithm (GNA) and the method of steepest descent. The LMA is robuster than the GNA, which means that in many cases it finds a solution even if it starts very far off the final minimum. On the other hand, for well-behaved functions and reasonable starting parameters, the LMA tends to be a bit slower than the GNA. The LMA is the most popular curve-fitting algorithm; it is used in almost any software that provides a generic curve-fitting tool; few users will ever need another curve-fitting algorithm.

The problem

Given is the problem: minimize the sum

 

where

 

represent the components of the function

 .

The solution

The LMA solves the minimization problem according to

 .

Here   represents the Jacobian of the function  ,   the damping factor, which is altered at every iteration,   the identity matrix, and   the solution to an iteration step.

history of the algorithm

Public ___domain implementations: