ArticleslgStudy

science

Anderson acceleration

Anderson acceleration is a science 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 Anderson acceleration rather than just read about it. In short: In mathematics, Anderson acceleration, also called Anderson mixing, is a method for the acceleration of the convergence rate of fixed-point iterations. Introduced by Donald G.

Key takeaways

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

Reference excerpt

In mathematics, Anderson acceleration, also called Anderson mixing, is a method for the acceleration of the convergence rate of fixed-point iterations. Introduced by Donald G. Anderson, this technique can be used to find the solution to fixed point equations f(x)=x often arising in the field of computational science.

Definition Given a function f:ℝn→ℝn, consider the problem of finding a fixed point of f, which is a solution to the equation f(x)=x. A classical approach to the problem is to employ a fixed-point iteration scheme; that is, given an initial guess x0 for the solution, to compute the sequence xk+1=f(xk) until some convergence criterion is met. However, the convergence of such a scheme is not guaranteed in general; moreover, the rate of convergence is usually linear, which can become too slow if the evaluation of the function f is computationally expensive. Anderson acceleration is a method to accelerate the convergence of the fixed-point sequence. Define the residual g(x)=f(x)−x, and denote fk=f(xk) and gk=g(xk) (where xk corresponds to the sequence of iterates from the previous paragraph). Given an initial guess x0 and an integer parameter m≥1, the method can be formulated as follows:

x1=f(x0) ∀k=1,2,… mk=min⁡{m,k} Gk=[gk−mk…gk] αk=argminα∈Ak‖Gkα‖2,whereAk={α=(α0,…,αmk)∈ℝmk+1:∑i=0mkαi=1} xk+1=∑i=0mk(αk)ifk−mk+i where the matrix–vector multiplication Gkα=∑i=0mk(α)igk−mk+i, and (α)i is the ith element of α. Conventional stopping criteria can be used to end the iterations of the method. For example, iterations can be stopped when ‖xk+1−xk‖ falls under a prescribed tolerance, or when the residual g(xk) falls under a prescribed tolerance. With respect to the standard fixed-point iteration, the method has been found to converge faster and be more robust, and in some cases avoid the divergence of the fixed-point sequence.

Derivation For the solution x∗, we know that f(x∗)=x∗, which is equivalent to saying that g(x∗)=0→. We can therefore rephrase the problem as an optimization problem where we want to minimize ‖g(x)‖2. Instead of going directly from xk to xk+1 by choosing xk+1=f(xk) as in fixed-point iteration, let's consider an intermediate point x'k+1 that we choose to be the linear combination x'k+1=Xkαk, where the coefficient vector αk∈Ak, and Xk=[xk−mk…xk] is the matrix containing the last mk+1 points, and choose x'k+1 such that it minimizes ‖g(x'k+1)‖2. Since the elements in αk sum to one, we can make the first order approximation g(Xkαk)=g(∑i=0mk(αk)ixk−mk+i)≈∑i=0mk(αk)ig(xk−mk+i)=Gkαk and our problem becomes to find the α that minimizes ‖Gkα‖2. After having found αk, we could in principle calculate x'k+1. However, since f is designed to bring a point closer to x∗, f(x'k+1) is probably closer to x∗ than x'k+1 is, so it makes sense to choose xk+1=f(x'k+1) rather than xk+1=x'k+1. Furthermore, since the elements in αk sum to one, we can make the first order approximation f(x'k+1)=f(∑i=0mk(αk)ixk−mk+i)≈∑i=0mk(αk)if(xk−mk+i)=∑i=0mk(αk)ifk−mk+i. We therefore choose xk+1=∑i=0mk(αk)ifk−mk+i.

Solution of the minimization problem At each iteration of the algorithm, the constrained optimization problem argmin⁡‖Gkα‖2, subject to α∈Ak needs to be solved. The problem can be recast in several equivalent formulations, yielding different solution methods which may result in a more convenient implementation:

defining the matrices 𝒢k=[gk−mk+1−gk−mk…gk−gk−1] and 𝒳k=[xk−mk+1−xk−mk…xk−xk−1], solve γk=argminγ∈ℝmk‖gk−𝒢kγ‖2, and set xk+1=xk+gk−(𝒳k+𝒢k)γk; solve θk={(θk)i}i=1mk=argminθ∈ℝmk‖gk+∑i=1mkθi(gk−i−gk)‖2, then set xk+1=xk+gk+∑j=1mk(θk)j(xk−j−xk+gk−j−gk). For both choices, the optimization problem is in the form of an unconstrained linear least-squares problem, which can be solved by standard methods including QR decomposition and singular value decomposition, possibly including regularization techniques to deal with rank deficiencies and conditioning issues in the optimization problem. Solving the least-squares problem by solving the normal equations is generally not advisable due to potential numerical instabilities and generally high computational cost. Stagnation in the method (i.e. subsequent iterations with the same value, xk+1=xk) causes the method to break down, due to the singularity of the least-squares problem. Similarly, near-stagnation (xk+1≈xk) results in bad conditioning of the least squares problem. Moreover, the choice of the parameter m might be relevant in determining the conditioning of the least-squares problem, as discussed below.

Relaxation The algorithm can be modified introducing a variable relaxation parameter (or mixing parameter) βk>0. At each step, compute the new iterate as xk+1=(1−βk)∑i=0mk(αk)ixk−mk+i+βk∑i=0mk(αk)if(xk−mk+i).The choice of βk is crucial to the convergence properties of the method; in principle, βk might vary at each iteration, although it is often chosen to be constant.

Choice of m The parameter m determines how much information from previous iterations is used to compute the new iteration xk+1. On the one hand, if m is chosen to be too small, too little information is used and convergence may be undesirably slow. On the other hand, if m is too large, information from old iterations may be retained for too many subsequent iterations, so that again convergence may be slow. Moreover, the choice of m affects the size of the optimization problem. A too large value of m may worsen the conditioning of the least squares problem and the cost of its solution. In general, the particular problem to be solved determines the best choice of the m parameter.

Choice of mk With respect to the algorithm described above, the choice of mk at each iteration can be modified. One possibility is to choose mk=k for each iteration k (sometimes referred to as Anderson acceleration without truncation). This way, every new iteration xk+1 is computed using all the previously computed iterations. A more sophisticated technique is based on choosing mk so as to maintain a small enough conditioning for the least-squares problem.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Anderson acceleration

Start with the simplest possible case. Write down what Anderson acceleration claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, 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 Anderson acceleration 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 Anderson acceleration 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 Anderson acceleration

In research
Anderson acceleration appears in science 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 Anderson acceleration 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
Anderson acceleration is common in secondary-school and first-year university syllabi. It links to neighbouring topics Iterative methods, Numerical analysis, Quasi-Newton methods, so understanding it makes those chapters shorter.
In everyday life
Look for Anderson acceleration 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 “Anderson acceleration” →

How to study Anderson acceleration in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Anderson acceleration 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 Anderson acceleration out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Anderson acceleration in simple terms?

In mathematics, Anderson acceleration, also called Anderson mixing, is a method for the acceleration of the convergence rate of fixed-point iterations. Introduced by Donald G.

Why does Anderson acceleration matter?

Because it connects several science 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 Anderson acceleration?

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 Anderson acceleration.

Tags

  • Iterative methods
  • Numerical analysis
  • Quasi-Newton methods

Keep exploring