Symmetric rank-one

From testwiki
Revision as of 09:22, 6 January 2025 by imported>OAbot (Open access bot: arxiv updated in citation with #oabot.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 xf(x) has a gradient (f) and Hessian matrix B: The function f has an expansion as a Taylor series at x0, which can be truncated

f(x0+Δx)f(x0)+f(x0)TΔx+12ΔxTBΔx;

its gradient has a Taylor-series approximation also

f(x0+Δx)f(x0)+BΔx,

which is used to update B. The above secant-equation need not have a unique solution B. The SR1 formula computes (via an update of rank 1) the symmetric solution that is closestTemplate:Explain to the current approximate-value Bk:

Bk+1=Bk+(ykBkΔxk)(ykBkΔxk)T(ykBkΔxk)TΔxk,

where

yk=f(xk+Δxk)f(xk).

The corresponding update to the approximate inverse-Hessian Hk=Bk1 is

Hk+1=Hk+(ΔxkHkyk)(ΔxkHkyk)T(ΔxkHkyk)Tyk.

One might wonder why positive-definiteness is not preserved — after all, a rank-1 update of the form Bk+1=Bk+vvT is positive-definite if Bk is. The explanation is that the update might be of the form Bk+1=BkvvT 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

|ΔxkT(ykBkΔxk)|rΔxkykBkΔxk,

where r(0,1) is a small number, e.g. 108.[4]

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.[5] Instead of storing the full Hessian approximation, a L-SR1 method only stores the m most recent pairs {(si,yi)}i=kmk1, where Δxi:=si and m is an integer much smaller than the problem size (mn). The limited-memory matrix is based on a compact matrix representation

Bk=B0+JkNk1JkT,Jk=YkB0Sk,Nk=Dk+Lk+LkTSkTB0Sk

Sk=[skmskm+1sk1], Yk=[ykmykm+1yk1],

(Lk)ij=si1Tyj1,Dk=si1Tyi1,kmik1

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.

See also

References

Template:Reflist

Template:Optimization algorithms