Symmetric rank-one
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.{{cite journal|last1=Conn|first1=A. R.|last2=Gould|first2=N. I. M.|last3=Toint|first3=Ph. L.|title=Convergence of quasi-Newton matrices generated by the symmetric rank one update|journal=Mathematical Programming|date=March 1991|publisher=Springer Berlin/ Heidelberg |issn=0025-5610|pages=177–195|volume=50|number=1|doi=10.1007/BF01594934|s2cid=28028770 }}{{cite journal |last1=Khalfan |first1=H. Fayez |first2=R. H. |last2=Byrd |first3=R. B. |last3=Schnabel |display-authors=1 |year=1993 |title=A Theoretical and Experimental Study of the Symmetric Rank-One Update |journal=SIAM Journal on Optimization |volume=3 |issue=1 |pages=1–24 |doi=10.1137/0803001 }} The SR1 method has computational advantages for sparse or partially separable problems.{{cite journal |last1=Byrd |first1=Richard H. |first2=Humaid Fayez |last2=Khalfan |first3=Robert B. |last3=Schnabel |display-authors=1 |year=1996 |title=Analysis of a Symmetric Rank-One Trust Region Method |journal=SIAM Journal on Optimization |volume=6 |issue=4 |pages=1025–1039 |doi=10.1137/S1052623493252985 }}
A twice continuously differentiable function has a gradient () and Hessian matrix : The function has an expansion as a Taylor series at , which can be truncated
::;
its gradient has a Taylor-series approximation also
::,
which is used to update . The above secant-equation need not have a unique solution .
The SR1 formula computes (via an update of rank 1) the symmetric solution that is closest{{explain|date=July 2022}} to the current approximate-value :
::,
where
::.
The corresponding update to the approximate inverse-Hessian is
::.
One might wonder why positive-definiteness is not preserved — after all, a rank-1 update of the form is positive-definite if is. The explanation is that the update might be of the form 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. Since the denominator can vanish, some authors have suggested that the update be applied only if
::,
where is a small number, e.g. .{{cite book |last1=Nocedal |first1=Jorge |last2=Wright |first2=Stephen J. |year=1999 |title=Numerical Optimization |publisher=Springer |isbn=0-387-98793-2 }}
Limited Memory
The SR1 update maintains a dense matrix, which can be prohibitive for large problems. Similar to the
L-BFGS method also a limited-memory SR1 (L-SR1) algorithm exists.{{cite journal |last1=Brust |first1=J. |last2=Erway |first2=J.B. |last3=Marcia |first3=R.F. |display-authors=1 |year=2017 |title=On solving L-SR1 trust-region subproblems |journal=Computational Optimization and Applications |volume=66|pages=245–266 |doi=10.1007/s10589-016-9868-3 |arxiv=1506.07222 }} Instead
of storing the full Hessian approximation, a L-SR1 method only stores the most recent
pairs , where and is an integer much smaller
than the problem size (). The limited-memory matrix is based on a compact matrix representation
Since the update can be indefinite, the L-SR1 algorithm is
suitable for a trust-region strategy. Because of the limited-memory matrix,
the trust-region L-SR1 algorithm scales linearly with the problem size, just like L-BFGS.