Broyden's method explained

In numerical analysis, Broyden's method is a quasi-Newton method for finding roots in variables. It was originally described by C. G. Broyden in 1965.[1]

Newton's method for solving uses the Jacobian matrix,, at every iteration. However, computing this Jacobian can be a difficult and expensive operation; for large problems such as those involving solving the Kohn–Sham equations in quantum mechanics the number of variables can be in the hundreds of thousands. The idea behind Broyden's method is to compute the whole Jacobian at most only at the first iteration, and to do rank-one updates at other iterations.

In 1979 Gay proved that when Broyden's method is applied to a linear system of size, it terminates in steps,[2] although like all quasi-Newton methods, it may not converge for nonlinear systems.

Description of the method

Solving single-variable nonlinear equation

In the secant method, we replace the first derivative at with the finite-difference approximation:

f'(xn)\simeq

f(xn)-f(xn-1)
xn-xn

,

and proceed similar to Newton's method:

xn=xn-

f(xn)
\prime(x
f
n)

where is the iteration index.

Solving a system of nonlinear equations

Consider a system of nonlinear equations in

k

unknowns

f(x)=0,

where is a vector-valued function of vector

x=(x1,x2,x3,...c,xk),

f(x)=(f1(x1,x2,...c,xk),f2(x1,x2,...c,xk),...c,fk(x1,x2,...c,xk)).

For such problems, Broyden gives a variation of the one-dimensional Newton's method, replacing the derivative with an approximate Jacobian . The approximate Jacobian matrix is determined iteratively based on the secant equation, a finite-difference approximation:

Jn(xn-xn)\simeqf(xn)-f(xn),

where is the iteration index. For clarity, define

fn=f(xn),

\Deltaxn=xn-xn,

\Deltafn=fn-fn,

so the above may be rewritten as

Jn\Deltaxn\simeq\Deltafn.

The above equation is underdetermined when is greater than one. Broyden suggested using the most recent estimate of the Jacobian matrix,, and then improving upon it by requiring that the new form is a solution to the most recent secant equation, and that there is minimal modification to :

Jn=Jn+

\Deltafn-Jn\Deltaxn
\|\Delta
2
x
n\|

\Delta

T
x
n

.

This minimizes the Frobenius norm

\|Jn-Jn\|\rm.

One then updates the variables using the approximate Jacobian, what is called a quasi-Newton approach.

xn=xn-\alpha

-1
J
n

f(xn).

If

\alpha=1

this is the full Newton step; commonly a line search or trust region method is used to control

\alpha

. The initial Jacobian can be taken as a diagonal, unit matrix, although more common is to scale it based upon the first step.[3] Broyden also suggested using the Sherman–Morrison formula[4] to directly update the inverse of the approximate Jacobian matrix:
-1
J
n

=

-1
J
n-1

+

\Deltaxn-
-1
J
n-1
\Deltafn
\Delta
T
x
n
-1
J
n-1
\Deltafn

\Delta

T
x
n
-1
J
n-1

.

This first method is commonly known as the "good Broyden's method."

A similar technique can be derived by using a slightly different modification to . This yields a second method, the so-called "bad Broyden's method":

-1
J
n

=

-1
J
n-1

+

\Deltaxn-
-1
J
n-1
\Deltafn
\|\Delta
2
f
n\|

\Delta

T
f
n

.

This minimizes a different Frobenius norm

-1
\|J
n

-

-1
J
n-1

\|\rm.

In his original paper Broyden could not get the bad method to work, but there are cases where it does[5] for which several explanations have been proposed.[6] [7] Many other quasi-Newton schemes have been suggested in optimization such as the BFGS, where one seeks a maximum or minimum by finding zeros of the first derivatives (zeros of the gradient in multiple dimensions). The Jacobian of the gradient is called the Hessian and is symmetric, adding further constraints to its approximation.

The Broyden Class of Methods

In addition to the two methods described above, Broyden defined a wider class of related methods.[1] In general, methods in the Broyden class are given in the form[8] \mathbf_=\mathbf_k-\frac+\frac+\phi_k\left(s_k^T \mathbf_k s_k\right) v_k v_k^T,where

yk:=f(xk+1)-f(xk),

sk:=xk+1-xk,

and v_k = \left[\frac{y_k}{y_k^T s_k} - \frac{\mathbf{J}_k s_k}{s_k^T \mathbf{J}_k s_k}\right],and

\phik\inR

for each

k=1,2,...

.The choice of

\phik

determines the method.

Other methods in the Broyden class have been introduced by other authors.

\phik=1

.[8]

See also

Further reading

. John E. Dennis . Robert B. . Schnabel . Robert B. Schnabel . Numerical Methods for Unconstrained Optimization and Nonlinear Equations . Englewood Cliffs . Prentice Hall . 1983 . 0-13-627216-9 . 168–193 .

External links

Notes and References

  1. Broyden . C. G. . Charles George Broyden . 1965 . A Class of Methods for Solving Nonlinear Simultaneous Equations . Mathematics of Computation . American Mathematical Society . 19 . 92 . 577–593 . 10.1090/S0025-5718-1965-0198670-6 . 2003941 . free.
  2. Gay . D. M. . 1979 . Some convergence properties of Broyden's method . SIAM Journal on Numerical Analysis . SIAM . 16 . 4 . 623–630 . 10.1137/0716047.
  3. Shanno . D. F. . Phua . Kang -Hoh . 1978 . Matrix conditioning and nonlinear optimization . Mathematical Programming . en . 14 . 1 . 149–160 . 10.1007/BF01588962 . 0025-5610.
  4. Sherman . Jack . Morrison . Winifred J. . 1950 . Adjustment of an Inverse Matrix Corresponding to a Change in One Element of a Given Matrix . The Annals of Mathematical Statistics . en . 21 . 1 . 124–127 . 10.1214/aoms/1177729893 . 0003-4851.
  5. Kvaalen . Eric . 1991 . A faster Broyden method . BIT Numerical Mathematics . SIAM . 31 . 2 . 369–372 . 10.1007/BF01931297.
  6. Martı́nez . José Mario . 2000 . Practical quasi-Newton methods for solving nonlinear systems . Journal of Computational and Applied Mathematics . 124 . 1-2 . 97–121 . 10.1016/s0377-0427(00)00434-9 . 0377-0427.
  7. Marks . L. D. . Luke . D. R. . 2008 . Laurence D. Marks . Robust mixing for ab initio quantum mechanical calculations . Physical Review B . 78 . 7 . 10.1103/physrevb.78.075114 . 1098-0121. 0801.3098 .
  8. Book: Numerical Optimization. Jorge. Nocedal . Stephen J.. Wright. 2006 . Springer New York . Springer Series in Operations Research and Financial Engineering . 10.1007/978-0-387-40065-5 . 978-0-387-30303-1.
  9. Anderson . Donald G. . 1965 . Iterative Procedures for Nonlinear Integral Equations . Journal of the ACM . en . 12 . 4 . 547–560 . 10.1145/321296.321305 . 0004-5411.
  10. Schubert . L. K. . 1970 . Modification of a quasi-Newton method for nonlinear equations with a sparse Jacobian . Mathematics of Computation . 24 . 109 . 27–30 . 10.1090/S0025-5718-1970-0258276-9 . 0025-5718 . free.
  11. Pulay . Péter . 1980 . Convergence acceleration of iterative sequences. the case of scf iteration . Chemical Physics Letters . en . 73 . 2 . 393–398 . 10.1016/0009-2614(80)80396-4.
  12. Kresse . G. . Furthmüller . J. . 1996 . Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis set . Physical Review B . en . 54 . 16 . 11169–11186 . 10.1103/PhysRevB.54.11169 . 0163-1829.
  13. Srivastava . G P . 1984 . Broyden's method for self-consistent field convergence acceleration . Journal of Physics A: Mathematical and General . 17 . 6 . L317–L321 . 10.1088/0305-4470/17/6/002 . 0305-4470.
  14. Klement . Jan . 2014 . On Using Quasi-Newton Algorithms of the Broyden Class for Model-to-Test Correlation . Journal of Aerospace Technology and Management . en . 6 . 4 . 407–414 . 10.5028/jatm.v6i4.373 . 2175-9146 . free.
  15. Web site: Broyden class methods – File Exchange – MATLAB Central. www.mathworks.com. 2016-02-04.
  16. Woods . N D . Payne . M C . Hasnip . P J . 2019 . Computing the self-consistent field in Kohn–Sham density functional theory . Journal of Physics: Condensed Matter . 31 . 45 . 453001 . 10.1088/1361-648X/ab31c0 . 0953-8984. 1905.02332 .