GO-V.ORG
As seen in

Line search

In optimization, line search is a basic iterative approach to find a local minimum \mathbf{x ^* of an objective function f:\mathbb R^n\to\mathbb R . It first finds a descent direction along which the objective function f will be reduced, and then computes a step size that determines how far \mathbf{x should move along that direction. The descent direction can be computed by various methods, such as gradient descent or quasi-Newton method. The step size can be determined either exactly or inexactly. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In optimization, line search is a basic iterative approach to find a local minimum \mathbf{x}^* of an objective function f:\mathbb R^n\to\mathbb R . It first finds a descent direction along which the objective function f will be reduced, and then computes a step size that determines how far \mathbf{x} should move along that direction. The descent direction can be computed by various methods, such as gradient descent or quasi-Newton method. The step size can be determined either exactly or inexactly. The bisection method computes the derivative of f at the center of the interval, c: if f'(c)=0, then this is the minimum point; if f'(c)>0, then the minimum must be in [a,c]; if f'(c) \varphi \approx 1.618 . Cubic fit fits to a degree-three polynomial, using both the function values and its derivative at the last two points. If the method is started close enough to a non-degenerate local minimum, then it has quadratic convergence. Curve-fitting methods have superlinear convergence when started close enough to the local minimum, but might diverge otherwise. Safeguarded curve-fitting methods simultaneously execute a linear-convergence method in parallel to the curve-fitting method. They check in each iteration whether the point found by the curve-fitting method is close enough to the interval maintained by safeguard method; if it is not, then the safeguard method is used to compute the next iterate. Set iteration counter k=0 and make an initial guess \mathbf{x}_0 for the minimum. Pick \epsilon a tolerance. Loop: Compute a descent direction \mathbf{p}_k . Define a one-dimensional function h(\alpha_k)=f(\mathbf{x}_k+\alpha_k\mathbf{p}_k) , representing the function value on the descent direction given the step-size. Find an \displaystyle \alpha_k that minimizes h over \alpha_k\in\mathbb R_+ . Update \mathbf{x}_{k+1}=\mathbf{x}_k+\alpha_k\mathbf{p}_k , and k=k+1 Until \|\nabla f(\mathbf{x}_{k+1})\| At the line search step (2.3), the algorithm may minimize h exactly, by solving h'(\alpha_k)=0 , or approximately, by using one of the one-dimensional line-search methods mentioned above. It can also be solved loosely, by asking for a sufficient decrease in h that does not necessarily approximate the optimum. One example of the former is conjugate gradient method. The latter is called inexact line search and may be performed in a number of ways, such as a backtracking line search or using the Wolfe conditions. ==See also== Trust region – a dual approach for finding a local minimum: it first computes a step size, and then determines the descent direction. Grid search Learning rate Pattern search (optimization) Secant method ==References== ==Further reading==

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Line search". 1786045912. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1368075239

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·