Symmetric rank-one

From HandWiki

The Symmetric Rank 1 (SR1) method is a quasi-Newton method to update the second derivative (Hessian) based on the derivatives (gradients) calculated at two points. It is a generalization to the secant method for a multidimensional problem. This update maintains the symmetry of the matrix but does not guarantee that the update be positive definite.

The sequence of Hessian approximations generated by the SR1 method converges to the true Hessian under mild conditions, in theory; in practice, the approximate Hessians generated by the SR1 method show faster progress towards the true Hessian than do popular alternatives (BFGS or DFP), in preliminary numerical experiments.[1][2] The SR1 method has computational advantages for sparse or partially separable problems.[3]

A twice continuously differentiable function [math]\displaystyle{ x \mapsto f(x) }[/math] has a gradient ([math]\displaystyle{ \nabla f }[/math]) and Hessian matrix [math]\displaystyle{ B }[/math]: The function [math]\displaystyle{ f }[/math] has an expansion as a Taylor series at [math]\displaystyle{ x_0 }[/math], which can be truncated

[math]\displaystyle{ f(x_0+\Delta x) \approx f(x_0)+\nabla f(x_0)^T \Delta x+\frac{1}{2} \Delta x^T {B} \Delta x }[/math];

its gradient has a Taylor-series approximation also

[math]\displaystyle{ \nabla f(x_0+\Delta x) \approx \nabla f(x_0)+B \Delta x }[/math],

which is used to update [math]\displaystyle{ B }[/math]. The above secant-equation need not have a unique solution [math]\displaystyle{ B }[/math]. The SR1 formula computes (via an update of rank 1) the symmetric solution that is closest[further explanation needed] to the current approximate-value [math]\displaystyle{ B_k }[/math]:

[math]\displaystyle{ B_{k+1}=B_{k}+\frac {(y_k-B_k \Delta x_k) (y_k-B_k \Delta x_k)^T}{(y_k-B_k \Delta x_k)^T \Delta x_k} }[/math],


[math]\displaystyle{ y_k=\nabla f(x_k+\Delta x_k)-\nabla f(x_k) }[/math].

The corresponding update to the approximate inverse-Hessian [math]\displaystyle{ H_k=B_k^{-1} }[/math] is

[math]\displaystyle{ H_{k+1}=H_{k}+\frac {(\Delta x_k-H_k y_k)(\Delta x_k-H_k y_k)^T}{(\Delta x_k-H_k y_k)^T y_k} }[/math].

One might wonder why positive-definiteness is not preserved — after all, a rank-1 update of the form [math]\displaystyle{ B_{k+1} = B_k + vv^T }[/math] is positive-definite if [math]\displaystyle{ B_k }[/math] is. The explanation is that the update might be of the form [math]\displaystyle{ B_{k+1} = B_k - vv^T }[/math] instead because the denominator can be negative, and in that case there are no guarantees about positive-definiteness.

The SR1 formula has been rediscovered a number of times. A drawback is that the denominator can vanish. Some authors have suggested that the update be applied only if

[math]\displaystyle{ |\Delta x_k^T (y_k-B_k \Delta x_k)|\geq r \|\Delta x_k\|\cdot \|y_k-B_k \Delta x_k\| }[/math],

where [math]\displaystyle{ r\in(0,1) }[/math] is a small number, e.g. [math]\displaystyle{ 10^{-8} }[/math].[4]

See also


  1. Conn, A. R.; Gould, N. I. M.; Toint, Ph. L. (March 1991). "Convergence of quasi-Newton matrices generated by the symmetric rank one update". Mathematical Programming (Springer Berlin/ Heidelberg) 50 (1): 177–195. doi:10.1007/BF01594934. ISSN 0025-5610. 
  2. Khalfan, H. Fayez et al. (1993). "A Theoretical and Experimental Study of the Symmetric Rank-One Update". SIAM Journal on Optimization 3 (1): 1–24. doi:10.1137/0803001. 
  3. Byrd, Richard H. et al. (1996). "Analysis of a Symmetric Rank-One Trust Region Method". SIAM Journal on Optimization 6 (4): 1025–1039. doi:10.1137/S1052623493252985. 
  4. Nocedal, Jorge; Wright, Stephen J. (1999). Numerical Optimization. Springer. ISBN 0-387-98793-2.