ArticleslgStudy

computer science

Compact quasi-Newton representation

Compact quasi-Newton representation is a computer 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 Compact quasi-Newton representation rather than just read about it. In short: The compact representation for quasi-Newton methods is a matrix decomposition, which is typically used in gradient based optimization algorithms or for solving nonlinear systems. The decomposition uses a low-rank representation for the direct and/or inverse Hessian or the Jacobian of a nonlinear system.

Compact quasi-Newton representation — main illustration
Compact quasi-Newton representation — illustration

Key takeaways

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

Reference excerpt

The compact representation for quasi-Newton methods is a matrix decomposition, which is typically used in gradient based optimization algorithms or for solving nonlinear systems. The decomposition uses a low-rank representation for the direct and/or inverse Hessian or the Jacobian of a nonlinear system. Because of this, the compact representation is often used for large problems and constrained optimization.

Definition The compact representation of a quasi-Newton matrix for the inverse Hessian Hk or direct Hessian Bk of a nonlinear objective function f(x):ℝn→ℝ expresses a sequence of recursive rank-1 or rank-2 matrix updates as one rank-k or rank-2k update of an initial matrix. Because it is derived from quasi-Newton updates, it uses differences of iterates and gradients ∇f(xk)=gk in its definition {si−1=xi−xi−1,yi−1=gi−gi−1}i=1k. In particular, for r=k or r=2k the rectangular n×r matrices Uk,Jk and the r×r square symmetric systems Mk,Nk depend on the si,yi's and define the quasi-Newton representations

Hk=H0+UkMk−1UkT, and Bk=B0+JkNk−1JkT

Applications Because of the special matrix decomposition the compact representation is implemented in state-of-the-art optimization software. When combined with limited-memory techniques it is a popular technique for constrained optimization with gradients. Linear algebra operations can be done efficiently, like matrix-vector products, solves or eigendecompositions. It can be combined with line-search and trust region techniques, and the representation has been developed for many quasi-Newton updates. For instance, the matrix vector product with the direct quasi-Newton Hessian and an arbitrary vector g∈ℝn is:

pk(0)=JkTgsolveNkpk(1)=pk(0)(Nk is small)pk(2)=Jkpk(1)pk(3)=H0gpk(4)=pk(2)+pk(3)

Background In the context of the GMRES method, Walker showed that a product of Householder transformations (an identity plus rank-1) can be expressed as a compact matrix formula. This led to the derivation of an explicit matrix expression for the product of k identity plus rank-1 matrices. Specifically, for Sk=[s0s1…sk−1], Yk=[y0y1…yk−1], (Rk)ij=si−1Tyj−1, ρi−1=1/si−1Tyi−1 and Vi=I−ρi−1yi−1si−1T when 1≤i≤j≤k the product of k rank-1 updates to the identity is ∏i=1kVi−1=(I−ρ0y0s0T)⋯(I−ρk−1yk−1sk−1T)=I−YkRk−1SkT The BFGS update can be expressed in terms of products of the Vi's, which have a compact matrix formula. Therefore, the BFGS recursion can exploit these block matrix representations

Recursive quasi-Newton updates A parametric family of quasi-Newton updates includes many of the most known formulas. For arbitrary vectors vk and ck such that vkTyk≠0 and ckTsk≠0 general recursive update formulas for the inverse and direct Hessian estimates are

By making specific choices for the parameter vectors vk and ck well known methods are recovered

Compact Representations Collecting the updating vectors of the recursive formulas into matrices, define Sk=[s0s1…sk−1], Yk=[y0y1…yk−1], Vk=[v0v1…vk−1], Ck=[c0c1…ck−1], upper triangular (Rk)ij:=(RkSY)ij=si−1Tyj−1,(RkVY)ij=vi−1Tyj−1,(RkCS)ij=ci−1Tsj−1, for 1≤i≤j≤k lower triangular (Lk)ij:=(LkSY)ij=si−1Tyj−1,(LkVY)ij=vi−1Tyj−1,(LkCS)ij=ci−1Tsj−1, for 1≤j<i≤k and diagonal (Dk)ij:=(DkSY)ij=si−1Tyj−1, for 1≤i=j≤k With these definitions the compact representations of general rank-2 updates in (2) and (3) (including the well known quasi-Newton updates in Table 1) have been developed in Brust:

Uk=[VkSk−H0Yk] Mk=[0k×kRkVY(RkVY)TRk+RkT−(Dk+YkTH0Yk)] and the formula for the direct Hessian is

Jk=[CkYk−B0Sk] Nk=[0k×kRkCS(RkCS)TRk+RkT−(Dk+SkTB0Sk)] For instance, when Vk=Sk the representation in (4) is the compact formula for the BFGS recursion in (1).

Specific Representations Prior to the development of the compact representations of (2) and (3), equivalent representations have been discovered for most known updates (see Table 1).

BFGS Along with the SR1 representation, the BFGS (Broyden-Fletcher-Goldfarb-Shanno) compact representation was the first compact formula known. In particular, the inverse representation is given by Hk=H0+UkMk−1UkT,Uk=[SkH0Yk],Mk−1=[Rk−T(Dk+YkTH0Yk)Rk−1−Rk−T−Rk−10] The direct Hessian approximation can be found by applying the Sherman-Morrison-Woodbury identity to the inverse Hessian: Bk=B0+JkNk−1JkT,Jk=[B0SkYk],Nk=[STB0SkLkLkT−Dk]

SR1 The SR1 (Symmetric Rank-1) compact representation was first proposed in. Using the definitions of Dk,Lk and Rk from above, the inverse Hessian formula is given by Hk=H0+UkMk−1UkT,Uk=Sk−H0Yk,Mk=Rk+RkT−Dk−YkTH0Yk The direct Hessian is obtained by the Sherman-Morrison-Woodbury identity and has the form Bk=B0+JkNk−1JkT,Jk=Yk−B0Sk,Nk=Dk+Lk+LkT−SkTB0Sk

MSS The multipoint symmetric secant (MSS) method is a method that aims to satisfy multiple secant equations. The recursive update formula was originally developed by Burdakov. The compact representation for the direct Hessian was derived in Bk=B0+JkNk−1JkT,Jk=[SkYk−B0Sk],Nk=[Wk(SkTB0Sk−(Rk−Dk+RkT))WkWkWk0]−1,Wk=(SkTSk)−1 Another equivalent compact representation for the MSS matrix is derived by rewriting Jk in terms of Jk=[SkB0Yk]. The inverse representation can be obtained by application for the Sherman-Morrison-Woodbury identity.

DFP Since the DFP (Davidon Fletcher Powell) update is the dual of the BFGS formula (i.e., swapping Hk↔Bk, H0↔B0 and yk↔sk in the BFGS update), the compact representation for DFP can be immediately obtained from the one for BFGS.

PSB The PSB (Powell-Symmetric-Broyden) compact representation was developed for the direct Hessian approximation. It is equivalent to substituting Ck=Sk in (5) Bk=B0+JkNk−1JkT,Jk=[SkYk−B0Sk],Nk=[0RkSS(RkSS)TRk+RkT−(Dk+SkTB0Sk)]

Structured BFGS For structured optimization problems in which the objective function can be decomposed into two parts f(x)=k^(x)+u^(x), where the gradients and Hessian of k^(x) are known but only the gradient of u^(x) is known, structured BFGS formulas exist. The compact representation of these methods has the general form of (5), with specific Jk and Nk.

… excerpt ends here. Continue reading the full article.

Illustrations

Compact quasi-Newton representation: Pattern in a limited-memory updating strategy. With a memory 
parameter of m=7, the first k≤m iterations fill the matrix 
(e.g., an upper triangular for the compact representation, Rk=triu(SkTYk)). For k>m the limited-memory
techniques discards the oldest information and add a new column to the end.
Pattern in a limited-memory updating strategy. With a memory parameter of m=7, the first k≤m iterations fill the matrix (e.g., an upper triangular for the compact representation, Rk=triu(SkTYk)). For k>m the limited-memory techniques discards the oldest information and add a new column to the end.

Worked examples

Example 1 — a first encounter with Compact quasi-Newton representation

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

In research
Compact quasi-Newton representation appears in computer 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 Compact quasi-Newton representation 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
Compact quasi-Newton representation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Optimization algorithms and methods, Quasi-Newton methods, so understanding it makes those chapters shorter.
In everyday life
Look for Compact quasi-Newton representation 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 “Compact quasi-Newton representation” →

How to study Compact quasi-Newton representation in 20 minutes

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

Frequently asked questions

What is Compact quasi-Newton representation in simple terms?

The compact representation for quasi-Newton methods is a matrix decomposition, which is typically used in gradient based optimization algorithms or for solving nonlinear systems. The decomposition uses a low-rank representation for the direct and/or inverse Hessian or the Jacobian of a nonlinear sy…

Why does Compact quasi-Newton representation matter?

Because it connects several computer 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 Compact quasi-Newton representation?

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 Compact quasi-Newton representation.

Tags

  • Optimization algorithms and methods
  • Quasi-Newton methods

Keep exploring