
























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























































































ii
iv CONTENTS
3.7.2 Lagrangian Duality.................... 78 3.8 Moreau-Yosida envelope and the proximal map........ 82 3.9 Orthogonally invariant functions................ 84
1.1 Inner products and linear maps
Throughout, we fix an Euclidean space E, meaning that E is a finite- dimensional real vector space endowed with an inner product 〈·, ·〉. Recall that an inner-product on E is an assignment 〈·, ·〉 : E × E → R satisfying the following three properties for all x, y, z ∈ E and scalars a, b ∈ R:
(Symmetry) 〈x, y〉 = 〈y, x〉
(Bilinearity) 〈ax + by, z〉 = a〈x, z〉 + b〈y, z〉
(Positive definiteness) 〈x, x〉 ≥ 0 and equality 〈x, x〉 = 0 holds if and only if x = 0.
The most familiar example is the Euclidean space of n-dimensional col- umn vectors Rn, which unless otherwise stated we always equip with the dot-product 〈x, y〉 :=
∑n i=1 xiyi.^ One can equivalently write^ 〈x, y〉^ =^ x T (^) y.
A basic result of linear algebra shows that all Euclidean spaces E can be identified with Rn^ for some integer n, once an orthonormal basis is cho- sen. Though such a basis-specific interpretation can be useful, it is often distracting, with the indices hiding the underlying geometry. Consequently, it is often best to think coordinate-free. The space of real m × n-matrices Rm×n^ furnishes another example of an Euclidean space, which we always equip with the trace product 〈X, Y 〉 := tr XT^ Y. Some arithmetic shows the equality 〈X, Y 〉 =
i,j Xij^ Yij^.^ Thus the trace product on Rm×n^ is nothing but the usual dot-product on the ma- trices stretched out into long vectors. This viewpoint, however, is typically not very fruitful, and it is best to think of the trace product as a standalone object. An important Euclidean subspace of Rn×n^ is the space of real sym- metric n × n-matrices Sn, along with the trace product 〈X, Y 〉 := tr XY.
1
(Positivity) Equality ‖x‖ = 0 holds if and only if x = 0. The inner product in the Euclidean space E always induces a norm ‖x‖ :=
〈x, x〉. Unless specified otherwise, the symbol ‖x‖ for x ∈ E will always denote this induced norm. For example, the dot product on Rn induces the usual 2-norm ‖x‖ 2 =
x^21 +... + x^2 n, while the trace product on Rm×n^ induces the Frobenius norm ‖X‖F =
tr (XT^ X). Other important norms are the lp−norms on Rn:
‖x‖p =
(|x 1 |p^ +... + |xn|p)^1 /p^ for 1 ≤ p < ∞ max{|x 1 |,... , |xn|} for p = ∞
The most notable of these are the l 1 , l 2 , and l∞ norms. For an arbitrary norm ‖ · ‖ on E, the dual norm ‖ · ‖∗^ on E is defined by
‖v‖∗^ := max{〈v, x〉 : ‖x‖ ≤ 1 }.
For p, q ∈ [1, ∞], the lp and lq norms on Rn^ are dual to each other whenever p−^1 + q−^1 = 1. For an arbitrary norm ‖ · ‖ on E, the Cauchy-Schwarz inequality holds: |〈x, y〉| ≤ ‖x‖ · ‖y‖∗.
Exercise 1.2. Given a positive definite linear operator A on E, show that the assignment 〈v, w〉A := 〈Av, w〉 is an inner product on E, with the in- duced norm ‖v‖A =
〈Av, v〉. Show that the dual norm with respect to the original inner product is ‖v‖∗A = ‖v‖A− 1 =
〈A−^1 v, v〉. All norms on E are “equivalent” in the sense that any two are within a constant factor of each other. More precisely, for any two norms ρ 1 (·) and ρ 2 (·), there exist constants α, β ≥ 0 satisfying
αρ 1 (x) ≤ ρ 2 (x) ≤ βρ 1 (x) for all x ∈ E.
Case in point, for any vector x ∈ Rn, the relations hold:
‖x‖ 2 ≤ ‖x‖ 1 ≤
n‖x‖ 2 ‖x‖∞ ≤ ‖x‖ 2 ≤
n‖x‖∞ ‖x‖∞ ≤ ‖x‖ 1 ≤ n‖x‖∞.
For our purposes, the term “equivalent” is a misnomer: the proportionality constants α, β strongly depend on the (often enormous) dimension of the vector space E. Hence measuring quantities in different norms can yield strikingly different conclusions. Consider a linear map A : E → Y, and norms ‖ · ‖a on E and ‖ · ‖b on Y. We define the induced matrix norm
‖A‖a,b := max x: ‖x‖a≤ 1
‖Ax‖b.
The reader should verify the inequality
‖Ax‖b ≤ ‖A‖a,b‖x‖a.
In particular, if ‖ · ‖a and ‖ · ‖b are the norms induced by the inner products in E and Y, then the corresponding matrix norm is called the operator norm of A and will be denoted simply by ‖A‖. In the case E = Y and a = b, we simply use the notation ‖A‖a for the induced norm.
Exercise 1.3. Equip Rn^ and Rm^ with the lp-norms. Then for any matrix A ∈ Rm×n, show the equalities
‖A‖ 1 = max j=1,...,n ‖A•j ‖ 1
‖A‖∞ = max i=1,...,n
‖Ai•‖ 1
where A•j and Ai• denote the j’th column and i’th row of A, respectively.
1.3 Eigenvalue and singular value decompositions
of matrices
The symbol Sn^ will denote the set of n × n real symmetric matrices, while O(n) will denote the set of n × n real orthogonal matrices – those satisfying XT^ X = XXT^ = I. Any symmetric matrix A ∈ Sn^ admits an eigenvalue decomposition, meaning a factorization of the form A = U ΛU T^ with U ∈ O(n) and Λ ∈ Sn^ a diagonal matrix. The diagonal elements of Λ are precisely the eigenvalues of A and the columns of U are corresponding eigenvectors. More generally, any matrix A ∈ Rm×n^ admits a singular value decom- position, meaning a factorization of the form A = U DV T^ , where U ∈ O(m) and V ∈ O(n) are orthogonal matrices and D ∈ Rm×n^ is a diagonal matrix with nonnegative diagonal entries. The diagonal elements of D are uniquely defined and are called the singular values of A. Supposing without loss of generality m ≤ n, the singular values of A are precisely the square roots of the eigenvalues of AAT^. In particular, the operator norm of any matrix A ∈ Rm×n^ equals its maximal singular-value.
1.4 Point-set topology and differentiability
The symbol Br(x) will denote an open ball of radius r around a point x, namely Br(x) := {y ∈ E : ‖y − x‖ < r}. The closure of a set Q ⊂ E, denoted cl Q, consists of all points x such that the ball B(x) intersects Q for all > 0; the interior of Q, written as int Q, is the set of all points x such that Q contains some open ball around x. We say that Q is an open set if it coincides with its interior and a closed set if it coincides with its
The linear mapping ∇F (x) is called the Jacobian of F at x. If the assignment x 7 → ∇F (x) is continuous, we say that F is C^1 - smooth. In the most familiar setting E = Rn^ and Y = Rm, we can write F in terms of coordinate functions F (x) = (F 1 (x),... , Fm(x)), and then the Jacobian is simply
∇F (x) =
∇F 1 (x)T ∇F 2 (x)T .. . ∇Fm(x)T
∂F 1 (x) ∂x 1
∂F 1 (x) ∂x 2...^
∂F 1 (x) ∂xn ∂F 2 (x) ∂x 1
∂F 2 (x) ∂x 2...^
∂F 2 (x) ∂xn .. .
∂Fm(x) ∂x 1
∂Fm(x) ∂x 2...^
∂Fm(x) ∂xn
Finally, we introduce second-order derivatives. A C^1 -smooth function f : U → R is twice differentiable at a point x ∈ U if the gradient map ∇f : U → E is differentiable at x. Then the Jacobian of the gradient ∇(∇f )(x) is denoted by ∇^2 f (x) and is called the Hessian of f at x. Unrav- eling notation, the Hessian ∇^2 f (x) is characterized by the condition
∇f (x + h) = ∇f (x) + ∇^2 f (x)h + o(‖h‖).
If the map x 7 → ∇^2 f (x) is continuous, we say that f is C^2 -smooth. If f is indeed C^2 -smooth, then a basic result of calculus shows that ∇^2 f (x) is a self-adjoint operator. In the standard setting E = Rn, the Hessian is the matrix of second- order partial derivatives
∇^2 f (x) =
∂^2 f (x) ∂x^21
∂^2 f (x) ∂x 1 ∂x 2...^
∂^2 f 1 (x) ∂x 1 ∂xn ∂^2 f (x) ∂x 2 ∂x 1
∂^2 f (x) ∂x^22...^
∂^2 f (x) ∂x 2 ∂xn .. .
∂^2 f (x) ∂xn∂x 1
∂^2 f (x) ∂xn∂x 2...^
∂^2 f (x) ∂x^2 n
The matrix is symmetric, as long as it varies continuously with x in U.
Exercise 1.6. Define the function
f (x) = 12 〈Ax, x〉 + 〈v, x〉 + c
where A : E → E is a linear operator, v is lies in E, and c is a real number.
∇f (x) = Ax + v and ∇^2 f (x) = A.
Exercise 1.7. Define the function f (x) = 12 ‖F (x)‖^2 , where F : E → Y is a C^1 -smooth mapping. Prove the identity ∇f (x) = ∇F (x)∗F (x).
Exercise 1.8. Consider a function f : U → R and a linear mapping A : Y → E and define the composition h(x) = f (Ax).
∇^2 h(x) = A∗∇^2 f (Ax)A.
Exercise 1.9. Consider a mapping F (x) = G(H(x)) where H is differen- tiable at x and G is differentiable at H(x). Derive the formula ∇F (x) = ∇G(H(x))∇H(x).
Exercise 1.10. Define the two sets
Rn ++ := {x ∈ Rn^ : xi > 0 for all i = 1,... , n}, Sn ++ := {X ∈ Sn^ : X 0 }.
Consider the two functions f : Rn ++ → R and F : Sn ++ → R given by
f (x) = −
∑^ n
i=
log xi and F (X) = − ln det(X),
respectively. Note, from basic properties of the determinant, the equality F (X) = f (λ(X)), where we set λ(X) := (λ 1 (X),... , λn(X)).
F (X+tV )−F (X)+t〈X−^1 , V 〉 = − ln det(I+X−^1 /^2 V X−^1 /^2 )+tr (X−^1 /^2 V X−^1 /^2 ).
By rewriting the expression in terms of eigenvalues of X−^1 /^2 V X−^1 /^2 , deduce that the right-hand-side is o(t). To compute the Hessian, ob- serve
(X + V )−^1 = X−^1 /^2
and then use the expansion (I + A)−^1 = I − A + A^2 − A^3 +... = I − A + O(‖A‖^2 op),
whenever ‖A‖op < 1. ]
Theorem 1.12 (Fundamental theorem of multivariate calculus). Consider a C^1 -smooth function f : U → R and two points x, y ∈ U. Then equality
f (y) − f (x) =
0
〈∇f (x + t(y − x)), y − x〉 dt,
holds.
Proof. Define the univariate function ϕ(t) = f (x + t(y − x)). The funda- mental theorem of calculus yields the relation
ϕ(1) − ϕ(0) =
0
ϕ′(t) dt.
Taking into account Exercise 1.11, the result follows.
The following corollary precisely quantifies the gap between f (y) and its linear and quadratic models, l(x; y) and Q(x; y).
Corollary 1.13 (Accuracy in approximation). Consider a C^1 -smooth func- tion f : U → R and two points x, y ∈ U. Then we have
f (y) = l(x; y) +
0
〈∇f (x + t(y − x)) − ∇f (x), y − x〉 dt.
If f is C^2 -smooth, then the equation holds:
f (y) = Q(x; y) +
0
∫ (^) t
0
〈(∇^2 f (x + s(y − x)) − ∇^2 f (x))(y − x), y − x〉 ds dt.
Proof. The first equation is immediate from Theorem 1.12. To see the sec- ond equation, define the function ϕ(t) = f (x + t(y − x)). Then applying the fundamental theorem of calculus twice yields
ϕ(1) − ϕ(0) =
0
ϕ′(t) dt =
0
(ϕ′(0) +
∫ (^) t
0
ϕ′′(s) ds) dt
= ϕ′(0) +
ϕ′′(0) +
0
∫ (^) t
0
ϕ′′(s) − ϕ′′(0) ds dt.
Appealing to Excercise 1.11, the result follows.
Recall that if f is differentiable at x, then the relation holds:
ylim→x
f (y) − l(x; y) ‖y − x‖
An immediate consequence of Corollary 1.13 is that if f is C^1 -smooth then the equation above is stable under perturbations of the base point x: for any point ¯x ∈ U we have
x,ylim→¯x
f (y) − l(x; y) ‖y − x‖
Similarly if f is C^2 -smooth, then
x,ylim→x¯
f (y) − Q(x; y) ‖y − x‖^2
When the mappings ∇f and ∇^2 f are Lipschitz continuous, one has even greater control on the accuracy of approximation, in essence passing from little-o terms to big-O terms.
Corollary 1.14 (Accuracy in approximation under Lipschitz conditions). Given any β-smooth function f : U → R, for any points x, y ∈ U the in- equality (^) ∣ ∣∣f (y) − l(x; y)
∣∣ ≤ β 2 ‖y − x‖^2 holds.
If f is C^2 -smooth with M -Lipschitz Hessian, then ∣∣ ∣f^ (y)^ −^ Q(x;^ y)
‖y − x‖^3.
It is now straightforward to extend the results in this section to mappings F : U → Rm. Given a curve γ : R → Rm, we define the intergral
(∫ 0 γ(t)^ dt^ = 1 0 γ^1 (t)^ dt,... ,^
0 γm(t)^ dt
, where γi are the coordinate functions of γ.
The main observation is that whenever γi are integrable, the inequality ∥ ∥∥ ∥
0
γ(t) dt
0
‖γ(t)‖ dt holds.
To see this, define w =
0 γ(t)^ dt^ and simply observe
‖w‖^2 =
0
〈γ(t), w〉 dt ≤ ‖w‖
0
‖γ(t)‖ dt.
Exercise 1.15. Consider a C^1 -smooth mapping F : U → Rm^ and two points x, y ∈ U. Derive the equations
F (y) − F (x) =
0
∇F (x + t(y − x))(y − x) dt.
F (y) = F (x) + ∇F (x)(y − x) +
0
(∇F (x + t(y − x)) − ∇F (x))(y − x) dt.
In particular, consider a C^1 -smooth mapping F : U → Y, where Y is some Euclidean space, and a point ¯x ∈ U. Choosing an orthonormal basis for Y and applying Excercise 1.15, we obtain the relation
lim x,y→¯x
F (y) − F (x) − ∇F (x)(y − x) ‖y − x‖
Supposing that F is β-smooth, the stronger inequality holds:
‖F (y) − F (x) − ∇F (x)(y − x)‖ ≤ β 2
‖y − x‖^2.
In this chapter, we consider the problem of minimizing a smooth function on a Euclidean space E. Such problems are ubiquitous in computation mathematics and applied sciences.
2.1 Optimality conditions: Smooth Unconstrained
We begin the formal development with a classical discussion of optimality conditions. To this end, consider the problem
min x∈E f (x)
where f : E → R is a C^1 -smooth function. Without any additional assump- tions on f , finding a global minimizer of the problem is a hopeless task. Instead, we focus on finding a local minimizer: a point x for which there ex- ists a convex neighborhood U of x such that f (x) ≤ f (y) for all y ∈ U. After all, gradients and Hessians provide only local information on the function. When encountering an optimization problem, such as above, one faces two immediate tasks. First, design an algorithm that solves the problem. That is, develop a rule for going from one point xk to the next xk+1 by using computable quantities (e.g. function values, gradients, Hessians) so that the limit points of the iterates solve the problem. The second task is easier: given a test point x, either verify that x solves the problem or exhibit a direction along which points with strictly better function value can be found. Though the verification goal seems modest at first, it always serves as the starting point for algorithm design. Observe that naively checking if x is a local minimizer of f from the very definition requires evaluation of f at every point near x, an impossible task. We now derive a verifiable necessary condition for local optimality.
Theorem 2.1. (First-order necessary conditions) Suppose that x is a local minimizer of a function f : U → R. If f is differentiable at x, then equality ∇f (x) = 0 holds.
13
The reader may be misled into believing that the role of the neces- sary conditions and the sufficient conditions for optimality (Theorem 2.2) is merely to determine whether a putative point x is a local minimizer of a smooth function f. Such a viewpoint is far too limited. Necessary conditions serve as the basis for algorithm design. If necessary conditions for optimality fail at a point, then there must be some point nearby with a strictly smaller objective value. A method for discovering such a point is a first step for designing algorithms. Sufficient conditions play an entirely different role. In Section 2.2, we will see that sufficient conditions for optimality at a point x guarantee that the function f is strongly convex on a neighborhood of x. Strong convexity, in turn, is essential for establishing rapid convergence of numerical methods.
2.2 Convexity, a first look
Finding a global minimizer of a general smooth function f : E → R is a hope- less task, and one must settle for local minimizers or even critical points. This is quite natural since gradients and Hessians only provide local in- formation on the function. However, there is a class of smooth functions, prevalent in applications, whose gradients provide global information. This is the class of convex functions – the main setting for the book. This section provides a short, and limited, introduction to the topic to facilitate algorith- mic discussion. Later sections of the book explore convexity in much greater detail.
Definition 2.3 (Convexity). A function f : U → (−∞, +∞] is convex if the inequality f (λx + (1 − λ)y) ≤ λf (x) + (1 − λ)f (y)
holds for all points x, y ∈ U and real numbers λ ∈ [0, 1].
In other words, a function f is convex if any secant line joining two point in the graph of the function lies above the graph. This is the content of the following exercise.
Exercise 2.4. Show that a function f : U → (−∞, +∞] is convex if and only if the epigraph
epi f := {(x, r) ∈ U × R : f (x) ≤ r}
is a convex subset of E × R.
Exercise 2.5. Show that f : U → (−∞, +∞] is convex if and only if the inequality
f
( (^) k ∑
i=
λixi
∑^ k
i=
λif (xi),
holds for all integers k ∈ N, all points x 1 ,... , xk ∈ U , and all real λi ≥ 0 with
∑k i=1 λi^ = 1. Convexity is preserved under a variety of operations. Point-wise maxi- mum is an important example.
Exercise 2.6. Consider an arbitrary set T and a family of convex functions ft : U → (−∞, +∞] for t ∈ T. Show that the function f (x) := supt∈T ft(x) is convex.
Convexity of smooth functions can be characterized entirely in terms of derivatives.
Theorem 2.7 (Differential characterizations of convexity). The following are equivalent for a C^1 -smooth function f : U → R.
(a) (convexity) f is convex.
(b) (gradient inequality) f (y) ≥ f (x) + 〈∇f (x), y − x〉 for all x, y ∈ U.
(c) (monotonicity) 〈∇f (y) − ∇f (x), y − x〉 ≥ 0 for all x, y ∈ U.
If f is C^2 -smooth, then the following property can be added to the list:
(d) The relation ∇^2 f (x) 0 holds for all x ∈ U.
Proof. Assume (a) holds, and fix two points x and y. For any t ∈ (0, 1), convexity implies
f (x + t(y − x)) = f (ty + (1 − t)x) ≤ tf (y) + (1 − t)f (x),
while the definition of the derivative yields
f (x + t(y − x)) = f (x) + t〈∇f (x), y − x〉 + o(t).
Combining the two expressions, canceling f (x) from both sides, and dividing by t yields the relation
f (y) − f (x) ≥ 〈∇f (x), y − x〉 + o(t)/t.
Letting t tend to zero, we obtain property (b). Suppose now that (b) holds. Then for any x, y ∈ U , appealing to the gradient inequality, we deduce
f (y) ≥ f (x) + 〈∇f (x), y − x〉
and f (x) ≥ f (y) + 〈∇f (y), x − y〉. Adding the two inequalities yields (c).