ArticleslgStudy

mathematics

Wolfe conditions

Wolfe conditions is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Wolfe conditions rather than just read about it. In short: In the unconstrained minimization problem, the Wolfe conditions (also known as the Armijo-Wolfe conditions in some books) are a set of inequalities for performing inexact line search, especially in quasi-Newton methods, first published by Philip Wolfe in 1969 (also named after Larry Armijo). In these methods the idea is to find minxf(𝐱) for some smooth f:ℝn→ℝ.

Key takeaways

  • Wolfe conditions belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Wolfe conditions to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Wolfe conditions from memory before moving on to harder problems.

Reference excerpt

In the unconstrained minimization problem, the Wolfe conditions (also known as the Armijo-Wolfe conditions in some books) are a set of inequalities for performing inexact line search, especially in quasi-Newton methods, first published by Philip Wolfe in 1969 (also named after Larry Armijo). In these methods the idea is to find minxf(𝐱) for some smooth f:ℝn→ℝ. Each step often involves approximately solving the subproblem minαf(𝐱k+α𝐩k) where 𝐱k is the current best guess, 𝐩k∈ℝn is a search direction, and α∈ℝ is the step length. The inexact line searches provide an efficient way of computing an acceptable step length α that reduces the objective function 'sufficiently', rather than minimizing the objective function over α∈ℝ+ exactly. A line search algorithm can use Wolfe conditions as a requirement for any guessed α, before finding a new search direction 𝐩k.

Armijo rule and curvature A step length αk is said to satisfy the Wolfe conditions, restricted to the direction 𝐩k, if the following two inequalities hold:

with 0<c1<c2<1. (In examining condition (ii), recall that to ensure that 𝐩k is a descent direction, we have 𝐩kT∇f(𝐱k)<0, as in the case of gradient descent, where 𝐩k=−∇f(𝐱k), or Newton–Raphson, where 𝐩k=−𝐇−1∇f(𝐱k) with 𝐇 positive definite.) c1 is usually chosen to be quite small while c2 is much larger; Nocedal and Wright give example values of c1=10−4 and c2=0.9 for Newton or quasi-Newton methods and c2=0.1 for the nonlinear conjugate gradient method. Inequality i) is known as the Armijo rule and ii) as the curvature condition; i) ensures that the step length αk decreases f 'sufficiently', and ii) ensures that the slope has been reduced sufficiently. Conditions i) and ii) can be interpreted as respectively providing an upper and lower bound on the admissible step length values.

Strong Wolfe condition on curvature Denote a univariate function φ restricted to the direction 𝐩k as φ(α)=f(𝐱k+α𝐩k). The Wolfe conditions can result in a value for the step length that is not close to a minimizer of φ. If we modify the curvature condition to the following,

then i) and iii) together form the so-called strong Wolfe conditions, and force αk to lie close to a critical point of φ.

Rationale The principal reason for imposing the Wolfe conditions in an optimization algorithm where 𝐱k+1=𝐱k+α𝐩k is to ensure convergence of the gradient to zero. In particular, if the cosine of the angle between 𝐩k and the gradient, cos⁡θk=∇f(𝐱k)T𝐩k‖∇f(𝐱k)‖‖𝐩k‖ is bounded away from zero and the i) and ii) conditions hold, then ∇f(𝐱k)→0. An additional motivation, in the case of a quasi-Newton method, is that if 𝐩k=−Bk−1∇f(𝐱k), where the matrix Bk is updated by the BFGS or DFP formula, then if Bk is positive definite ii) implies Bk+1 is also positive definite.

Comments Wolfe's conditions are more complicated than Armijo's condition, and a gradient descent algorithm based on Armijo's condition has a better theoretical guarantee than one based on Wolfe conditions (see the sections on "Upper bound for learning rates" and "Theoretical guarantee" in the Backtracking line search article).

See also Backtracking line search

References

Further reading "Line Search Methods". Numerical Optimization. Springer Series in Operations Research and Financial Engineering. 2006. pp. 30–32. doi:10.1007/978-0-387-40065-5_3. ISBN 978-0-387-30303-1. "Quasi-Newton Methods". Numerical Optimization. Springer Series in Operations Research and Financial Engineering. 2006. pp. 135–163. doi:10.1007/978-0-387-40065-5_6. ISBN 978-0-387-30303-1.

Worked examples

Example 1 — a first encounter with Wolfe conditions

Start with the simplest possible case. Write down what Wolfe conditions claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Wolfe conditions before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Wolfe conditions ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Wolfe conditions

In research
Wolfe conditions appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Wolfe conditions in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Wolfe conditions is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical optimization, so understanding it makes those chapters shorter.
In everyday life
Look for Wolfe conditions outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Wolfe conditions” →

How to study Wolfe conditions in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Wolfe conditions means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Wolfe conditions out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Wolfe conditions in simple terms?

In the unconstrained minimization problem, the Wolfe conditions (also known as the Armijo-Wolfe conditions in some books) are a set of inequalities for performing inexact line search, especially in quasi-Newton methods, first published by Philip Wolfe in 1969 (also named after Larry Armijo). In the…

Why does Wolfe conditions matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Wolfe conditions?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Wolfe conditions.

Tags

  • Mathematical optimization

Keep exploring