# Trust region

In mathematical optimization, a **trust region** is the subset of the region of the objective function that is approximated using a model function (often a quadratic). If an adequate model of the objective function is found within the trust region, then the region is expanded; conversely, if the approximation is poor, then the region is contracted.
The fit is evaluated by comparing the ratio of expected improvement from the model approximation with the actual improvement observed in the objective function. Simple thresholding of the ratio is used as the criterion for expansion and contraction—a model function is "trusted" only in the region where it provides a reasonable approximation.

Trust-region methods are in some sense dual to line-search methods: trust-region methods first choose a step size (the size of the trust region) and then a step direction, while line-search methods first choose a step direction and then a step size.

The general idea behind trust region methods is known by many names; the earliest use of the term seems to be by Sorensen (1982).^{[1]} A popular textbook by Fletcher (1980) calls these algorithms **restricted-step methods**.^{[2]} Additionally, in an early foundational work on the method, Goldfeld, Quandt, and Trotter (1966) refer to it as **quadratic hill-climbing**.^{[3]}

## Example

Conceptually, in the Levenberg–Marquardt algorithm, the objective function is iteratively approximated by a quadratic surface, then using a linear solver, the estimate is updated. This alone may not converge nicely if the initial guess is too far from the optimum. For this reason, the algorithm instead restricts each step, preventing it from stepping "too far". It operationalizes "too far" as follows. Rather than solving [math]\displaystyle{ A \, \Delta x = b }[/math] for [math]\displaystyle{ \Delta x }[/math], it solves [math]\displaystyle{ \big(A + \lambda \operatorname{diag}(A)\big) \, \Delta x = b }[/math], where [math]\displaystyle{ \operatorname{diag}(A) }[/math] is the diagonal matrix with the same diagonal as *A*, and λ is a parameter that controls the trust-region size. Geometrically, this adds a paraboloid centered at [math]\displaystyle{ \Delta x = 0 }[/math] to the quadratic form, resulting in a smaller step.

The trick is to change the trust-region size (λ). At each iteration, the damped quadratic fit predicts a certain reduction in the cost function, [math]\displaystyle{ \Delta f_\text{pred} }[/math], which we would expect to be a smaller reduction than the true reduction. Given [math]\displaystyle{ \Delta x }[/math], we can evaluate

- [math]\displaystyle{ \Delta f_\text{actual} = f(x) - f(x + \Delta x). }[/math]

By looking at the ratio [math]\displaystyle{ \Delta f_\text{pred}/\Delta f_\text{actual} }[/math], we can adjust the trust-region size. In general, we expect [math]\displaystyle{ \Delta f_\text{pred} }[/math] to be a bit smaller than [math]\displaystyle{ \Delta f_\text{actual} }[/math], and so the ratio would be between, say, 0.25 and 0.5. If the ratio is more than 0.5, then we are damping the step too much, so expand the trust region (decrease λ) and iterate. If the ratio is smaller than 0.25, then the true function is diverging "too much" from the trust-region approximation, so shrink the trust region (increase λ) and try again.

## References

- ↑ Sorensen, D. C. (1982). "Newton's Method with a Model Trust Region Modification".
*SIAM J. Numer. Anal.***19**(2): 409–426. doi:10.1137/0719026. https://digital.library.unt.edu/ark:/67531/metadc283479/. - ↑ Fletcher, Roger (1987). "Restricted Step Methods".
*Practical Methods of Optimization*(Second ed.). Wiley. ISBN 0-471-91547-5. - ↑ Goldfeld, Stephen M.; Quandt, Richard E.; Trotter, Hale F. (1966). "Maximization by Quadratic Hill-Climbing".
*Econometrica***34**(3): 541–551. doi:10.2307/1909768.

- Dennis, J. E., Jr.; Schnabel, Robert B. (1983). "Globally Convergent Modifications of Newton's Method".
*Numerical Methods for Unconstrained Optimization and Nonlinear Equations*. Englewood Cliffs: Prentice-Hall. pp. 111–154. ISBN 0-13-627216-9. - Andrew R. Conn, Nicholas I. M. Gould, Philippe L. Toint "Trust-Region Methods (MPS-SIAM Series on Optimization)".
- Byrd, R. H, R. B. Schnabel, and G. A. Schultz. "A trust region algorithm for nonlinearly constrained optimization", SIAM J. Numer. Anal., 24 (1987), pp. 1152–1170.
- Yuan, Y. "A review of trust region algorithms for optimization" in ICIAM 99: Proceedings of the Fourth International Congress on Industrial & Applied Mathematics, Edinburgh, 2000 Oxford University Press, USA.
- Yuan, Y. "Recent Advances in Trust Region Algorithms", Math. Program., 2015

## External links

Original source: https://en.wikipedia.org/wiki/Trust region.
Read more |