Conditional Gradient Algorithms for Norm-Regularized Smooth Convex Optimization

Zaid Harchaoui, Anatoli Juditsky, Arkadi Nemirovski

Introduction

We consider two norm-regularized convex optimization problems as follows:

In the large-scale case, first-order algorithms of proximal-gradient type are popular to tackle such problems, see for a recent overview. Among them, the celebrated Nesterov optimal gradient methods for smooth and composite minimization , and their stochastic approximation counterparts , are now state-of-the-art in compressive sensing and machine learning. These algorithms enjoy the best known so far theoretical estimates (and in some cases, these estimates are the best possible for the first-order algorithms). For instance, Nesterov’s algorithm for penalized minimization solves (2) to accuracy ϵ\epsilon in O(D0L/ϵ)O(D_{0}\sqrt{L/\epsilon}) iterations, where LL is the properly defined Lipschitz constant of the gradient of ff, and D0D_{0} is the initial distance to the optimal set, measured in the norm ∥⋅∥\|\cdot\|. However, applicability and efficiency of proximal-gradient algorithms in the large-scale case require from the problem to possess “favorable geometry” (for details, see [24, Section A.6]). To be more specific, consider proximal-gradient algorithm for convex minimization problems of the form

The comments to follow, with slight modifications, are applicable to problems such as (1) and (2) as well. In this case, a proximal-gradient algorithm operates with a “distance generating function” (d.g.f.) defined on the domain of the problem and 11-strongly convex w.r.t. the norm ∥⋅∥\|\cdot\|. Each step of the algorithm requires minimizing the sum of the d.g.f. and a linear form. The efficiency estimate of the algorithm depends on the variation of the d.g.f. on the domain and on regularity of ff w.r.t. ∥⋅∥\|\cdot\| i.e., the Lipschitz constant of ff w.r.t. ∥⋅∥\|\cdot\| in the nonsmooth case, or the Lipschitz constant of the gradient mapping x↦f′(x)x\mapsto f^{\prime}(x) w.r.t. the norm ∥⋅∥\|\cdot\| on the argument and the conjugate of this norm on the image spaces in the smooth case.. As a result, in order for a proximal-gradient algorithm to be practical in the large scale case, two “favorable geometry” conditions should be met: (a) the outlined sub-problems should be easy to solve, and (b) the variation of the d.g.f. on the domain of the problem should grow slowly (if at all) with problem’s dimension. Both these conditions indeed are met in many applications; see, e.g., for examples. This explains the recent popularity of this family of algorithms.

However, sometimes conditions (a) and/or (b) are violated, and application of proximal algorithms becomes questionable. For example, for the case of K=EK=E, (b) is violated for the usual ∥⋅∥∞\|\cdot\|_{\infty}-norm on Rp{\mathbf{R}}^{p} or, more generally, for ∥⋅∥2,1\|\cdot\|_{2,1} norm on the space of p×qp\times q matrices given by

where RowjT(x)\hbox{\rm Row}_{j}^{T}(x) denotes the jj-th row of xx. Here the variation of (any) d.g.f. on problem’s domain is at least pp. As a result, in the case in question the theoretical iteration complexity of a proximal algorithm grows rapidly with the dimension pp. Furthermore, for some high-dimensional problems which do satisfy (b), solving the sub-problem can be computationally challenging. Examples of such problems include nuclear-norm-based matrix completion, Total Variation-based image reconstruction, and multi-task learning with a large number of tasks and features. This corresponds to ∥⋅∥\|\cdot\| in (1) or (2) being the nuclear norm or the TV-norm.

These limitations recently motivated alternative approaches, which do not rely upon favorable geometry of the problem domain and/or do not require to solve hard sub-problems at each iteration, and triggered a renewed interest in the Conditional Gradient (CndG) algorithm. This algorithm, also known as the Frank-Wolfe algorithm, which is historically the first method for smooth constrained convex optimization, originates from , and was extensively studied in the 70-s (see, e.g., and references therein). CndG algorithms work by minimizing a linear form on the problem domain at each iteration; this auxiliary problem clearly is easier, and in many cases – significantly easier than the auxiliary problem arising in proximal-gradient algorithms. Conditional gradient algorithms for collaborative filtering were studied recently , some variants and extensions were studied in . Those works consider constrained formulations of machine learning or signal processing problems, i.e., minimizing the discrepancy f(x)f(x) under a constraint on the norm of the solution, as in (3). On the other hand, CndG algorithms for other learning formulations, such as norm minimization (1) or penalized minimization (2) remain open issues. An exception is the work of , where a Conditional Gradient algorithm for penalized minimization was studied, although the efficiency estimates obtained in that paper were suboptimal. In this paper, we present CndG-type algorithms aimed at solving norm minimization and penalized norm minimization problems and provide theoretical efficiency guarantees for these algorithms.

The main body of the paper is organized as follows. In Section 2, we present detailed setting of problems (1), (2) along with basic assumptions on the “computational environment” required by the CndG-based algorithms we are developing. These algorithms and their efficiency bounds are presented in Sections 3 (problem (1)) and 5 (problem (2). In Section 6 we outline some applications, and in Section 7 present preliminary numerical results. All proofs are relegated to the appendix.

Problem statement

Throughout the paper, we shall assume that K⊂EK\subset E is a closed convex cone in Euclidean space EE; we loose nothing by assuming that KK linearly spans EE. We assume, further, that ∥⋅∥\|\cdot\| is a norm on EE, and f:K→Rf:K\to{\mathbf{R}} is a convex function with Lipschitz continuous gradient, so that

where ∥⋅∥∗\|\cdot\|_{*} denotes the norm dual to ∥⋅∥\|\cdot\|, whence

We consider two kinds of problems, detailed below.

To tackle (5), we consider the following parametric family of problems

Note that whenever (5) is feasible, which we assume from now on, we have

and both problems (5), (7) can be solved.

Given a tolerance ϵ>0\epsilon>0, we want to find an ϵ\epsilon-solution to the problem, that is, a pair ρϵ\rho_{\epsilon}, xϵ∈Kx_{\epsilon}\in K such that

where Xρ:={x∈E:  x∈K,  ∥x∥≤ρ}X_{\rho}:=\{x\in E:\;x\in K,\;\|x\|\leq\rho\}. Getting back to the problem of interest (5), xϵx_{\epsilon} is then “super-optimal” and ϵ\epsilon-feasible:

Penalized norm minimization.

We shall refer to (10) as the problem of composite optimization (CO). Given a tolerance ϵ>0\epsilon>0, our goal is to find an ϵ\epsilon-solution to (10), defined as a feasible solution (xϵ,rϵ)(x_{\epsilon},r_{\epsilon}) to the problem satisfying F([xϵ;rϵ])−Opt≤ϵF([x_{\epsilon};r_{\epsilon}])-{\mathop{\hbox{Opt}}}\leq\epsilon. Note that in this case xϵx_{\epsilon} is an ϵ\epsilon-solution, in the similar sense, to (9).

Special case.

In many applications where Problem (5) arise, (9) the function ff enjoys a special structure:

where x↦Ax−bx\mapsto{\cal A}x-b is an affine mapping from EE to Rm{\mathbf{R}}^{m}, and ϕ(⋅):Rm→R\phi(\cdot):{\mathbf{R}}^{m}\to{\mathbf{R}} is a convex function with Lipschitz continuous gradient; we shall refer to this situation as to special case. In such case, the quantity LfL_{f} can be bounded as follows. Let π(⋅)\pi(\cdot) be some norm on Rm{\mathbf{R}}^{m}, π∗(⋅)\pi_{*}(\cdot) be the conjugate norm, and ∥A∥∥⋅∥,π\|{\cal A}\|_{\|\cdot\|,\pi} be the norm of the linear mapping x↦Axx\mapsto{\cal A}x induced by the norms ∥⋅∥\|\cdot\|, π(⋅)\pi(\cdot) on the argument and the image spaces:

Let also Lπ(⋅)[ϕ]L_{\pi(\cdot)}[\phi] be the Lipschitz constant of the gradient of ϕ\phi induced by the norm π(⋅)\pi(\cdot), so that

Then, one can take as LfL_{f} the quantity

Example 1: quadratic fit. In many applications, we are interested in ∥⋅∥2\|\cdot\|_{2}-discrepancy between Ax{\cal A}x and bb; the related choice of ϕ(⋅)\phi(\cdot) is ϕ(y)=12yTy\phi(y)={1\over 2}y^{T}y. Specifying π(⋅)\pi(\cdot) as ∥⋅∥2\|\cdot\|_{2}, we get L∥⋅∥2[ϕ]=1L_{\|\cdot\|_{2}}[\phi]=1.

so that for β=O(1)ln⁡(m)\beta=O(1)\ln(m) and mm large enough (specifically, such that β≥2\beta\geq 2), ϕ(y)\phi(y) is within absolute constant factor of 12∥y∥∞2{1\over 2}\|y\|_{\infty}^{2}. The latter situation can be interpreted as ϕ\phi behaving as 12∥⋅∥∞2{1\over 2}\|\cdot\|_{\infty}^{2}). At the same time, with β=O(1)ln⁡(m)\beta=O(1)\ln(m), L∥⋅∥∞[ϕ]≤O(1)ln⁡(m)L_{\|\cdot\|_{\infty}}[\phi]\leq O(1)\ln(m) grows with mm logarithmically.

Another widely used choice of ϕ(⋅)\phi(\cdot) for this type of discrepancy is “logistic” function

For π(⋅)=∥⋅∥∞\pi(\cdot)=\|\cdot\|_{\infty} we easily compute L∥⋅∥∞[ϕ]≤βL_{\|\cdot\|_{\infty}}[\phi]\leq\beta and ∥y∥∞≤ϕ(y)≤∥y∥∞+ln⁡(2n)/β\|y\|_{\infty}\leq\phi(y)\leq\|y\|_{\infty}+\ln(2n)/\beta.

Note that in some applications we are interested in “one-sided” discrepancies quantifying the magnitude of the vector [Ax−b]+=[max⁡[0,(Ax−b)1];...;max⁡[0,(Ax−b)m]][{\cal A}x-b]_{+}=[\max[0,({\cal A}x-b)_{1}];...;\max[0,({\cal A}x-b)_{m}]] rather than the the magnitude of the vector Ax−b{\cal A}x-b itself. Here, instead of using \phi(y)=\mbox{\small\frac{1}{2}}\|y\|^{2}_{\beta} in the context of examples 1 and 2, one can use the functions ϕ+(y)=ϕ([y]+)\phi_{+}(y)=\phi([y]_{+}). In this case the bounds on Lπ(⋅)[ϕ+]L_{\pi(\cdot)}[\phi_{+}] are exactly the same as the above bounds on Lπ(⋅)[ϕ]L_{\pi(\cdot)}[\phi]. The obvious substitute for the two-sided logistic function is its “one-sided version:” ϕ+(y)=1βln⁡(∑i=1m[eβyi+1])\phi_{+}(y)={1\over\beta}\ln\left(\sum_{i=1}^{m}\left[e^{\beta y_{i}}+1\right]\right) which obeys the same bound for Lπ(⋅)[ϕ+]L_{\pi(\cdot)}[\phi_{+}] as its two-sided analogue.

First-order and Linear Optimization oracles.

We assume that ff is represented by a first-order oracle – a routine which, given on input a point x∈Kx\in K, returns the value f(x)f(x) and the gradient f′(x)f^{\prime}(x) of ff at xx. As about KK and ∥⋅∥\|\cdot\|, we assume that they are given by a Linear Optimization (LO) oracle which, given on input a linear form ⟨η,⋅⟩\langle\eta,\cdot\rangle on EE, returns a minimizer x[η]x[\eta] of this linear form on the set {x∈K:∥x∥≤1}\{x\in K:\|x\|\leq 1\}. We assume w.l.o.g. that for every η\eta, x[η]x[\eta] is either zero, or is a vector of the ∥⋅∥\|\cdot\|-norm equal to 1. To ensure this property, it suffices to compute ⟨η,x[η]⟩\langle\eta,x[\eta]\rangle for x[η]x[\eta] given by the oracle; if this inner product is 0, we can reset x[η]=0x[\eta]=0, otherwise ∥x[η]∥\|x[\eta]\| is automatically equal to 1.

Note that an LO oracle for KK and ∥⋅∥\|\cdot\| allows to find a minimizer of a linear form of z=[x;r]∈E+:=E×Rz=[x;r]\in E^{+}:=E\times{\mathbf{R}} on a set of the form K+[ρ]={[x;r]∈E+:x∈K,∥x∥≤r≤ρ}K^{+}[\rho]=\{[x;r]\in E^{+}:x\in K,\|x\|\leq r\leq\rho\} due to the following observation:

Conditional Gradient algorithm

In this section, we present an overview of the properties of the standard Conditional Gradient algorithm, and highlight some memory-based extensions. These properties are not new. However, since they are key for the design of our proposed algorithms in the next sections, we present them for further reference.

Let EE be a Euclidean space and XX be a closed and bounded convex set in EE which linearly spans EE. Assume that XX is given by a LO oracle – a routine which, given on input η∈E\eta\in E, returns an optimal solution xX[η]x_{X}[\eta] to the optimization problem

(cf. Section 2). Let ff be a convex differentiable function on XX with Lipschitz continuous gradient f′(x)f^{\prime}(x), so that

where ∥⋅∥X\|\cdot\|_{X} is the norm on EE with the unit ball X−XX-X. We intend to solve the problem

A generic CndG algorithm is a recurrence which builds iterates xt∈Xx_{t}\in X, t=1,2,...t=1,2,..., in such a way that

Basic implementations of a generic CndG algorithm are given by

in the sequel, we refer to them as CndGa and CndGb, respectively. As a byproduct of running generic CndG, after tt steps we have at our disposal the quantities

which, by convexity of ff, are lower bounds on f∗f_{*}. Consequently, at the end of step tt we have at our disposal a lower bound

Finally, we define the approximate solution xˉt\bar{x}_{t} found in course of t=1,2,...t=1,2,... steps as the best – with the smallest value of ff – of the points x1,...,xtx_{1},...,x_{t}. Note that xˉt∈X\bar{x}_{t}\in X.

The following statement summarizes the well known properties of CndG (to make the presentation self-contained, we provide in Appendix the proof).

For a generic CndG algorithm, in particular, for both CndGa, CndGb, we have

Some remarks regarding the conditional algorithm are in order.

Certifying quality of approximate solutions. An attractive property of CndG is the presence of online lower bound f∗tf_{*}^{t} on f∗f_{*} which certifies the theoretical rate of convergence of the algorithm, see (20). This accuracy certificate, first established in , also provides a valuable stopping criterion when running the algorithm in practice.

CndG algorithm with memory. When computing the next search point xt+1x_{t+1} the simplest CndG algorithm CndGa only uses the latest answer xt+=xX[f′(xt)]x_{t}^{+}=x_{X}[f^{\prime}(x_{t})] of the LO oracle. Meanwhile, algorithm CndGb can be modified to make use of information supplied by previous oracle calls; we refer to this modification as CndG with memory (CndGM). Note that in the context of “classical” Frank-Wolfe algorithm – minimization of a smooth function over a polyhedral set – such modification is referred to as Restricted Simplicial Decomposition . Assume that we have already carried out t−1t-1 steps of the algorithm and have at our disposal current iterate xt∈Xx_{t}\in X (with x1x_{1} selected as an arbitrary point of XX) along with previous iterates xτx_{\tau}, τ<t\tau<t and the vectors f′(xτ)f^{\prime}(x_{\tau}), xτ+=xX[f′(xτ)]x_{\tau}^{+}=x_{X}[f^{\prime}(x_{\tau})]. At the step, we compute f′(xt)f^{\prime}(x_{t}) and xt+=xX[f′(xt)]x^{+}_{t}=x_{X}[f^{\prime}(x_{t})]. Thus, at this point in time we have at our disposal 2t2t points xτ,xτ+x_{\tau},x^{+}_{\tau}, 1≤τ≤t1\leq\tau\leq t, which belong to XX. Let XtX_{t} be subset of these points, with the only restriction that the points xtx_{t}, xt+x^{+}_{t} are selected, and let us define the next iterate xt+1x_{t+1} as

Clearly, it is again a generic CndG algorithm, so that conclusions in Theorem 1 are fully applicable to CndGM. Note that CndGb per se is nothing but CndGM with Xt={xt,xt+}X_{t}=\{x_{t},x_{t}^{+}\} and M=2M=2 for all tt.

CndGM: implementation issues. Assume that the cardinalities of the sets XtX_{t} in CndGM are bounded by some M≥2M\geq 2. In this case, implementation of the method requires solving at every step an auxiliary problem (22) of minimizing over the standard simplex of dimension ≤M−1\leq M-1 a smooth convex function given by a first-order oracle induced by the first-oracle for ff. When MM is a once for ever fixed small integer, the arithmetic cost of solving this problem within machine accuracy by, say, the Ellipsoid algorithm is dominated by the arithmetic cost of just O(1)O(1) calls to the first-order oracle for ff. Thus, CndGM with small MM can be considered as implementable Assuming possibility to solve (22) exactly, while being idealization, is basically as “tolerable” as the standard in continuous optimization assumption that one can use exact real arithmetic or compute exactly eigenvalues/eigenvectors of symmetric matrices. The outlined “real life” considerations can be replaced with rigorous error analysis which shows that in order to maintain the efficiency estimates from Theorem 1, it suffices to solve tt-th auxiliary problem within properly selected positive inaccuracy, and this can be achieved in O(ln⁡(t))O(\ln(t)) computations of ff and f′f^{\prime}..

Note that in the special case (Section 2), where f(x)=ϕ(Ax−b)f(x)=\phi(Ax-b), assuming ϕ(⋅)\phi(\cdot) and ϕ′(⋅)\phi^{\prime}(\cdot) easy to compute, as is the case in most of the applications, the first-order oracle for the auxiliary problems arising in CndGM becomes cheap (cf. ). Indeed, in this case (22) reads

It follows that all we need to get a computationally cheap access to the first-order information on gt(λt)g_{t}(\lambda^{t}) for all values of λt\lambda^{t} is to have at our disposal the matrix-vector products AxAx, x∈Xtx\in X_{t}. With our construction of XtX_{t}, the only two “new” elements in XtX_{t} (those which were not available at preceding iterations) are xtx_{t} and xt+x^{+}_{t}, so that the only two new matrix-vector products we need to compute at iteration tt are AxtAx_{t} (which usually is a byproduct of computing f′(xt)f^{\prime}(x_{t})) and Axt+Ax_{t}^{+}. Thus, we can say that the “computational overhead,” as compared to computing f′(xt)f^{\prime}(x_{t}) and xt+=xX[f′(xt)]x_{t}^{+}=x_{X}[f^{\prime}(x_{t})], needed to get easy access to the first-order information on gt(⋅)g_{t}(\cdot) reduces to computing the single matrix-vector product Axt+Ax_{t}^{+}.

Conditional gradient algorithm for parametric optimization

In this section, we describe a multi-stage algorithm to solve the parametric optimization problem (6), (7), using the conditional algorithm to solve inner sub-problems. (6), (7). The idea, originating from (see also ), is to use a Newton-type method for approximating from below the positive root ρ∗\rho_{*} of Opt(ρ){\mathop{\hbox{Opt}}}(\rho), with (inexact) first-order information on Opt(⋅){\mathop{\hbox{Opt}}}(\cdot) yielded by approximate solving the optimization problems defining Opt(⋅){\mathop{\hbox{Opt}}}(\cdot); the difference with the outlined references is that now we solve these problems with the CndG algorithm.

Our algorithm works stagewise. At the beginning of stage s=1,2,...s=1,2,..., we have at hand a lower bound ρs\rho_{s} on ρ∗\rho_{*}, with ρ1\rho_{1} defined as follows:

We compute f(0)f(0), f′(0)f^{\prime}(0) and x[f′(0)]x[f^{\prime}(0)]. If f(0)≤ϵf(0)\leq\epsilon or x[f′(0)]=0x[f^{\prime}(0)]=0, we are done — the pair (ρ=0\rho=0, x=0x=0) is an ϵ\epsilon-solution to (7) in the first case, and is an optimal solution to the problem in the second case (since in the latter case 00 is a minimizer of ff on KK, and (7) is feasible). Assume from now on that the above options do not take place (“nontrivial case”), and let

Due to the origin of x[⋅]x[\cdot], dd is positive, and f(x)≥f(0)+⟨f′(0),x⟩≥f(0)−d∥x∥f(x)\geq f(0)+\langle f^{\prime}(0),x\rangle\geq f(0)-d\|x\| for all x∈Kx\in K, which implies that ρ∗≥ρ1:=f(0)d>0.\rho_{*}\geq\rho_{1}:={f(0)\over d}>0.

At stage ss we apply a generic CndG algorithm (e.g., CndGa,CndGb, or CndGM; in the sequel, we refer to the algorithm we use as to CndG) to the auxiliary problem

Note that the LO oracle for KK, ∥⋅∥\|\cdot\| induces an LO oracle for K[ρ]K[\rho]; specifically, for every η∈E\eta\in E, the point xρ[η]:=ρx[η]x_{\rho}[\eta]:=\rho x[\eta] is a minimizer of the linear form ⟨η,x⟩\langle\eta,x\rangle over x∈K[ρ]x\in K[\rho], see Lemma 1. xρ[⋅]x_{\rho}[\cdot] is exactly the LO oracle utilized by CndG as applied to (23).

As explained above, after tt steps of CndG as applied to (23), the iterates being xτ∈K[ρs]x_{\tau}\in K[\rho_{s}], 1≤τ≤t1\leq\tau\leq t The iterates xtx_{t}, same as other indexed by tt quantities participating in the description of the algorithm, in fact depend on both tt and the stage number ss. To avoid cumbersome notation when speaking about a particular stage, we suppress ss in the notation., we have at our disposal current approximate solution xˉt∈{x1,...,xt}\bar{x}_{t}\in\{x_{1},...,x_{t}\} such that f(xˉt)=min⁡1≤τ≤tf(xτ)f(\bar{x}_{t})=\min_{1\leq\tau\leq t}f(x_{\tau}) along with a lower bound f∗tf_{*}^{t} on Opt(ρs){\mathop{\hbox{Opt}}}(\rho_{s}). Our policy is as follows.

When f(xˉt)≤ϵf(\bar{x}_{t})\leq\epsilon, we terminate the solution process and output ρˉ=ρs\bar{\rho}=\rho_{s} and xˉ=xˉt\bar{x}=\bar{x}_{t};

When the above option is not met and f∗t<34f(xˉt)f_{*}^{t}<{3\over 4}f(\bar{x}_{t}), we specify xt+1x_{t+1} according to the description of CndG and pass to step t+1t+1 of stage ss;

Finally, when neither one of the above options takes place, we terminate stage ss and pass to stage s+1s+1, specifying ρs+1\rho_{s+1} as follows: We are in the situation f(xˉt)>ϵf(\bar{x}_{t})>\epsilon and f∗t≥34f(xˉt)f_{*}^{t}\geq{3\over 4}f(\bar{x}_{t}). Now, for k≤tk\leq t the quantities f(xk)f(x_{k}), f′(xk)f^{\prime}(x_{k}) and x[f′(xk)]x[f^{\prime}(x_{k})] define affine function of ρ≥0\rho\geq 0

By Lemma 1 we have for every ρ≥0\rho\geq 0

is well defined and satisfies ρs<rt≤ρ∗\rho_{s}<r^{t}\leq\rho_{*}. We compute rtr^{t} (which is easy) and pass to stage s+1s+1, setting ρs+1=rt\rho_{s+1}=r^{t} and selecting, as the first iterate of the new stage, any point known to belong to K[ρ]K[\rho] (e.g., the origin, or xˉt\bar{x}_{t}). The first iterate of the first stage is 00.

The description of the algorithm is complete.

The complexity properties of the algorithm are given by the following proposition.

When solving a PO problem (6), (7) by the outlined algorithm,

(i) the algorithm terminates with an ϵ\epsilon-solution, as defined in Section 2 (cf. (8));

(ii) The number NsN_{s} of steps at every stage ss of the method admits the bound

(iii) The number of stages before termination does not exceed the quantity

Conditional Gradient algorithm for Composite Optimization

In this section, we present a modification of the CndG algorithm capable to solve composite minimization problem (10). We assume in the sequel that ∥⋅∥,K\|\cdot\|,K are represented by an LO oracle for the set {x∈K:∥x∥≤1}\{x\in K:\|x\|\leq 1\}, and ff is given by a first order oracle. In order to apply CndG to the composite optimization problem (10), we make the assumption as follows:

Assumption A: There exists D<∞D<\infty such that κr+f(x)≤f(0)\kappa r+f(x)\leq f(0) together with ∥x∥≤r\|x\|\leq r, x∈Kx\in K, imply that r≤Dr\leq D.

We define D∗D_{*} as the minimal value of DD satisfying Assumption A, and assume that we have at our disposal a finite upper bound D+D^{+} on D∗D_{*}. An important property of the algorithm we are about to develop is that its efficiency estimate depends on the induced by problem’s data quantity D∗D_{*}, and is independent of our a priori upper bound D+D^{+} on this quantity, see Theorem 3 below.

We are about to present an algorithm for solving (10). Let E+=E×RE^{+}=E\times{\mathbf{R}}, and K+={[x;r]:  x∈K, ∥x∥≤r}K^{+}=\{[x;r]:\;x\in K,\,\|x\|\leq r\}. From now on, for a point z=[x;r]∈E+z=[x;r]\in E^{+} we set x(z)=xx(z)=x and r(z)=rr(z)=r. Given z=[x;r]∈K+z=[x;r]\in K^{+}, let us consider the segment

Observe that by Lemma 1, for every 0≤ρ≤D+0\leq\rho\leq D^{+}, the minimum of this form on K+[ρ]={[x;r]∈E+,x∈K,∥x∥≤r≤ρ}K^{+}[\rho]=\{[x;r]\in E^{+},x\in K,\|x\|\leq r\leq\rho\} is attained at a point of Δ(z)\Delta(z) (either at [ρx[f′(x)]; ρ][\rho x[f^{\prime}(x)];\,\rho] or at the origin). A generic Conditional Gradient algorithm for composite optimization (COCndG) is a recurrence which builds the points zt=[xt;rt]∈K+z_{t}=[x_{t};r_{t}]\in K^{+}, t=1,2,...t=1,2,..., in such a way that

Let z∗=[x∗;r∗]z_{*}=[x_{*};r_{*}] be an optimal solution to (10) (which under Assumption A clearly exists), and let F∗=F(z∗)F_{*}=F(z_{*}) (i.e., F∗F_{*} is nothing but Opt{\mathop{\hbox{Opt}}}, see (9)).

A generic COCndG algorithm (24) maintains the inclusions zt∈K+z_{t}\in K^{+} and is a descent algorithm: F(zt+1)≤F(zt)F(z_{t+1})\leq F(z_{t}) for all tt. Besides this, we have

COCndG with memory.

The simplest implementation of a generic COCndG algorithm is given by the recurrence

Denoting z^τ:=D+[x[f′(xτ)];1]\widehat{z}_{\tau}:=D^{+}[x[f^{\prime}(x_{\tau})];1], the recurrence can be written

As for the CndG algorithm in section 3, the recurrence (26) admits a version with memory COCndGM still obeying (24) and thus sartisfying the conclusion of Theorem 3. Specifically, assume that we already have built tt iterates zτ=[xτ;rτ]∈K+z_{\tau}=[x_{\tau};r_{\tau}]\in K^{+}, 1≤τ≤t1\leq\tau\leq t, with z1=0z_{1}=0, along with the gradients f′(xτ)f^{\prime}(x_{\tau}) and the points x[f′(xτ)]x[f^{\prime}(x_{\tau})]. Then we have at our disposal a number of points from K+K^{+}, namely, the iterates zτz_{\tau}, τ≤t\tau\leq t, and the points z^τ=D+[x[f′(xτ)];1]\widehat{z}_{\tau}=D^{+}[x[f^{\prime}(x_{\tau})];1]. Let us select a subset ZtZ_{t} of the set {zτ,z^τ,1≤τ≤t}\{z_{\tau},\widehat{z}_{\tau},1\leq\tau\leq t\}, with the only restriction that ZtZ_{t} contains the points zt,z^tz_{t},\widehat{z}_{t}, and set

Since zt,z^t∈Ztz_{t},\widehat{z}_{t}\in Z_{t}, we have Conv(Δ(zt)∪{zt})}⊂Ct\hbox{\rm Conv}\left(\Delta(z_{t})\cup\{z_{t}\}\right)\}\subset{\cal C}_{t}, whence the procedure we have outlined is an implementation of generic COCndG algorithm. Note that the basic COCndG algorithm is the particular case of the COCndGM corresponding to the case where Zt={zt,z^t}Z_{t}=\{z_{t},\widehat{z}_{t}\} for all tt. The discussion of implementability of CndGM in section 3 fully applies to COCndGM.

Let us outline several options which can be implemented in COCndGM; while preserving the theoretical efficiency estimates stated in Theorem 3 they can improve the practical performance of the algorithm. For the sake of definiteness, let us focus on the case of quadratic ff: f(x)=∥Ax−b∥22f(x)=\|{\cal A}x-b\|_{2}^{2}, with KerA={0}{\rm Ker}{\cal A}=\{0\}; extensions to a more general case are straightforward.

We lose nothing (and potentially gain) when extending Ct{\cal C}_{t} in (28) to the conic hull

of ZtZ_{t}. When K=EK=E, we can go further and replace (28) with

Note that the preceding “conic case” is obtained from (29) by adding to the constraints of the right hand side problem the inequalities λζ≥0,ζ∈Zt\lambda_{\zeta}\geq 0,\zeta\in Z_{t}. Finally, when ∥⋅∥\|\cdot\| is easy to compute, we can improve (29) to

(the definition of λ∗\lambda^{*} assumes that K=EK=E, otherwise the constraints of the problem specifying λ∗\lambda^{*} should be augmented by the inequalities λζ≥0,ζ∈Zt\lambda_{\zeta}\geq 0,\zeta\in Z_{t}).

In the case of quadratic ff and moderate cardinality of ZtZ_{t}, optimization problems arising in (29) (with or without added constraints λζ≥0\lambda_{\zeta}\geq 0) are explicitly given low-dimensional “nearly quadratic” convex problems which can be solved to high accuracy “in no time” by interior point solvers. With this in mind, we could solve these problems for the given value of the penalty parameter κ\kappa and also for several other values of the parameter. Thus, at every iteration we get feasible approximate solution to several instances of (9) for different values of the penalty parameter. Assume that we keep in memory, for every value of the penalty parameter in question, the best, in terms of the respective objective, of the related approximate solutions found so far. Then upon termination we will have at our disposal, along with the feasible approximate solution associated with the given value of the penalty parameter, provably obeying the efficiency estimates of Theorem 3, a set of feasible approximate solutions to the instances of (9) corresponding to other values of the penalty.

In the above description, ZtZ_{t} was assumed to be a subset of the set Zt={zτ=[xτ;rτ],z^τ, 1≤τ≤t}Z^{t}=\{z_{\tau}=[x_{\tau};r_{\tau}],\widehat{z}_{\tau},\,1\leq\tau\leq t\} containing ztz_{t} and z^t\widehat{z}_{t}. Under the latter restriction, we lose nothing when allowing for ZtZ_{t} to contain points from K+\ZtK^{+}\backslash Z^{t} as well. For instance, when K=EK=E and ∥⋅∥\|\cdot\| is easy to compute, we can add to ZtZ_{t} the point zt′=[f′(xt);∥f′(xt)∥]z_{t}^{\prime}=[f^{\prime}(x_{t});\|f^{\prime}(x_{t})\|]. Assume, e.g., that we fix in advance the cardinality M≥3M\geq 3 of ZtZ_{t} and define ZtZ_{t} as follows: to get ZtZ_{t} from Zt−1Z_{t-1}, we eliminate from the latter set several (the less, the better) points to get a set of cardinality ≤M−3\leq M-3, and then add to the resulting set the points ztz_{t}, z^t\widehat{z}_{t} and zt′z_{t}^{\prime}. Eliminating the points according to the rule “first in – first out,” the projection of the feasible set of the optimization problem in (30) onto the space of xx-variables will be a linear subspace of EE containing, starting with step t=Mt=M, at least ⌊M/3⌋\lfloor M/3\rfloor (here ⌊a⌋\lfloor a\rfloor stands for the largest integer not larger than aa) of gradients of ff taken at the latest iterates, so that the method, modulo the influence of the penalty term, becomes a “truncated” version of the Conjugate Gradient algorithm for quadratic minimization. Due to nice convergence properties of Conjugate Gradient in the quadratic case, one can hope that a modification of this type will improve significantly the practical performance of COCndGM.

Application examples

In this section, we detail how the proposed conditional gradient algorithms apply to several examples. In particular, we detail the corresponding LO oracles, and how one could implement these oracles efficiently.

The first example where the proposed algorithms seem to be more attractive than the proximal methods are large-scale problems (5), (9) on the space of p×qp\times q matrices E=Rp×qE={\mathbf{R}}^{p\times q} associated with the nuclear norm ∥σ(x)∥1\|\sigma(x)\|_{1} of a matrix xx, where σ(x)=[σ1(x);...;σmin⁡[p,q](x)]\sigma(x)=[\sigma_{1}(x);...;\sigma_{\min[p,q]}(x)] is the vector of singular values of a p×qp\times q matrix xx. Problems of this type with K=EK=E arise in various versions of matrix completion, where the goal is to recover a matrix xx from its noisy linear image y=Ax+ξy={\cal A}x+\xi, so that f=ϕ(Ax−y)f=\phi({\cal A}x-y), with some smooth and convex discrepancy measure ϕ(⋅)\phi(\cdot), most notably, ϕ(z)=12∥z∥22\phi(z)={1\over 2}\|z\|_{2}^{2}. In this case, ∥⋅∥\|\cdot\| minimization/penalization is aimed at getting a recovery of low rank ( and references therein). Another series of applications relates to the case when E=SpE={\mathbf{S}}^{p} is the space of symmetric p×pp\times p matrices, and K=S+pK={\mathbf{S}}^{p}_{+} is the cone of positive semidefinite matrices, with ff and ϕ\phi as above; this setup corresponds to the situation when one wants to recover a covariance (and thus positive semidefinite symmetric) matrix from experimental data. Restricted from Rp×p{\mathbf{R}}^{p\times p} onto Sp{\mathbf{S}}^{p}, the nuclear norm becomes the trace norm ∥λ(x)∥1\|\lambda(x)\|_{1}, where λ(x)∈Rp\lambda(x)\in{\mathbf{R}}^{p} is the vector of eigenvalues of a symmetric p×pp\times p matrix xx, and regularization by this norm is, as above, aimed at building a low rank recovery.

With the nuclear (or trace) norm in the role of ∥⋅∥\|\cdot\|, all known proximal algorithms require, at least in theory, computing at every iteration the complete singular value decomposition of p×qp\times q matrix xx (resp., complete eigenvalue decomposition of a symmetric p×pp\times p matrix xx), which for large p,qp,q may become prohibitively time consuming. In contrast to this, with K=EK=E and ∥⋅∥=∥σ(⋅)∥1\|\cdot\|=\|\sigma(\cdot)\|_{1}, LO oracle for (K,∥⋅∥=∥σ(⋅)∥1)(K,\|\cdot\|=\|\sigma(\cdot)\|_{1}) only requires computing the leading right singular vector ee of a p×qp\times q matrix η\eta (i.e., the leading eigenvector of ηTη\eta^{T}\eta): x[η]=−fˉeˉTx[\eta]=-\bar{f}\bar{e}^{T}, where eˉ=e/∥e∥2\bar{e}=e/\|e\|_{2} and fˉ=ηe/∥ηe∥2\bar{f}=\eta e/\|\eta e\|_{2} for nonzero η\eta and fˉ=0\bar{f}=0, eˉ=0\bar{e}=0 when η=0\eta=0. Computing the leading singular vector of a large matrix is, in most cases, much cheaper than computing the complete eigenvalue decomposition of the matrix. Similarly, in the case of E=SpE={\mathbf{S}}^{p}, K=S+pK={\mathbf{S}}^{p}_{+} and the trace norm in the role of ∥⋅∥\|\cdot\|, LO oracle requires computing the leading eigenvector ee of a matrix η∈Sp\eta\in{\mathbf{S}}^{p}: x[−η]=eˉeˉTx[-\eta]=\bar{e}\bar{e}^{T}, where eˉ=0\bar{e}=0 when eTηe≥0e^{T}\eta e\geq 0, and eˉ=e/∥e∥2\bar{e}=e/\|e\|_{2} otherwise. Here again, for a large symmetric p×pp\times p matrix, the required computation usually is much easier than computing the complete eigenvalue decomposition of such a matrix. As a result, in the situations under consideration, algorithms based on the LO oracle remain “practically implementable” in an essentially larger range of problem sizes than proximal methods.

An additional attractive property of the CndG algorithms we have described stems from the fact that since in the situations in question the matrices x[η]x[\eta] are of rank 1, tt-th approximate solution xtx_{t} yielded by the CndG algorithms for composite minimization from Section 5 is of rank at most tt. Similar statement holds true for tt-th approximate solution xtx_{t} built at a stage of a CndG algorithm for parametric optimization from Section 3, provided that the first iterate at every stage is the zero matrix. this property is an immediate corollary of the fact that in the situation in question, by description of the algorithms xtx_{t} is a convex combination of tt points of the form x[⋅]x[\cdot]..

2 Regularization by Total Variation

Note that TV(⋅){\hbox{\rm TV}}(\cdot) is a norm on the subspace M0nM^{n}_{0} of MnM^{n} comprised of zero mean images xx (those with ∑i,jx(i,j)=0\sum_{i,j}x(i,j)=0) and vanishes on the orthogonal complement to M0nM_{0}^{n}, comprised of constant images.

Consider the network (the oriented graph) GG with n2n^{2} nodes [i;j]∈Γn,n[i;j]\in\Gamma_{n,n} and 2n(n−1)2n(n-1) arcs as follows: the first n(n−1)n(n-1) arcs are of the form ([i+1;j],[i;j])([i+1;j],[i;j]), 0≤i<n−10\leq i<n-1, 0≤j<n0\leq j<n, the next n(n−1)n(n-1) arcs are ([i;j+1],[i;j])([i;j+1],[i;j]), 0≤i<n0\leq i<n, 0≤j<n−10\leq j<n-1, and the remaining 2n(n−1)2n(n-1) arcs (let us call them backward arcs) are the inverses of the just defined 2n(n−1)2n(n-1) forward arcs. Let E{\cal E} be the set of arcs of our network, and let us equip all the arcs with unit capacities. Let us treat vectors from E=M0nE=M^{n}_{0} as vectors of external supplies for our network; note that the entries of these vectors sum to zero, as required from external supply. Now, given a nonzero vector η∈M0n\eta\in M^{n}_{0}, let us consider the network flow problem where we seek for the largest multiple sηs\eta of η\eta which, considered as the vector of external supplies in our network, results in a feasible capacitated network flow problem. The problem in question reads

where PP is the incidence matrix of our network that is, the rows of PP are indexed by the nodes, the columns are indexed by the arcs, and in the column indexed by an arc γ\gamma there are exactly two nonzero entries: entry 1 in the row indexed by the starting node of γ\gamma, and entry −1-1 in the row indexed by the terminal node of γ\gamma. and e\mathbf{e} is the all-ones vector. Now, problem (31) clearly is feasible, and its feasible set is bounded due to η≠0\eta\neq 0, so that the problem is solvable. Due to its network structure, this LP program can be solved reasonably fast even in the large scale case (say, when n=512n=512 or n=1024n=1024, which already is of interest for actual imaging). Further, an intelligent network flow solver as applied to (31) will return not only the optimal s=s∗s=s_{*} and the corresponding flow, but also the dual information, in particular, the optimal vector zz of Lagrange multipliers for the linear equality constraints Pr−sη=0Pr-s\eta=0. Let zˉ\bar{z} be obtained by subtracting from the entries of zz their mean; since the entries of zz are indexed by the nodes, zˉ\bar{z} can be naturally interpreted as a zero mean image. It turns out that this image is nonzero, and the vector x[η]=−zˉ/TV(zˉ)x[\eta]=-\bar{z}/{\hbox{\rm TV}}(\bar{z}) is nothing than a desired minimizer of ⟨η,⋅⟩\langle\eta,\cdot\rangle on TV{{\cal T}{\cal V}}:

Let η\eta be a nonzero image with zero mean. Then (31) is solvable with positive optimal value, and the image x[η]x[\eta], as defined above, is well defined and is a maximizer of ⟨η,⋅⟩\langle\eta,\cdot\rangle on TV{{\cal T}{\cal V}}.

When applying CndG algorithms to the TV-based problems (5), (9) with E=M0nE=M^{n}_{0} and f(x)=ϕ(Ax−b)f(x)=\phi({\cal A}x-b), the efficiency estimates depend linearly on the associated quantity LfL_{f}, which, in turn, is readily given by the norm ∥A∥TV(⋅),π(⋅)\|{\cal A}\|_{{\hbox{\scriptsize TV}}(\cdot),\pi(\cdot)} of the mapping x↦Axx\mapsto{\cal A}x, see the end of Section 2. Observe that in typical applications A{\cal A} is a simple operator (e.g., the discrete convolution), so that when restricting ourselves to the case when π(⋅)\pi(\cdot) is ∥⋅∥2\|\cdot\|_{2} (quadratic fit), it is easy to find a tight upper bound on ∥A∥∥⋅∥2,∥⋅∥2\|{\cal A}\|_{\|\cdot\|_{2},\|\cdot\|_{2}}. To convert this bound into an upper bound on ∥A∥TV(⋅),∥⋅∥2\|{\cal A}\|_{{\hbox{\scriptsize TV}}(\cdot),\|\cdot\|_{2}}, we need to estimate the quantity

Bounding QnQ_{n} is not a completely trivial question, and the answer is as follows:

QnQ_{n} is nearly constant, specifically, Qn≤O(1)ln⁡(n)Q_{n}\leq O(1)\sqrt{\ln(n)} with a properly selected absolute constant O(1)O(1).

Note that the result of Proposition 1 is in sharp contrast with one-dimensional case, where the natural analogy of QnQ_{n} grows with nn as n\sqrt{n}. We do not know whether it is possible to replace in Proposition 1 O(1)ln⁡(n)O(1)\sqrt{\ln(n)} with O(1)O(1), as suggested by Sobolev’s inequalities From the Sobolev embedding theorem it follows that for a smooth function f(x,y)f(x,y) on the unit square one has ∥f∥L2≤O(1)∥∇f∥1,\|f\|_{L_{2}}\leq O(1)\|\nabla f\|_{1}, ∥∇f∥1:=∥fx′∥1+∥fy′∥1\|\nabla f\|_{1}:=\|f^{\prime}_{x}\|_{1}+\|f^{\prime}_{y}\|_{1}, provided that ff has zero mean. Denoting by fnf^{n} the restriction of the function onto a n×nn\times n regular grid in the square, we conclude that ∥fn∥2/TV(fn)→∥f∥L2/∥∇f∥1≤O(1)\|f^{n}\|_{2}/{\hbox{\rm TV}}(f^{n})\to\|f\|_{L_{2}}/\|\nabla f\|_{1}\leq O(1) as n→∞n\to\infty. Note that the convergence in question takes place only in the 2-dimensional case.. Note that on inspection of the proof, Proposition extends to the case of dd-dimensional, d>2d>2, images with zero mean, in which case Qn≤C(d)Q_{n}\leq C(d) with appropriately chosen C(d)C(d).

Numerical examples

We present here some very preliminary simulation results.

The goal of the first series of our experiments is to illustrate how the performance and requirements of CndG algorithm for parametric optimization, when applied to the matrix completion problem , scale with problem size. Specifically, we apply the algorithm of Section 4 to the problem of nuclear norm minimization

where σ(x)\sigma(x) is the singular spectrum of a p×qp\times q matrix xx. In our experiments, the set Ω\Omega of observed entries (i,j)∈{1,...,p}×{1,...,q}(i,j)\in\{1,...,p\}\times\{1,...,q\} of cardinality m≪pqm\ll pq was selected at random.

Note that the the implementation of the CndGM is especially simple for the problem (32) – at each method’s iteration it requires solving a simple quadratic problem with dimension of the decision variable which does not exceed the iteration count. This allows to implement efficiently the “full memory” version of CndGM (CndG algorithms with memory) (21), (22), in which the set XtX_{t} contains xtx_{t} and all the points xτ+x^{+}_{\tau} for 1≤τ≤t1\leq\tau\leq t.

We compare the performance of CndGM algorithms and of a “memoryless” version of the CndG. To this end we have conducted the following experiment:

For matrix sizes p,q∈×103p,q\in\times 10^{3} we generate n=10n=10 sparse p×qp\times q matrices yy with density d=0.1d=0.1 of non-vanishing entries as follows: we generate p×rp\times r matrix UU and q×rq\times r matrix VV with independent Gaussian entries uij∼N(0,m−1),  vij∼N(0,n−1)u_{ij}\sim{\cal N}(0,m^{-1}),\;v_{ij}\sim{\cal N}(0,n^{-1}), and a r×rr\times r diagonal matrix D=diag[d1,...,dr]D={\rm diag}[d_{1},...,d_{r}] with did_{i} drawn independently from a uniform distribution on $.Thenon−vanishingentriesofthesparseobservationmatrix. The non-vanishing entries of the sparse observation matrixyareobtainedbysamplingatrandomwithprobabilityare obtained by sampling at random with probabilitydtheentriesofthe entries ofx^{*}=UDV^{T},sothatforevery, so that for everyi,j,,y_{ij}is,independentlyoveris, independently overi,j,setto, set tox^{*}_{ij}withprobabilitywith probabilitydandtoand to0withprobabilitywith probability1-d.Thus,thenumberofnon−vanishingentriesof. Thus, the number of non-vanishing entries ofyisapproximatelyis approximatelym=dpq.Thisprocedureresultsin. This procedure results inm\sim 10^{5}forthesmallestmatricesfor the smallest matricesy((1000\times 1000),andin), and inm\sim 10^{8}forthelargestmatrices(for the largest matrices (32000\times 32000$).

We apply to parametric optimization problem (32) MATLAB implementations of the CndGM with memory parameter M=1M=1 (“memoryless” CndG), CndGM with M=5M=5 and full memory CndGM. The parameter δ\delta of (32) is chosen to be δ=0.001∥y∥f2\delta=0.001\|y\|^{2}_{\rm f} (here ∥y∥f=(∑i,jyij2)1/2\|y\|_{\rm f}=\left(\sum_{i,j}y^{2}_{ij}\right)^{1/2} stands for the Frobenius norm of yy). The optimization algorithm is tuned to the relative accuracy ε=1/4\varepsilon=1/4, what means that it outputs an ϵ\epsilon-solution x^\widehat{x} to (32), in the sense of (8), with absolute accuracy ϵ=δε\epsilon=\delta\varepsilon.

For each algorithm (memoryless CndG, CndGM with memory M=5M=5 and full memory CndGM) we present in table 1 the average, over algorithm’s runs on the (common for all algorithms) sample of n=10n=10 matrices yy we have generated, 1) total number of iterations NitN_{\rm it} necessary to produce an ϵ\epsilon-solution (it upper-bounds the rank of the resulting ϵ\epsilon-solutuion), 2) CPU time in seconds TcpuT_{\rm cpu} and 3) MATLAB memory usage in megabytes SmemS_{\rm mem}. This experiment was conducted on a Dell Latitude 6430 laptop equipped with Intel Core i7-3720QM CPU@2.60GHz and 16GB of RAM. Because of high memory requirements in our implementation of the full memory CndGM, this method was unable to complete the computation for the two largest matrix sizes.

We can make the following observation regarding the results summarized in table 1: CndG algorithm with memory consistently outperforms the standard – memoryless – version of CndG. The full memory CndGM requires the smallest number of iteration to produce an ϵ\epsilon-solution, which is of the smallest rank, as a result. On the other hand, the memory requirements of the full memory CndGM become prohibitive (at least, for the computer we used for this experiment and MATLAB implementation of the memory heap) for large matrices. On the other hand, a CndGM with memory M=5M=5 appears to be a reasonable compromise in terms of numerical efficiency and memory demand.

2 CndG for composite optimization: multi-class classification with nuclear-norm regularization

We present here an empirical study of the CndG algorithm for composite optimization as applied to the machine learning problem of multi-class classification with nuclear-norm penalty. A brief description of the multi-class classification problem is as follows: we observe NN “feature vectors” ξi∈Rq\xi_{i}\in{\mathbf{R}}^{q}, each belonging to exactly one of pp classes C1,...,CpC_{1},...,C_{p}. Each ξi\xi_{i} is augmented by its label yi∈{1,...,p}y_{i}\in\{1,...,p\} indicating to which class ξi\xi_{i} belongs. Our goal is to build a classifier capable to predict the class to which a new feature vector ξ\xi belongs. This classifier is given by a p×qp\times q matrix xx according to the following rule: given ξ\xi, we compute the pp-dimensional vector xξx\xi and take, as the guessed class of ξ\xi, the index of the largest entry in this vector.

In some cases (see ), when, for instance, one is dealing with a large number of classes, there are good reasons “to train the classifier” — to specify xx given the training sample (ξi,yi)(\xi_{i},y_{i}), 1≤i≤N1\leq i\leq N — as the optimal solution to the nuclear norm penalized minimization problem

Below, we report on some experiments with this problem. Our goal was to compare two versions of CndG for composite minimization: the memoryless version defined in (24) and the version with memory defined in (28). To solve the corresponding sub-problems, we used the Center of Gravity method in the case of (24) and the Ellipsoid method in the case of (28) . In the version with memory we set M=5M=5, as it appeared to be the best option from empirical evidence. We have considered the following datasets:

Simulated data: for matrix of sizes p,q∈103×{2s}s=14p,q\in 10^{3}\times\{2^{s}\}_{s=1}^{4}, we generate random matrices x⋆=USVx_{\star}=USV, with p×pp\times p factor UU, q×qq\times q factor VV, and diagonal p×qp\times q factor SS with random entries sampled, independently of each other, from N(0,p−1){\cal N}(0,p^{-1}) (for UU), N(0,q−1){\cal N}(0,q^{-1}) (for VV), and the uniform distribution on $(fordiagonalentriesin(for diagonal entries inS).Weuse). We useN=20q,withthefeaturevectors, with the feature vectors\xi_{1},...,\xi_{N}sampled,independentlyofeachother,fromthedistributionsampled, independently of each other, from the distribution{\cal N}(0,I_{q}),andtheirlabels, and their labelsy_{i}beingtheindexesofthelargestentriesinthevectorsbeing the indexes of the largest entries in the vectorsx_{\star}\xi_{i}+\epsilon_{i},where, where\epsilon_{i}\in{\mathbf{R}}^{p}weresampled,independentlyofeachotherandofwere sampled, independently of each other and of\xi_{1},...,\xi_{N},from, from{\cal N}(0,{1\over 2}I_{p}).Theregularizationparameter. The regularization parameter\kappaissettois set to10^{-3}{\mathop{\hbox{\rm Tr}}}(x_{\star}x_{\star}^{T})$.

In both sets of experiments, the computations are terminated when the “ϵ\epsilon-optimality conditions”

were met, where ∥σ(⋅)∥∞\|\sigma(\cdot)\|_{\infty} denotes the usual operator norm (the largest singular value). These conditions admit transparent interpretation as follows. For every xˉ\bar{x}, the function

underestimates Fκ(x)F_{\kappa}(x), see (33), whence Opt(κ′)≥f(xˉ)−⟨f′(xˉ),xˉ⟩{\mathop{\hbox{Opt}}}(\kappa^{\prime})\geq f(\bar{x})-\langle f^{\prime}(\bar{x}),\bar{x}\rangle whenever κ′≥∥σ(f′(xˉ))∥∞\kappa^{\prime}\geq\|\sigma(f^{\prime}(\bar{x}))\|_{\infty}. Thus, whenever xˉ=xt\bar{x}=x_{t} satisfies the first relation in (34), we have Opt(κ+ϵ)≥f(xt)−⟨f′(xt),xt⟩{\mathop{\hbox{Opt}}}(\kappa+\epsilon)\geq f(x_{t})-\langle f^{\prime}(x_{t}),x_{t}\rangle, whence

We see that (34) ensures that Fκ(xt)−Opt(κ+ϵ)≤ϵ  ∥σ(xt)∥1F_{\kappa}(x_{t})-{\mathop{\hbox{Opt}}}(\kappa+\epsilon)\leq\epsilon\;\|\sigma(x_{t})\|_{1}, which, for small ϵ\epsilon, is a reasonable substitute for the actually desired termination when Fκ(xt)−Opt(κ)F_{\kappa}(x_{t})-{\mathop{\hbox{Opt}}}(\kappa) becomes small. In our experiments, we use ϵ=0.001\epsilon=0.001.

In table 2 for each algorithm (memoryless CndG, CndGM with memory M=5M=5) we present the average, over 20 collections of simulated data coming from 20 realizations of x⋆x_{\star}, of: 1) total number of iterations NitN_{\rm it} necessary to produce an ϵ\epsilon-solution, 2) CPU time in seconds TcpuT_{\rm cpu}. The last row of the table corresponds to the real-world data. Experiments were conducted on a Dell R905 server equipped with four six-core AMD Opteron 2.80GHz CPUs and 64GB of RAM. A maximum of 32GB of RAM was used for the computations.

We draw the following conclusions from table 1: CndG algorithm with memory routinely outperforms the standard – memoryless – version of CndG. However, there is a trade-off between the algorithm progress at each iteration and the computational load of each iteration. Note that, for large MM, solving the sub-problem (28) can be challenging.

3 CndG for composite optimization: TV-regularized image reconstruction

Here we report on experiments with COCndGM as applied to TV-regularized image reconstruction. Our problem of interest is of the form (9) with quadratic ff, namely, the problem

In our experiments, the mapping x↦Axx\mapsto{\cal A}x is defined as follows: we zero-pad xx to extend it from Γn,n\Gamma_{n,n} to get a finitely supported function on Z2{\mathbf{Z}}^{2}, then convolve this function with a finitely supported kernel α(⋅)\alpha(\cdot), and restrict the result onto Γn,n\Gamma_{n,n}. The observations b∈Mnb\in M^{n} were generated at random according to

with mutually independent ξij\xi_{ij}. The relative noise intensity σ>0\sigma>0, same as the convolution kernel α(⋅)\alpha(\cdot), are parameters of the setup of an experiment.

The algorithm.

We used the COCndG with memory, described in section 5; we implemented the options listed in A – C at the end of the section. Specifically,

We use the updating rule (30) with ZtZ_{t} evolving in time exactly as explained in item C: the set ZtZ_{t} is obtained from Zt−1Z_{t-1} by adding the points zt=[xt;TV(xt)]z_{t}=[x_{t};{\hbox{\rm TV}}(x_{t})], z^t=[x[∇f(xt)];1]\widehat{z}_{t}=[x[\nabla f(x_{t})];1] and zt′=[∇f(xt);TV(∇f(xt))]z_{t}^{\prime}=[\nabla f(x_{t});{\hbox{\rm TV}}(\nabla f(x_{t}))], and deleting from the resulting set, if necessary, some “old” points, selected according to the rule “first in – first out,” to keep the cardinality of ZtZ_{t} not to exceed a given M≥3M\geq 3 (in our experiments we use M=48M=48). This scheme is initialized with Z0=∅Z_{0}=\emptyset, z1=[0;0]z_{1}=[0;0].

The LO oracle for the TV norm on M0nM_{0}^{n} utilized in COCndGM was the one described in Lemma 2; the associated flow problem (31) was solved by the commercial interior point LP solver mosekopt version 6 . Surprisingly, in our application this “general purpose” interior point LP solver was by orders of magnitude faster than all dedicated network flow algorithms we have tried, including simplex-type network versions of mosekopt and CPLEX. With our solver, it becomes possible to replace in (31) every pair of opposite to each other arcs with a single arc, passing from the bounds 0≤r≤e0\leq r\leq{\mathbf{e}} on the flows in the arcs to the bounds −e≤r≤e-{\mathbf{e}}\leq r\leq{\mathbf{e}}.

The termination criterion we use relies upon the fact that in COCndGM the (nonnegative) objective decreases along the iterates: we terminate a run when the progress in terms of the objective becomes small, namely, when the condition

is satisfied. Here ϵ\epsilon and δ\delta are small tolerances (we used ϵ=0.005\epsilon=0.005 and δ=0.01\delta=0.01).

Organization of the experiments.

As explained above, a run of COCndGM, the working value of the penalty being κw\kappa_{\rm w}, yields 25 approximate solutions to (35) corresponding to κ\kappa along the grid κw⋅G\kappa_{\rm w}\cdot G. These sets are fragments of the grid G+G^{+}, with the ratio of the consecutive grid points 21/4≈1.192^{1/4}\approx 1.19. For every approximate solution xx we compute its combined relative error defined as

here xˉ\bar{x} is the easily computable shift of xx by a constant image satisfying ∥Axˉ−b∥2=∥PAx−Pb∥2\|{\cal A}\bar{x}-b\|_{2}=\|P{\cal A}x-Pb\|_{2}. From run to run, we increase the working value of the penalty by the factor 21/42^{1/4}, and terminate the experiment when in four consecutive runs there was no progress in the combined relative error of the best solution found so far. Our primary goals are (a) to quantify the performance of the COCndGM algorithm, and (b) to understand by which margin, in terms of ϕκ(⋅)\phi_{\kappa}(\cdot), the “byproduct” approximate solutions yielded by the algorithm (those which were obtained when solving (35) with the working value of penalty different from κ\kappa) are worse than the “direct” approximate solution obtained for the working value κ\kappa of the penalty.

Test instances and results.

We present below the results of four experiments with two popular images; these results are fully consistent with those of other experiments we have conducted so far. The corresponding setups are presented in table 3. Table 4 summarizes the performance data. Our comments are as follows.

In accordance to the above observations, using “large” memory (with the cardinality of ZtZ_{t} allowed to be as large as 48) and processing “large” number (25) of penalty values at every step are basically costless: at an iteration, the single call to the LO oracle (which is a must for CndG) takes as much as 85%85\% of the iteration time.

The COCndGM iteration count as presented in table 4 is surprisingly low for an algorithm with sublinear O(1/t)O(1/t) convergence, and the running time of the algorithm appears quite tolerable For comparison: solving on the same platform problem (35) corresponding to Experiment A (256×256256\times 256 image) by the state-of-the-art commercial interior point solver mosekopt 6.0 took as much as 3,727 sec, and this – for a single value of the penalty (there is no clear way to get from a single run approximate solutions for a set of values of the penalty in this case).

Seemingly, the instrumental factor here is that by reasons indicated in C, see the end of section 5, we include into ZtZ_{t} not only zt=[xt;TV(xt)]z_{t}=[x_{t};{\hbox{\rm TV}}(x_{t})] and z^t=[x[∇f(xt)];1]\widehat{z}_{t}=[x[\nabla f(x_{t})];1], but also zt′=[∇f(xt);TV(∇f(xt))]z_{t}^{\prime}=[\nabla f(x_{t});{\hbox{\rm TV}}(\nabla f(x_{t}))]. To illustrate the difference, this is what happens in experiment A with the lowest (0.125) working value of penalty. With the outlined implementation, the run takes 12 iterations (111 sec), with the ratio ϕ1/8(xt)/ϕ1/8(x1)\phi_{1/8}(x_{t})/\phi_{1/8}(x_{1}) reduced from 1 (t=1)(t=1) to 0.036 (t=12)(t=12). When zt′z_{t}^{\prime} is not included into ZtZ_{t}, the termination criterion is not met even in 50 iterations (452 sec), the maximum iteration count we allow for a run, and in course of these 50 iterations the above ratio was reduced from 1 to 0.17, see plot e) on figure 1.

An attractive feature of the proposed approach is the possibility to extract from a single run, the working value of the penalty being κw\kappa_{\rm w}, suboptimal solutions xκw(κ)x_{\kappa_{\rm w}}(\kappa) for a bunch of instances of (9) differing from each other by the values of the penalty κ\kappa. The related question is, of course, how good, in terms of the objective ϕκ(⋅)\phi_{\kappa}(\cdot), are the “byproduct” suboptimal solutions xκw(κ)x_{\kappa_{\rm w}}(\kappa) as compared to those obtained when κ\kappa is the working value of the penalty. In our experiments, the “byproduct” solutions were pretty good, as can be seen from plots (a) – (c) on figure 1, where we see the upper and the lower envelopes of the values of ϕκ\phi_{\kappa} at the approximate solutions xκw(κ)x_{\kappa_{\rm w}}(\kappa) obtained from different working values κw\kappa_{\rm w} of the penalty. In spite of the fact that in our experiments the ratios κ/κw\kappa/\kappa_{\rm w} could be as small as 1/81/8 and as large as 88, we see that these envelopes are pretty close to each other, and, as an additional bonus, are merely indistinguishable in a wide neighborhood of the best (resulting in the best recovery) value of the penalty (on the plots, this value is marked by asterisk).

Finally, we remark that in experiments A, B, where the mapping A{\cal A} is heavily ill-conditioned (see table 3), TV regularization yields moderate (just about 25%) improvement in the combined relative recovery error as compared to the one of the trivial recovery (“observations as they are”), in spite of the relatively low (σ=0.05\sigma=0.05) observation noise. In contrast to this, in the experiments C, D, where A{\cal A} is well-conditioned, TV regularization reduces the error by 80%80\% in experiment C (σ=0.15\sigma=0.15) and by 72% in experiment D (σ=0.4\sigma=0.4), see figure 2.

References

Appendix

where xt+=xX[f′(xt)]x^{+}_{t}=x_{X}[f^{\prime}(x_{t})]. Denoting by x∗x_{*} an optimal solution to (13) and invoking the definition of xt+x_{t}^{+} and convexity of ff, we have

Observing that for a generic GC algorithm we have f(xt+1)≤f(xt+γt(xt+−xt))f(x_{t+1})\leq f(x_{t}+\gamma_{t}(x_{t}^{+}-x_{t})) and invoking (12), we have

where the concluding ≤\leq is due to (37). It follows that \epsilon_{t+1}\leq(1-\gamma_{t})\epsilon_{t}+\mbox{\small\frac{1}{2}}L\gamma_{t}^{2}, whence

where, by convention, ∏k=t+1t=1\prod_{k=t+1}^{t}=1. Noting that ∏k=i+1t(1−2k+1)=∏k=i+1tk−1k+1=i(i+1)t(t+1),      i=1,...,t,\prod_{k=i+1}^{t}(1-{2\over k+1})=\prod_{k=i+1}^{t}{k-1\over k+1}={i(i+1)\over t(t+1)},\;\;\;i=1,...,t, we get

To prove (20), observe that setting Δˉt=min⁡1≤k≤tΔk\bar{\Delta}_{t}=\min_{1\leq k\leq t}\Delta_{k}, and invoking (17), (18) we clearly have

(we have used the fact that f(xˉt)≤f(xk)f(\bar{x}_{t})\leq f(x_{k}), k≤tk\leq t, by definition of xˉt\bar{x}_{t}). We see that in order to prove (20), it suffices to prove that

To verify (40), note that by the first inequality in (38)

Assuming t>2t>2 and summing up these inequalities over kk varying from t0=⌋t/2⌊t_{0}=\rfloor t/2\lfloor to tt (here ⌋a⌊\rfloor a\lfloor stands for the largest integer strictly smaller than aa), we obtain

Observe that ∑k=t0tγk=2∑k=t0t(k+1)−1≥2[ln⁡(t+1)−ln⁡(t0+1)]≥2ln⁡(2)\sum_{k=t_{0}}^{t}\gamma_{k}=2\sum_{k=t_{0}}^{t}(k+1)^{-1}\geq 2[\ln(t+1)-\ln(t_{0}+1)]\geq 2\ln(2) and ∑k=t0tγk2=4∑k=t0t(k+1)−2≤4[t0−1−t−1]≤4(t+2)t(t−2).\sum_{k=t_{0}}^{t}\gamma_{k}^{2}=4\sum_{k=t_{0}}^{t}(k+1)^{-2}\leq 4[t_{0}^{-1}-t^{-1}]\leq{4(t+2)\over t(t-2)}. Assuming t>4t>4 (so that t0≥2t_{0}\geq 2) and substituting into (42) the bound (19) for ϵt0\epsilon_{t_{0}} we obtain

2 Proof of Theorem 2

The proof, up to minor modifications, goes back to , see also ; we provide it here to make the paper self-contained. W.l.o.g. we can assume that we are in the nontrivial case (see description of the algorithm).

10. As it was explained when describing the method, whenever stage ss takes place, we have [0<]ρ1≤ρs≤ρ∗[0<]\rho_{1}\leq\rho_{s}\leq\rho_{*}, and ρs−1<ρs\rho_{s-1}<\rho_{s}, provided s>1s>1. Therefore by the termination rule, the output ρˉ\bar{\rho}, xˉ\bar{x} of the algorithm, if any, satisfies ρˉ≤ρ∗\bar{\rho}\leq\rho_{*}, f(xˉ)≤ϵf(\bar{x})\leq\epsilon. Thus, (i) holds true, provided that the algorithm does terminate. Thus, all we need is to verify (ii) and (iii).

20. Let us prove (ii). Let s≥1s\geq 1 be such that stage ss takes place. Setting X=K[ρs]X=K[\rho_{s}], observe that X−X⊂{x∈E:∥x∥≤2ρs}X-X\subset\{x\in E:\|x\|\leq 2\rho_{s}\}, whence ∥⋅∥≤2ρs∥⋅∥X\|\cdot\|\leq 2\rho_{s}\|\cdot\|_{X}, and therefore the relation (4) implies the validity of (12) with L=4ρs2LfL=4\rho_{s}^{2}L_{f}. Now, if stage ss does not terminate in course of some number tt steps, then, in the notation from the description of the algorithm, f(xˉt)>ϵf(\bar{x}_{t})>\epsilon and f∗t<34f(xˉt)f_{*}^{t}<{3\over 4}f(\bar{x}_{t}), whence f(xˉt)−f∗t>ϵ/4f(\bar{x}_{t})-f_{*}^{t}>\epsilon/4. By Theorem 1.ii, the latter is possible only when 4.5L/(t−2)>ϵ/44.5L/(t-2)>\epsilon/4. Thus, t≤max⁡[5,2+72ρs2Lfϵ]t\leq\max\left[5,2+{72\rho_{s}^{2}L_{f}\over\epsilon}\right]. Taking into account that ρs≤ρ∗\rho_{s}\leq\rho_{*}, (ii) follows.

Assuming 1<s≤S1<s\leq S and applying (43), we get ρs−ρs−1≥34us−1/gs−1\rho_{s}-\rho_{s-1}\geq{3\over 4}u_{s-1}/g_{s-1}, whence, invoking (44),

The resulting inequality implies that usus−1+gsgs−1≤43{u_{s}\over u_{s-1}}+{g_{s}\over g_{s-1}}\leq{4\over 3}, whence usgsus−1gs−1≤(1/4)(4/3)2=4/9{u_{s}g_{s}\over u_{s-1}g_{s-1}}\leq(1/4)(4/3)^{2}=4/9. It follows that

Finally observe that by the definition of ρ∗\rho_{*} and due to the fact that ∥x[f′(0)]∥=1\|x[f^{\prime}(0)]\|=1 in the nontrivial case, we have

(we have used (4) and the definition of dd), whence \rho_{*}d\leq f(0)+\mbox{\small\frac{1}{2}}L_{f}\rho_{*}^{2} and therefore

Since this relation holds true for every S≥1S\geq 1 such that the stage S+1S+1 takes place, (iii) follows. □\square

3 Proof of Theorem 3

By definition of ztz_{t} we have zt∈K+z_{t}\in K^{+} for all tt and F(0)=F(z1)≥F(z2)≥...F(0)=F(z_{1})\geq F(z_{2})\geq..., whence rt≤D∗r_{t}\leq D_{*} for all tt by Assumption A. Besides this, r∗≤D∗r_{*}\leq D_{*} as well. Let now ϵt=F(zt)−F∗\epsilon_{t}=F(z_{t})-F_{*}, zt=[xt;rt]z_{t}=[x_{t};r_{t}], and let zt+=[xt+,rt+]z^{+}_{t}=[x^{+}_{t},r^{+}_{t}] be a minimizer, as given by Lemma 1, of the linear form ⟨F′(zt),z⟩\langle F^{\prime}(z_{t}),z\rangle of z∈E+z\in E^{+} over the set K+[r∗]={[x;r]:x∈K,∥x∥≤r≤r∗}K^{+}[r_{*}]=\{[x;r]:x\in K,\|x\|\leq r\leq r_{*}\}. Recalling that F′(zt)=[f′(xt);κ]F^{\prime}(z_{t})=[f^{\prime}(x_{t});\kappa] and that rt≤D∗≤D+r_{t}\leq D_{*}\leq D^{+}, Lemma 1 implies that zt+∈Δ(zt)z^{+}_{t}\in\Delta(z_{t}). By definition of zt+z_{t}^{+} and convexity of FF we have

Invoking (12), it follows that for 0≤s≤10\leq s\leq 1 one has

using that ∥x(zt+)∥≤rt+\|x(z_{t}^{+})\|\leq r_{t}^{+} and ∥x(zt)∥≤rt\|x(z^{t})\|\leq r_{t} due to zt+,zt∈K+z_{t}^{+},z_{t}\in K^{+}, and that rt+≤r∗≤D∗r_{t}^{+}\leq r_{*}\leq D_{*}. By (24) we have

When t=1t=1, this recurrence, in view of z1=0z_{1}=0, implies that \epsilon_{2}\leq\mbox{\small\frac{1}{2}}L_{f}D_{*}^{2}. Let us show by induction in t≥2t\geq 2 that

thus completing the proof. We have already seen that (49) is valid for t=2t=2. Assuming that (49) holds true for t=k≥2t=k\geq 2, we have \epsilon_{k}\leq\mbox{\small\frac{1}{2}}L_{f}D_{*}^{2} and therefore ϵk+1≤ϵk−18LfD∗2ϵk2\epsilon_{k+1}\leq\epsilon_{k}-{1\over 8L_{f}D_{*}^{2}}\epsilon_{k}^{2} by (8.3) combined with 0≤rk≤D∗0\leq r_{k}\leq D_{*}. Now, the function s−18LfD∗2s2s-{1\over 8L_{f}D_{*}^{2}}s^{2} is nondecreasing on the segment 0≤s≤4LfD∗20\leq s\leq 4L_{f}D_{*}^{2} which contains ϵˉk\bar{\epsilon}_{k} and ϵk≤ϵˉk\epsilon_{k}\leq\bar{\epsilon}_{k}, whence

so that (49) holds true for t=k+1t=k+1. □\square

4 Proofs for Section 6

As we have already explained, (31) is solvable, so that zz is well defined. Denoting by (s∗,r∗)(s^{*},r^{*}) an optimal solution to (31) produced, along with zz, by our solver, note that the characteristic property of zz is the relation

Since the column sums in PP are zeros and η\eta is with zero sum of entries, the above characteristic property of zz is preserved when passing from zz to zˉ\bar{z}, so that we may assume from the very beginning that z=zˉz=\bar{z} is a zero mean image. Now, P=[Q,−Q]P=[Q,-Q], where QQ is the incidence matrix of the network obtained from GG by eliminating backward arcs. Representing a flow rr as [rf;rb][r_{f};r_{b}], where the blocks are comprised, respectively, of flows in the forward and backward arcs, and passing from rr to ρ=rf−rb\rho=r_{f}-r_{b}, our characteristic property of zz clearly implies the relation

(50.dd) and (50.aa) imply that ⟨Q∗z,ρ∗⟩=s∗\langle Q^{*}z,\rho^{*}\rangle=s^{*}, while (50.cc) says that ⟨Q∗z,ρ∗⟩=∥Q∗z∥1\langle Q^{*}z,\rho^{*}\rangle=\|Q^{*}z\|_{1}, and s∗=∥Q∗z∥1s^{*}=\|Q^{*}z\|_{1}. By (50.aa) z≠0z\neq 0, and thus zz is a nonzero image with zero mean; recalling what QQ is, the first n(n−1)n(n-1) entries in Q∗zQ^{*}z form ∇iz\nabla_{i}z, and the last n(n−1)n(n-1) entries form ∇jz\nabla_{j}z, so that ∥Q∗z∥1=TV(z)\|Q^{*}z\|_{1}={\hbox{\rm TV}}(z). The gradient field of a nonzero image with zero mean cannot be identically zero, whence TV(z)=∥Q∗z∥1=s∗>0{\hbox{\rm TV}}(z)=\|Q^{*}z\|_{1}=s^{*}>0. Thus x[η]=−z/TV(z)=−z/s∗x[\eta]=-z/{\hbox{\rm TV}}(z)=-z/s^{*} is well defined and TV(x[η])=1{\hbox{\rm TV}}(x[\eta])=1, while by (50.aa) we have ⟨x[η],η⟩=−1/s∗\langle x[\eta],\eta\rangle=-1/s^{*}. Finally, let x∈TVx\in{{\cal T}{\cal V}}, implying that Q∗xQ^{*}x is the concatenation of ∇ix\nabla_{i}x and ∇jx\nabla_{j}x and thus ∥Q∗x∥1=TV(x)≤1\|Q^{*}x\|_{1}={\hbox{\rm TV}}(x)\leq 1. Invoking (50.b,db,d), we get −1≤⟨Q∗x,ρ∗⟩=⟨x,Qρ∗⟩=s∗⟨x,η⟩-1\leq\langle Q^{*}x,\rho^{*}\rangle=\langle x,Q\rho^{*}\rangle=s^{*}\langle x,\eta\rangle, whence ⟨x,η⟩≥−1/s∗=⟨x[η],η⟩\langle x,\eta\rangle\geq-1/s^{*}=\langle x[\eta],\eta\rangle, meaning that x[η]∈TVx[\eta]\in{{\cal T}{\cal V}} is a minimizer of ⟨η,x⟩\langle\eta,x\rangle over x∈TVx\in{{\cal T}{\cal V}}. □\square

Proof of Proposition 1.

In the sequel, for a real-valued function xx defined on a finite set (e.g., for an image), ∥x∥p\|x\|_{p} stands for the LpL_{p} norm of the function corresponding to the counting measure on the set (the mass of every point from the set is 1). Let us fix nn and x∈M0nx\in M^{n}_{0} with TV(x)≤1{\hbox{\rm TV}}(x)\leq 1; we want to prove that

with appropriately selected absolute constant C{\cal C}.

10. Let ⊕\oplus stand for addition, and ⊖\ominus – for substraction of integers modulo nn; p⊕q=(p+q) mod n∈{0,1,...,n−1}p\oplus q=(p+q)\,\hbox{mod}\,n\in\{0,1,...,n-1\} and similarly for p⊖qp\ominus q. Along with discrete partial derivatives ∇ix\nabla_{i}x, ∇jx\nabla_{j}x, let us define their periodic versions ∇^ix\widehat{\nabla}_{i}x, ∇^jx\widehat{\nabla}_{j}x:

same as periodic Laplacian Δ^x\widehat{\Delta}x:

For every jj, 0≤j<n0\leq j<n, we have ∑i=0n−1∇^ix(i,j)=0\sum_{i=0}^{n-1}\widehat{\nabla}_{i}x(i,j)=0 and ∇ix(i,j)=∇^ix(i,j)\nabla_{i}x(i,j)=\widehat{\nabla}_{i}x(i,j) for 0≤i<n−10\leq i<n-1, whence ∑i=0n−1∣∇^i(x)∣≤2∑i=0n−1∣∇ix(i,j)∣\sum_{i=0}^{n-1}|\widehat{\nabla}_{i}(x)|\leq 2\sum_{i=0}^{n-1}|\nabla_{i}x(i,j)| for every jj, and thus ∥∇^ix∥1≤2∥∇ix∥1\|\widehat{\nabla}_{i}x\|_{1}\leq 2\|\nabla_{i}x\|_{1}. Similarly, ∥∇^jx∥1≤2∥∇jx∥1\|\widehat{\nabla}_{j}x\|_{1}\leq 2\|\nabla_{j}x\|_{1}, and we conclude that

20. Now observe that for 0≤i,j<n0\leq i,j<n we have

Now consider the following linear mapping from Mn×MnM^{n}\times M^{n} into MnM^{n}:

From this definition and (53) it follows that

30. Observe that B[g,h]B[g,h] always is an image with zero mean. Further, passing from images u∈Mnu\in M^{n} to their 2D Discrete Fourier Transforms DFT[u]{\hbox{DFT}}[u]:

we immediately see that every image uu with zero mean is the periodic Laplacian of another, uniquely, defined, image X[u]X[u] with zero mean, with X[u]X[u] given by

By Parseval identity, ∥DFT[x]∥2=n∥x∥2\|{\hbox{DFT}}[x]\|_{2}=n\|x\|_{2}, whence

Combining this observation with (52), we see that in order to prove (51), it suffices to check that

(!) Whenever g,h∈Mng,h\in M^{n} are such that

40. A good news about (!) is that since Y[B[g,h]]Y[B[g,h]] is linear in (g,h)(g,h), in order to justify (!), it suffices to prove that (57) holds true for the extreme point of GG, i.e., (a) for pairs where h≡0h\equiv 0 and gg is an image which is equal to 2 at some point of Γn,n\Gamma_{n,n} and vanishes outside of this point, and (b) for pairs where g≡0g\equiv 0 and hh is an image which is equal to 2 at some point of Γn,n\Gamma_{n,n} and vanishes outside of this point. Task (b) clearly reduces to task (a) by swapping the coordinates i,ji,j of points from Γn,n\Gamma_{n,n}, so that we may focus solely on task (a). Thus, assume that gg is a cyclic shift of the image 2δ2\delta:

From (54) it follows that then B[g,0]B[g,0] is a cyclic shift of B[2δ,0]B[2\delta,0], whence ∣DFT[B[g,0]](p,q)∣=∣DFT[B[2δ,0]](p,q)∣|{\hbox{DFT}}[B[g,0]](p,q)|=|{\hbox{DFT}}[B[2\delta,0]](p,q)| for all [p;q]∈Γn,n[p;q]\in\Gamma_{n,n}, which, by (56), implies that ∣Y[B[g,0]](p,q)∣=∣Y[B[2δ,0]](p,q)∣|Y[B[g,0]](p,q)|=|Y[B[2\delta,0]](p,q)| for all [p;q]∈Γn,n[p;q]\in\Gamma_{n,n}. The bottom line is that all we need is to verify that (57) holds true for g=2δ,h=0g=2\delta,h=0, or, which is the same, that with

where the right hand side by definition is 00 at p=q=0p=q=0, it holds

Now, (58) makes sense for all [p;q]∈Z2[p;q]\in{\mathbf{Z}}^{2} (provided that we define the right hand side as zero at all points of Z2{\mathbf{Z}}^{2} where the denominator in (58) vanishes, that is, at all point where p,qp,q are integer multiples of nn) and defines yy as a double-periodic, with periods nn in pp and in qq, function of [p;q][p;q]. Therefore, setting m=Floor(n/2)≥1m=\hbox{Floor}(n/2)\geq 1 and W={[p;q]∈Z2:−m≤p,q<n−m}W=\{[p;q]\in{\mathbf{Z}}^{2}:-m\leq p,q<n-m\}, we have

Setting ρ(p,q)=p2+q2\rho(p,q)=\sqrt{p^{2}+q^{2}}, observe that when 0≠[p;q]∈W0\neq[p;q]\in W, we have ∣1−exp⁡{2πıp/n}∣≤C1n−1ρ(p,q)|1-\exp\{2\pi\imath p/n\}|\leq C_{1}n^{-1}\rho(p,q) and 2[1−12[cos⁡(2πp/n)+cos⁡(2πq/n)]]≥C2n−2ρ2(p,q)2[1-{1\over 2}[\cos(2\pi p/n)+\cos(2\pi q/n)]]\geq C_{2}n^{-2}\rho^{2}(p,q) with positive absolute constants C1,C2C_{1},C_{2}, whence

With appropriately selected absolute constant C3C_{3} we have

Thus, Cn≤(C1/C2)2C3n2ln⁡(n)C_{n}\leq(C_{1}/C_{2})^{2}C_{3}n^{2}\ln(n), meaning that (57), and thus (51), holds true with C=C3C1/C2{\cal C}=\sqrt{C_{3}}C_{1}/C_{2}. □\square