Learning with Submodular Functions: A Convex Optimization Perspective

Francis Bach

Chapter 1 Introduction

Many combinatorial optimization problems may be cast as the minimization of a set-function, that is a function defined on the set of subsets of a given base set VV. Equivalently, they may be defined as functions on the vertices of the hyper-cube, i.e, {0,1}p\{0,1\}^{p} where pp is the cardinality of the base set VV—they are then often referred to as pseudo-boolean functions . Among these set-functions, submodular functions play an important role, similar to convex functions on vector spaces, as many functions that occur in practical problems turn out to be submodular functions or slight modifications thereof, with applications in many areas areas of computer science and applied mathematics, such as machine learning , computer vision , operations research , electrical networks or economics . Since submodular functions may be minimized exactly, and maximized approximately with some guarantees, in polynomial time, they readily lead to efficient algorithms for all the numerous problems they apply to. They are also appear in several areas of theoretical computer science, such as matroid theory .

However, the interest for submodular functions is not limited to discrete optimization problems. Indeed, the rich structure of submodular functions and their link with convex analysis through the Lovász extension and the various associated polytopes makes them particularly adapted to problems beyond combinatorial optimization, namely as regularizers in signal processing and machine learning problems . Indeed, many continuous optimization problems exhibit an underlying discrete structure (e.g., based on chains, trees or more general graphs), and submodular functions provide an efficient and versatile tool to capture such combinatorial structures.

In this monograph, the theory of submodular functions is presented in a self-contained way, with all results proved from first principles of convex analysis common in machine learning, rather than relying on combinatorial optimization and traditional theoretical computer science concepts such as matroids or flows (see, e.g., for a reference book on such approaches). Moreover, the algorithms that we present are based on traditional convex optimization algorithms such as the simplex method for linear programming, active set method for quadratic programming, ellipsoid method, cutting planes, and conditional gradient. These will be presented in details, in particular in the context of submodular function minimization and its various continuous extensions. A good knowledge of convex analysis is assumed (see, e.g., ) and a short review of important concepts is presented in Appendix A—for more details, see, e.g., .

The monograph is organized in several chapters, which are summarized below (in the table of contents, sections that can be skipped in a first reading are marked with a star∗):

Definitions: In Chapter 2, we give the different definitions of submodular functions and of the associated polyhedra, in particular, the base polyhedron and the submodular polyhedron. They are crucial in submodular analysis as many algorithms and models may be expressed naturally using these polyhedra.

Polyhedra: Associated polyhedra are further studied in Chapter 4, where support functions and the associated maximizers of linear functions are computed. We also detail the facial structure of such polyhedra, which will be useful when related to the sparsity-inducing properties of the Lovász extension in Chapter 5.

Convex relaxation of submodular penalties: While submodular functions may be used directly (for minimization of maximization of set-functions), we show in Chapter 5 how they may be used to penalize supports or level sets of vectors. The resulting mixed combinatorial/continuous optimization problems may be naturally relaxed into convex optimization problems using the Lovász extension.

Examples: In Chapter 6, we present classical examples of submodular functions, together with several applications in machine learning, in particular, cuts, set covers, network flows, entropies, spectral functions and matroids.

Non-smooth convex optimization: In Chapter 7, we review classical iterative algorithms adapted to the minimization of non-smooth polyhedral functions, such as subgradient, ellipsoid, simplicial, cutting-planes, active-set, and conditional gradient methods. A particular attention is put on providing when applicable primal/dual interpretations to these algorithms.

Separable optimization - Algorithms: In Chapter 9, we present two sets of algorithms for separable optimization problems. The first algorithm is an exact algorithm which relies on the availability of an efficient submodular function minimization algorithm, while the second set of algorithms are based on existing iterative algorithms for convex optimization, some of which come with online and offline theoretical guarantees. We consider active-set methods (“min-norm-point” algorithm) and conditional gradient methods.

Submodular function minimization: In Chapter 10, we present various approaches to submodular function minimization. We present briefly the combinatorial algorithms for exact submodular function minimization, and focus in more depth on the use of specific convex optimization problems, which can be solved iteratively to obtain approximate or exact solutions for submodular function minimization, with sometimes theoretical guarantees and approximate optimality certificates. We consider the subgradient method, the ellipsoid method, the simplex algorithm and analytic center cutting planes. We also show how the separable optimization problems from Chapters 8 and 9 may be used for submodular function minimization. These methods are then empirically compared in Chapter 12.

Submodular optimization problems: In Chapter 11, we present other combinatorial optimization problems which can be partially solved using submodular analysis, such as submodular function maximization and the optimization of differences of submodular functions, and relate these to non-convex optimization problems on the submodular polyhedra. While these problems typically cannot be solved in polynomial time, many algorithms come with approximation guarantees based on submodularity.

Experiments: In Chapter 12, we provide illustrations of the optimization algorithms described earlier, for submodular function minimization, as well as for convex optimization problems (separable or not). The Matlab code for all these experiments may be found at http://www.di.ens.fr/~fbach/submodular/.

In Appendix A, we review relevant notions from convex analysis (such as Fenchel duality, dual norms, gauge functions, and polar sets), while in Appendix B, we present several results related to submodular functions, such as operations that preserve submodularity.

Several books and monograph articles already exist on the same topic and the material presented in this monograph rely on those . However, in order to present the material in the simplest way, ideas from related research papers have also been used, and a stronger emphasis is put on convex analysis and optimization.

Chapter 2 Definitions

The field of submodular analysis takes its roots in matroid theory, and submodular functions were first seen as extensions of rank functions of matroids (see and §6.8) and their analysis strongly linked with special convex polyhedra which we define in §2.2. After the links with convex analysis were established , submodularity appeared as a central concept in combinatorial optimization. Like convexity, many models in science and engineering and in particular in machine learning involve submodularity (see Chapter 6 for many examples). Like convexity, submodularity is usually enough to derive general theories and generic algorithms (but of course some special cases are still of importance, such as min-cut/max-flow problems), which have attractive theoretical and practical properties. Finally, like convexity, there are many areas where submodular functions play a central but somewhat hidden role in combinatorial and convex optimization. For example, in Chapter 5, we show how many problems in convex optimization involving discrete structured turns out be cast as submodular optimization problems, which then immediately lead to efficient algorithms.

In §2.1, we provide the definition of submodularity and its equivalent characterizations. While submodularity may appear rather abstract, it turns out it come up naturally in many examples. In this chapter, we will only review a few classical examples which will help illustrate our various results. For an extensive list of examples, see Chapter 6. In §2.2, we define two polyhedra traditionally associated with a submodular function, while in §2.3, we consider non-decreasing submodular functions, often referred to as polymatroid rank functions.

Submodular functions may be defined through several equivalent properties, which we now present. Additive measures are the first examples of set-functions, the cardinality being the simplest example. A well known property of the cardinality is that for any two sets A,B⊆VA,B\subseteq V, then ∣A∣+∣B∣=∣A∪B∣+∣A∩B∣|A|+|B|=|A\cup B|+|A\cap B|, which extends to all additive measures. A function is submodular if and only if the previous equality is only an inequality for all subsets AA and BB of VV:

Note that if a function is submodular and such that F(∅)=0F(\varnothing)=0 (which we will always assume), for any two disjoint sets A,B⊆VA,B\subseteq V, then F(A∪B)⩽F(A)+F(B)F(A\cup B)\leqslant F(A)+F(B), i.e., submodularity implies sub-additivity (but the converse is not true).

As seen earlier, the simplest example of a submodular function is the cardinality (i.e., F(A)=∣A∣F(A)=|A| where ∣A∣|A| is the number of elements of AA), which is both submodular and supermodular (i.e., its opposite A↦−F(A)A\mapsto-F(A) is submodular). It turns out that only additive measures have this property of being modular.

From Def. 2.1, it is clear that the set of submodular functions is closed under linear combination and multiplication by a positive scalar (like convex functions).

Moreover, like convex functions, several notions of restrictions and extensions may be defined for submodular functions (proofs immediately follow from Def. 2.1):

More operations that preserve submodularity are defined in Appendix B, in particular partial minimization (like for convex functions). Note however, that in general the pointwise minimum or pointwise maximum of submodular functions are not submodular (properties which would be true for respectively concave and convex functions).

Checking the condition in Def. 2.1 is not always easy in practice; it turns out that it can be restricted to only certain sets AA and BB, which we now present.

The following proposition shows that a submodular has the “diminishing return” property, and that this is sufficient to be submodular. Thus, submodular functions may be seen as a discrete analog to concave functions. However, as shown in Chapter 3, in terms of optimization they behave more like convex functions (e.g., efficient minimization, duality theory, links with the convex Lovász extension).

(Definition with first-order differences) The set-function FF is submodular if and only if for all A,B⊆VA,B\subseteq V and k∈Vk\in V, such that A⊆BA\subseteq B and k∉Bk\notin B, we have

Proof Let A⊆BA\subseteq B, and k∉Bk\notin B; we have F(A∪{k})−F(A)−F(B∪{k})+F(B)=F(C)+F(D)−F(C∪D)−F(C∩D)F(A\cup\{k\})-F(A)-F(B\cup\{k\})+F(B)=F(C)+F(D)-F(C\cup D)-F(C\cap D) with C=A∪{k}C=A\cup\{k\} and D=BD=B, which shows that the condition is necessary. To prove the opposite, we assume that the first-order difference condition is satisfied; one can first show that if A⊆BA\subseteq B and C∩B=∅C\cap B=\varnothing, then F(A∪C)−F(A)⩾F(B∪C)−F(B)F(A\cup C)-F(A)\geqslant F(B\cup C)-F(B) (this can be obtained by summing the mm inequalities F(A∪{c1,…,ck})−F(A∪{c1,…,ck−1})⩾F(B∪{c1,…,ck})−F(B∪{c1,…,ck−1})F(A\cup\{c_{1},\dots,c_{k}\})-F(A\cup\{c_{1},\dots,c_{k-1}\})\geqslant F(B\cup\{c_{1},\dots,c_{k}\})-F(B\cup\{c_{1},\dots,c_{k-1}\}) where C={c1,…,cm}C=\{c_{1},\dots,c_{m}\}).

Then, for any X,Y⊆VX,Y\subseteq V, take A=X∩YA=X\cap Y, C=X\YC=X\backslash Y and B=YB=Y (which implies A∪C=XA\cup C=X and B∪C=X∪YB\cup C=X\cup Y) to obtain F(X)+F(Y)⩾F(X∪Y)+F(X∩Y)F(X)+F(Y)\geqslant F(X\cup Y)+F(X\cap Y), which shows that the condition is sufficient.

The following proposition gives the tightest condition for submodularity (easiest to show in practice).

(Definition with second-order differences) The set-function FF is submodular if and only if for all A⊆VA\subseteq V and j,k∈V\Aj,k\in V\backslash A, we have F(A∪{k})−F(A)⩾F(A∪{j,k})−F(A∪{j})F(A\cup\{k\})-F(A)\geqslant F(A\cup\{j,k\})-F(A\cup\{j\}).

Proof This condition is weaker than the one from the previous proposition (as it corresponds to taking B=A∪{j}B=A\cup\{j\}). To prove that it is still sufficient, consider A⊆VA\subseteq V, B=A∪{b1,…,bs}B=A\cup\{b_{1},\dots,b_{s}\}, and k∈V\Bk\in V\backslash B. We can apply the second-order difference condition to subsets A∪{b1,…,bs−1}A\cup\{b_{1},\dots,b_{s-1}\}, j=bsj=b_{s}, and sum the mm inequalities F(A∪{b1,…,bs−1}∪{k})−F(A∪{b1,…,bs−1} )⩾F(A∪{b1,…,bs}∪{k})−F(A∪{b1,…,bs})F(A\cup\{b_{1},\dots,b_{s-1}\}\cup\{k\})-F(A\cup\{b_{1},\dots,b_{s-1}\}\ )\geqslant F(A\cup\{b_{1},\dots,b_{s}\}\cup\{k\})-F(A\cup\{b_{1},\dots,b_{s}\}), for s∈{1,…,m}s\in\{1,\dots,m\}, to obtain the condition in Prop. 2.2.

Note that the set of submodular functions is itself a conic polyhedron with the facets defined in Prop. 2.3. In order to show that a given set-function is submodular, there are several possibilities: (a) use Prop. 2.3 directly, (b) use the Lovász extension (see Chapter 3) and show that it is convex, (c) cast the function as a special case from Chapter 6 (typically a cut or a flow), or (d) use known operations on submodular functions presented in Appendix B.

Beyond modular functions, we will consider as running examples for the first chapters of this monograph the following submodular functions (which will be studied further in Chapter 6):

Counting elements in a partitions: Given a partition of VV into mm sets G1,…,GmG_{1},\dots,G_{m}, then the function FF that counts for a set AA the number of elements in the partition which intersects AA is submodular. It may be written as F(A)=∑j=1mmin⁡{∣A∩Gj∣,1}F(A)=\sum_{j=1}^{m}\min\{|A\cap G_{j}|,1\} (submodularity is then immediate from the previous example and the restriction properties outlined previously). Generalizations to all set covers will be studied in §6.3.

Cuts: given an undirected graph G=(V,E)G=(V,E) with vertex set VV, then the cut function for the set A⊆VA\subseteq V is defined as the number of edges between vertices in AA and vertices in V\AV\backslash A, i.e., F(A)=∑(u,v)∈E∣(1A)u−(1A)v∣F(A)=\sum_{(u,v)\in E}|(1_{A})_{u}-(1_{A})_{v}|. For each (u,v)∈E(u,v)\in E, then the function ∣(1A)u−(1A)v∣=2min⁡{∣A∩{u,v}∣,1}−∣A∩{u,v}∣|(1_{A})_{u}-(1_{A})_{v}|=2\min\{|A\cap\{u,v\}|,1\}-|A\cap\{u,v\}| is submodular (because of operations that preserve submodularity), thus as a sum of submodular functions, it is submodular.

2 Associated polyhedra

(Submodular and base polyhedra) Let FF be a submodular function such that F(∅)=0F(\varnothing)=0. The submodular polyhedron P(F)P(F) and the base polyhedron B(F)B(F) are defined as:

Proof The first part is trivial, since t⩽st\leqslant s implies that for all A⊆VA\subseteq V, t(A)⩽s(A)t(A)\leqslant s(A). For the second part, given the previous property, we only need to show that P(F)P(F) is non-empty, which is true since the constant vector equal to min⁡A⊆V, A≠∅F(A)∣A∣\min_{A\subseteq V,\ A\neq\varnothing}\frac{F(A)}{|A|} belongs to P(F)P(F).

3 Polymatroids (non-decreasing submodular functions)

When the submodular function FF is also non-decreasing, i.e., when for A,B⊆VA,B\subseteq V, A⊆B⇒F(A)⩽F(B)A\subseteq B\Rightarrow F(A)\leqslant F(B), then the function is often referred to as a polymatroid rank function (see related matroid rank functions in §6.8). For these functions, as shown in Chapter 4, the base polyhedron happens to be included in the positive orthant (the submodular function from Figure 2.1 is thus non-decreasing).

Although, the study of polymatroids may seem too restrictive as many submodular functions of interest are not non-decreasing (such as cuts), polymatroids were historically introduced as the generalization of matroids (which we study in §6.8). Moreover, any submodular function may be transformed to a non-decreasing function by adding a modular function:

Proof Submodularity is immediate since A↦−s(A)A\mapsto-s(A) is submodular and adding two submodular functions preserves submodularity. Let A⊆VA\subseteq V and k∈V\Ak\in V\backslash A. We have:

which is non-negative since A⊆V\{k}A\subseteq V\backslash\{k\} (because of Prop. 2.2). This implies that GG is non-decreasing.

The joint properties of submodularity and monotonicity gives rise to a compact characterization of polymatroids , which we now describe:

(Characterization of polymatroids) Let FF by a set-function such that F(∅)=0F(\varnothing)=0. For any A⊆VA\subseteq V, define for j∈Vj\in V, ρj(A)=F(A∪{j})−F(A)\rho_{j}(A)=F(A\cup\{j\})-F(A) the gain of adding element jj to the set AA. The function FF is a polymatroid rank function (i.e., submodular and non-decreasing) if and only if for all A,B⊆VA,B\subseteq V,

Proof If Eq. (2.1) is true, then, if B⊆AB\subseteq A, B\A=∅B\backslash A=\varnothing, and thus F(B)⩽F(A)F(B)\leqslant F(A), which implies monotonicity. We can then apply Eq. (2.1) to AA and B=A∪{j,k}B=A\cup\{j,k\} to obtain the condition in Prop. 2.3, hence the submodularity.

We now assume that FF is non-decreasing and submodular. For any two subsets AA and BB of VV, if we enumerate the set B\AB\backslash A as {b1,…,bs}\{b_{1},\dots,b_{s}\}, we have

which is exactly Eq. (2.1). The last proposition notably shows that each submodular function is upper-bounded by a constant plus a modular function, and these upper-bounds may be enforced to be tight at any given A⊆VA\subseteq V. This will be contrasted in §5.1 to the other property shown later that modular lower-bounds also exist (Prop. 3.2).

For polymatroids, we will consider in this monograph two other polyhedra: the positive submodular polyhedron, which we now define by considering the positive part of the submodular polyhedron (sometimes called the independence polyhedron), and then its symmetrized version, which we refer to as the symmetric submodular polyhedron. See examples in two and three dimensions in Figure 2.2 and Figure 2.3.

(Positive submodular polyhedron) Let FF be a non-decreasing submodular function such that F(∅)=0F(\varnothing)=0. The positive submodular polyhedron P+(F)P_{+}(F) is defined as:

The positive submodular polyhedron is the intersection of the submodular polyhedron P(F)P(F) with the positive orthant (see Figure 2.2). Note that if FF is not non-decreasing, we may still define the positive submodular polyhedron, which is then equal to the submodular polyhedron P(G)P(G) associated with the monotone version GG of FF, i.e., G(A)=min⁡B⊇AF(B)G(A)=\min_{B\supseteq A}F(B) (see Appendix B for more details).

(Symmetric submodular polyhedron) Let FF be a non-decreasing submodular function such that F(∅)=0F(\varnothing)=0. The submodular polyhedron ∣P∣(F)|P|(F) is defined as:

Chapter 3 Lovász Extension

We first consider a set-function FF such that F(∅)=0F(\varnothing)=0, which may not be submodular. Every element of the power set 2V2^{V} may be associated to a vertex of the hypercube {0,1}p\{0,1\}^{p}. Namely, a set A⊆VA\subseteq V may be uniquely identified to the indicator vector 1A1_{A} (see Figure 3.1 and Figure 3.2).

The Lovász extension, which we define in §3.1, allows to draw links between submodular set-functions and regular convex functions, and transfer known results from convex analysis, such as duality. In particular, we prove in this chapter, two key results of submodular analysis and its relationship to convex analysis, namely, (a) that the Lovász extension is the support function of the base polyhedron, with a direct relationship through the “greedy algorithm” (§3.2), and (b) that a set-function is submodular if and only if its Lovász extension is convex (§3.3), with additional links between convex optimization and submodular function minimization.

While there are many additional results relating submodularity and convexity through the analysis of properties of the polyhedra defined in §2.2, these two results are the main building blocks of all the results presented in this monograph (for additional results, see Chapter 4 and ). In particular, in Chapter 5, we show how the Lovász extension may be used in convex continuous problems arising as convex relaxations of problems having mixed combinatorial/discrete structures.

We now define the Lovász extension of any set-function (not necessarily submodular). For several alternative representations and first properties, see Prop. 3.1.

Proof To prove that we actually define a function, one needs to prove that the definitions are independent of the potentially non unique ordering wj1⩾⋯⩾wjpw_{j_{1}}\geqslant\cdots\geqslant w_{j_{p}}, which is trivial from the last formulations in Eq. (3.3) and Eq. (3.4). The first and second formulations in Eq. (3.1) and Eq. (3.2) are equivalent (by integration by parts, or Abel summation formula). To show equivalence with Eq. (3.3), one may notice that z↦F({w⩾z})z\mapsto F(\{w\geqslant z\}) is piecewise constant, with value zero for z>wj1=max⁡{w1,…,wp}z>w_{j_{1}}=\max\{w_{1},\dots,w_{p}\}, and equal to F({j1,…,jk})F(\{j_{1},\dots,j_{k}\}) for z∈(wjk+1,wjk)z\in(w_{j_{k+1}},w_{j_{k}}), k={1,…,p−1}k=\{1,\dots,p-1\}, and equal to F(V)F(V) for z<wjp=min⁡{w1,…,wp}z<w_{j_{p}}=\min\{w_{1},\dots,w_{p}\}. What happens at break points is irrelevant for integration. Note that in Eq. (3.3), we may replace the integral ∫min⁡{w1,…,wp}+∞\int_{\min\{w_{1},\dots,w_{p}\}}^{+\infty} by ∫min⁡{w1,…,wp}max⁡{w1,…,wp}\int_{\min\{w_{1},\dots,w_{p}\}}^{\max\{w_{1},\dots,w_{p}\}}.

To prove Eq. (3.4) from Eq. (3.3), notice that for α⩽min⁡{0,w1,…,wp}\alpha\leqslant\min\{0,w_{1},\dots,w_{p}\}, Eq. (3.3) leads to

and we get the result by letting α\alpha tend to −∞-\infty. Note also that in Eq. (3.4) the integrands are equal to zero for zz large enough.

For p=2p=2, we may give several representations of the Lovász extension of a set-function FF. Indeed, from Eq. (3.1), we obtain

which can be written compactly into two different forms:

This allows an illustration of various propositions in this section (in particular Prop. 3.1). See also Figure 3.3 for an illustration. Note that for the cut in the complete graph with two nodes, we have F({1,2})=0F(\{1,2\})=0 and F({1})=F({2})=1F(\{1\})=F(\{2\})=1, leading to f(w)=∣w1−w2∣f(w)=|w_{1}-w_{2}|.

We have seen that for modular functions F:A↦s(A)F:A\mapsto s(A), then f(w)=s⊤wf(w)=s^{\top}w. For the function A↦min⁡{∣A∣,1}=1∣A∣≠∅A\mapsto\min\{|A|,1\}=1_{|A|\neq\varnothing}, then from Eq. (3.1), we have f(w)=max⁡k∈Vwkf(w)=\max_{k\in V}w_{k}. For the function F:A↦∑j=1mmin⁡{∣A∩Gj∣,1}F:A\mapsto\sum_{j=1}^{m}\min\{|A\cap G_{j}|,1\}, that counts elements in a partition, we have f(w)=∑j=1mmax⁡k∈Gjwkf(w)=\sum_{j=1}^{m}\max_{k\in G_{j}}w_{k}, which can be obtained directly from Eq. (3.1), or by combining Lovász extensions of sums of set-functions (see property (a) in Prop. 3.1). For cuts, by combining the results for two-dimensional functions, we obtain f(w)=∑(u,v)∈E∣wu−wv∣f(w)=\sum_{(u,v)\in E}|w_{u}-w_{v}|.

The following proposition details classical properties of the Choquet integral/Lovász extension. In particular, property (f) below implies that the Lovász extension is equal to the original set-function on {0,1}p\{0,1\}^{p} (which can canonically be identified to 2V2^{V}), and hence is indeed an extension of FF. See an illustration in Figure 3.3 for p=2p=2.

Proof Properties (a), (b) and (c) are immediate from Eq. (3.4) and Eq. (3.2). Properties (d), (e) and (f) are straightforward from Eq. (3.2). If FF is symmetric, then F(V)=F(∅)=0F(V)=F(\varnothing)=0, and thus f(−w)=∫−∞+∞F({−w⩾z})dz=∫−∞+∞F({w⩽−z})dz=∫−∞+∞F({w⩽z})dz=∫−∞+∞F({w>z})dz=f(w)f(-w)=\int_{-\infty}^{+\infty}F(\{-w\geqslant z\})dz=\int_{-\infty}^{+\infty}F(\{w\leqslant-z\})dz=\int_{-\infty}^{+\infty}F(\{w\leqslant z\})dz=\int_{-\infty}^{+\infty}F(\{w>z\})dz=f(w) (because we may replace strict inequalities by weak inequalities without changing the integral), i.e., ff is even. In addition, property (h) is a direct consequence of Eq. (3.2).

Finally, to prove property (i), we simply use property (b) and notice that since all components of ww are less than one, then f(w)=∫01F({w⩾z})dzf(w)=\int_{0}^{1}F(\{w\geqslant z\})dz, which leads to the desired result.

Note that when the function is a cut function (see §6.2), then the Lovász extension is related to the total variation and property (c) is often referred to as the co-area formula (see and references therein, as well as §6.2).

One may view the definition in Def. 3.1 in a geometric way. We can cut the set p^{p} in p!p! polytopes, as shown in Figure 3.1 and the the bottom plot of Figure 3.2. These small polytopes are parameterized by one of the p!p! permutations of pp elements, i.e., one of the orderings {j1,…,jp}\{j_{1},\dots,j_{p}\}, and are defined as the set of w∈pw\in^{p} such that wj1⩾⋯⩾wjpw_{j_{1}}\geqslant\cdots\geqslant w_{j_{p}}. For a given ordering, the corresponding convex set is the convex hull of the p ⁣+ ⁣1p\!+\!1 indicator vectors of sets Ak={j1,…,jk}A_{k}=\{j_{1},\dots,j_{k}\}, for k∈{0,…,p}k\in\{0,\dots,p\} (with the convention that A0=∅A_{0}=\varnothing), and any ww in this polytope may be written as w=∑k=1p−1(wjk−wjk+1)1{j1,…,jk}+wjp1V+(1−wj1)×0w=\sum_{k=1}^{p-1}(w_{j_{k}}-w_{j_{k+1}})1_{\{j_{1},\dots,j_{k}\}}+w_{j_{p}}1_{V}+(1-w_{j_{1}})\times 0 (which is indeed a convex combination), and thus, the definition of f(w)f(w) in Eq. (3.2) corresponds exactly to a linear interpolation of the values at the vertices of the polytope {w∈p, wj1⩾⋯⩾wjp}\{w\in^{p},\ w_{j_{1}}\geqslant\cdots\geqslant w_{j_{p}}\}.

2 Greedy algorithm

The next result relates the Lovász extension with the support functionThe support function of a convex set KK is obtained by maximizing linear functions w⊤sw^{\top}s over s∈Ks\in K, which leads to a convex function of ww; see definition in Appendix A. of the submodular polyhedron P(F)P(F) or the base polyhedron B(F)B(F), which are defined in Def. 2.2. This is the basis for many of the theoretical results and algorithms related to submodular functions. Using convex duality, it shows that maximizing a linear function with non-negative coefficients on the submodular polyhedron may be obtained in closed form, by the so-called “greedy algorithm” (see and §6.8 for an intuitive explanation of this denomination in the context of matroids), and the optimal value is equal to the value f(w)f(w) of the Lovász extension. Note that otherwise, solving a linear programming problem with 2p−12^{p}-1 constraints would then be required. This applies to the submodular polyhedron P(F)P(F) and to the base polyhedron B(F)B(F); note the different assumption regarding the positivity of the components of ww. See also Prop. 4.2 for a characterization of all maximizers and Prop. 3.4 for similar results for the positive submodular polyhedron P+(F)P_{+}(F) and Prop. 3.5 for the symmetric submodular polyhedron ∣P∣(F)|P|(F).

Moreover, we can define dual variables λ{j1,…,jk}=wjk−wjk+1\lambda_{\{j_{1},\dots,j_{k}\}}=w_{j_{k}}-w_{j_{k+1}} for k∈{1,…,p−1}k\in\{1,\dots,p-1\} and λV=wjp\lambda_{V}=w_{j_{p}} with all other λA\lambda_{A}’s equal to zero. Then they are all non negative (notably because w⩾0w\geqslant 0), and satisfy the constraint ∀k∈V, wk=∑A∋kλA\forall k\in V,\ w_{k}=\sum_{A\ni k}\lambda_{A}. Finally, the dual cost function has also value f(w)f(w) (from Eq. (3.2)). Thus by strong duality (which holds, because P(F)P(F) has a non-empty interior), ss is an optimal solution, hence property (a). Note that the maximizer ss is not unique in general (see Prop. 4.2 for a description of the set of solutions).

Given the previous proposition that provides a maximizer of linear functions over B(F)B(F), we obtain a list of all extreme points of B(F)B(F). Note that this also shows that B(F)B(F) is a polytope (i.e., it is a compact polyhedron).

(Extreme points of B(F)B(F)) The set of extreme points is the set of vectors ss obtained as the result of the greedy algorithm from Prop. 3.2, for all possible orderings of components of ww.

We end this section, by simply stating the greedy algorithm for the symmetric and positive submodular polyhedron, whose proofs are similar to the proof of Prop. 3.2 (we define the sign of aa as +1+1 if a>0a>0, and −1-1 if a<0a<0, and zero otherwise; ∣w∣|w| denotes the vector composed of the absolute values of the components of ww). See also Prop. 4.9 and Prop. 4.10 for a characterization of all maximizers of linear functions.

3 Links between submodularity and convexity

The next proposition draws precise links between convexity and submodularity, by showing that a set-function FF is submodular if and only if its Lovász extension ff is convex . This is further developed in Prop. 3.7 where it is shown that, when FF is submodular, minimizing FF on 2V2^{V} (which is equivalent to minimizing ff on {0,1}p\{0,1\}^{p} since ff is an extension of FF) and minimizing ff on p^{p} are equivalent.

(Convexity and submodularity) A set-function FF is submodular if and only if its Lovász extension ff is convex.

Proof We first assume that ff is convex. Let A,B⊆VA,B\subseteq V. The vector 1A∪B+1A∩B=1A+1B1_{A\cup B}+1_{A\cap B}=1_{A}+1_{B} has components equal to (on V\(A∪B)V\backslash(A\cup B)), 22 (on A∩BA\cap B) and 11 (on AΔB=(A\B)∪(B\A)A\Delta B=(A\backslash B)\cup(B\backslash A)). Therefore, from property (b) of Prop. 3.1, f(1A∪B+1A∩B)=∫02F(1{w⩾z})dz=∫01F(A∪B)dz+∫12F(A∩B)dz=F(A∪B)+F(A∩B)f(1_{A\cup B}+1_{A\cap B})=\int_{0}^{2}F(1_{\{w\geqslant z\}})dz=\int_{0}^{1}F(A\cup B)dz+\int_{1}^{2}F(A\cap B)dz=F(A\cup B)+F(A\cap B). Since ff is convex, then by homogeneity, f(1A+1B)⩽f(1A)+f(1B)f(1_{A}+1_{B})\leqslant f(1_{A})+f(1_{B}), which is equal to F(A)+F(B)F({A})+F({B}), and thus FF is submodular.

The next proposition completes Prop. 3.6 by showing that minimizing the Lovász extension on p^{p} is equivalent to minimizing it on {0,1}p\{0,1\}^{p}, and hence to minimizing the set-function FF on 2V2^{V} (when FF is submodular).

(Minimization of submodular functions) Let FF be a submodular function and ff its Lovász extension; then min⁡A⊆VF(A)=min⁡w∈{0,1}pf(w)=min⁡w∈pf(w)\min_{A\subseteq V}F(A)=\min_{w\in\{0,1\}^{p}}f(w)=\min_{w\in^{p}}f(w). Moreover, the set of minimizers of f(w)f(w) on p^{p} is the convex hull of minimizers of ff on {0,1}p\{0,1\}^{p}.

Proof Because ff is an extension from {0,1}p\{0,1\}^{p} to p^{p} (property (f) from Prop. 3.1), we must have min⁡A⊆VF(A)=min⁡w∈{0,1}pf(w)⩾min⁡w∈pf(w)\min_{A\subseteq V}F(A)=\min_{w\in\{0,1\}^{p}}f(w)\geqslant\min_{w\in^{p}}f(w). To prove the reverse inequality, we may represent w∈pw\in^{p} uniquely through its constant sets and their corresponding values; that is, there exists a unique partition A1,…,AmA_{1},\dots,A_{m} of VV where ww is constant on each AiA_{i} (equal to vi)v_{i}) and (vi)(v_{i}) is a strictly decreasing sequence (i.e., v1>⋯>vmv_{1}>\cdots>v_{m}). From property (h) of Prop. 3.1, we have

where the last inequality is obtained from v1⩽1v_{1}\leqslant 1 and min⁡A⊆VF(A)⩽F(∅)=0\min_{A\subseteq V}F(A)\leqslant F(\varnothing)=0. This implies that min⁡w∈pf(w)⩾min⁡A⊆VF(A)\min_{w\in^{p}}f(w)\geqslant\min_{A\subseteq V}F(A).

There is equality in the previous sequence of inequalities, if and only if (a) for all i∈{1,…,m−1}i\in\{1,\dots,m-1\}, F(A1∪⋯∪Ai)=min⁡A⊆VF(A)F(A_{1}\cup\cdots\cup A_{i})=\min_{A\subseteq V}F(A), (b) vm(F(V)−min⁡A⊆VF(A))=0v_{m}(F(V)-\min_{A\subseteq V}F(A))=0, and (c) (v1−1)min⁡A⊆VF(A)=0(v_{1}-1)\min_{A\subseteq V}F(A)=0. Moreover, we have

Thus, ww is the convex hull of the indicator vectors of the sets A1∪⋯∪AjA_{1}\cup\cdots\cup A_{j}, for j∈{1,…,m−1}j\in\{1,\dots,m-1\}, of 1V1_{V} (if vm>0v_{m}>0, i.e., from (b), if VV is a minimizer of FF), and of 0=1∅0=1_{\varnothing} (if vm<1v_{m}<1, i.e., from (c), if ∅\varnothing is a minimizer of FF). Therefore, any minimizer ww is in the convex hull of indicator vectors of minimizers AA of FF. The converse is true by the convexity of the Lovász extension ff.

See Chapter 10 for more details on submodular function minimization and the structure of minimizers.

Given that the Lovász extension ff of a submodular function is convex, it is natural to study its behavior when used within a convex estimation framework. In Chapter 5, we show that it corresponds to the convex relaxation of imposing some structure on supports or level sets of the vector to be estimated.

Chapter 4 Properties of Associated Polyhedra

We now study in more details submodular and base polyhedra defined in §2.2, as well as the symmetric and positive submodular polyhedra defined in §2.3 for non-decreasing functions. We first review in §4.1 that the support functions may be computed by the greedy algorithm, but now characterize the set of maximizers of linear functions, from which we deduce a detailed facial structure of the base polytope B(F)B(F) in §4.2. We then study the positive submodular polyhedron P+(F)P_{+}(F) and the symmetric submodular polyhedron ∣P∣(F)|P|(F) in §4.3.

The results presented in this chapter are key to understanding precisely the sparsity-inducing effect of the Lovász extension, which we present in details in Chapter 5. Note that §4.2 and §4.3 may be skipped in a first reading.

Proof The only statement left to prove beyond Prop. 3.2 is (c): we just need to notice that, for jj such that wj<0w_{j}<0, we can define s(λ)=s0−λδj∈P(F)s(\lambda)=s_{0}-\lambda\delta_{j}\in P(F) for λ→+∞\lambda\to+\infty and s0∈P(F)s_{0}\in P(F) and that w⊤s(λ)→+∞w^{\top}s(\lambda)\to+\infty.

The next proposition shows necessary and sufficient conditions for optimality in the definition of support functions. Note that Prop. 3.2 gave one example obtained from the greedy algorithm, and that we can now characterize all maximizers. Moreover, note that the maximizer is unique only when ww has distinct values, and otherwise, the ordering of the components of ww is not unique, and hence, the greedy algorithm may have multiple outputs (and all convex combinations of these are also solutions, and are in fact exactly all solutions, as discussed below the proof of Prop. 4.2). The following proposition essentially shows what is exactly needed for s∈B(F)s\in B(F) to be a maximizer. In particular, this is done by showing that for some sets A⊆VA\subseteq V, we must have s(A)=F(A)s(A)=F(A); such sets are often said tight for s∈B(F)s\in B(F). This proposition is key to deriving optimality conditions for the separable optimization problems that we consider in Chapter 8 and Chapter 9.

Proof We first prove (a). Let Bi=A1∪⋯∪AiB_{i}=A_{1}\cup\cdots\cup A_{i}, for i=1,…,mi=1,\dots,m. From the optimization problems defined in the proof of Prop. 3.2, let λV=vm>0\lambda_{V}=v_{m}>0, and λBi=vi−vi+1>0\lambda_{B_{i}}=v_{i}-v_{i+1}>0 for i<mi<m, with all other λA\lambda_{A}’s, A⊆VA\subseteq V, equal to zero. Such λ\lambda is optimal because the dual function is equal to the primal objective f(w)f(w).

The last inequality is made possible by the conditions vm>0v_{m}>0 and vi>vi+1v_{i}>v_{i+1}. Thus ss is optimal, if and only if the primal objective value s⊤ws^{\top}w is equal to the optimal dual objective value ∑A⊆VλAF(A)\sum_{A\subseteq V}\lambda_{A}F(A), and thus, if and only if there is equality in all above inequalities, that is, if and only if S(Bi)=F(Bi)S(B_{i})=F(B_{i}) for all i∈{1,…,m}i\in\{1,\dots,m\}.

The proof for (b) follows the same arguments, except that we do not need to ensure that s(V)=F(V)s(V)=F(V), since vm=0v_{m}=0. Similarly, for (c), where s(V)=F(V)s(V)=F(V) is always satisfied for s∈B(F)s\in B(F), hence we do not need vm>0v_{m}>0.

Given ww with constant sets A1,…,AmA_{1},\dots,A_{m}, then the greedy algorithm may be run with d=∏j=1m∣Aj∣!d=\prod_{j=1}^{m}|A_{j}|! possible orderings, as the only constraint is that the elements of AjA_{j} are considered before the elements of Aj+1A_{j+1} leaving ∣Aj∣!|A_{j}|! possibilities within each set AjA_{j}, j∈{1,…,m}j\in\{1,\dots,m\}. This leads to as most as many extreme points (note that the corresponding extreme points of B(F)B(F) may be equal). Since, by Prop. 3.3, all extreme points of B(F)B(F) are obtained by the greedy algorithm, the set of maximizers defined above is the convex hull of the dd potential bases defined by the greedy algorithm, i.e., these are extreme points of the corresponding face of B(F)B(F) (see §4.2 for a detailed analysis of the facial structure of B(F)B(F)).

2 Facial structure∗

In this section, we describe the facial structure of the base polyhedron. We first review the relevant concepts for convex polytopes.

We quickly review the main concepts related to convex polytopes. For more details, see . A convex polytope is the convex hull of a finite number of points. It may be also seen as the intersection of finitely many half-spaces (such intersections are referred to as polyhedra and are called polytopes if they are bounded).

In order to study the facial structure, the notion of separable sets is needed; when a set is separable, then the submodular function will decompose a the sum of two submodular functions defined on disjoint subsets. Moreover, any subset AA of VV may be decomposed uniquely as the disjoint union of inseparable subsets.

(Inseparable set) Let FF be a submodular function such that F(∅)=0F(\varnothing)=0. A set A⊆VA\subseteq V is said separable if and only there is a set B⊆AB\subseteq A, such that B≠∅B\neq\varnothing, B≠AB\neq A and F(A)=F(B)+F(A\B)F(A)=F(B)+F(A\backslash B). If AA is not separable, AA is said inseparable.

(Inseparable sets and function decomposition) Assume VV is a separable set for the submodular function FF, i.e., such that F(V)=F(A)+F(V\A)F(V)=F(A)+F(V\backslash A) for a non-trivial subset AA of VV. Then for all B⊆VB\subseteq V, F(B)=F(B∩A)+F(B∩(V\A))F(B)=F(B\cap A)+F(B\cap(V\backslash A)).

Proof If s∈B(F)s\in B(F), then we have F(A)⩾s(A)=s(V)−s(V\A)⩾F(V)−F(V\A)=F(A)F(A)\geqslant s(A)=s(V)-s(V\backslash A)\geqslant F(V)-F(V\backslash A)=F(A). This implies that s(A)=F(A)s(A)=F(A) and thus that B(F)B(F) can be factorized as B(FA)×B(FA)B(F_{A})\times B(F^{A}) where FAF_{A} is the restriction of FF to AA and FAF^{A} the contraction of FF on AA (see definition and properties in Appendix B). Indeed, if s∈B(F)s\in B(F), then sA∈B(FA)s_{A}\in B(F_{A}) because s(A)=F(A)s(A)=F(A), and sV\A∈B(FA)s_{V\backslash A}\in B(F^{A}), because for B⊆V\AB\subseteq V\backslash A, sV\A(B)=s(B)=s(A∪B)−s(A)⩽F(A∪B)−F(A)s_{V\backslash A}(B)=s(B)=s(A\cup B)-s(A)\leqslant F(A\cup B)-F(A). Similarly, if s∈B(FA)×B(FA)s\in B(F_{A})\times B(F^{A}), then for all set B⊆VB\subseteq V, s(B)=s(A∩B)+S((V\A)∩B)⩽F(A∩B)+F(A∪B)−F(A)⩽F(B)s(B)=s(A\cap B)+S((V\backslash A)\cap B)\leqslant F(A\cap B)+F(A\cup B)-F(A)\leqslant F(B) by submodularity, and s(A)=F(A)s(A)=F(A). This shows that f(w)=fA(wA)+fA(wV\A)f(w)=f_{A}(w_{A})+f^{A}(w_{V\backslash A}).

Given B⊆VB\subseteq V, we apply the last statement to w=1Bw=1_{B} and w=1B∩(V\A)w=1_{B\cap(V\backslash A)}, to get F(B)=F(A∩B)+F(A∪B)−F(A)F(B)=F(A\cap B)+F(A\cup B)-F(A) and F(B∩(V\A))=0+F(A∪B)−F(A)F(B\cap(V\backslash A))=0+F(A\cup B)-F(A). We obtain the desired result by taking the difference between the last two equalities.

(Decomposition into inseparable sets) Let FF be a submodular function such that F(∅)=0F(\varnothing)=0. VV may be decomposed uniquely as the disjoint union of non-empty inseparable subsets AiA_{i}, i=1,…,mi=1,\dots,m, such that for all B⊆VB\subseteq V, F(B)=∑i=1mF(Ai∩B)F(B)=\sum_{i=1}^{m}F(A_{i}\cap B).

Proof The existence of such a decomposition is straightforward while the decomposition of F(B)F(B) may be obtained from recursive applications of Prop. 4.3. Given two such decompositions V=⋃i=1mAi=⋃j=1sBiV=\bigcup_{i=1}^{m}A_{i}=\bigcup_{j=1}^{s}B_{i} of VV, then from Prop. 4.3, we have for all jj, F(Bj)=∑i=1mF(Ai∩Bj)F(B_{j})=\sum_{i=1}^{m}F(A_{i}\cap B_{j}), which implies that the inseparable set BjB_{j} has to be exactly one of the set AiA_{i}, i=1,…,mi=1,\dots,m. This implies the unicity. Note that by applying the previous proposition to the restriction of FF on any set AA, any set AA may be decomposed uniquely as the disjoint union of inseparable sets.

Among the submodular functions we have considered so far, modular functions of course lead to the decomposition of VV into a union of singletons. Moreover, for a partition V=A1∪⋯∪AmV=A_{1}\cup\cdots\cup A_{m}, and the function that counts elements in a partitions, i.e., F(A)=∑j=1mmin⁡{∣A∩Gj∣,1}F(A)=\sum_{j=1}^{m}\min\{|A\cap G_{j}|,1\}, the decomposition of VV is, as expected, V=A1∪⋯∪AmV=A_{1}\cup\cdots\cup A_{m}.

Finally, the notion of inseparable sets allows to give a representation of the submodular polyhedron P(F)P(F) as the intersection of a potentially smaller number of half-hyperplanes.

Given the Prop. 4.2 that provides the maximizers of max⁡s∈B(F)w⊤s\max_{s\in B(F)}w^{\top}s, we may now give necessary and sufficient conditions for characterizing faces of the base polyhedron. We first characterize when the base polyhedron B(F)B(F) has non-empty interior within the subspace {s(V)=F(V)}\{s(V)=F(V)\}.

(Full-dimensional base polyhedron) Let FF be a submodular function such that F(∅)=0F(\varnothing)=0. The base polyhedron has non-empty interior in {s(V)=F(V)}\{s(V)=F(V)\} if and only if VV is inseparable.

Proof If VV is separable into AA and V\AV\backslash A, then, by submodularity of FF, for all s∈B(F)s\in B(F), we have F(V)=s(V)=s(A)+s(V\A)⩽F(A)+F(V\A)=F(V)F(V)=s(V)=s(A)+s(V\backslash A)\leqslant F(A)+F(V\backslash A)=F(V), which impies that s(A)=F(A)s(A)=F(A) (and also F(V\A)=s(V\A)F(V\backslash A)=s(V\backslash A)). Therefore the base polyhedron is included in the intersection of two distinct affine hyperplanes, i.e., B(F)B(F) does not have non-empty interior in {s(V)=F(V)}\{s(V)=F(V)\}.

To prove the opposite statement, we proceed by contradiction. Since B(F)B(F) is defined through supporting hyperplanes, it has non-empty interior in {s(V)=F(V)}\{s(V)=F(V)\} if it is not contained in any of the supporting hyperplanes. We thus now assume that B(F)B(F) is included in {s(A)=F(A)}\{s(A)=F(A)\}, for AA a non-empty strict subset of VV. Then, following the same reasoning than in the proof of Prop. 4.3, B(F)B(F) can be factorized as B(FA)×B(FA)B(F_{A})\times B(F^{A}) where FAF_{A} is the restriction of FF to AA and FAF^{A} the contraction of FF on AA (see definition and properties in Appendix B).

This implies that f(w)=fA(wA)+fA(wV\A)f(w)=f_{A}(w_{A})+f^{A}(w_{V\backslash A}), which implies that F(V)=F(A)+F(V\A)F(V)=F(A)+F(V\backslash A), when applied to w=1V\Aw=1_{V\backslash A}, i.e., VV is separable.

Since the facial structure is invariant by translation, as done at the end of §3.1, we may translate B(F)B(F) by a certain vector t∈B(F)t\in B(F), so that FF may be taken to be non-negative and such that F(V)=0F(V)=0, which we now assume.

(Faces of the base polyhedron) Let A1∪⋯∪AmA_{1}\cup\cdots\cup A_{m} be a partition of VV, such that for all j∈{1,…,m}j\in\{1,\dots,m\}, AjA_{j} is inseparable for the function Gj:D↦F(A1∪⋯∪Aj−1∪D)−F(A1∪⋯∪Aj−1)G_{j}:D\mapsto F(A_{1}\cup\cdots\cup A_{j-1}\cup D)-F(A_{1}\cup\cdots\cup A_{j-1}) defined on subsets of AjA_{j}. The set of bases s∈B(F)s\in B(F) such that for all j∈{1,…,m}j\in\{1,\dots,m\}, s(A1∪⋯∪Ai)=F(A1∪⋯∪Ai)s(A_{1}\cup\cdots\cup A_{i})=F(A_{1}\cup\cdots\cup A_{i}) is a face of B(F)B(F) with non-empty interior in the intersection of the mm hyperplanes (i.e., the affine hull of the face is exactly the intersection of these mm hyperplanes). Moreover, all faces of B(F)B(F) may be obtained this way.

Proof From Prop. 4.2, all faces may be obtained with supporting hyperplanes of the form s(A1∪⋯∪Ai)=F(A1∪⋯∪Ai)s(A_{1}\cup\cdots\cup A_{i})=F(A_{1}\cup\cdots\cup A_{i}), i=1,…,mi=1,\dots,m, for a certain partition V=A1∪⋯∪AmV=A_{1}\cup\cdots\cup A_{m}. Hovever, among these partitions, only some of them will lead to an affine hull of full dimension mm. From Prop. 4.6 applied to the submodular function GjG_{j}, this only happens if GjG_{j} has no separable sets. Note that the corresponding face is then exactly equal to the product of base polyhedra B(G1)×⋯×B(Gm)B(G_{1})\times\cdots\times B(G_{m}). Note that in the previous proposition, several ordered partitions may lead to the exact same face. The maximal number of full-dimensional faces of B(F)B(F) is always less than 2p−22^{p}-2 (number of non-trivial subsets of VV), but this number may be reduced in general (see examples in Figure 3.4 for the cut function). Moreover, the number of extreme points may also be large, e.g., p!p! for the submodular function A↦−∣A∣2A\mapsto-|A|^{2} (leading to the permutohedron ).

The faces of U\mathcal{U} are obtained from the faces of B(F)B(F) through the relationship defined in Prop. 4.2: that is, given a face of B(F)B(F), and all the partitions of Prop. 4.7 which lead to it, the corresponding face of U\mathcal{U} is the closure of the union of all ww that satisfies the level set constraints imposed by the different ordered partitions. As shown in , the different ordered partitions all share the same elements but with a different order, thus inducing a set of partial constraints between the ordering of the mm values ww is allowed to take.

An important aspect is that the separability criterion in Prop. 4.7 forbids some level sets from being characteristic of a face. For example, for cuts in an undirected graph, we will show in §5.5 that all level sets within a face must be connected components of the graph. When the Lovász extension is used as a constraint for a smooth optimization problem, the solution has to be in one of the faces. Moreover, within this face, all other affine constraints are very unlikely to happen, unless the smooth function has some specific directions of zero gradient (unlikely with random data, for some sharper statements, see ). Thus, when using the Lovász extension as a regularizer, only certain level sets are likely to happen, and in the context of cut functions, only connected sets are allowed, which is one of the justifications behind using the total variation (see more details in §5.5).

3 Positive and symmetric submodular polyhedra∗

In this section, we extend the previous results to the positive and symmetric submodular polyhedra, which were defined in §2.3 for non-decreasing submodular functions. We start with a characterization of such non-decreasing function through the inclusion of the base polyhedron to the postive orthant.

We now assume that the function FF is non-decreasing, and consider the positive and symmetric submodular polyhedra P+(F)P_{+}(F) and ∣P∣(F)|P|(F). These two polyhedra are compact and are thus polytopes. Moreover, ∣P∣(F)|P|(F) is the unit ball of the dual norm Ω∞∗\Omega_{\infty}^{\ast} defined in §5.2. This polytope is polar to the unit ball of Ω∞\Omega_{\infty}, and it it thus of interest to characterize the facial structure of the symmetric submodular polyhedronThe facial structure of the positive submodular polyhedron P+(F)P_{+}(F) will not be covered in this monograph but results are similar to B(F)B(F). We will only provide maximizers of linear functions in Prop. 4.9. ∣P∣(F)|P|(F).

Proof The proof follows the same arguments than for Prop. 4.2. Let dd be the largest integer such that vd>0v_{d}>0. We have, with Bi=A1∪⋯∪AiB_{i}=A_{1}\cup\cdots\cup A_{i}:

We have equality if and only if the components of sks_{k} are zero as soon as the corresponding component of wkw_{k} is strictly negative (condition (b)), and F(Bi)−s(Bi)=0F(B_{i})-s(B_{i})=0 for all i∈{1,…,d−1}i\in\{1,\dots,d-1\} (condition (a)). This proves the desired result.

Before describing the facial structure of ∣P∣(F)|P|(F), we need the notion of stable sets, which are sets which cannot be augmented without strictly increasing the values of FF.

(Stable sets) A set A⊆VA\subseteq V is said stable for a submodular function FF, if A⊆BA\subseteq B and A≠BA\neq B implies that F(A)<F(B)F(A)<F(B).

We can now derive a characterization of the faces of ∣P∣(F)|P|(F) (a similar proposition holds for P+(F)P_{+}(F)).

(Faces of the symmetric submodular polyhedron) Let CC be a stable set and let A1∪⋯∪AmA_{1}\cup\cdots\cup A_{m} be a partition of CC, such that for all j∈{1,…,m}j\in\{1,\dots,m\}, AjA_{j} is inseparable for the function Gj:D↦F(A1∪⋯∪Aj−1∪D)−F(A1∪⋯∪Aj−1)G_{j}:D\mapsto F(A_{1}\cup\cdots\cup A_{j-1}\cup D)-F(A_{1}\cup\cdots\cup A_{j-1}) defined on subsets of AjA_{j}, and ε∈{−1,1}C\varepsilon\in\{-1,1\}^{C}. The set of s∈∣P∣(F)s\in|P|(F) such that for all j∈{1,…,m}j\in\{1,\dots,m\}, (ε∘s)(A1∪⋯∪Ai)=F(A1∪⋯∪Ai)(\varepsilon\circ s)(A_{1}\cup\cdots\cup A_{i})=F(A_{1}\cup\cdots\cup A_{i}) is a face of ∣P∣(F)|P|(F) with non-empty interior in the intersection of the mm hyperplanes. Moreover, all faces of ∣P∣(F)|P|(F) may be obtained this way.

The last proposition will have interesting consequences for the use of submodular functions for defining sparsity-inducing norms in §5.3. Indeed, the faces of the unit-ball of Ω∞\Omega_{\infty} are dual to the ones of the dual ball of Ω∞∗\Omega_{\infty}^{\ast} (which is exactly ∣P∣(F)|P|(F)). As a consequence of Prop. 4.10, the set CC in Prop. 4.11 corresponds to the non-zero elements of ww in a face of the unit-ball of Ω∞\Omega_{\infty}. This implies that all faces of the unit ball of Ω∞\Omega_{\infty} will only impose non-zero patterns which are stable sets. See a more precise statement in §5.2.

We end the description of the structure of ∣P∣(F)|P|(F) by noting that among the 2p−12^{p}-1 constraints of the form ∥sA∥1⩽F(A)\|s_{A}\|_{1}\leqslant F(A) defining it, we may restrict the sets AA to be stable and inseparable. Indeed, if ∥sA∥1⩽F(A)\|s_{A}\|_{1}\leqslant F(A) for all stable and inseparable sets AA, then if a set BB is not stable, then we may consider the smallest enclosing stable set (these are stable by intersection, hence the possibility of defining such a smallest enclosing stable set) CC, and we have ∥sB∥1⩽∥sC∥1\|s_{B}\|_{1}\leqslant\|s_{C}\|_{1}, and F(B)=F(C)F(B)=F(C), which implies ∥sB∥1⩽F(B)\|s_{B}\|_{1}\leqslant F(B). We thus need to show that ∥sC∥1⩽F(C)\|s_{C}\|_{1}\leqslant F(C) only for stable sets CC. If the set CC is separable into C=D1∪⋯∪DmC=D_{1}\cup\cdots\cup D_{m}, where all DiD_{i}, i=1,…,mi=1,\dots,m are separable (from Prop. 4.4), they must all be stable (otherwise CC would not be), and thus we have ∥sC∥1=∥sD1∥1+⋯+∥sDm∥1⩽F(D1)+⋯+F(Dm)=F(C)\|s_{C}\|_{1}=\|s_{D_{1}}\|_{1}+\cdots+\|s_{D_{m}}\|_{1}\leqslant F(D_{1})+\cdots+F(D_{m})=F(C).

Chapter 5 Convex Relaxation of Submodular Penalties

In this chapter, we show how submodular functions and their Lovász extensions are intimately related to various relaxations of combinatorial optimization problems, or problems with a joint discrete and continuous structure.

In particular, we present in §5.1 the theory of convex and concave closures of set-functions: these can be defined for any set-functions and allow convex reformulations of the minimization and maximization of set-functions. It turns out that for submodular functions, the convex closure is exactly the Lovász extension, which can be computed in closed form, which is typically not the case for non-submodular set-functions.

In §5.2, we introduce the concept of structured sparsity, which corresponds to situations where a vector ww has to be estimated, typically a signal or the linear representation of a prediction, and structural assumptions are imposed on ww. In §5.3 and §5.4, we consider imposing that ww has many zero components, but with the additional constraint that some supports are favored. A submodular function will encode that desired behavior. In §5.5, we consider a similar approach, but on the level sets of ww.

In this section, given a non-convex function gg, we will consider several times the task of computing its convex envelope ff, i.e., its largest convex lower-bound. As explained in Appendix A, a systematic way to obtain ff is to compute the Fenchel bi-conjugate.

This implies that the domain of ff is p^{p} (i.e., f(w)=+∞f(w)=+\infty for w∉pw\notin^{p}). Moreover, since the vectors 1A1_{A}, for A⊆VA\subseteq V are extreme points of p^{p}, for any B⊆VB\subseteq V, the only way to express 1B1_{B} as a combination of indicator vectors 1A1_{A} is by having λB=1\lambda_{B}=1 and all other values λA\lambda_{A} equal to zero. Thus f(1B)=F(B)f(1_{B})=F(B). That is, the convex closure is always tight at each 1A1_{A}, and ff is an extension of FF from {0,1}p\{0,1\}^{p} to p^{p}. This property is independent from submodularity.

We may relate the minimization of FF to the minimization of its convex closure:

which implies that minimizing the convex closure of FF on p^{p} is equivalent to minimizing FF on 2V2^{V}. See an illustration in Figure 5.1.

For submodular functions, it simply turns out that the convex closure is equal to the Lovász extension. Hence, it is computable in closed form and amenable to optimization. This fact is in fact exactly shown in the proof of Prop. 3.2.

The concave closure is defined in a similar way, and can be seen to be the opposite of the convex closure of −F-F. Note that it cannot be computed in general as this would mean that there are polynomial-time algorithms for submodular function maximization . However, following Prop. 2.6 and its discussion in §2.3, one can always find “constant plus modular” upper-bounds which are tight at any given vertex of the hypercube (but this cannot be done at any interior point in general).

2 Structured sparsity

The concept of parsimony is central in many scientific domains. In the context of statistics, signal processing or machine learning, it takes the form of variable or feature selection problems.

Sparse models are commonly used in two situations: First, to make the model or the prediction more interpretable or cheaper to use, i.e., even if the underlying problem might not admit sparse solutions, one looks for the best sparse approximation. Second, sparsity can also be used given prior knowledge that the model should be sparse. In these two situations, reducing parsimony to finding models with low cardinality of their support turns out to be limiting, and structured parsimony has emerged as a fruitful practical extension, with applications to image processing, text processing, bioinformatics or audio processing (see, e.g., , a review in and Chapter 6 for various examples).

3 Convex relaxation of combinatorial penalty

We are thus interested in an optimization problem of the form

By definition of the Fenchel conjugacy and of gg, we have :

Note that the assumption of submodularity is key to applying Prop. 3.7 (i.e., equivalence between maximization on the vertices and on the full hypercube).

Thus, for all ww such that ∥w∥∞⩽1\|w\|_{\infty}\leqslant 1,

By strong convex duality (which applies because Slater’s condition is satisfied), we can invert the “min” and “max” operations and get:

Since FF is assumed non-decreasing, the Lovász extension ff is non-decreasing with respect to each of its components, which implies that min⁡δ∈p, δ⩾∣w∣f(δ)=f(∣w∣)\min_{\delta\in^{p},\ \delta\geqslant|w|}f(\delta)=f(|w|), which leads to the desired result. Note that an alternative proof may be found in §5.4. The previous proposition provides a relationship between combinatorial optimization problems—involving functions of the form w↦F(Supp(w))w\mapsto F({\rm Supp}(w))—and convex optimization problems involving the Lovász extension. A desirable behavior of a convex relaxation is that some of the properties of the original problem are preserved. In this monograph, we will focus mostly on the allowed set of sparsity patterns (see below). For more details about theroretical guarantees and applications of submodular functions to structured sparsity, see . In Chapter 6, we consider several examples of submodular functions and present when appropriate how they translate to sparsity-inducing norms.

For the function F(A)=min⁡{∣A∣,1}F(A)=\min\{|A|,1\}, then we have f(w)=max⁡{w1,…,wp}f(w)=\max\{w_{1},\dots,w_{p}\} and thus Ω∞(w)=∥w∥∞\Omega_{\infty}(w)=\|w\|_{\infty}. This norm is not sparsity-promoting and this is intuively natural since the set-function it corresponds to is constant for all non-empty sets.

We now study in more details the properties of the function Ω∞:w↦f(∣w∣)\Omega_{\infty}:w\mapsto f(|w|) defined above through a relaxation argument. We first give conditions under which it is a norm, and derive the dual norm.

(Norm and dual norm) Let FF be a submodular function such that F(∅)=0F(\varnothing)=0 and FF is non-decreasing. The function Ω∞:w↦f(∣w∣)\Omega_{\infty}:w\mapsto f(|w|) is a norm if and only if the values of FF on all singletons is strictly positive. Then, the dual norm is equal to Ω∞∗(s)=max⁡A⊆V, A≠∅∣s∣(A)F(A)=max⁡A⊆V, A≠∅∥sA∥1F(A)\Omega_{\infty}^{\ast}(s)=\max_{A\subseteq V,\ A\neq\varnothing}\frac{|s|(A)}{F(A)}=\max_{A\subseteq V,\ A\neq\varnothing}\frac{\|s_{A}\|_{1}}{F(A)}.

We now study and characterize which supports can be obtained when regularizing with the norm Ω∞\Omega_{\infty}. Ideally, we would like the same behavior than w↦F(Supp(w))w\mapsto F({\rm Supp}(w)), that is, when this function is used to regularize a continuous objective function, then a stable set is always a solution of the problem, as augmenting unstable sets does not increase the value of FF, but can only increase the minimal value of the continuous objective function because of an extra variable to optimize upon. It turns out that the same property holds for Ω∞\Omega_{\infty} for certain optimization problems.

The optimality condition for our optimization problem is the existence of s∈∣P∣(F)s\in|P|(F) such that 1nX⊤Xw−1nX⊤y+s=0\frac{1}{n}X^{\top}Xw-\frac{1}{n}X^{\top}y+s=0 and ss is a maximizer of s⊤ws^{\top}w over s∈∣P∣(F)s\in|P|(F). Thus, if the unique solution ww has support CC, and ordered constant sets (Ai)i=1,…,m(A_{i})_{i=1,\dots,m} and sign vector ε\varepsilon, then, from Prop. 4.10, there exists v1>⋯>vmv_{1}>\cdots>v_{m}, such that w=∑i=1mvi1Aiw=\sum_{i=1}^{m}v_{i}1_{A_{i}}, and

Proof We first show that Ωq∗\Omega_{q}^{\ast} defined in Eq. (5.2) is a norm. It is immediately finite, positively homogeneous and convex; if Ω∗(s)=0\Omega^{\ast}(s)=0, then ∥sV∥r=0\|s_{V}\|_{r}=0, and thus s=0s=0; thus Ωq∗\Omega_{q}^{\ast} is a norm. We denote by Ωq\Omega_{q} its dual norm.

Minimizing with respect to λ\lambda may be done by setting to zero the derivative of this convex function of λ\lambda, leading to 1q∥w∥qq(q−1)λq−2−1rF(Supp(w))λ−2=0\frac{1}{q}\|w\|_{q}^{q}(q-1)\lambda^{q-2}-\frac{1}{r}F({\rm Supp}(w))\lambda^{-2}=0, i.e., \lambda=\big{(}\frac{\frac{1}{r}F({\rm Supp}(w))}{\frac{1}{q}\|w\|_{q}^{q}(q-1)}\big{)}^{1/q}, and an optimal value of

Thus h∗(s)=0h^{\ast}(s)=0 if Ωq∗(s)⩽1\Omega_{q}^{\ast}(s)\leqslant 1 and +∞+\infty otherwise. Thus the Fenchel-conjugate of hh is the indicator function of the ball of the norm Ωq∗\Omega_{q}^{\ast} (which is a norm as shown above); this implies that h=Ωqh=\Omega_{q} (and hence it is a norm). Note that for a submodular function, as detailed at the end of §4.3, only stable inseparable sets may be kept in the definition of Ωq∗\Omega_{q}^{\ast} in Eq. (5.2). Moreover, by taking a limit when qq tends to +∞+\infty, we recover the norm Ω∞\Omega_{\infty} from §5.3.

using the usual convention that that ∣wk∣qηkq−1\frac{|w_{k}|^{q}}{\eta_{k}^{q-1}} is equal to zero as soon as wk=0w_{k}=0, and equal to +∞+\infty if wk≠0w_{k}\neq 0 and ηk=0\eta_{k}=0.

using the change of variable tk=skr, k∈Vt_{k}=s_{k}^{r},\ k\in V. We can now use the identity ∣wk∣tk1/r=inf⁡ηk⩾0ηktkr+∣wk∣qqηkq−1|w_{k}|t_{k}^{1/r}=\inf_{\eta_{k}\geqslant 0}\frac{\eta_{k}t_{k}}{r}+\frac{|w_{k}|^{q}}{q\eta_{k}^{q-1}} (with solution ηk=∣wk∣tk−1/q\eta_{k}=|w_{k}|t_{k}^{-1/q}), to get \displaystyle\Omega_{q}(w)=\sup_{t\in P_{+}(F)}\inf_{\eta\geqslant 0}\sum_{k\in V}\bigg{\{}\frac{\eta_{k}t_{k}}{r}+\frac{|w_{k}|^{q}}{q\eta_{k}^{q-1}}\bigg{\}}, which is equal to inf⁡η⩾01q∑k∈V∣wk∣qηkq−1+1rf(η)\inf_{\eta\geqslant 0}\frac{1}{q}\sum_{k\in V}\frac{|w_{k}|^{q}}{\eta_{k}^{q-1}}+\frac{1}{r}f(\eta) using Prop. 3.2.

For the function F(A)=min⁡{∣A∣,1}F(A)=\min\{|A|,1\}, then we have f(w)=max⁡{w1,…,wp}f(w)=\max\{w_{1},\dots,w_{p}\} and thus Ωq(w)=∥w∥q\Omega_{q}(w)=\|w\|_{q}. For q>1q>1, this norm is not sparsity-promoting and this is intuively natural since the set-function it corresponds to is constant for all non-empty sets.

We now consider the set-function counting elements in a partitions, i.e., we assume that VV is partitioned into mm sets G1,…,GmG_{1},\dots,G_{m}, the function FF that counts for a set AA the number of elements in the partition which intersects AA may be written as F(A)=∑j=1mmin⁡{∣A∩Gj∣,1}F(A)=\sum_{j=1}^{m}\min\{|A\cap G_{j}|,1\} and the norm as Ωq(w)=∑j=1m∥wGj∥q\Omega_{q}(w)=\sum_{j=1}^{m}\|w_{G_{j}}\|_{q}, which was our original goal.

This in turn implies that the unit ball of Ωq\Omega_{q} is the convex hull of the union of all sets KAK_{A}. This provides an additional way of constructing the unit primal balls. See illustrations in Figure 5.4 for p=2p=2 and q=2q=2, and in Figure 5.5 for p=3p=3 and q=2q=2.

where Supp(vA)=A{\rm Supp}(v^{A})=A and ∥vA∥qF(A)1/r⩽1\|v^{A}\|_{q}F(A)^{1/r}\leqslant 1. This implies that

i.e., we have a general instance of a latent group Lasso (for more details, see ).

While Ω∞\Omega_{\infty} may be computed in closed form, this is not the case for q<+∞q<+\infty. In §9.4, we present a divide-and-conquer algorithms for computing Ωq\Omega_{q}. We also show in that section, how the proximal operator may be computed from a sequence of submodular function minimizations, thus allowing the use of proximal methods presented in Chapter 8.

5 Shaping level sets∗

For a non-decreasing submodular function FF, we have defined in §5.3 a norm Ω∞(w)=f(∣w∣)\Omega_{\infty}(w)=f(|w|), that essentially allows the definition of a prior knowledge on supports of predictors ww. Since this norm was creating extra-behavior (i.e., clustering of the components of ∣w∣|w|), we designed a new norm in §5.4 which does not have these problems. In this section, we take the opposite approach and leverage the fact that when using the Lovász extension as a regularizer, then some of the components of ww will be equal.

We now consider a submodular function FF such that F(∅)=F(V)=0F(\varnothing)=F(V)=0. This includes (a) cuts in graphs and (b) functions of the cardinality A↦h(∣A∣)A\mapsto h(|A|) for hh concave such that h(0)=h(p)=0h(0)=h(p)=0. We now show that using the Lovász extension as a regularizer corresponds to a convex relaxation of a function of all level sets of ww. Note that from property (d) of Prop. 3.1, f(w+α1V)=f(w)f(w+\alpha 1_{V})=f(w), and it is thus natural to consider in the next proposition a convex set invariant by translation by constants times 1V1_{V}.

In order to compute the convex envelope, as already done in the proofs of Prop. 5.1 and Prop. 5.4, we simply need to compute twice the Fenchel conjugate of the function we want to find the envelope of.

By integration by parts, g∗(s)g^{\ast}(s) is then equal to

where Is(V)=0I_{s(V)=0} is the indicator function of the set {s(V)=0}\{s(V)=0\} (with values or +∞+\infty). Note that max⁡j∈{1,…,m}F(A1∪⋯∪Aj)=max⁡j∈{1,…,m−1}F(A1∪⋯∪Aj)\max_{j\in\{1,\dots,m\}}F(A_{1}\cup\cdots\cup A_{j})=\max_{j\in\{1,\dots,m-1\}}F(A_{1}\cup\cdots\cup A_{j}) because F(V)=0F(V)=0.

Let h(s)=Is(V)=0(s)+max⁡A⊆V{s(A)−F(A)}h(s)=I_{s(V)=0}(s)+\max_{A\subseteq V}\{s(A)-F(A)\}. We clearly have g∗(s)⩾h(s)g^{\ast}(s)\geqslant h(s), because we take a maximum over a larger set (consider m=2m=2 and the partition (A,V\A)(A,V\backslash A)). Moreover, for all partitions (A1,…,Am)(A_{1},\dots,A_{m}), if s(V)=0s(V)=0, \max_{j\in\{1,\dots,m-1\}}s(A_{1}\cup\cdots\cup A_{j})\leqslant\max_{j\in\{1,\dots,m-1\}}\big{\{}h(s)+F(A_{1}\cup\cdots\cup A_{j})\big{\}}=h(s)+\max_{j\in\{1,\dots,m-1\}}F(A_{1}\cup\cdots\cup A_{j}), which implies that g∗(s)⩽h(s)g^{\ast}(s)\leqslant h(s). Thus g∗(s)=h(s)g^{\ast}(s)=h(s).

Moreover, we have, since ff is invariant by adding constants (property (d) of Prop. 3.1) and ff is submodular,

where we have used the fact that minimizing a submodular function is equivalent to minimizing its Lovász extension on the unit hypercube. Thus ff and gg have the same Fenchel conjugates. The result follows from the convexity of ff, using the fact the convex envelope is the Fenchel bi-conjugate .

Alternatively, to end the proof, we could have computed

Thus, when using the Lovász extension directly for symmetric submodular functions, then the effect is on all sub-level sets {w⩽α}\{w\leqslant\alpha\} and not only on the support {w≠0}\{w\neq 0\}.

While the facial structure of the symmetric submodular polyhedron ∣P∣(F)|P|(F) was key to analyzing the regularization properties for shaping supports, the base polyhedron B(F)B(F) is the proper polyhedron to consider.

When FF is the cut in an undirected graph, then a necessary condition for AjA_{j} to be inseparable for the function Gj:D↦F(A1∪⋯∪Aj−1∪D)−F(A1∪⋯∪Aj−1)G_{j}:D\mapsto F(A_{1}\cup\cdots\cup A_{j-1}\cup D)-F(A_{1}\cup\cdots\cup A_{j-1}) defined on subsets of AjA_{j}, is that AjA_{j} is a connected set in the original graphSince cuts are second-order polynomial functions of indicator vectors, contractions are also of this form, and the quadratic part is the same than for the cut in the corresponding subgraph.. Thus, the regularization by the Lovász extension (often referred to as the total variation) only allows constant sets which are connected in the graph, which is the traditional reason behind using such penalties. In §6.2, we also consider the cases of directed graphs, leading to isotonic regression problems.

The Lovász extension depends on the order statistics of ww, i.e., if wj1⩾⋯⩾wjpw_{j_{1}}\geqslant\dots\geqslant w_{j_{p}}, then f(w)=∑k=1p−1h(k)(wjk−wjk+1)f(w)=\sum_{k=1}^{p-1}h(k)(w_{j_{k}}-w_{j_{k+1}}). While these examples do not provide significantly different behaviors for the non-decreasing submodular functions explored by (i.e., in terms of support), they lead to interesting behaviors here in terms of level sets, i.e., they will make the components ww cluster together in specific ways (by constraining the sizes of the clusters). Indeed, allowed constant sets AA are such that AA is inseparable for the function C↦h(∣B∪C∣)−h(∣B∣)C\mapsto h(|B\cup C|)-h(|B|) (where B⊆VB\subseteq V is the set of components with higher values than the ones in AA). As can be shown from a simple convexity argument, this imposes that the concave function hh is not linear on [∣B∣,∣B∣ ⁣+ ⁣∣A∣][|B|,|B|\!+\!|A|]. We consider the following examples; in Figure 5.6, we show regularization paths, i.e., the set of minimizers of w↦12∥w−z∥22+λf(w)w\mapsto\frac{1}{2}\|w-z\|_{2}^{2}+\lambda f(w) when λ\lambda varies.

F(A)=∣A∣⋅∣V\A∣F(A)=|A|\cdot|V\backslash A|, leading to f(w)=∑i,j=1p∣wi−wj∣f(w)=\sum_{i,j=1}^{p}|w_{i}-w_{j}|. This function can thus be also seen as the cut in the fully connected graph. All patterns of level sets are allowed as the function hh is strongly concave (see left plot of Figure 5.6). This function has been extended in by considering situations where each wjw_{j} is a vector, instead of a scalar, and replacing the absolute value ∣wi−wj∣|w_{i}-w_{j}| by any norm ∥wi−wj∥\|w_{i}-w_{j}\|, leading to convex formulations for clustering.

F(A)=1F(A)=1 if A≠∅A\neq\varnothing and A≠VA\neq V, and otherwise, leading to f(w)=max⁡i,j∣wi−wj∣f(w)=\max_{i,j}|w_{i}-w_{j}|. Here, the function hh is linear between 11 and pp, and thus between the level sets with smallest and largest values, no constant sets are allowed; hence, there are two large level sets at the top and bottom, all the rest of the variables are in-between and separated (Figure 5.6, middle plot).

F(A)=max⁡{∣A∣,∣V\A∣}F(A)=\max\{|A|,|V\backslash A|\}. This function is piecewise affine, with only one kink, thus only one level set of cardinality greater than one (in the middle) is possible, which is observed in Figure 5.6 (right plot). This may have applications to multivariate outlier detection by considering extensions similar to .

Chapter 6 Examples and Applications of Submodularity

We now present classical examples of submodular functions. For each of these, we also describe the corresponding Lovász extensions, and, when appropriate, the associated submodular polyhedra. We also present applications to machine learning, either through formulations as combinatorial optimization problems of through the regularization properties of the Lovász extension—in Chapter 5, we have defined several sparsity-inducing norms based on the Lovász extension, namely Ω∞\Omega_{\infty} and Ωq\Omega_{q}, for q∈(1,+∞)q\in(1,+\infty). We are by no means exhaustive and other applications may be found in facility location , game theory , document summarization , social networks , or clustering .

Note that in Appendix B, we present several operations that preserve submodularity (such as symmetrization and partial minimization), which can be applied to any of the functions presented in this chapter, thus defining new functions.

Proof The function F:A↦g(s(A))F:A\mapsto g(s(A)) is submodular if and only if for all A⊆VA\subseteq V and j,k∈V\Aj,k\in V\backslash A: g(s(A)+sk)−g(s(A))⩾g(s(A)+sk+sj)−g(s(A)+sj)g(s(A)+s_{k})-g(s(A))\geqslant g(s(A)+s_{k}+s_{j})-g(s(A)+s_{j}). If gg is concave and a⩾0a\geqslant 0, t↦g(a+t)−g(t)t\mapsto g(a+t)-g(t) is non-increasing, hence the first result. Moreover, if t↦g(a+t)−g(t)t\mapsto g(a+t)-g(t) is non-increasing for all a⩾0a\geqslant 0, then gg is concave, hence the second result.

If s=1Vs=1_{V}, i.e., F(A)=g(∣A∣)F(A)=g(|A|), then f(w)=∑k=1pwjk[g(k)−g(k−1)]f(w)=\sum_{k=1}^{p}w_{j_{k}}[g(k)-g(k-1)].

Thus, for functions of the cardinality (for which s=1Vs=1_{V}), the Lovász extension is thus a linear combination of order statistics (i.e., rr-th largest component of ww, for r∈{1,…,p}r\in\{1,\dots,p\}).

When minimizing set-functions, considering g(s(A))g(s(A)) instead of s(A)s(A) does not make a significant difference. However, it does in terms of the Lovász extension as outlined at the end of §5.5: using the Lovász extension for regularization encourages components of ww to be equal, and hence provides a convex prior for clustering or outlier detection, depending on the choice of the concave function gg (see more details in ).

2 Cut functions

where we denote d(B,C)=∑k∈B, j∈Cd(k,j)d(B,C)=\sum_{k\in B,\ j\in C}d(k,j) for any two sets B,CB,C. We give several proofs of submodularity for cut functions.

For a cut function and disjoint subsets A,B,CA,B,C, we always have (see for more details):

where we denote Ac=V\AA^{\mathsf{c}}=V\backslash A. This implies that FF is sub-additive. We then have, for any sets A,B⊆VA,B\subseteq V:

By expanding all terms, we obtain that F(A∪B)F(A\cup B) is equal to

The cut function is equal to F(A)=\sum_{k\in V,\ j\in V}d(k,j)(1_{A})_{k}\big{[}1-(1_{A})_{j}\big{]} and it is thus the positive linear combination of the functions G_{kj}:A\mapsto(1_{A})_{k}\big{[}1-(1_{A})_{j}\big{]}. The function GkjG_{kj} is the extension to VV of a function G~kj\widetilde{G}_{kj} defined only on the power set of {j,k}\{j,k\}, where G~kj({k})=1\widetilde{G}_{kj}(\{k\})=1 and all other values are equal to zero. Thus from Eq. (3.1) in Chapter 3, G~kj(wk,wj)=wk−min⁡{wk,wj}=(wk−wj)+\widetilde{G}_{kj}(w_{k},w_{j})=w_{k}-\min\{w_{k},w_{j}\}=(w_{k}-w_{j})_{+}. Thus, the Lovász extension of FF is equal to

(which is convex and thus provides an alternative proof of submodularity owing to Prop. 3.6).

If the weight function dd is symmetric, then the submodular function is also symmetric, i.e., for all A⊆VA\subseteq V, F(A)=F(V\A)F(A)=F(V\backslash A), and the Lovász extension is even (from Prop. 3.1). When dd takes values in {0,1}\{0,1\} then we obtain the cut function in an undirected graph and the Lovász extension is often referred to as the total variation (see below).

Given an undirected graph G=(V,E)G=(V,E), the total variation is the Lovász extension associated to the cut-function corresponding to this graph. For example for the chain graph (left plot in Figure 6.1), we have f(w)=∑i=1p−1∣wi+1−wi∣f(w)=\sum_{i=1}^{p-1}|w_{i+1}-w_{i}|.

As shown in §5.5, used as a regularizer, it leads to vectors ww which are piecewise constant with respect to the graph, i.e., the constant sets are almost surely connected subsets of the graph. This property is the main reason for its wide-spread use in signal processing (see, e.g., ), machine learning and statistics . For example, for a chain graph, the total variation is commonly used to perform change-point detection, i.e., to approximate a one-dimensional signal by a piecewise constant one (see, e.g., ). We perform experiments with this example in §12.4, where we relate it to related concepts. In Figure 6.5, we show an example of application of total variation denoising in two dimensions.

Isotonic regression has several applications in machine learning and statistics, where these monotonic constraints are relevant, for example in genetics , biology , medicine , statistics and multidimensional scaling for psychology applications . See an example for the linear ordering in Figure 6.2.

The set of constraints may be put into a directed graph. For general sets of constraints, several algorithms that run in O(p2)O(p^{2}) have been designed. In this section, we show how it can be reformulated through the regularization by the Lovász extension of a submodular function, thus bringing to bear the submodular machinery (in particular algorithms from Chapter 9).

Note that cut functions can be extended to cuts in hypergraphs, which may have interesting applications in computer vision . Moreover, directed cuts (i.e., when d(k,j)d(k,j) and d(j,k)d(j,k) may be different) may be interesting to favor increasing or decreasing jumps along the edges of the graph (such as for isotonic regression).

For undirected graphs (i.e., for which the function dd is symmetric), we may rewrite the cut as follows:

because ∣(1A)k−(1A)j∣∈{0,1}|(1_{A})_{k}-(1_{A})_{j}|\in\{0,1\}. This leads to

with QQ the square matrix of size pp defined as Qij=δi=j∑k=1pdik−dijQ_{ij}=\delta_{i=j}\sum_{k=1}^{p}d_{ik}-d_{ij} (QQ is the Laplacian of the graph ); see §12.4 for experiments relating total variation to the quadratic function defined from the graph Laplacian. It turns out that a sum of linear and quadratic functions of 1A1_{A} is submodular only in this situation.

Proof Since cuts are submodular, the previous developments show that the condition is sufficient. It is necessary by simply considering the inequality 0⩽F({i})+F({j})−F({i,j})=qi+12Qii+qj+12Qjj−[qi+qj+12Qii+12Qjj+Qij]=−Qij0\leqslant F(\{i\})+F(\{j\})-F(\{i,j\})=q_{i}+\frac{1}{2}Q_{ii}+q_{j}+\frac{1}{2}Q_{jj}-[q_{i}+q_{j}+\frac{1}{2}Q_{ii}+\frac{1}{2}Q_{jj}+Q_{ij}]=-Q_{ij}.

By partial minimization, we obtain so-called regular functions . Given our base set VV, some extra vertices (in a set WW disjoint from VV) are added and a (potentially weighted) graph is defined on the vertex set V∪WV\cup W, and the cut in this graph is denoted by GG. We then define a set-function FF on VV as F(A)=min⁡B⊆WG(A∪B)F(A)=\min_{B\subseteq W}G(A\cup B), which is submodular because partial minimization preserves submodularity (Prop. B.3). Such regular functions are useful for two reasons: (a) they define new set-functions, as done below, and (b) they lead to efficient reformulations of existing functions through cuts, with efficient dedicated algorithms for minimization.

In terms of running-time complexity, several algorithmic frameworks lead to polynomial-time algorithm: for example, with pp vertices and mm edges, “push-relabel” algorithms may reach a worst-case complexity of O(p2m1/2)O(p^{2}m^{1/2}). See also .

For proximal methods (i.e., the total variation denoising problem), such as defined in Eq. (8.4) (Chapter 8), we have z=ψ(α)z=\psi(\alpha) and we need to solve an instance of a parametric max-flow problem, which may be done using efficient dedicated algorithms with worst-case complexity which is only a constant factor greater than a single max-flow problem . See also §10.2 for generic algorithms based on a sequence of submodular function minimizations.

Finding minimum cuts in undirected graphs such as two-dimensional grids or extensions thereof in more than two dimensions has become an important tool in computer vision for image segmentation, where it is commonly referred to as graph cut techniques (see an example in Figure 6.4 and, e.g., and references therein). In this context, several extensions have been considered, such as multi-way cuts, where exact optimization is in general not possible anymore, and a sequence of binary graph cuts is used to find an approximate minimum (note that in certain cases where labels are ordered, an exact formulation is possible ). See also for a specific multi-way extension based on different submodular functions.

The Lovász extension of cuts in an undirected graph, often referred to as the total variation, has now become a classical regularizer in signal processing and machine learning: given a graph, it will encourages solutions to be piecewise-constant according to the graph . See §5.5 for a formal description of the sparsity-inducing properties of the Lovász extension; for chain graphs, we obtain usual piecewise constant vectors, and the have many applications in sequential problems (see, e.g., and references therein). Note that in this context, separable optimization problems considered in Chapter 8 are heavily used and that algorithms presented in Chapter 9 provide unified and efficient algorithms for all these situations.

The sparsity-inducing behavior is to be contrasted with a penalty of the form ∑i,j=1pdij(wi−wj)2\sum_{i,j=1}^{p}d_{ij}(w_{i}-w_{j})^{2}, a quantity often referred to as the graph Laplacian , which enforces that the weight vector is smooth with respect to the graph (as opposed to piecewise constant). See §12.4 for empirical comparisons.

3 Set covers

with Lovász extensionf(w)=∑G⊆VD(G)max⁡k∈Gwkf(w)=\sum_{G\subseteq V}D(G)\max_{k\in G}w_{k}.

However, for q∈(1,∞)q\in(1,\infty), then, as discussed in , the norm Ωq\Omega_{q} is not equal to ∑G⊆VD(G)∥wG∥q\sum_{G\subseteq V}D(G)\|w_{G}\|_{q}, unless the groups such that D(G)>0D(G)>0 form a partition. As shown in where the two norms are compared, the norm Ωq\Omega_{q} avoids the overcounting effect of the overlapping group Lasso formulations, which tends to penalize too much the amplitude of variables present in multiple groups.

Note that any set-function FF may be written as

for a certain set-function DD, which is not usually non-negative. Indeed, by the Möbius inversion formulaIf FF and GG are any set functions such that ∀A⊆V\forall A\subseteq V, F(A)=∑B⊆AG(B)F(A)=\sum_{B\subseteq A}G(B), then ∀A⊆V\forall A\subseteq V, G(A)=∑B⊆A(−1)∣A\B∣F(B)G(A)=\sum_{B\subseteq A}(-1)^{|A\backslash B|}F(B) . (see, e.g., ), we have:

Thus, functions for which DD is non-negative form a specific subset of submodular functions (note that for all submodular functions, the function D(G)D(G) is non-negative for all pairs G={i,j}G=\{i,j\}, for j≠ij\neq i, as a consequence of Prop. 2.3). Moreover, these functions are always non-decreasing. For further links, see , where it is notably shown that D(G)=0D(G)=0 for all sets GG of cardinality greater or equal to three for cut functions (which are second-order polynomials in the indicator vector).

Let WW be any “base” measurable set, and μ\mu an additive measure on WW. We assume that for each k∈Vk\in V, a measurable set Sk⊆WS_{k}\subseteq W is given; we define the cover associated with AA, as the set-function equal to the measure of the union of sets SkS_{k}, k∈Ak\in A, i.e., F(A)=\mu\Big{(}\bigcup_{k\in A}S_{k}\Big{)}. See Figure 6.6 for an illustration. Then, FF is submodular (as a consequence of the equivalence with the previously defined functions, which we now prove).

Moreover, for a certain set cover defined by a mesurable set WW (with measure μ\mu), and sets Sk⊆WS_{k}\subseteq W, k∈Vk\in V, we may define for any x∈Wx\in W, the set GxG_{x} of elements of VV such that x∈Skx\in S_{k}, i.e., Gx={k∈V, Sk∋x}G_{x}=\{k\in V,\ S_{k}\ni x\}. We then have:

Thus, with D(G)=\mu\big{(}\{x\in W,\ G_{x}=G\}\big{)}, we obtain a set-function expressed in terms of groups and non-negative weight functions.

Submodular set-functions which can be expressed as set covers (or equivalently as a sum of maximum of certain components) have several applications, mostly as regular set-covers or through their use in sparsity-inducing norms.

When considered directly as set-functions, submodular functions are traditionally used because algorithms for maximization with theoretical guarantees may be used (see Chapter 11). See for several applications, in particular to sensor placement, where the goal is to maximize coverage while bounding the number of sensors.

When considered through their Lovász extensions, we obtain structured sparsity-inducing norms which can be used to impose specific prior knowledge into learning problems: indeed, as shown in §5.3, they correspond to a convex relaxation to the set-function applied to the support of the predictor. Morever, as shown in and Prop. 5.3, they lead to specific sparsity patterns (i.e., supports), which are stable for the submodular function, i.e., such that they cannot be increased without increasing the set-function. For this particular example, stable sets are exactly intersections of complements of groups GG such that D(G)>0D(G)>0 (see more details in ), that is, some of the groups GG with non-zero weights D(G)D(G) carve out the set VV to obtain the support of the predictor. Note that following , all of these may be interpreted in terms of network flows (see §6.4) in order to obtain fast algorithms to solve the proximal problems.

By choosing certain set of groups GG such that D(G)>0D(G)>0, we can model several interesting behaviors (see more details in ):

Line segments: Given pp variables organized in a sequence, using the set of groups of Figure 6.7, it is only possible to select contiguous nonzero patterns. In this case, we have pp groups with non-zero weights, and the submodular function is equal to p−2p-2 plus the length of the range of AA (i.e., the distance beween the rightmost element of AA and the leftmost element of AA), if A≠∅A\neq\varnothing (and zero otherwise). This function is often used together with the cardinality function ∣A∣|A| to avoid selecting long sequences (see an example in §12.4).

Two-dimensional convex supports: Similarly, assume now that the pp variables are organized on a two-dimensional grid. To constrain the allowed supports to be the set of all rectangles on this grid, a possible set of groups to consider may be composed of half planes with specific orientations: if only vertical and horizontal orientations are used, the set of allowed patterns is the set of rectangles, while with more general orientations, more general convex patterns may be obtained. These can be applied for images, and in particular in structured sparse component analysis where the dictionary elements can be assumed to be localized in space .

Two-dimensional block structures on a grid: Using sparsity-inducing regularizations built upon groups which are composed of variables together with their spatial neighbors (see Figure 6.7 in one-dimension) leads to good performances for background subtraction , topographic dictionary learning , wavelet-based denoising . This norm typically prevents isolated variables from being selected.

Hierarchical structures: here we assume that the variables are organized in a hierarchy. Precisely, we assume that the pp variables can be assigned to the nodes of a tree (or a forest of trees), and that a given variable may be selected only if all its ancestors in the tree have already been selected. This corresponds to a set-function which counts the number of ancestors of a given set AA (note that the stable sets of this set-function are exactly the ones described above).

This hierarchical rule is exactly respected when using the family of groups displayed on Figure 6.9. The corresponding penalty was first used in ; one of it simplest instance in the context of regression is the sparse group Lasso ; it has found numerous applications, for instance, wavelet-based denoising , hierarchical dictionary learning for both topic modelling and image restoration , log-linear models for the selection of potential orders , bioinformatics, to exploit the tree structure of gene networks for multi-task regression , and multi-scale mining of fMRI data for the prediction of simple cognitive tasks . See also §12.3 for an application to non-parametric estimation with a wavelet basis.

Extensions: Possible choices for the sets of groups (and thus the set functions) are not limited to the aforementioned examples; more complicated topologies can be considered, for example three-dimensional spaces discretized in cubes or spherical volumes discretized in slices (see an application to neuroimaging by ), and more complicated hierarchical structures based on directed acyclic graphs can be encoded as further developed in to perform non-linear variable selection.

Set covers also classically occur in the context of submodular function maximization, where the goal is, given certain subsets of VV, to find the least number of these that completely cover VV. Note that the main difference is that in the context of set covers considered here, the cover is considered on a potentially different set WW than VV, and each element of VV indexes a subset of WW.

4 Flows

capacity constaints: φ⩽c\varphi\leqslant c for all arcs,

flow conservation: for all w∈W\(S∪V)w\in W\backslash(S\cup V), the net-flow at ww, i.e., φ(W,{w})−φ({w},W)\varphi(W,\{w\})-\varphi(\{w\},W), is zero,

positive incoming flow: for all sources s∈Ss\in S, the net-flow at ss is non-positive, i.e., φ(W,{s})−φ({s},W)⩽0\varphi(W,\{s\})-\varphi(\{s\},W)\leqslant 0,

positive outcoming flow: for all sinks t∈Vt\in V, the net-flow at tt is non-negative, i.e., φ(W,{t})−φ({t},W)⩾0\varphi(W,\{t\})-\varphi(\{t\},W)\geqslant 0.

For A⊆VA\subseteq V (the set of sinks), we define

which is the maximal net-flow getting out of AA. From the max-flow/min-cut theorem (see, e.g., and Appendix A.2), we have immediately that

Similarly to other cut-derived functions from §6.2, there are dedicated algorithms for proximal methods and submodular minimization . See also §9.1 for a general divide-and-conquer strategy for solving separable optimization problems based on a sequence of submodular function minimization problems (here, min cut/max flow problems).

We give examples of such networks in Figure 6.8 and Figure 6.7. This reinterpretation allows the use of fast algorithms for proximal problems (as there exists fast algorithms for maximum flow problems). The number of nodes in the network flow is the number of groups GG such that D(G)>0D(G)>0, but this number may be reduced in some situations (for example, when a group is included in another, see an example of a reduced graph in Figure 6.9). See for more details on such graph constructions (in particular in how to reduce the number of edges in many situations).

Applications to sparsity-inducing norms (as decribed in §6.3) lead to applications to hierarchical dictionary learning and topic models , structured priors for image denoising , background subtraction , and bioinformatics . Moreover, many submodular functions may be interpreted in terms of flows, allowing the use of fast algorithms (see, e.g., for more details).

5 Entropies

Given pp random variables X1,…,XpX_{1},\dots,X_{p} which all take a finite number of values, we define F(A)F(A) as the joint entropy of the variables (Xk)k∈A(X_{k})_{k\in A} (see, e.g., ). This function is submodular because, if A⊆BA\subseteq B and k∉Bk\notin B, F(A∪{k})−F(A)=H(XA,Xk)−H(XA)=H(Xk∣XA)⩾H(Xk∣XB)=F(B∪{k})−F(B)F(A\cup\{k\})-F(A)=H(X_{A},X_{k})-H(X_{A})=H(X_{k}|X_{A})\geqslant H(X_{k}|X_{B})=F(B\cup\{k\})-F(B) (because conditioning reduces the entropy ). Moreover, its symmetrizationFor any submodular function FF, one may defined its symmetrized version as G(A)=F(A)+F(V\A)−F(V)G(A)=F(A)+F(V\backslash A)-F(V), which is submodular and symmetric. See further details in §10.3 and Appendix B. leads to the mutual information between variables indexed by AA and variables indexed by V\AV\backslash A.

Entropies of discrete variables are non-decreasing, non-negative submodular set-functions. However, they are more restricted than this, i.e., they satisfy other properties which are not satisfied by all submodular functions . Note also that it is not known if their special structure can be fruitfully exploited to speed up certain of the algorithms presented in Chapter 10.

In the context of probabilistic graphical models, entropies occur in particular in algorithms for structure learning: indeed, for directed graphical models, given the directed acyclic graph, the minimum Kullback-Leibler divergence between a given distribution and a distribution that factorizes into the graphical model may be expressed in closed form through entropies . Applications of submodular function optimization may be found in this context, with both minimization for learning bounded-treewidth graphical model and maximization for learning naive Bayes models , or both (i.e., minimizing differences of submodular functions, as shown in Chapter 11) for discriminative learning of structure . In particular, for undirected graphical models, finding which subsets of vertices are well-separated by a given subset SS corresponds to minimizing over all non-trivial subsets of V\SV\backslash S the symmetric submodular function B↦I(XB,XV\(S∪B)∣XS)B\mapsto I(X_{B},X_{V\backslash(S\cup B)}|X_{S}) , which may be done in polynomial time (see §10.3).

The joint distribution of (v,y)(v,y) is normally distributed with mean zero and covariance matrix \sigma^{2}\lambda^{-1}\left(\begin{array}[]{cc}I&X^{\top}\\ X&XX^{\top}+\lambda I\end{array}\right). The posterior distribution of vv given yy is thus normal with mean cov(v,y)cov(y,y)−1y=X⊤(XX⊤+λI)−1y=(X⊤X+λI)−1X⊤y{\mathop{\rm cov{}}}(v,y){\mathop{\rm cov{}}}(y,y)^{-1}y=X^{\top}(XX^{\top}+\lambda I)^{-1}y=(X^{\top}X+\lambda I)^{-1}X^{\top}y and covariance matrix

where we have used the matrix inversion lemma . The posterior entropy of vv given yy is thus equal (up to constants) to plog⁡σ2−log⁡det⁡(X⊤X+λI)p\log\sigma^{2}-\log\det(X^{\top}X+\lambda I). If only the observations in AA are observed, then the posterior entropy of vv given yAy_{A} is equal to F(A)=plog⁡σ2−log⁡det⁡(XA⊤XA+λI)F(A)=p\log\sigma^{2}-\log\det(X_{A}^{\top}X_{A}+\lambda I), where XAX_{A} is the submatrix of XX composed of rows of XX indexed by AA. We have moreover F(A)=plog⁡λ−1σ2−log⁡det⁡(λ−1XA⊤XA+I)=plog⁡λ−1σ2−log⁡det⁡(λ−1XAXA⊤+I)F(A)=p\log\lambda^{-1}\sigma^{2}-\log\det(\lambda^{-1}X_{A}^{\top}X_{A}+I)=p\log\lambda^{-1}\sigma^{2}-\log\det(\lambda^{-1}X_{A}X_{A}^{\top}+I), and thus F(A)F(A) is supermodular because the entropy of a Gaussian random variable is the logarithm of its determinant. In experimental design, the goal is to select the set AA of observations so that the posterior entropy of vv given yAy_{A} is minimal (see, e.g., ), and is thus equivalent to maximizing a submodular function (for which forward selection has theoretical guarantees, see §11.1). Note the difference with subset selection (§6.7) where the goal is to select columns of the design matrix instead of rows.

Given pp data points x1,…,xpx_{1},\dots,x_{p} in a certain set X\mathcal{X}, we assume that we are given a Gaussian process (fx)x∈X(f_{x})_{x\in\mathcal{X}}. For any subset A⊆VA\subseteq V, then fxAf_{x_{A}} is normally distributed with mean zero and covariance matrix KAAK_{AA} where KK is the p×pp\times p kernel matrix of the pp data points, i.e., Kij=k(xi,xj)K_{ij}=k(x_{i},x_{j}) where kk is the kernel function associated with the Gaussian process (see, e.g., ). We assume an independent prior distribution on subsets of the form p(A)∝∏k∈Aηk∏k∉A(1−ηk)p(A)\propto\prod_{k\in A}\eta_{k}\prod_{k\notin A}(1-\eta_{k}) (i.e., each element kk has a certain prior probability ηk\eta_{k} of being present, with all decisions being statistically independent).

Once a set AA is selected, we only assume that we want to model the two parts, AA and V\AV\backslash A as two independent Gaussian processes with covariance matrices ΣA\Sigma_{A} and ΣV\A\Sigma_{V\backslash A}. In order to maximize the likelihood under the joint Gaussian process, the best estimates are ΣA=KAA\Sigma_{A}=K_{AA} and ΣV\A=KV\A,V\A\Sigma_{V\backslash A}=K_{V\backslash A,V\backslash A}. This leads to the following negative log-likelihood

where I(fA,fV\A)I(f_{A},f_{V\backslash A}) is the mutual information between two Gaussian processes (see similar reasoning in the context of independent component analysis ).

In order to estimate AA, we thus need to minimize a modular function plus a mutual information between the variables indexed by AA and the ones indexed by V\AV\backslash A, which is submodular and symmetric. Thus in this Gaussian process interpretation, clustering may be cast as submodular function minimization. This probabilistic interpretation extends the minimum description length interpretation of to semi-supervised clustering.

In a graphical model, the entropy of the joint distribution decomposes as a sum of marginal entropies of subsets of variables; moreover, for any distribution, the entropy of the closest distribution factorizing in the graphical model provides an bound on the entropy. For directed graphical models, this last property turns out to be a direct consequence of the submodularity of the entropy function, and allows the generalization of graphical-model-based upper bounds to any submodular functions. In , these bounds are defined and used within a variational inference framework for the maximization of submodular functions.

6 Spectral functions of submatrices

The concavity of hh is not sufficient however in general to ensure the submodularity of FF, as can be seen by generating random examples with h(λ)=λ/(λ+1)h(\lambda)=\lambda/(\lambda+1).

Nevertheless, we know that the functions h(λ)=log⁡(λ+t)h(\lambda)=\log(\lambda+t) for t⩾0t\geqslant 0 lead to submodular functions since they correspond to the entropy of a Gaussian random variable with joint covariance matrix Q+λIQ+\lambda I. Thus, since for ρ∈(0,1)\rho\in(0,1), λρ=ρsin⁡ρππ∫0∞log⁡(1+λ/t)tρ−1dt\lambda^{\rho}=\frac{\rho\sin\rho\pi}{\pi}\int_{0}^{\infty}\log(1+\lambda/t)t^{\rho-1}dt (see, e.g., ), h(λ)=λρh(\lambda)=\lambda^{\rho} for ρ∈(0,1]\rho\in(0,1] is a positive linear combination of functions that lead to non-decreasing submodular set-functions. We thus obtain a non-decreasing submodular function.

This can be generalized to functions of the singular values of submatrices of XX where XX is a rectangular matrix, by considering the fact that singular values of a matrix XX are related to the non-zero eigenvalues of \left(\begin{array}[]{cc}0&X\\ X^{\top}&0\end{array}\right) (see, e.g., ).

Indeed, the marginal likelihood is obtained by the best log-likelihood when maximizing with respect to wAw_{A} plus the entropy of the covariance matrix .

Thus, in a Bayesian model selection setting, in order to find the best subset AA, it is necessary to minimize with respect to ww:

which, in the framework outlined in §5.4, leads to the submodular function

Note that a traditional frequentist criterion is to penalize larger subsets AA by the Mallow’s CLC_{L} criterion , which is equal to A↦tr(XAXA⊤+λI)−1XAXA⊤A\mapsto\mathop{\rm tr}(X_{A}X_{A}^{\top}+\lambda I)^{-1}X_{A}X_{A}^{\top}, which is not a submodular function.

7 Best subset selection

Following , we consider pp random variables (covariates) X1,…,XpX_{1},\dots,X_{p}, and a random response YY with unit variance, i.e., var(Y)=1\mathop{\rm var}(Y)=1. We consider predicting YY linearly from XX. We consider F(A)=var(Y)−var(Y∣XA)F(A)=\mathop{\rm var}(Y)-\mathop{\rm var}(Y|X_{A}). The function FF is a non-decreasing function (the conditional variance of YY decreases as we observed more variables). In order to show the submodularity of FF using Prop. 2.3, we compute, for all A⊆VA\subseteq V, and i,ji,j distinct elements in V\AV\backslash A, the following quantity:

using standard arguments for conditioning variances (see more details in ). Thus, the function is submodular if and only if the last quantity is always non-positive, i.e., ∣Corr(Y,Xk∣XA,Xj)∣⩽∣Corr(Y,Xk∣XA)∣|{\rm Corr}(Y,X_{k}|X_{A},X_{j})|\leqslant|{\rm Corr}(Y,X_{k}|X_{A})|, which is often referred to as the fact that the variables XjX_{j} is not a suppressor for the variable XkX_{k} given AA.

Thus greedy algorithms for maximization have theoretical guarantees (see Chapter 11) if the assumption is met. Note however that the condition on suppressors is rather strong, although it can be appropriately relaxed in order to obtain more widely applicable guarantees for subset selection .

We may also consider the linear model from the end of §6.6, where a Bayesian approach is taken for model selection, where the parameters ww are marginalized out. We can now also maximize the marginal likelihood with respect to the noise variance σ2\sigma^{2}, instead of considering it as a fixed hyperparameter. This corresponds to minimizing Eq. (6.3) with respect to σ\sigma and wAw_{A}, with optimal values wA=(XA⊤XA+λI)−1XA⊤yw_{A}=(X_{A}^{\top}X_{A}+\lambda I)^{-1}X_{A}^{\top}y and σ2=1n∥y−XAwA∥22+λn∥wA∥2\sigma^{2}=\frac{1}{n}\|y-X_{A}w_{A}\|_{2}^{2}+\frac{\lambda}{n}\|w_{A}\|^{2}, leading to the following cost function in AA (up to constant additive terms):

which is a difference of two submodular functions (see §11.3 for related optimization schemes). Note the difference between this formulation (aiming at minimizing a set-function directly by marginalizing out or maximizing out ww) and the one from §6.6 which provides a convex relaxation of the maximum likelihood problem by maximizing the likelihood with respect to ww.

8 Matroids

Matroids have emerged as combinatorial structures that generalize the notion of linear independence betweens columns of a matrix. Given a set VV, we consider a family I\mathcal{I} of subsets of VV with the following properties:

“hereditary property”: I1⊆I2∈I⇒I1∈II_{1}\subseteq I_{2}\in\mathcal{I}\Rightarrow I_{1}\in\mathcal{I},

“exchange property”: for all I1,I2∈II_{1},I_{2}\in\mathcal{I}, ∣I1∣<∣I2∣⇒∃k∈I2\I1, I1∪{k}∈I|I_{1}|<|I_{2}|\Rightarrow\exists k\in I_{2}\backslash I_{1},\ I_{1}\cup\{k\}\in\mathcal{I}.

The pair (V,I)(V,\mathcal{I}) is then referred to as a matroid, with I\mathcal{I} its family of independent sets. Given any set A⊆VA\subseteq V, then a base of AA is any independent subset of AA which is maximal for the inclusion order (i.e., no other independent set contained in AA contains it). An immediate consequence of property (c) is that all bases of AA have the same cardinalities, which is defined as the rank of AA. The following proposition shows that the set-function thus defined is a submodular function.

(Matroid rank function) The rank function of a matroid, defined as F(A)=max⁡I⊆A, A∈I∣I∣F(A)=\max_{I\subseteq A,\ A\in\mathcal{I}}|I|, is submodular. Moreover, for any set A⊆VA\subseteq V and k∈V\Ak\in V\backslash A, F(A∪{k})−F(A)∈{0,1}F(A\cup\{k\})-F(A)\in\{0,1\}.

Proof We first prove the second assertion. Since FF has integer values and is non-decreasing (because of the hereditary property (b)), we only need to show that F(A∪{k})−F(A)⩽1F(A\cup\{k\})-F(A)\leqslant 1. Let B1B_{1} be a base of AA and B2B_{2} be a base of A∪{k}A\cup\{k\}. If ∣B2∣>∣B1∣+1|B_{2}|>|B_{1}|+1, then, by applying the exchange property (c) twice, there exists two distincts elements i,ji,j of B2\B1B_{2}\backslash B_{1} such that B1∪{i,j}B_{1}\cup\{i,j\} is a base. One of these elements cannot be kk and thus has to belong to AA which contradicts the maximality of B1B_{1} as an independent subset of AA; this proves by contradiction that ∣B2∣⩽∣B1∣+1|B_{2}|\leqslant|B_{1}|+1, and thus F(A∪{k})−F(A)∈{0,1}F(A\cup\{k\})-F(A)\in\{0,1\}.

To show the submodularity of FF, we consider Prop. 2.3 and a set A⊆VA\subseteq V and j,k∈V\Aj,k\in V\backslash A. Given the property shown above, we only need to show that if F(A∪{k})=F(A)F(A\cup\{k\})=F(A), then F(A∪{j,k})=F(A∪{j})F(A\cup\{j,k\})=F(A\cup\{j\}). This will immediately imply that F(A∪{k})−F(A)⩾F(A∪{j,k})−F(A∪{j})F(A\cup\{k\})-F(A)\geqslant F(A\cup\{j,k\})-F(A\cup\{j\}) (and thus FF is submodular). Assume by contradiction that F(A∪{j,k})=F(A∪{j})+1F(A\cup\{j,k\})=F(A\cup\{j\})+1. If F(A∪{j})=F(A)F(A\cup\{j\})=F(A), then we have F(A∪{j,k})=F(A)+1F(A\cup\{j,k\})=F(A)+1, and thus by the exchange property, we must have F(A∪{k})=F(A)+1F(A\cup\{k\})=F(A)+1, which is a contradiction. If F(A∪{j})=F(A)+1F(A\cup\{j\})=F(A)+1, then F(A∪{j,k})=F(A∪{j})+2F(A\cup\{j,k\})=F(A\cup\{j\})+2, and we must have F(A∪{k})=F(A)+1F(A\cup\{k\})=F(A)+1 (because the increments of FF are in {0,1}\{0,1\}), which is also a contradiction. Note that matroid rank functions are exactly the ones for which all extreme points are in {0,1}p\{0,1\}^{p}. They are also exactly the submodular functions for which F(A)F(A) is integer and F(A)⩽∣A∣F(A)\leqslant|A| .

A classical example is the graphic matroid; it corresponds to VV being the edge set of a certain graph, and I\mathcal{I} being the set of subsets of edges leading to a subgraph that does not contain any cycle. The rank function ρ(A)\rho(A) is then equal to pp minus the number of connected components of the subgraph induced by AA. Beyond the historical importance of this matroid (since, as shown later, this leads to a nice proof of exactness for Kruskal’s greedy algorithm for maximum weight spanning tree problems), the base polyhedron, often referred to as the spanning tree polytope, has interesting applications in machine learning, in particular for variational inference in probabilistic graphical models .

The other classical example is the linear matroid. Given a matrix MM with pp columns, then a set II is independent if and only if the columns indexed by II are linearly independent. The rank function ρ(A)\rho(A) is then the rank of the set of columns indexed by AA (this is also an instance of functions from §6.6 because the rank is the number of non-zero eigenvalues, and when ρ→0+\rho\to 0^{+}, then λρ→1λ>0\lambda^{\rho}\to 1_{\lambda>0}). For more details on matroids, see, e.g., .

For matroid rank functions, extreme points of the base polyhedron have components equal to zero or one (because F(A∪{k})−F(A)∈{0,1}F(A\cup\{k\})-F(A)\in\{0,1\} for any A⊆VA\subseteq V and k∈Vk\in V), and are incidence vectors of the maximal independent sets. Indeed, the extreme points are such that s∈{0,1}ps\in\{0,1\}^{p} and Supp(s){\rm Supp}(s) is an independent set because, when running the greedy algorithm, the set of non-zero elements of the already determined elements of ss is always independent. Moreover, it is maximal, because s∈B(F)s\in B(F) and thus s(V)=F(V)s(V)=F(V).

The greedy algorithm for maximizing linear functions on the base polyhedron may be used to find maximum weight maximal independent sets, where a certain weight wkw_{k} is given to all elements of kk VV, that is, it finds a maximal independent set II, such that ∑k∈Iwk\sum_{k\in I}w_{k} is maximum. In this situation, the greedy algorithm is actually greedy, i.e., it first orders the weights of each element of VV in decreasing order and select elements of VV following this order and skipping the elements which lead to non-independent sets.

For the graphic matroid, the base polyhedron is thus the convex hull of the incidence vectors of sets of edges which form a spanning tree, and is often referred to as the spanning tree polytopeNote that algorithms presented in Chapter 9 lead to algorithms for several operations on this spanning tree polytopes, such as line searches and orthogonal projections. . The greedy algorithm is then exactly Kruskal’s algorithm to find maximum weight spanning trees .

General submodular functions may be minimized in polynomial time (see Chapter 10). For functions which are equal to the rank function of a matroid minus a modular function, then dedicated algorithms have better running-time complexities, i.e., O(p3)O(p^{3}) .

Chapter 7 Non-smooth Convex Optimization

In this chapter, we consider optimization problems of the form

where both functions Ψ\Psi and hh are convex. In this section, we always assume that hh is non-smooth and positively homogeneous; hence we consider only algorithms adapted to non-smooth optimization problems. Problems of this type appear many times when dealing with submodular functions (submodular function minimization in Chapter 10, separable convex optimization in Chapters 8 and 9, sparsity-based problems in §5.3); however, they are typically applicable much more widely, in particular to all polytopes where maximizing linear functions may be done efficiently, which is the case for the various polytopes defined from submodular functions.

Our first three algorithms deal with generic problems where few assumptions are made beyond convexity, namely the subgradient method in §7.2, the ellipsoid method in §7.3, Kelley’s method (an instance of cutting planes) in §7.4, and analytic center cutting planes in §7.5.

The next algorithms we present rely on the strong convexity of the function Ψ\Psi and have natural dual intepretations: in §7.6, we consider mirror descent techniques whose dual interpretations are conditional gradient algorithms, which are both iterative methods with cheap iterations. In §7.7, we consider bundle methods, whose dual corresponding algorithms are simplicial methods. They share the same principle than the previous iterative techniques, but the memory of all past information is explicitly kept and used at each iteration.

The next two algorithms require additional efficient operations related to the function hh (beyong being able to compute function values and subgradients). In §7.8, we present dual simplicial methods, which use explicitly the fact that hh is a gauge function (i.e., convex homogeneous and non-negative), which leads to iterative methods with no memory and algorithms that keep and use explicitly all past information. This requires to be able to maximize w⊤sw^{\top}s with respect to ww under the constraint that h(w)⩽1h(w)\leqslant 1.

We finally present in §7.9 proximal methods, which are adapted to situations where Ψ\Psi is differentiable, under the condition that problems with Ψ(w)\Psi(w) being an isotropic quadratic function, i.e., Ψ(w)=12∥w−z∥22\Psi(w)=\frac{1}{2}\|w-z\|_{2}^{2}, are easy to solve. These methods are empirically the most useful for problems with sparsity-inducing norms and are one of the motivations behind the focus on solving separable problems in Chapters 8 and 9.

This is equivalent to h∗(s)=IK(s)h^{\ast}(s)=I_{K}(s), where IK(s)I_{K}(s) is the indicator function of set KK, equal to zero on KK, and to +∞+\infty otherwise. In this monograph, KK will typically be:

the base polyhedron B(F)B(F) with hh being the Lovász extension of FF,

the symmetric submodular polyhedron ∣P∣(F)|P|(F) with hh being the norm Ω∞\Omega_{\infty} defined in §5.3,

the dual unit ball of the norm Ωq\Omega_{q} with hh being the norm Ωq\Omega_{q} defined in §5.4, for q∈(1,∞)q\in(1,\infty).

The most important assumption which we are using is that the maximization defining hh in Eq. (7.2) may be performed efficiently, i.e., a maximizer s∈Ks\in K of the linear function s⊤ws^{\top}w may be efficiently obtained. For the first two examples above, it may be done using the greedy algorithm. Another property that will be important is the polyhedral nature of KK. This is true for B(F)B(F) and ∣P∣(F)|P|(F). Since KK is bounded, this implies that there exists a finite number of extreme points (si)i∈H(s_{i})_{i\in H}, and thus that KK is the convex hull of these ∣H∣|H| points. Typically, the cardinality ∣H∣|H| of HH may be exponential in pp, but any solution may be expressed with at most pp such points (by Carathéodory’s theorem for cones ).

Lipschitz-continuity: Ψ\Psi is Lipschitz-continuous on a closed convex set CC with Lipschitz-constant BB if and only if

Strong convexity: Ψ\Psi is said strongly convex if and only if the function w↦Ψ(w)−μ2∥w∥22w\mapsto\Psi(w)-\frac{\mu}{2}\|w\|_{2}^{2} is convex for some μ>0\mu>0. This is equivalent to:

Representations as convex quadratic programs: The function Ψ(w)\Psi(w) is then of the form max⁡Aw+ct⩽bt+12w⊤Qw\max_{Aw+ct\leqslant b}t+\frac{1}{2}w^{\top}Qw, for a positive semi-definite matrix. Such programs may be efficiently solved by active-set methods or interior point methods . Active-set methods will be reviewed in §7.11.

and is equal to zero if and only if (a) s∈Ks\in K is a maximizer of w⊤sw^{\top}s, and (b) the pair (w,−s)(w,-s) is dual for Ψ\Psi. The primal minimizer is always unique only when Ψ\Psi is strictly convex (and thus Ψ∗\Psi^{\ast} is smooth), and we then have w=(Ψ∗)′(s)w=(\Psi^{\ast})^{\prime}(s), i.e., we may obtain a primal solution directly from any dual solution ss. When both Ψ\Psi and Ψ∗\Psi^{\ast} are differentiable, then we may go from ww to ss as s=−Ψ′(w)s=-\Psi^{\prime}(w) and w=(Ψ∗)′(s)w=(\Psi^{\ast})^{\prime}(s). However, in general it is not possible to naturally go from a primal candidate to a dual candidate in closed form. In this chapter, we only consider optimization algorithms which exhibit primal-dual guarantees, i.e., generate both primal candidates ww and dual candidates ss.

2 Projected subgradient descent

When no smoothness assumptions are added to Ψ\Psi, we may consider without loss of generality that h=0h=0, which we do in this section (like in the next three sections). Thus, we only assume that Ψ\Psi is Lipschitz-continuous on a compact set CC, with Lipschitz-constant BB. Starting from any point in CC, the subgradient method is an iterative algorithm that goes down the direction of negative subgradient. More precisely:

Iteration: for t⩾1t\geqslant 1, compute a subgradient Ψ′(wt−1)\Psi^{\prime}(w_{t-1}) of Ψ\Psi at wt−1w_{t-1} and compute

where ΠC\Pi_{C} is the orthogonal projection onto CC.

This algorithm is not a descent algorithm, i.e., it is possible that Ψ(wt)>Ψ(wt−1)\Psi(w_{t})>\Psi(w_{t-1}). There are several strategies to select the constants γt\gamma_{t}. If the diameter DD of CC is known, then by selecting γt=DBt\gamma_{t}=\frac{D}{B\sqrt{t}}, if we denote Ψopt=min⁡x∈CΨ(x)\Psi^{\rm opt}=\min_{x\in C}\Psi(x), then we have for all t>0t>0, the following convergence rate (see proof in ):

Note that this convergence rate is independent of the dimension pp (at least not explicitly, as constants DD and BB would typically grow with pp), and that it is optimal for methods that look only at subgradients at certain points and linearly combine them [171, Section 3.2.1]. Moreover, the iteration cost is limited, i.e., O(p)O(p), beyond the computation of a subgradient. Other strategies exist for the choice of the step size, in particular Polyak’s rule: γt=Ψ(xt−1)−Ψ∗∥Ψ′(xt−1)∥22\gamma_{t}=\frac{\Psi(x_{t-1})-\Psi^{\ast}}{\|\Psi^{\prime}(x_{t-1})\|_{2}^{2}}, where Ψ∗\Psi^{\ast} is any lower bound on the optimal value (which may usually obtained from any dual candidate).

If one can compute Ψ∗\Psi^{\ast} efficiently, the average sˉt\bar{s}_{t} of all subgradients, i.e., sˉt=1t∑u=0t−1Ψ′(wu)\bar{s}_{t}=\frac{1}{t}\sum_{u=0}^{t-1}\Psi^{\prime}(w_{u}), provides a certificate of suboptimality with offline guarantees, i.e., if wˉt=1t∑u=0t−1wu\bar{w}_{t}=\frac{1}{t}\sum_{u=0}^{t-1}w_{u},

See and a detailed proof in . In the context of this monograph, we will apply the projected subgradient method to the problem of minimizing f(w)f(w) on p^{p}, leading to algorithms with small iteration complexity but slow convergence (though a decent solution is found quite rapidly in applications).

Note that when Ψ\Psi is obtained by composition by a linear map XX, then similar certificates of optimality may be obtained .

3 Ellipsoid method

The ellipsoid method builds a sequence of ellipsoids that contain all minimizers of Ψ\Psi on KK. At every iteration, the volume of the ellipsoid is cut by a fixed multiplicative constant. Starting from an ellipsoid containing KK, we consider its center. If it is in CC, then a subgradient of Ψ\Psi will divide the space in two, and the global minima have to be in a known half. Similarly, if the center not in CC, then a separating hyperplane between the center and CC plays the same role. We can then iterate the process. The precise algorithm is as follows:

Initialization: ellipsoid E0={V0u+w0, ∥u∥2⩽1}\mathcal{E}_{0}=\{V_{0}u+w_{0},\ \|u\|_{2}\leqslant 1\} that contains the optimization set CC.

Compute new ellipsoid Et={Vtu+wt, ∥u∥2⩽1}\mathcal{E}_{t}=\{V_{t}u+w_{t},\ \|u\|_{2}\leqslant 1\} with

Thus, the ellipsoid Et\mathcal{E}_{t} has a volume decreasing at an exponential rate. This allows to obtain an exponential rate of convergence for the minimization problem. Indeed, following , let 1>\varepsilon>\min\{1,\big{(}\frac{{\rm vol}(\mathcal{E}_{t})}{{\rm vol}(\mathcal{E}_{K})}\big{)}^{1/p}\} and woptw^{\rm opt} a minimizer of Ψ\Psi on KK. We define Kε=wopt+ε(K−wopt)K^{\varepsilon}=w^{\rm opt}+\varepsilon(K-w^{\rm opt}). We have vol(Kε)=εpvol(K)>vol(Et){\rm vol}(K^{\varepsilon})=\varepsilon^{p}{\rm vol}(K)>{\rm vol}(\mathcal{E}_{t}). The two sets KεK^{\varepsilon} and Et\mathcal{E}_{t} have at least the point woptw^{\rm opt} in common; given the volume inequality, there must be at least one element v∈Kε\Etv\in K^{\varepsilon}\backslash\mathcal{E}_{t}. Since ε⩽1\varepsilon\leqslant 1, Kε⊆KK^{\varepsilon}\subseteq K, and hence v∈Kv\in K. Since it is not in Et\mathcal{E}_{t}, it must have been removed in one of the steps of the ellipsoid method, hence its value Ψ(v)\Psi(v) is greater than min⁡i∈{0,…,t}Ψ(wi)\min_{i\in\{0,\dots,t\}}\Psi(w_{i}). Moreover, by convexity, Ψ(v)⩽(1−ε)Ψ(wopt)+εmax⁡w∈KΨ(w)\Psi(v)\leqslant(1-\varepsilon)\Psi(w^{\rm opt})+\varepsilon\max_{w\in K}\Psi(w), which implies

This implies that there exists i⩽ti\leqslant t, such that wi∈Kw_{i}\in K and

The convergence rate is exponential, but there is a direct and strong dependence on the dimension of the problem pp. Note that dual certificates may be obtained at limited additional computational cost, with no extra information . This algorithm is typically slow in practice since it has a running-time of O(p3)O(p^{3}) per iteration. Moreover, it makes slow progress and cannot take advantage of additional properties of the function Ψ\Psi as the approximation of the reduction in volume has a tight dependence on pp: that is, it cannot really converge faster than the bound.

This algorithm has an important historical importance, as it implies that most convex optimization problems may be solved in polynomial-time, which implies polynomial-time algorithms for many combinatorial problems that may be expressed as convex programs; this includes the problem of minimizing submodular functions . See §10.4 for a detailed convergence rate when applied to this problem.

4 Kelley’s method

Like in the previous section, we assume that h=0h=0 and that Ψ\Psi is Lipschitz-continuous on a compact set CC. In the subgradient and ellipsoid methods, only a vector (for the subgradient method) or a pair of a vector and a matrix (for the ellipsoid method) are kept at each iteration, and the values of the function Ψ(wi)\Psi(w_{i}) and of one of its subgradients Ψ′(wi)\Psi^{\prime}(w_{i}), for i<ti<t, are discarded.

Bundle methods aim at keeping and using exactly the bundle of information obtained from past iterations. This is done by noticing that for each tt, the function Ψ\Psi is lower bounded by

The function Ψ~t\widetilde{\Psi}_{t} is a piecewise-affine function and we present an illustration in Figure 7.2.

Kelley’s method (see, e.g., ) simply minimizes this lower bound Ψ~t\widetilde{\Psi}_{t} at every iteration, leading to the following algorithm:

Iteration: for t⩾1t\geqslant 1, compute a subgradient Ψ′(wt−1)\Psi^{\prime}(w_{t-1}) of Ψ\Psi at wt−1w_{t-1} and compute any minimizer

The main iteration of Kelley’s method (which can be seen in particular as an instance of a cutting-plane method ) thus requires to be able to solve a subproblem which may be complicated. When CC is a polytope, then it may be cast a linear programming problem and then solved by interior-point methods or the simplex algorithm. The number of iterations to reach a given accuracy may be very large (see lower bounds in ), and the method is typically quite unstable, in particular when they are multiple minimizers in the local optimization problems.

However, the method may take advantage of certain properties of Ψ\Psi and CC, in particular the representability of CC and Ψ\Psi through linear programs. In this situation, the algorithm terminates after a finite number of iterations with an exact minimizer . Note that although Kelley’s method is more complex than subgradient descent, the best known convergence rate is still of the order O(1/t)O(1/\sqrt{t}) after tt iterations .

In the context of this monograph, we will apply Kelley’s method to the problem of minimizing the Lovász extenstion f(w)f(w) on p^{p}, and, when the simplex algorithm is used to minimize Ψ~t(w)\widetilde{\Psi}_{t}(w) this will be strongly related to the simplex algorithm applied directly to a linear program with exponentially many constraints (see §10.5).

In our simulations in §12.1, we have observed that when an interior point method is used to minimize Ψ~t(w)\widetilde{\Psi}_{t}(w) (this is essentially what the weighted analytic center cutting plane method from §7.5 and §10.6 does), then the minimizer wtw_{t} leads to a better new subgradient than with an extreme point (see §10.6).

5 Analytic center cutting planes

We consider a similar situation than the previous sections, i.e., we assume that h=0h=0 and that Ψ\Psi is Lipschitz-continuous on a compact set CC. The ellipsoid method is iteratively reducing a candidate set which has to contain all optimal solutions. This is done with a provable (but small) constant reduction in volume. If the center of the smallest ellipsoid containing the new candidate set is replaced by its center of gravity, then an improved bound holds (with p2p^{2} replaced by pp in the complexity bound); however, this algorithm is not implemented in practice as there is no known efficient algorithm to find the center of gravity of a polytope. An alternative strategy is to replace the center of gravity of the polytope by its analytic center .

The analytic center of a polytope with non-empty interior defined as the intersection of half-planes ai⊤w⩽bia_{i}^{\top}w\leqslant b_{i}, i∈Ii\in I, is the unique minimizer of

The analytic center may be found with arbitrary precision using Newton’s method . For the original problem of minimizing Ψ\Psi, there is a non-exponential complexity bound that decay as O(1/t)O(1/\sqrt{t}) but no bound similar to the ellipsoid method; however, its empirical behavior is often much improved, and this was confirmed in our simulations in §12.1.

In this tutorial, we consider the epigraph version of the problem, where we minimize uu with respect to (w,u)(w,u) such that w∈Cw\in C and Ψ(w)⩽u\Psi(w)\leqslant u. For simplicity, we assume that CC is a polytope with non-empty interior, which is defined through the set of half-planes ai⊤w⩽bia_{i}^{\top}w\leqslant b_{i}, i∈I0i\in I_{0}. The algorithm is as follows:

Initialization: set of half-planes ai⊤w⩽bia_{i}^{\top}w\leqslant b_{i}, i∈I0i\in I_{0} with analytic center w0w_{0}, u0=+∞u_{0}=+\infty.

Compute function Ψ(wt−1)\Psi(w_{t-1}) and gradient and Ψ′(wt−1)\Psi^{\prime}(w_{t-1}): −- add hyperplane u⩾Ψ(wt−1)+Ψ′(wt−1)⊤(w−wt−1)u\geqslant\Psi(w_{t-1})+\Psi^{\prime}(w_{t-1})^{\top}(w-w_{t-1}), −- it t=1t=1, add the plane u⩽Ψ(w0)u\leqslant\Psi(w_{0}), −- if Ψ(wt−1)⩽ut−1\Psi(w_{t-1})\leqslant u_{t-1}, replace u⩽ut−1u\leqslant u_{t-1} by u⩽ut=Ψ(wt−1)u\leqslant u_{t}=\Psi(w_{t-1}),

Compute analytic center (wt,ut)(w_{t},u_{t}) of the new polytope.

Note that when computing the analytic center, if we put a large weight for the logarithm of the constraint u⩽utu\leqslant u_{t}, then we recover an instance of Kelley’s method, since the value of uu will be close to the piecewise affine lower bound Ψ~t(w)\widetilde{\Psi}_{t}(w) defined in §7.4. Note the difference with the simplex method: here, the candidate ww is a center of the set of minimizers, rather than an extreme point, which makes considerable difference in practice (see experiments in §12.1).

6 Mirror descent/conditional gradient

We are thus faced with the optimization of a smooth function on a compact convex set on which linear functions may be maximized efficiently. This is exactly the situation where conditional gradient algorithms are useful (they are also often referred to as “Frank-Wolfe” algorithms ). The algorithm is as follows:

Iteration: for t⩾1t\geqslant 1, find a maximizer sˉt−1\bar{s}_{t-1} of (Ψ∗)′(st−1)⊤s(\Psi^{\ast})^{\prime}(s_{t-1})^{\top}s w.r.t. s∈Ks\in K, and set st=(1−ρt)st−1+ρtsˉt−1s_{t}=(1-\rho_{t})s_{t-1}+\rho_{t}\bar{s}_{t-1}, for some ρt∈\rho_{t}\in.

There are two typical choices for ρt∈\rho_{t}\in:

Line search (adaptive schedule): we either maximize −Φ∗(−s)-\Phi^{\ast}(-s) on the segment [st−1,sˉt−1][s_{t-1},\bar{s}_{t-1}], or a quadratic lower bound (traditionally obtained from the smoothness of Ψ∗\Psi^{\ast}), which is tight at st−1s_{t-1}, i.e.,

Fixed schedule: ρt=2t+1\rho_{t}=\frac{2}{t+1}.

It may be shown that, if we denote Ψopt=min⁡w∈KΨ(w)+h(w)=max⁡s∈K−Ψ∗(−s)\Psi^{\rm opt}=\min_{w\in K}\Psi(w)+h(w)=\max_{s\in K}-\Psi^{\ast}(-s), then, for ρt\rho_{t} obtained by line search, we have for all t>0t>0, the following convergence rate:

where DD is the diameter of KK. Moreover, the natural choice of primal variable wt=(Ψ∗)′(−st)w_{t}=(\Psi^{\ast})^{\prime}(-s_{t}) leads to a duality gap of the same order. See an illustration in Figure 9.2 for Ψ∗(−s)=−12∥z−s∥22\Psi^{\ast}(-s)=-\frac{1}{2}\|z-s\|_{2}^{2} (i.e., the dual problem is equivalent to an orthogonal projection of zz onto KK). For the fixed-schedule, a similar bound holds; moreover, the relationship with a known primal algorithm will lead to a further interpretation.

We denote by DΨD_{\Psi} the Bregman divergence associated with the strongly convex function Ψ\Psi, i.e., DΨ(v,w)=Ψ(v)−Ψ(w)−(v−w)⊤Ψ′(w)D_{\Psi}(v,w)=\Psi(v)-\Psi(w)-(v-w)^{\top}\Psi^{\prime}(w). See Figure 7.3 for an illustration and further properties in . The previous iteration may be seen as the one of minimizing with respect to ww a certain function, i.e.,

which is an instance of mirror-descent . Indeed, the solution of the previous optimization problem is characterized by \Psi^{\prime}(w_{t})-\Psi^{\prime}(w_{t-1})-\rho_{t}\big{[}\Psi^{\prime}(w_{t-1})+h^{\prime}(w_{t-1})\big{]}=0.

For example, when Ψ(w)=μ2∥w∥22\Psi(w)=\frac{\mu}{2}\|w\|_{2}^{2}, we obtain regular subgradient descent with step-size ρt/μ\rho_{t}/\mu. In , a convergence rates of order O(1/μt)O(1/\mu t) is provided for the averaged primal iterate wˉt=2t(t+1)∑k=0tkwk\bar{w}_{t}=\frac{2}{t(t+1)}\sum_{k=0}^{t}kw_{k} when ρt=2/(t+1)\rho_{t}=2/(t+1), using the traditional proof technique from mirror descent, but also a convergence rate of O(1/μt)O(1/\mu t) for the dual variable sts_{t}, and for one of the primal iterates. Moreover, when Ψ\Psi is obtained by composition by a linear map XX, then similar certificates of optimality may be obtained. See more details in .

Note finally, that if Ψ∗\Psi^{\ast} is also strongly convex (i.e., when Ψ\Psi is smooth) and the global optimum is in the interior of KK, then the convergence rate is exponential .

7 Bundle and simplicial methods

In §7.4, we have considered the minimization of a function Ψ\Psi over a compact set KK and kept the entire information regarding the function values and subgradients encountered so far. In this section, we extend the same framework to the type of problems considered in the previous section. Again, primal and dual interpretations will emerge.

We consider the minimization of the function Ψ(w)+h(w)\Psi(w)+h(w), where hh is non-smooth, but Ψ\Psi may have in general any additional assumptions such as strong-convexity, representability as quadratic or linear programs. The algorithm is similar to Kelley’s method in that we keep all information regarding the subgradients of hh (i.e., elements of K)K), but each step performs optimization where Ψ\Psi is not approximated (see Figure 7.2 for an illustration of the piecewise linear approximation of hh):

Iteration: for t⩾1t\geqslant 1, compute a subgradient st−1=h′(wt−1)∈Ks_{t-1}=h^{\prime}(w_{t-1})\in K of hh at wt−1w_{t-1} and compute

Like Kelley’s method, the practicality of the algorithm depends on how the minimization problem at each iteration is performed. In the common situation where each of the subproblems is solved with high accuracy, the algorithm is only practical for functions Ψ\Psi which can be represented as linear programs or quadratic programs. Moreover, the method may take advantage of certain properties of Ψ\Psi and KK, in particular the representability of KK and Ψ\Psi through linear programs. In this situation, the algorithm terminates after a finite number of iterations with an exact minimizer . In practice, like most methods considered in this monograph, using the dual interpretation described below, one may monitor convergence using primal-dual pairs.

We first may see st−1s_{t-1} as the maximizer of s⊤wt−1s^{\top}w_{t-1} over s∈Ks\in K. Moreover, we have, by Fenchel duality:

This means that when Ψ∗\Psi^{\ast} is differentiable (i.e., Ψ\Psi strictly convex) we may interpret the algorithm as iteratively building inner approximations of the compact convex set KK as the convex hull of the point s0,…,st−1s_{0},\dots,s_{t-1} (see illustration in Figure 7.4). The function −Ψ∗(−s)-\Psi^{\ast}(-s) is then maximized over this convex-hull. Given the optimum sˉ=∑i=0t−1ηisi\bar{s}=\sum_{i=0}^{t-1}\eta_{i}s_{i}, then it is globally optimum if and only if max⁡s∈K(Ψ∗)′(−sˉ)⊤(s−sˉ)=0\max_{s\in K}(\Psi^{\ast})^{\prime}(-\bar{s})^{\top}(s-\bar{s})=0, i.e., denoting wˉ=(Ψ∗)′(−sˉ)\bar{w}=(\Psi^{\ast})^{\prime}(-\bar{s}), h(w)=w⊤sh(w)=w^{\top}s.

Note the difference with the conditional gradient algorithm from §7.6. Both algorithms are considering extreme points of KK; however, conditional gradient algorithms only make a step towards the newly found extreme point, while simplicial methods defined in this section will optimize over the entire convex hull of all extreme points generated so far, leading to better function values at the expense of extra computation.

8 Dual simplicial method

and let wˉt∈arg⁡max⁡h(wˉ)⩽1wˉ⊤st\bar{w}_{t}\in\arg\max_{h(\bar{w})\leqslant 1}\bar{w}^{\top}s_{t}. If wˉt⊤st⩽1\bar{w}_{t}^{\top}s_{t}\leqslant 1, wˉt\bar{w}_{t} is the optimal solution.

Like Kelley’s method or bundle methods, the practicality of the algorithm depends on how the minimization problem at each iteration is performed. In the common situation where each of the subproblems is solved with high accuracy, the algorithm is only practical for functions Ψ\Psi which can be represented as linear programs or quadratic programs.

Moreover, the method may also take advantage of certain properties of Ψ∗\Psi^{\ast} and KK, in particular the representability of KK and Ψ∗\Psi^{\ast} through linear programs. In this situation, the algorithm terminates after a finite number of iterations with an exact minimizer. This can be checked by testing if st∈Ks_{t}\in K, i.e, max⁡h(w)⩽1w⊤st⩽1\max_{h(w)\leqslant 1}w^{\top}s_{t}\leqslant 1 (in which case, the outer approximation is tight enough).

The iteration may be given a primal interpretation. Indeed, we have:

That is, the iteration first consists in replacing h(w)h(w) by a certain (convex) upper-bound. This upper-bound may be given a special interpretation using gauge functions. Indeed, if we consider the polar set K∘K^{\circ} and the (potentially infinite set) CC of its extreme points, then hh is the gauge function of the set K∘K^{\circ}, and also of the set C={vi, i∈I}C=\{v_{i},\ i\in I\}, that is:

Moreover, the second part of the iteration is wˉt∈arg⁡min⁡h(wˉ)⩽1wˉ⊤Ψ′(wt)\bar{w}_{t}\in\arg\min_{h(\bar{w})\leqslant 1}\bar{w}^{\top}\Psi^{\prime}(w_{t}), which is exactly equivalent to testing min⁡i∈Ivi⊤Ψ′(wˉt)⩾−1\min_{i\in I}v_{i}^{\top}\Psi^{\prime}(\bar{w}_{t})\geqslant-1, which happens to be the optimality condition for the problem with respect to λ\lambda.

Like Kelley’s method or bundle methods, the dual simplicial method is finitely convergent when KK is a polytope. However, no bound is known regarding the number of iterations. Like the simplicial method, a simpler method which does not require to fully optimize the subproblem comes with a convergence rate in O(1/t)O(1/t). It replaces the full minimization with respect to ww in the conic hull of all wiw_{i} by a simple line-search over one or two parameters .

9 Proximal methods

When Ψ\Psi is smooth, then the particular form on non-smoothness of the objective function may be taken advantage of. Proximal methods essentially allow to solve the problem regularized with a new regularizer at low implementation and computational costs. For a more complete presentation of optimization techniques adapted to sparsity-inducing norms, see, e.g., and references therein. Proximal-gradient methods constitute a class of first-order techniques typically designed to solve problems of the following form :

Proximal methods have become increasingly popular over the past few years, both in the signal processing (see, e.g., and numerous references therein) and in the machine learning communities (see, e.g., and references therein). In a broad sense, these methods can be described as providing a natural extension of gradient-based techniques when the objective function to minimize has a non-smooth part. Proximal methods are iterative procedures. Their basic principle is to linearize, at each iteration, the function gg around the current estimate w^\hat{w}, and to update this estimate as the (unique, by strong convexity) solution of the following proximal problem:

The role of the added quadratic term is to keep the update in a neighborhood of w^\hat{w} where Ψ\Psi stays close to its current linear approximation; L ⁣> ⁣0L\!>\!0 is a parameter which is an upper bound on the Lipschitz constant of the gradient Ψ′\Psi^{\prime}.

Provided that we can solve efficiently the proximal problem in Eq. (7.4), this first iterative scheme constitutes a simple way of solving problem in Eq. (7.3). It appears under various names in the literature: proximal-gradient techniques , forward-backward splitting methods , and iterative shrinkage-thresholding algorithm . Furthermore, it is possible to guarantee convergence rates for the function values , and after tt iterations, the precision be shown to be of order O(1/t)O(1/t), which should contrasted with rates for the subgradient case, that are rather O(1/t)O(1/\sqrt{t}).

This first iterative scheme can actually be extended to “accelerated” versions . In that case, the update is not taken to be exactly the result from Eq. (7.4); instead, it is obtained as the solution of the proximal problem applied to a well-chosen linear combination of the previous estimates. In that case, the function values converge to the optimum with a rate of O(1/t2)O(1/t^{2}), where tt is the iteration number. From , we know that this rate is optimal within the class of first-order techniques; in other words, accelerated proximal-gradient methods can be as fast as without non-smooth component.

We have so far given an overview of proximal methods, without specifying how we precisely handle its core part, namely the computation of the proximal problem, as defined in Eq. (7.4).

Under this form, we can readily observe that when h=0h=0, the solution of the proximal problem is identical to the standard gradient update rule. The problem above can be more generally viewed as an instance of the proximal operator associated with hh:

10 Simplex algorithm for linear programming

and optimality conditions: (a) x⩾0x\geqslant 0, (b) A⊤y⩽cA^{\top}y\leqslant c, (c) y⊤(Ax−b)=0y^{\top}(Ax-b)=0. We assume that m⩽nm\leqslant n and that the mm rows of AA are linearly independent.

Intuitively, if cˉ⩾0\bar{c}\geqslant 0, there is no possible descent direction and xx should be optimal. Indeed, (x,y)(x,y) is then a primal-dual optimal pair (since the optimality conditions are then satisfied), otherwise, since xx is assumed non-degenerate, the direction dd for a j∈Jcj\in J^{\sf c} such that cˉj<0\bar{c}_{j}<0 is a strict descent direction. This direction may be followed as long as (x+ud)J⩾0(x+ud)_{J}\geqslant 0. If dJd_{J} has only nonnegative components, then the problem is unbounded. Otherwise, the largest positive uu is u=min⁡i, di<0xJ(i)−di=xJ(k)−dku=\min_{i,\ d_{i}<0}\frac{x_{J(i)}}{-d_{i}}=\frac{x_{J(k)}}{-d_{k}}. We then replace J(k)J(k) by jj in JJ and obtain a new basic feasible solution.

For non-degenerate problems, the iteration described above leads to a strict decrease of the primal objective, and since the number of basic feasible solution is finite, the algorithm terminates in finitely many steps; note however that there exists problem instances for which exponentially many basic feasible solutions are visited, although the average-case complexity is polynomial (see, e.g., and references therein). When the parameters AA, bb and cc come from data with absolutely continuous densities, the problem is non-degenerate with probability one. However, linear programs coming from combinatorial optimization (like the ones we consider in this monograph) do exhibit degenerate solutions. Several strategies for the choice of basic feasible solutions may be used in order to avoid cycling of the iterations. See for further details, in particular in terms of efficient associated numerical linear algebra.

In this monograph, the simplex method will be used for submodular function minimization, which will be cast a linear program with exponentially many variables (i.e., nn is large), but for which every step has a polynomial-time complexity owing to the greedy algorithm (see §10.5 for details).

11 Active-set methods for quadratic programming

and the optimality conditions are (a) stationarity: Qx+c−A⊤λ−μ=0Qx+c-A^{\top}\lambda-\mu=0, (b) feasibility: Ax=bAx=b and μ⩾0\mu\geqslant 0 and (c) complementary slackness: μ⊤x=0\mu^{\top}x=0.

Active-set methods rely on the following fact: if the indices JJ of the non-zero components of xx are known, then the optimal xJx_{J} may be obtained as min⁡AJxJ=b12xJ⊤QJJxJ+cJ⊤xJ\min_{A_{J}x_{J}=b}\frac{1}{2}x_{J}^{\top}Q_{JJ}x_{J}+c_{J}^{\top}x_{J}. This is a problem with linear equality constraints but no inequality constraints. Its minimum may be found through a primal-dual formulation:

with optimality conditions: (a) QJJxJ+cJ−AJ⊤λ=0Q_{JJ}x_{J}+c_{J}-A_{J}^{\top}\lambda=0 and (b) AJxJ=bA_{J}x_{J}=b. Primal-dual pairs for Eq. (7.8) may thus be obtained as the solution of the following linear system:

The solution is globally optimal if and only if xJ⩾0x_{J}\geqslant 0 and μJc=QJcJxJ+cJc−AJc⊤λ⩾0\mu_{J^{\sf c}}=Q_{J^{\sf c}J}x_{J}+c_{J^{\sf c}}-A_{J^{\sf c}}^{\top}\lambda\geqslant 0.

If yJ⩾0y_{J}\geqslant 0 and QJcJyJ+cJc−AJc⊤λ⩾0Q_{J^{\sf c}J}y_{J}+c_{J^{\sf c}}-A_{J^{\sf c}}^{\top}\lambda\geqslant 0, then yy is globally optimal

If yJ⩾0y_{J}\geqslant 0 and there exists j∈Jcj\in J^{\sf c} such that QjJyJ+cj−Aj⊤λ<0Q_{jJ}y_{J}+c_{j}-A_{j}^{\top}\lambda<0, then jj is added to JJ, and xx replaced by yy.

If ∃j∈J\exists j\in J such that yj<0y_{j}<0. Then let uu be the largest positive scalar so that x+u(y−x)⩾0x+u(y-x)\geqslant 0 and kk be an index so that xk+u(yk−xk)=0x_{k}+u(y_{k}-x_{k})=0. The set JJ is replaced by (J∪{j})\{k}(J\cup\{j\})\backslash\{k\} and xx by x+u(y−x)x+u(y-x).

The unique solution (since we have assumed that QQ is invertible) of the quadratic problem may have more than mm non-zero components for xx (as opposed to the simplex method).

It is possible to deal with exponentially many components of xx, i.e., nn very large, as long as it is possible to compute max⁡j∈JcQjJyJ+cj−Aj⊤λ\max_{j\in J^{\sf c}}Q_{jJ}y_{J}+c_{j}-A_{j}^{\top}\lambda efficiently.

In terms of numerical stability, care has to be taken to deal with approximation solutions of the linear system in Eq. (7.9), which may be ill-conditioned. See more practical details in .

Active sets methods may also be used when the matrix QQ is not positive definite . In this monograph, we will always consider adding an extra ridge penalty proportional to ∥x∥22\|x\|_{2}^{2} for a small ε>0\varepsilon>0. It in this section, we assume for simplicity that II is finite, but it can be extended easily to infinite uncountable sets using gauge functions.

Classical examples that will be covered in this monograph are min⁡η⩾0, η⊤1=112∥S⊤η∥2\min_{\eta\geqslant 0,\ \eta^{\top}1=1}\frac{1}{2}\|S^{\top}\eta\|^{2} (then obtaining the minimum-norm-point algorithm described in §9.2), or least-squares problems 12n∥y−Xw∥22+h(w)\frac{1}{2n}\|y-Xw\|_{2}^{2}+h(w), for h(w)h(w) a polyhedral function, which may be represented either as h(w)=max⁡s∈Ks⊤wh(w)=\max_{s\in K}s^{\top}w with KK being a polytope (or only its extreme points), or as h(w)=inf⁡w=∑i∈Iηiwi∑i∈Iηih(w)=\inf_{w=\sum_{i\in I}\eta_{i}w_{i}}\sum_{i\in I}\eta_{i}, for a certain family (wi)i∈I(w_{i})_{i\in I}. See next section for more details.

12 Active set algorithms for least-squares problems∗

for a certain non-negative polyhedral convex function hh, which may be represented either as h(w)=max⁡s∈Ks⊤wh(w)=\max_{s\in K}s^{\top}w with KK being a polytope (or only its extreme points), or as h(w)=inf⁡w=∑i∈Iηiwi∑i∈Iηih(w)=\inf_{w=\sum_{i\in I}\eta_{i}w_{i}}\sum_{i\in I}\eta_{i}, for a certain family (wi)i∈I(w_{i})_{i\in I}. We will assume for simplicity that X⊤XX^{\top}X is invertible. In practice, one may add a ridge penalty ε2∥w∥22\frac{\varepsilon}{2}\|w\|_{2}^{2}.

The active-set algorithm starts from J=∅J=\varnothing and η=0\eta=0, and perform the following iteration:

If ζJ⩾0\zeta_{J}\geqslant 0 and ZJc⊤(ZJζJ−y)+nλ1Jc⩾0Z_{J^{\sf c}}^{\top}(Z_{J}\zeta_{J}-y)+n\lambda 1_{J^{\sf c}}\geqslant 0, then ζ\zeta is globally optimal.

If ζJ⩾0\zeta_{J}\geqslant 0 and ∃j∈Jc\exists j\in J^{\sf c}, Zj⊤(ZJζJ−y)+nλ<0Z_{j}^{\top}(Z_{J}\zeta_{J}-y)+n\lambda<0, then replace JJ by J∪{j}J\cup\{j\} and η\eta by ζ\zeta.

If ∃j∈J\exists j\in J, ζj<0\zeta_{j}<0, then let uu be the largest positive scalar so that η+u(ζ−η)⩾0\eta+u(\zeta-\eta)\geqslant 0 and kk be an index so that ηj+u(ζk−ηk)=0\eta_{j}+u(\zeta_{k}-\eta_{k})=0, i.e., k∈argmink∈J, ζk<ηkηkηk−ζkk\in\mathop{\rm argmin}_{k\in J,\ \zeta_{k}<\eta_{k}}\frac{\eta_{k}}{\eta_{k}-\zeta_{k}}. The set JJ is replaced by (J∪{j})\{k}(J\cup\{j\})\backslash\{k\} and η\eta by η+u(ζ−η)\eta+u(\zeta-\eta).

Note that this algorithm is close to a specific instantiation of the dual simplicial method of §7.8. Indeed, every time we are in the situation where we add a new index to JJ (i.e., ζJ⩾0\zeta_{J}\geqslant 0 and ∃j∈Jc\exists j\in J^{\sf c}, Zj⊤(ZJζJ−y)+nλ<0Z_{j}^{\top}(Z_{J}\zeta_{J}-y)+n\lambda<0), then we have the solution of the original problem (with positivity constraints) on the reduced set of variables JJ. Note that when a variable is removed in the last step, it may re-enter the active set later on (this appears very unfrequently in practice, see a counter-example in Figure 7.5 for the minimum-norm-point algorithm, which is a dual active set algorithm for a least-square problem with no design), and thus we only have a partial instantiation of the dual simplicial method.

Starting from the first break-point, λ0=max⁡j∈J1nZj⊤y\lambda_{0}=\max_{j\in J}\frac{1}{n}Z_{j}^{\top}y, the solution η0=0\eta^{0}=0 and the set J0J_{0} composed of the index jj maximizing Zj⊤yZ_{j}^{\top}y (so that w=0w=0 for all λ⩾λ0\lambda\geqslant\lambda_{0}), the following iterations are performed:

For J=JkJ=J_{k}, compute the smallest λk⩾0\lambda_{k}\geqslant 0 such that (a) (ZJ⊤ZJ)−1ZJ⊤y−nλ(ZJ⊤ZJ)−11J⩾0(Z_{J}^{\top}Z_{J})^{-1}Z_{J}^{\top}y-n\lambda(Z_{J}^{\top}Z_{J})^{-1}1_{J}\geqslant 0 and (b) Z_{J^{\sf c}}^{\top}\big{(}Z_{J}(Z_{J}^{\top}Z_{J})^{-1}Z_{J}^{\top}-I\big{)}y+n\lambda\big{(}1_{J^{\sf c}}-Z_{J^{\sf c}}^{\top}(Z_{J}^{\top}Z_{J})^{-1}\big{)}\geqslant 0.

On the interval [λk,λk−1][\lambda_{k},\lambda_{k-1}], the optimal set of JJ and ηJ=(ZJ⊤ZJ)−1(ZJ⊤y−nλ1J)\eta_{J}=(Z_{J}^{\top}Z_{J})^{-1}(Z_{J}^{\top}y-n\lambda 1_{J}), set ηJk=(ZJ⊤ZJ)−1(ZJ⊤y−nλk1J)\eta_{J}^{k}=(Z_{J}^{\top}Z_{J})^{-1}(Z_{J}^{\top}y-n\lambda_{k}1_{J}).

If λk=0\lambda_{k}=0, the algorithm terminates.

If the constraint (a) is the limiting one, with corresponding index j∈Jj\in J, then set Jk=Jk\{j}J_{k}=J_{k}\backslash\{j\}.

If the constraint (b) is the limiting one, with corresponding index j∈Jcj\in J^{c}, then set Jk=Jk∪{j}J_{k}=J_{k}\cup\{j\}.

The algorithm stops with a sequence of break-points (λk)(\lambda_{k}), and corresponding vectors (ηk)(\eta^{k}). The number of break-points is typically of order O(∣I∣)O(|I|) but it may be exponential in the worst-case . Note that typically, the algorithm may be stopped after a certain maximal size of active set ∣J∣|J| is attained. Then, beyond the linear system with size less than ∣J∣|J| that need to be solved, the columns of ZZ are accessed to satisfy constraint (b) above, which requires more than simply maximizing Zj⊤uZ_{j}^{\top}u for some uu (but can be solved by binary search using such tests).

where the optimal uu is obtained from α\alpha as u=y−nαu=y-n\alpha. The problem above is a quadratic program in the variables η\eta and α\alpha. The active set algorithm described in §7.11 may thus be applied, and starting from feasible dual variables (α,η)(\alpha,\eta) (which are easy to find with α=0\alpha=0, since is in the convex hull of all sis_{i}), and a subset J⊆IJ\subseteq I, the following iteration is performed:

Compute a maximizer (β,ζJ)(\beta,\zeta_{J}) of −n2∥β∥22+y⊤β-\frac{n}{2}\|\beta\|_{2}^{2}+y^{\top}\beta subjet to SJ⊤ζJ=X⊤βS_{J}^{\top}\zeta_{J}=X^{\top}\beta and ζJ⊤1J=λ\zeta_{J}^{\top}1_{J}=\lambda. This problem is may be put in variational form as follows:

with the following optimality conditions (a) stationarity: y−Xw−nβ=0y-Xw-n\beta=0, (b) feasibility: SJ⊤ζJ=X⊤βS_{J}^{\top}\zeta_{J}=X^{\top}\beta, ζJ⊤1J=λ\zeta_{J}^{\top}1_{J}=\lambda and SJw=c1JS_{J}w=c1_{J}. These may be put in a single symmetric linear system:

If ζJ⩾0\zeta_{J}\geqslant 0 and max⁡j∈Jcsj⊤w⩽c\max_{j\in J^{\sf c}}s_{j}^{\top}w\leqslant c, then the pair (ζ,β)(\zeta,\beta) is globally optimal.

If ζJ⩾0\zeta_{J}\geqslant 0 and max⁡j∈Jcsj⊤w>c\max_{j\in J^{\sf c}}s_{j}^{\top}w>c, then the set JJ is replaced by J∪{j}J\cup\{j\} with jj the corresponding maximizer in JcJ^{\sf c}, and (η,α)(\eta,\alpha) by (ζ,β)(\zeta,\beta).

If ∃j∈J\exists j\in J such that ζj<0\zeta_{j}<0, then then let uu be the largest positive scalar so that η+u(ζ−η)⩾0\eta+u(\zeta-\eta)\geqslant 0 and kk be an index so that ηj+u(ζk−ηk)=0\eta_{j}+u(\zeta_{k}-\eta_{k})=0, i.e., k∈argmink∈J, ζk<ηkηkηk−ζkk\in\mathop{\rm argmin}_{k\in J,\ \zeta_{k}<\eta_{k}}\frac{\eta_{k}}{\eta_{k}-\zeta_{k}}. The set JJ is replaced by (J∪{j})\{k}(J\cup\{j\})\backslash\{k\} and (η,α)(\eta,\alpha) by (η+u(ζ−η),α+u(β−α))(\eta+u(\zeta-\eta),\alpha+u(\beta-\alpha)).

Note that the full family of vectors sis_{i} is only accessed through the maximization of a linear function sj⊤ws_{j}^{\top}w for a certain ww. This is thus well adapted to our situation where sis_{i} are the extreme points of the the base polytope (or of a polyhedral dual ball). Moreover, this algorithm is close to a particular instantiation of the simplicial algorithm from §7.7, and, like in the primal active-set method, once a variable is removed, it may re-enter the active set (this is not frequent in practice, see a counter-example in Figure 7.5).

In our context, where h(w)h(w) may be a sparsity-inducing norm, then the potential sparsity in ww is not used (as opposed to the primal active-set method). This leads in practice to large active sets and potential instability problems (see Chapter 12). Finally, regularization paths may be derived using the same principles as before, since the local solution with a known active set has an affine dependence in λ\lambda.

Chapter 8 Separable Optimization Problems: Analysis

In this chapter, we consider separable convex functions and the minimization of such functions penalized by the Lovász extension of a submodular function. When the separable functions are all quadratic functions, those problems are often referred to as proximal problems and are often used as inner loops in convex optimization problems regularized by the Lovász extension (see a brief introduction in §7.9 and, e.g., and references therein). Beyond their use for convex optimization problems, we show in this chapter that they are also intimately related to submodular function minimization, and can thus be also useful to solve discrete optimization problems.

We first study the separable optimization problem and derive its dual—which corresponds to maximizing a separable function on the base polyhedron B(F)B(F)—and associated optimality conditions in §8.1. We then consider in §8.2 the equivalence between separable optimization problems and a sequence of submodular minimization problems. In §8.3, we focus on quadratic functions, with intimate links with submodular function minimization and orthogonal projections on B(F)B(F). Finally, in §8.4, we consider optimization problems on the other polyhedra we have defined, i.e., P(F)P(F), P+(F)P_{+}(F) and ∣P∣(F)|P|(F) and show how solutions may be obtained from solutions of the separable problems on B(F)B(F). For related algorithm see Chapter 9.

Throughout this chapter, we make the simplifying assumption that the problem is strictly convex and differentiable (but not necessarily quadratic) and such that the derivatives are unbounded, but sharp statements could also be made in the general case. The next proposition shows that by convex strong duality (see Appendix A), it is equivalent to the maximization of a separable concave function over the base polyhedron.

The pair (w,s)(w,s) is optimal if and only if (a) sk=−ψk′(wk)s_{k}=-\psi_{k}^{\prime}(w_{k}) for all k∈{1,…,p}k\in\{1,\dots,p\}, and (b) s∈B(F)s\in B(F) is optimal for the maximization of w⊤sw^{\top}s over s∈B(F)s\in B(F) (see Prop. 4.2 for optimality conditions).

We have (since strong duality applies because of Fenchel duality, see Appendix A.1 and ):

where ψj∗\psi_{j}^{\ast} is the Fenchel-conjugate of ψj\psi_{j}. Thus the separably penalized problem defined in Eq. (8.1) is equivalent to a separable maximization over the base polyhedron (i.e., Eq. (8.2)). Moreover, the unique optimal ss for Eq. (8.2) and the unique optimal ww for Eq. (8.1) are related through sj=−ψj′(wj)s_{j}=-\psi_{j}^{\prime}(w_{j}) for all j∈Vj\in V.

Note that gap(w,s){\rm gap}(w,s) is always non-negative, is the sum of the non-negative terms (by Fenchel-Young inequality, see Appendix A): f(w)−w⊤sf(w)-w^{\top}s and ψj(wj)+ψ∗(−sj)−wj(−sj)\psi_{j}(w_{j})+\psi^{\ast}(-s_{j})-w_{j}(-s_{j}), for j∈{1,…,p}j\in\{1,\dots,p\}; this gap is thus equal to zero if and only these two terms are equal to zero.

2 Equivalence with submodular function minimization

(Monotonicity of solutions) Under the same assumptions than in Prop. 8.1, if α<β\alpha<\beta, then any solutions AαA^{\alpha} and AβA^{\beta} of Eq. (8.4) for α\alpha and β\beta satisfy Aβ⊆AαA^{\beta}\subseteq A^{\alpha}.

Proof We have, by optimality of AαA^{\alpha} and AβA^{\beta}:

and by summing the two inequalities and using the submodularity of FF,

which is equivalent to \sum_{j\in A^{\beta}\backslash A^{\alpha}}\big{[}\psi_{j}^{\prime}(\beta)-\psi_{j}^{\prime}(\alpha)\big{]}\leqslant 0, which implies, since for all j∈Vj\in V, ψj′(β)>ψj′(α)\psi_{j}^{\prime}(\beta)>\psi_{j}^{\prime}(\alpha) (because of strict convexity), that Aβ\Aα=∅A^{\beta}\backslash A^{\alpha}=\varnothing.

The next proposition shows that we can obtain the unique solution of Eq. (8.1) from all solutions of Eq. (8.4).

Then uu is the unique solution of the convex optimization problem in Eq. (8.1).

If α>uj\alpha>u_{j}, then, by definition of uju_{j}, j∉Aαj\notin A^{\alpha}. This implies that Aα⊆{j∈V,uj⩾α}={u⩾α}A^{\alpha}\subseteq\{j\in V,u_{j}\geqslant\alpha\}=\{u\geqslant\alpha\}. Moreover, if uj>αu_{j}>\alpha, there exists β∈(α,uj)\beta\in(\alpha,u_{j}) such that j∈Aβj\in A^{\beta}. By the monotonicity property of Prop. 8.2, AβA^{\beta} is included in AαA^{\alpha}. This implies {u>α}⊆Aα\{u>\alpha\}\subseteq A^{\alpha}.

because AαA^{\alpha} is optimal for F+ψ′(α)F+\psi^{\prime}(\alpha) and {u>α}⊆Aα⊆{u⩾α}\{u>\alpha\}\subseteq A^{\alpha}\subseteq\{u\geqslant\alpha\} (and what happens when α\alpha is equal to one of the components of uu is irrelevant for integration). By performing the same sequence of steps on the last equation, we get:

This shows that uu is indeed the unique optimum of the problem in Eq. (8.1).

From the previous proposition, we also get the following corollary, i.e., all solutions of the submodular function minimization problems in Eq. (8.4) may be obtained from the unique solution of the convex optimization problem in Eq. (8.1). Note that we immediately get the maximal and minimal minimizers, but that there is no general characterization of the set of minimizers (see more details in §10.1).

Proof From the definition of the supremum in Prop. 8.3, then we immediately obtain that {u>α}⊆Aα⊆{u⩾α}\{u>\alpha\}\subseteq A^{\alpha}\subseteq\{u\geqslant\alpha\} for any minimizer AαA^{\alpha}. Moreover, if α\alpha is not a value taken by some uju_{j}, j∈Vj\in V, then this defines uniquely AαA^{\alpha}. If not, then we simply need to show that {u⩾α}\{u\geqslant\alpha\} and {u>α}\{u>\alpha\} are indeed maximizers, which can be obtained by taking limits of AβA^{\beta} when β\beta tends to α\alpha from below and above.

The previous proposition relates the optimal solutions of different optimization problems. The next proposition shows that approximate solutions also have a link, as the duality gap for Eq. (8.1) is the integral over α\alpha of the duality gaps for Eq. (8.4).

Proof From Eq. (3.4) in Prop. 3.1, for M⩾0M\geqslant 0 large enough,

Finally, since sj+ψj′(α)⇔α⩽(ψ∗)′(−sj)s_{j}+\psi_{j}^{\prime}(\alpha)\Leftrightarrow\alpha\leqslant(\psi^{\ast})^{\prime}(-s_{j}), we have:

the last equality stemming from equality in Fenchel-Young inequality (see Appendix A.1). By combining the last three equations, we obtain (using s(V)=F(V)s(V)=F(V)):

Since the integrand is equal to zero for α⩽−M\alpha\leqslant-M, the result follows. Thus, the duality gap of the separable optimization problem in Prop. 8.1, may be written as the integral of a function of α\alpha. It turns out that, as a consequence of Prop. 10.3 (Chapter 10), this function of α\alpha is the duality gap for the minimization of the submodular function F+ψ′(α)F+\psi^{\prime}(\alpha). Thus, we obtain another direct proof of the previous propositions. Eq. (8.5) will be particularly useful when relating an approximate solution of the convex optimization problem to an approximate solution of the combinatorial optimization problem of minimizing a submodular function (see §10.8).

3 Quadratic optimization problems

One of the consequences of the last proposition is that some of the solutions to the problem of minimizing a submodular function subject to cardinality constraints may be obtained directly from the solution of the quadratic separable optimization problems (see more details in ).

Another crucial consequence is obtained for λ=0\lambda=0: a minimizer of the submodular function FF may be obtained by thresholding the orthogonal projection of onto the base polyhedroon B(F)B(F) . See more details in Chapter 10.

4 Separable problems on other polyhedra∗

(Separable optimization on the submodular polyhedron) With the same conditions than for Prop. 8.1, let (v,t)(v,t) be a primal-dual optimal pair for the problem

For k∈Vk\in V, let sks_{k} be a maximizer of −ψk∗(−sk)-\psi_{k}^{\ast}(-s_{k}) on (−∞,tk](-\infty,t_{k}]. Define w=v+w=v_{+}. Then (w,s)(w,s) is a primal-dual optimal pair for the problem

Proof The pair (w,s)(w,s) is optimal for Eq. (8.7) if and only if (a) wksk+ψk(wk)+ψk∗(−sk)=0w_{k}s_{k}+\psi_{k}(w_{k})+\psi_{k}^{\ast}(-s_{k})=0, i.e., (wk,−sk)(w_{k},-s_{k}) is a Fenchel-dual pair for ψk\psi_{k}, and (b) f(w)=s⊤wf(w)=s^{\top}w.

For each k∈Vk\in V, there are two possibilities, sk=tks_{k}=t_{k} or sk<tks_{k}<t_{k}. The equality sk=tks_{k}=t_{k} occurs when the function sk↦−ψk∗(−sk)s_{k}\mapsto-\psi_{k}^{\ast}(-s_{k}) has positive derivative at tkt_{k}, i.e., (ψk∗)′(−tk)⩾0(\psi_{k}^{\ast})^{\prime}(-t_{k})\geqslant 0. Since vk=(ψk∗)′(−tk)v_{k}=(\psi_{k}^{\ast})^{\prime}(-t_{k}) by optimality for Eq. (8.6), this occurs when vk⩾0v_{k}\geqslant 0, and thus wk=skw_{k}=s_{k} and the pair (wk,−sk)(w_{k},-s_{k}) is Fenchel-dual. The inequality sk<tks_{k}<t_{k} occurs when (ψk∗)′(−tk)<0(\psi_{k}^{\ast})^{\prime}(-t_{k})<0, i.e., vk<0v_{k}<0. In this situation, by optimality of sks_{k}, (ψk∗)′(−sk)=0(\psi_{k}^{\ast})^{\prime}(-s_{k})=0, and thus the pair (wk,−sk)(w_{k},-s_{k}) is optimal. This shows that condition (a) is met.

For the second condition (b), notice that ss is obtained from tt by keeping the components of tt corresponding to strictly positive values of vv (let KK denote that subset), and lowering the ones for V\KV\backslash K. For α>0\alpha>0, the level sets {w⩾α}\{w\geqslant\alpha\} are equal to {v⩾α}⊆K\{v\geqslant\alpha\}\subseteq K. Thus, by Prop. 4.2, all of these are tight for tt (i.e., for these sets AA, t(A)=F(A)t(A)=F(A)) and hence for ss because these sets are included in KK, and sK=tKs_{K}=t_{K}. This shows, by Prop. 4.2, that s∈P(F)s\in P(F) is optimal for max⁡s∈P(F)w⊤s\max_{s\in P(F)}w^{\top}s.

Note that we can go from the solutions of separable problems on B(F)B(F) to the ones on P(F)P(F), but not vice-versa. Moreover, Prop. 8.7 involves primal-dual pairs (w,s)(w,s) and (v,t)(v,t), but that we can define ww from vv only, and define ss from tt only; thus, primal-only views and dual-only views are possible. This also applies to Prop. 8.9 and Prop. 8.8, which extends Prop. 8.7 to the symmetric and positive submodular polyhedra (we denote by a∘ba\circ b the pointwise product between two vectors of same dimension).

(Separable optimization on the positive submodular polyhedron) Assume FF is submodular and non-decreasing. With the same conditions than for Prop. 8.1, let (v,t)(v,t) be a primal-dual optimal pair for the problem

Let wkw_{k} be the minimizer of ψk(wk)\psi_{k}(w_{k}) on (−∞,(vk)+](-\infty,(v_{k})_{+}] and sks_{k} be the positive part of the maximizer of −ψk∗(−sk)-\psi_{k}^{\ast}(-s_{k}) on (−∞,tk](-\infty,t_{k}]. Then (w,s)(w,s) is a primal-dual optimal pair for the problem

Proof Let (a,u)(a,u) be the primal-dual pair obtained from Prop. 8.7, itself obtained from (v,t)(v,t). The pair (w,s)(w,s) is obtained from (a,u)(a,u), as sk=(uk)+s_{k}=(u_{k})_{+} and wkw_{k} be the minimizer of ψk(wk)\psi_{k}(w_{k}) on (−∞,ak](-\infty,a_{k}] for all k∈Vk\in V. We use a similar argument than in the proof of Prop. 8.7, to show that (a) the pair (wk,−sk)(w_{k},-s_{k}) is a Fenchel dual pair for ψk\psi_{k} and (b) s∈P+(F)s\in P_{+}(F) maximizes w⊤sw^{\top}s.

If uk⩾0u_{k}\geqslant 0, then we have sk=(uk)+=uks_{k}=(u_{k})_{+}=u_{k}, moreover this means that ψk′(ak)=−uk⩽0\psi_{k}^{\prime}(a_{k})=-u_{k}\leqslant 0 and thus wk=akw_{k}=a_{k} (as the minimizer defining wkw_{k} is attained on the boundary of the interval). This implies from Prop. 8.7 that (w,−s)=(a,−u)(w,-s)=(a,-u) is a Fenchel-dual pair. If uk<0u_{k}<0, then sk=(uk)+=0s_{k}=(u_{k})_{+}=0, moreover, since ψk′(ak)=−uk>0\psi_{k}^{\prime}(a_{k})=-u_{k}>0, then the optimization problem defining wkw_{k} has a solution away from the boundary, which implies that ψk′(wk)=0\psi^{\prime}_{k}(w_{k})=0, and thus the pair (w,−s)(w,-s) is optimal for ψk\psi_{k}. This implies condition (a).

Let w=ε∘(v+)w=\varepsilon\circ(v_{+}) and sks_{k} be εk\varepsilon_{k} times a maximizer of −ψk∗(−εksk)-\psi_{k}^{\ast}(-\varepsilon_{k}s_{k}) on (−∞,tk](-\infty,t_{k}]. Then (w,s)(w,s) is a primal-dual optimal pair for the problem

Proof Without loss of generality we may assume that ε⩾0\varepsilon\geqslant 0, by the change of variables wk→εkwkw_{k}\to\varepsilon_{k}w_{k}; note that since εk∈{−1,1}\varepsilon_{k}\in\{-1,1\}, the Fenchel conjugate of wk↦ψk(εkwk)w_{k}\mapsto\psi_{k}(\varepsilon_{k}w_{k}) is sk↦ψk∗(εksk)s_{k}\mapsto\psi_{k}^{\ast}(\varepsilon_{k}s_{k}).

Because ff is non-decreasing with respect to each of its component, the global minimizer of f(∣w∣)+∑k∈Vψk(wk)f(|w|)+\sum_{k\in V}\psi_{k}(w_{k}) must have non-negative components (indeed, if one them has a strictly negative component wkw_{k}, then with respect to the kk-th variable, around wkw_{k}, f(∣w∣)f(|w|) is non-increasing and ψk(wk)\psi_{k}(w_{k}) is strictly decreasing, which implies that ww cannot be optimal, which leads to a contradiction).

We may then apply Prop. 8.7 to wk↦ψk(εkwk)w_{k}\mapsto\psi_{k}(\varepsilon_{k}w_{k}), which has Fenchel conjugate sk↦ψk∗(εksk)s_{k}\mapsto\psi_{k}^{\ast}(\varepsilon_{k}s_{k}) (because εk2=1\varepsilon_{k}^{2}=1), to get the desired result.

Prop. 8.8 is particularly adapted to sparsity-inducing norms defined in §5.2, as it describes how to solve the proximal problem for the norm Ω∞(w)=f(∣w∣)\Omega_{\infty}(w)=f(|w|). For a quadratic function, i.e., ψk(wk)=12(wk−zk)2\psi_{k}(w_{k})=\frac{1}{2}(w_{k}-z_{k})^{2} and ψk∗(sk)=12sk2+skzk\psi_{k}^{\ast}(s_{k})=\frac{1}{2}s_{k}^{2}+s_{k}z_{k}. Then εk\varepsilon_{k} is the sign of zkz_{k}, and we thus have to minimize

which is the classical quadratic separable problem on the base polyhedron, and select w=ε∘v+w=\varepsilon\circ v_{+}. Thus, proximal operators for the norm Ω∞\Omega_{\infty} may be obtained from the proximal operator for the Lovász extension. See §9.4 for the proximal operator for the norms Ωq\Omega_{q}, q∈(1,+∞)q\in(1,+\infty).

Chapter 9 Separable Optimization Problems: Algorithms

The next two sets of algorithms are iterative methods for convex optimization on convex sets for which the support function can be computed, and are often referred to as “Frank-Wolfe” algorithms. This only assumes the availability of an efficient algorithm for maximizing linear functions on the base polyhedron (greedy algorithm from Prop. 3.2). The min-norm-point algorithm that we present in §9.2 is an active-set algorithm dedicated to quadratic functions and converges after finitely many operations (but with no complexity bounds), while the conditional gradient algorithms that we consider in §9.3 do not exhibit finite convergence but have known convergence rates. Finally, in §9.4. we consider extensions of proximal problems, normally line-search in the base polyhedron and the proximal problem for the norms Ωq\Omega_{q}, q∈(1,+∞)q\in(1,+\infty) defined in §5.4.

We now consider an algorithm for proximal problems, which is based on a sequence of submodular function minimizations. It is based on a divide-and-conquer strategy. We adapt the algorithm of and the algorithm presented here is the dual version of the one presented in [72, Sec. 8.2]. Also, as shown at the end of the section, it can be slightly modified for problems with non-decreasing submodular functions (otherwise, Prop. 8.8 and Prop. 8.9 may be used).

Minimize the submodular function F−tF-t, i.e., find a set A⊆VA\subseteq V that minimizes F(A)−t(A)F(A)-t(A).

If F(A)=t(A)F(A)=t(A), then tt is optimal. Exit.

Find a minimizer sAs_{A} of ∑j∈Aψj∗(−sj)\sum_{j\in A}\psi_{j}^{\ast}(-s_{j}) over ss in the base polyhedron associated to FAF_{A}, the restriction of FF to AA.

Find the unique minimizer sV\As_{V\backslash A} of ∑j∈V\Aψj∗(−sj)\sum_{j\in V\backslash A}\psi_{j}^{\ast}(-s_{j}) over ss in the base polyhedron associated to the contraction FAF^{A} of FF on A, defined as FA(B)=F(A∪B)−F(A)F^{A}(B)=F(A\cup B)-F(A), for B⊆V\AB\subseteq V\backslash A.

Concatenate sAs_{A} and sV\As_{V\backslash A}. Exit.

The algorithm must stop after at most pp iterations. Indeed, if F(A)≠t(A)F(A)\neq t(A) in step (3), then we must have A≠∅A\neq\varnothing and A≠VA\neq V since by construction t(V)=F(V)t(V)=F(V). Thus we actually split VV into two non-trivial parts AA and V\AV\backslash A. Step (1) is a separable optimization problem with one linear constraint. When ψj∗\psi^{\ast}_{j} is a quadratic polynomial, it may be obtained in closed form; more precisely, one may minimize 12∥t−z∥22\frac{1}{2}\|t-z\|_{2}^{2} subject to t(V)=F(V)t(V)=F(V) by taking t=F(V)p1V+z−1V1V⊤pzt=\frac{F(V)}{p}1_{V}+z-\frac{1_{V}1_{V}^{\top}}{p}z.

The algorithm may also be interpreted in the primal, i.e., for minimizing f(w)+∑j=1pψj(wj)f(w)+\sum_{j=1}^{p}\psi_{j}(w_{j}). The information given by AA simply allows to reduce the search space to all ww such that min⁡k∈Awk⩾min⁡k∈V\Awk\min_{k\in A}w_{k}\geqslant\min_{k\in V\backslash A}w_{k}, so that f(w)f(w) decouples into the sum of a Lovász extension of the restriction to AA and the one of the contraction to AA.

Let ss be the output of the recursive algorithm. If the algorithm stops at step (3), then we indeed have an optimal solution. Otherwise, we first show that s∈B(F)s\in B(F). We have for any B⊆VB\subseteq V:

Thus ss is indeed in the submodular polyhedron P(F)P(F). Moreover, we have s(V)=sA(A)+sV\A(V\A)=F(A)+F(V)−F(A)=F(V)s(V)=s_{A}(A)+s_{V\backslash A}(V\backslash A)=F(A)+F(V)-F(A)=F(V), i.e., ss is in the base polyhedron B(F)B(F).

Note finally that similar algorithms may be applied when we restrict ss to have integer values (see, e.g., ).

In this chapter, we have considered the minimization of separable functions on the base polyhedron B(F)B(F). In order to minimize over the submodular polyhedron P(F)P(F), we may use Prop. 8.7 that shows how to obtain the solution in P(F)P(F) from the solution on B(F)B(F). Similarly, for a non-decreasing submodular function, when minimizing with respect to the symmetric submodular polyhedron ∣P∣(F)|P|(F) or P+(F)P_{+}(F), we may use Prop. 8.8 or Prop. 8.9. Alternatively, we may use a slightly different algorithm that is dedicated to these situations. For P+(F)P_{+}(F), this is exactly the algorithm of .

In the divide-and-conquer algorithm described above, at every step, the problem in dimension pp is divided into two problems with dimensions p1p_{1} and p2p_{2} summing to pp. Unfortunately, in practice, the splitting may be rather unbalanced, and the total complexity of the algorithm may then be O(p)O(p) times the complexity of a single submodular function minimization (instead of O(log⁡p)O(\log p) for binary splits). Following the algorithm of which applies to cut problems, an algorithm is described in which reaches a ε\varepsilon-approximate solution by using a slightly different splitting strategy, with an overall complexity which is only log⁡(1/ε)\log(1/\varepsilon) times the complexity of a single submodular function minimization problem.

2 Iterative algorithms - Exact minimization

In this section, we focus on quadratic separable problems. Note that modifying the submodular function by adding a modular termIndeed, we have 12∥w−z∥22+f(w)=12∥w∥22+(f(w)−w⊤z)+12∥z∥2\frac{1}{2}\|w-z\|_{2}^{2}+f(w)=\frac{1}{2}\|w\|_{2}^{2}+(f(w)-w^{\top}z)+\frac{1}{2}\|z\|^{2}, which corresponds (up to the irrelevant constant term 12∥z∥22\frac{1}{2}\|z\|_{2}^{2}) to the proximal problem for the Lovász extension of A↦F(A)−z(A)A\mapsto F(A)-z(A)., we can consider ψk=12wk2\psi_{k}=\frac{1}{2}w_{k}^{2}. As shown in Prop. 8.1, minimizing f(w)+12∥w∥22f(w)+\frac{1}{2}\|w\|_{2}^{2} is equivalent to minimizing 12∥s∥22\frac{1}{2}\|s\|_{2}^{2} such that s∈B(F)s\in B(F).

In our situation, the vectors xix_{i} will be the extreme points of B(F)B(F), i.e., outputs of the greedy algorithm, but they will always be used implicitly through the maximization of linear functions over B(F)B(F). We will apply the primal active set strategy outlined in Section 16.4 of and in §7.11, which is exactly the algorithm of . The active set strategy hinges on the fact that if the set of indices j∈Jj\in J for which ηj>0\eta_{j}>0 is known, the solution ηJ\eta_{J} may be obtained in closed form by computing the affine projection on the set of points indexed by II (which can be implemented by solving a positive definite linear system, see step 2 in the algorithm below). Two cases occur: (a) If the affine projection happens to have non-negative components, i.e., ηJ⩾0\eta_{J}\geqslant 0 (step (3)), then we obtain in fact the projection onto the convex hull of the points indexed by JJ, and we simply need to check optimality conditions and make sure that no other point needs to enter the hull (step 5), and potentially add it to go back to step (2). (b) If the projection is not in the convex hull, then we make a move towards this point until we exit the convex hull (step (4)) and start again at step (2). We describe in Figure 9.1 an example of several iterations.

Projection onto affine hull: Compute ζJ\zeta_{J} the unique minimizer \frac{1}{2}\big{\|}\sum_{j\in J}\eta_{j}x_{j}\big{\|}_{2}^{2} such that 1J⊤ηJ=11_{J}^{\top}\eta_{J}=1, i.e., the orthogonal projection of onto the affine hull of the points (xi)i∈J(x_{i})_{i\in J}.

Test membership in convex hull: If ζJ⩾0\zeta_{J}\geqslant 0 (we in fact have an element of the convex hull), go to step (5).

Line search: Let α∈[0,1)\alpha\in[0,1) be the largest α\alpha such that ηJ+α(ζJ−ηJ)⩾0\eta_{J}+\alpha(\zeta_{J}-\eta_{J})\geqslant 0. Let KK the sets of jj such that ηj+α(ζj−ηj)=0\eta_{j}+\alpha(\zeta_{j}-\eta_{j})=0. Replace JJ by J\KJ\backslash K and η\eta by η+α(ζ−η)\eta+\alpha(\zeta-\eta), and go to step (2).

Check optimality: Let y=∑j∈Jηjxjy=\sum_{j\in J}\eta_{j}x_{j}. Compute a minimizer ii of y⊤xiy^{\top}x_{i}. If y⊤xi=y⊤ηy^{\top}x_{i}=y^{\top}\eta, then η\eta is optimal. Otherwise, replace JJ by J∪{i}J\cup\{i\}, and go to step (2).

The previous algorithm terminates in a finite number of iterations because it strictly decreases the quadratic cost function at each iteration; however, there is no known bounds regarding the number of iterations (see more details in ). Note that in pratice, the algorithm is stopped after either (a) a certain duality gap has been achieved—given the candidate η\eta, the duality gap for η\eta is equal to ∥xˉ∥22+max⁡i∈{1,…,m}xˉi\|\bar{x}\|_{2}^{2}+\max_{i\in\{1,\dots,m\}}\bar{x}_{i}, where xˉ=∑i=1mηixi\bar{x}=\sum_{i=1}^{m}\eta_{i}x_{i} (in the context of application to orthogonal projection on B(F)B(F), following §8.3, one may get an improved duality gap by solving an isotonic regression problem); or (b), the affine projection cannot be performed reliably because of bad condition number (for more details regarding stopping criteria, see ).

𝐹P_{+}(F). When projecting onto the symmetric submodular polyhedron, one may either use the algorithm defined above which projects onto B(F)B(F) and use Prop. 8.9. It is also possible to apply the min-norm-point algorithm directly to this problem, since we can also maximize linear functions on ∣P∣(F)|P|(F) or P+(F)P_{+}(F) efficiently, by the greedy algorithm presented in Prop. 3.5. In our experiments in §12.3, we show that the number of iterations required for the minimum-norm-point algorithm applied directly to ∣P∣(F)|P|(F) is lower; however, in practice, warm restart strategies, that start the min-norm-point algorithm from a set of already computed extreme points, are not as effective.

3 Iterative algorithms - Approximate minimization

In this section, we describe an algorithm strongly related to the minimum-norm point algorithm presented in §9.2. As shown in §7.6, this “conditional gradient” algorithm is dedicated to minimization of any convex smooth functions on the base polyhedron. Following the same argument than for the proof of Prop. 8.1, this is equivalent to the minimization of any strictly convex separable function regularized by the Lovász extension. As opposed to the mininum-norm point algorithm, it is not convergent in finitely many iterations; however, as explained in §7.6, it comes with approximation guarantees.

There are several strategies for computing ρt−1\rho_{t-1}. The first is to take ρt−1=2/(t+1)\rho_{t-1}=2/(t+1) , while the second one is to perform a line search on the quadratic upper-bound on gg obtained from the LL-Lipschitz continuity of gg (see §7.6 for details). They both exhibit the same upper bound on the sub-optimality of the iterate sts_{t}, together with g′(wt)g^{\prime}(w_{t}) playing the role of a certificate of optimality. More precisely, the base polyhedron is included in the hyper-rectangle ∏k∈V[F(V)−F(V\{k}),F({k})]\prod_{k\in V}[F(V)-F(V\backslash\{k\}),F(\{k\})] (as a consequence of the greedy algorithm applied to 1{k}1_{\{k\}} and −1{k}-1_{\{k\}}). We denote by αk\alpha_{k} the length of the interval for variable kk, i.e., αk=F({k})+F(V\{k})−F(V)\alpha_{k}=F(\{k\})+F(V\backslash\{k\})-F(V). Using results from §7.6, we have for the two methods:

and the computable quantity max⁡s∈B(F)g′(st)⊤(s−st)\max_{s\in B(F)}g^{\prime}(s_{t})^{\top}(s-s_{t}) provides a certificate of optimality, that is, we always have that g(st)−min⁡s∈B(F)g(s)⩽max⁡s∈B(F)g′(st)⊤(s−st)g(s_{t})-\min_{s\in B(F)}g(s)\leqslant\max_{s\in B(F)}g^{\prime}(s_{t})^{\top}(s-s_{t}), and the latter quantity has (up to constants) the same convergence rate. Note that while this certificate comes with an offline approximation guarantee, it can be significantly improved, following §8.3, by solving an appropriate isotonic regression problem (see simulations in Chapter 12).

In Figure 9.2, we consider the conditional gradient algorithm (with line search) for the quadratic problem considered in §9.2. These two algorithms are very similar as they both consider a sequence of extreme points of B(F)B(F) obtained from the greedy algorithm, but they differ in the following way: the min-norm-point algorithm is finitely convergent but with no convergence rate, while the conditional gradient algorithm is not finitely convergent, but with a convergence rate. Moreover, the cost per iteration for the min-norm-point algorithm is much higher as it requires linear system inversions. In context where the function FF is cheap to evaluate, this may become a computational bottleneck; however, in our simulations in Chapter 12, we have focused on situations where the bottleneck is evaluation of functions (i.e., we compare algorithms using number of function calls or number of applications of the greedy algorithm).

4 Extensions

In this section, we consider extensions of the algorithms presented above, with application to the computation of dual norms and proximal operators for the norms Ωq\Omega_{q} presented in §5.4. These are key to providing either efficient algorithms or efficient ways of providing approximate optimality certificates (see more details in ).

The number of iterations is typically much smaller than 2p2^{p} (see sufficient conditions in ). Moreover, if all components of tt are strictly positive, then the number of iterations is in fact less than pp. In this situation, α=max⁡A⊆Vt(A)G(A)\alpha=\max_{A\subseteq V}\frac{t(A)}{G(A)} and thus the line search problem allows computation of the dual norms defined in Chapter 5, as already done by for the special case of the flow-based norms described in §6.4. We now present a certain proximal problem which provides interesting new insights into the algorithm above.

Initialization: β=G(V)/t(V)\beta=G(V)/t(V), and B=VB=V.

Perform the following iterations until termination (which must happens after at most pp iterations): let AA be any minimizer of G(A)−βt(A)G(A)-\beta t(A) on BB. If G(A)−βt(A)=0G(A)-\beta t(A)=0, then output α=β\alpha=\beta and stop. Otherwise, Let β=G(A)/t(A)\beta=G(A)/t(A) and B=AB=A.

While we have shown the validity of the previous algorithm for tt having strictly positive components, the same result also holds for tt having potentially zero values (because it corresponds to a reduced problem with strictly positive values, defined on a restriction of FF). Moreover, it turns out that the divide-and-conquer algorithm of §9.1 applied to the minimization of f(w)+12∑k∈Vtkwk2f(w)+\frac{1}{2}\sum_{k\in V}t_{k}w_{k}^{2}, i.e., the maximization of −12∑k∈Vsk2tk-\frac{1}{2}\sum_{k\in V}\frac{s_{k}^{2}}{t_{k}} over t∈B(F)t\in B(F), can be shown to lead to the exact same algorithm.

over the positive submodular polyhedron P+(F)P_{+}(F). We can apply the divide-and-conquer algorithm (note that we have only shown its optimality for smooth functions, but it holds more generally, and in particular here). The only different element is the minimization of the previous cost function subject to u⩾0u\geqslant 0 and ∑k∈Vuk⩽F(V)\sum_{k\in V}u_{k}\leqslant F(V). This can be obtained in closed form as uk=∣zk∣2min⁡{1,F(V)/∥z∥22}u_{k}=|z_{k}|^{2}\min\{1,F(V)/\|z\|_{2}^{2}\}. The divide-and-conquer algorithm may also be used to compute the norm Ω2(w)\Omega_{2}(w), by maximizing ∑k∈V∣zk∣uk1/2\sum_{k\in V}|z_{k}|u_{k}^{1/2} over u∈P+(F)u\in P_{+}(F), the first step now becoming uk=∣zk∣2F(V)/∥z∥22u_{k}=|z_{k}|^{2}F(V)/\|z\|_{2}^{2}. See additional details in .

In all the extensions that were presented in this section, faster dedicated algorithms exist for special cases, namely for cardinality-based functions and cuts in chain graphs .

Chapter 10 Submodular Function Minimization

Several generic algorithms may be used for the minimization of a submodular function. In this chapter, we present algorithms that are all based on a sequence of evaluations of F(A)F(A) for certain subsets A⊆VA\subseteq V. For specific functions, such as the ones defined from cuts or matroids, faster algorithms exist (see, e.g., , §6.2 and §6.8). For other special cases, such as functions obtained as the sum of simple functions, faster algorithms also exist and are reviewed in §10.9.

Submodular function minimization algorithms may be divided in two main categories: exact algorithms aim at obtaining a global minimizer, while approximate algorithms only aim at obtaining an approximate solution, that is, a set AA such that F(A)−min⁡B⊆VF(B)⩽εF(A)-\min_{B\subseteq V}F(B)\leqslant\varepsilon, where ε\varepsilon is as small as possible. Note that if ε\varepsilon is less than the minimal absolute difference δ\delta between non-equal values of FF, then this leads to an exact solution, but that in many cases, this difference δ\delta may be arbitrarily small.

An important practical aspect of submodular function minimization is that most algorithms come with online approximation guarantees; indeed, because of a duality relationship detailed in §10.1, in a very similar way to convex optimization, a base s∈B(F)s\in B(F) may serve as a certificate for optimality. Note that many algorithms (the simplex algorithm is notably not one of them) come with offline approximation guarantees.

In §10.2, we review “combinatorial algorithms” for submodular function minimization that come with complexity bounds and are not explicitly based on convex optimization. Those are however not used in practice in particular due to their high theoretical complexity (i.e., O(p5)O(p^{5})), except for the particular class of posimodular functions, where algorithms scale as O(p3)O(p^{3}) (see §10.3). In §10.4, we show how the ellipsoid algorithm may be applied with a well-defined complexity bounds. While this provided the first polynomial-time algorithms for the submodular function minimization problem, it is too slow in practice.

In §10.5, we show how a certain “column-generating” version of the simplex algorithm may be considered for this problem, while in §10.6, the analytic center cutting-plane method center is considered. We show in particular that these methods are closely related to Kelley’s method from §7.4, which sequentially optimizes piecewise affine lower-bounds to the Lovász extension.

In §10.7 a formulation based on quadratic separable problem on the base polyhedron, but using the minimum-norm-point algorithm described in §9.2. These last two algorithms come with no complexity bounds.

All the algorithms mentioned above have the potential to find the global minimum of the submodular function if enough iterations are used. They come however with a cost of typically O(p3)O(p^{3}) per iteration. The following algorithms have O(p)O(p) cost per iteration, but have slow convergence rate, that makes them useful to obtain quickly approximate results (this is confirmed in simulations in §12.1): in §10.8, we describe optimization algorithms based on separable optimization problems regularized by the Lovász extension. Using directly the equivalence presented in Prop. 3.7, we can minimize the Lovász extension ff on the hypercube p^{p} using subgradient descent with approximate optimality for submodular function minimization of O(1/t)O(1/\sqrt{t}) after tt iterations. Using quadratic separable problems, we can use the algorithms of §9.3 to obtain new submodular function minimization algorithms with convergence of the convex optimization problem at rate O(1/t)O(1/t), which translates through the analysis of Chapter 8 to the same convergence rate of O(1/t)O(1/\sqrt{t}) for submodular function minimization, although with improved behavior and better empirical performance (see §10.8 and §12.1).

Most algorithms presented in this chapter are generic, i.e., they apply to any submodular functions and only access them through the greedy algorithm; in §10.9, we consider submodular function minimization problems with additional structure, that may lead to more efficient algorithms.

Note that maximizing submodular functions is a hard combinatorial problem in general, with many applications and many recent developments with approximation guarantees. For example, when maximizing a non-decreasing submodular function under a cardinality constraint, the simple greedy method allows to obtain a (1−1/e)(1-1/e)-approximation while recent local search methods lead to 1/21/2-approximation guarantees (see more details in Chapter 11).

In this section, we review some relevant results for submodular function minimization (for which algorithms are presented in next sections).

(Lattice of minimizers of submodular functions) Let FF be a submodular function such that F(∅)=0F(\varnothing)=0. The set of minimizers of FF is a lattice, i.e., if AA and BB are minimizers, so are A∪BA\cup B and A∩BA\cap B.

Proof Given minimizers AA and BB of FF, then, by submodularity, we have 2min⁡C⊆VF(C)⩽F(A∪B)+F(A∩B)⩽F(A)+F(B)=2min⁡C⊆VF(C)2\min_{C\subseteq V}F(C)\leqslant F(A\cup B)+F(A\cap B)\leqslant F(A)+F(B)=2\min_{C\subseteq V}F(C), hence equality in the first inequality, which leads to the desired result.

The following proposition shows that some form of local optimality implies global optimality.

Proof The set of two conditions is clearly necessary. To show that it is sufficient, we let B⊆VB\subseteq V, we have: F(A)+F(B)⩾F(A∪B)+F(A∩B)⩾F(A)+F(A)F(A)+F(B)\geqslant F(A\cup B)+F(A\cap B)\geqslant F(A)+F(A), by using the submodularity of FF and then the set of two conditions. This implies that F(A)⩽F(B)F(A)\leqslant F(B), for all B⊆VB\subseteq V, hence the desired result.

The following proposition provides a useful step towards submodular function minimization. In fact, it is the starting point of most polynomial-time algorithms presented in §10.2. Note that submodular function minimization may also be obtained from minimizing ∥s∥22\|s\|_{2}^{2} over ss in the base polyhedron (see Chapter 8 and §8.3).

(Dual of minimization of submodular functions) Let FF be a submodular function such that F(∅)=0F(\varnothing)=0. We have:

where (s−)k=min⁡{sk,0}(s_{-})_{k}=\min\{s_{k},0\} for k∈Vk\in V. Moreover, given A⊆VA\subseteq V and s∈B(F)s\in B(F), we always have F(A)⩾s−(V)F(A)\geqslant s_{-}(V) with equality if and only if {s<0}⊆A⊆{s⩽0}\{s<0\}\subseteq A\subseteq\{s\leqslant 0\} and AA is tight for ss, i.e., s(A)=F(A)s(A)=F(A).

Moreover, given A⊆VA\subseteq V and s∈P(F)s\in P(F) such that s⩽0s\leqslant 0, we always have F(A)⩾s(V)F(A)\geqslant s(V) with equality if and only if {s<0}⊆A\{s<0\}\subseteq A and AA is tight for ss, i.e., s(A)=F(A)s(A)=F(A).

Proof We have, by strong convex duality, and Props. 3.7 and 4.1:

Strong duality indeed holds because of Slater’s condition (p^{p} has non-empty interior). Since s(V)=F(V)s(V)=F(V) for all s∈B(F)s\in B(F), we have s−(V)=F(V)−∥s∥1s_{-}(V)=F(V)-\|s\|_{1}, hence the second equality.

Moreover, we have, for all A⊆VA\subseteq V and s∈B(F)s\in B(F):

with equality if there is equality in the three inequalities. The first one leads to s(A)=F(A)s(A)=F(A). The second one leads to A∩{s>0}=∅A\cap\{s>0\}=\varnothing, and the last one leads to {s<0}⊆A\{s<0\}\subseteq A. Moreover,

Finally, given s∈P(F)s\in P(F) such that s⩽0s\leqslant 0 and A⊆VA\subseteq V, we have:

with equality if and only if AA is tight and {s<0}⊆A\{s<0\}\subseteq A.

2 Combinatorial algorithms

Most algorithms are based on Prop. 10.3, i.e., on the identity min⁡A⊆VF(A)=max⁡s∈B(F)s−(V)\min_{A\subseteq V}F(A)=\max_{s\in B(F)}s_{-}(V). Combinatorial algorithms will usually output the subset AA and a base s∈B(F)s\in B(F) such that AA is tight for ss and {s<0}⊆A⊆{s⩽0}\{s<0\}\subseteq A\subseteq\{s\leqslant 0\}, as a certificate of optimality.

Most algorithms, will also output the largest minimizer AA of FF, or sometimes describe the entire lattice of minimizers. Best algorithms have polynomial complexity , but still have high complexity (typically O(p5)O(p^{5}) or more). Most algorithms update a sequence of convex combination of vertices of B(F)B(F) obtained from the greedy algorithm using a specific order (see a survey of existing approaches in ). Recent algorithms consider reformulations in terms of generalized graph cuts, which can be approximately solved efficiently.

Note here the difference between the combinatorial algorithm which maximizes s−(V)s_{-}(V) and the ones based on the minimum-norm point algorithm which maximizes −12∥s∥22-\frac{1}{2}\|s\|_{2}^{2} over the base polyhedron B(F)B(F). In both cases, the submodular function minimizer AA is obtained by taking the negative values of ss. In fact, the unique minimizer of 12∥s∥22\frac{1}{2}\|s\|_{2}^{2} is also a maximizer of s−(V)s_{-}(V), but not vice-versa.

3 Minimizing symmetric posimodular functions

A submodular function FF is said symmetric if for all B⊆VB\subseteq V, F(V\B)=F(B)F(V\backslash B)=F(B). By applying submodularity, we get that 2F(B)=F(V\B)+F(B)⩾F(V)+F(∅)=2F(∅)=02F(B)=F(V\backslash B)+F(B)\geqslant F(V)+F(\varnothing)=2F(\varnothing)=0, which implies that FF is non-negative. Hence its global minimum is attained at VV and ∅\varnothing. Undirected cuts (see §6.2) are the main classical examples of such functions.

Such functions can be minimized in time O(p3)O(p^{3}) over all non-trivial (i.e., different from ∅\varnothing and VV) subsets of VV through a simple algorithm of Queyranne . Moreover, the algorithm is valid for the regular minimization of posimodular functions , i.e., of functions that satisfies

These include symmetric submodular functions as well as non-decreasing modular functions, and hence the sum of any of those (in particular, cuts with sinks and sources, as presented in §6.2). Note however that this does not include general modular functions (i.e., with potentially negative values); worse, minimization of functions of the form F(A)−z(A)F(A)-z(A) is provably as hard as general submodular function minimization . Therefore this O(p3)O(p^{3}) algorithm is quite specific and may not be used for solving proximal problems with symmetric functions.

4 Ellipsoid method

Following , we may apply the ellipsoid method described in §7.3 to the problem min⁡w∈pf(w)\min_{w\in^{p}}f(w). The minimum volume ellipsoid E0\mathcal{E}_{0} that contains p^{p} is the ball of center 1V/21_{V}/2 and radius p/2\sqrt{p}/2. Starting from this ellipsoid, the complexity bound from §7.3 leads to, after tt iterations

This implies that in order to reach a precision of \varepsilon\big{[}\max_{A\subseteq V}F(A)-\min_{A\subseteq V}F(A)\big{]}, at most 2p2log⁡(1/ε)2p^{2}\log(1/\varepsilon) iterations are needed. Given that every iteration has complexity O(p3)O(p^{3}), we obtain an algorithm with complexity O(p5log⁡(1/ε))O(p^{5}\log(1/\varepsilon)), with similar complexity than the currently best-known combinatorial algorithms from §10.2. Note here the difference between weakly polynomial algorithms such as the ellipsoid with a polynomial dependence on log⁡(1/ε)\log(1/\varepsilon), and strongly polynomial algorithms which have a bounded complexity when ε\varepsilon tends to zero.

5 Simplex method for submodular function minimization

It is thus exactly a linear program in standard form (as considered in §7.10) with:

This linear program have many variables and a certain version of simplex method may be seen as a column decomposition approach , as we now describe.

A basic feasible solution is defined by a subset JJ of {1,…,2p+d}\{1,\dots,2p+d\}, which can be decomposed into a subset I⊆{1,…,d}I\subseteq\{1,\dots,d\} and two disjoint subsets IαI_{\alpha} and IβI_{\beta} of {1,…,p}\{1,\dots,p\} (they have to be disjoint so that the corresponding columns of AA are linearly independent). We denote by K=(Iβ∪Iα)c⊂{1,…,p}K=(I_{\beta}\cup I_{\alpha})^{\mathsf{c}}\subset\{1,\dots,p\}. Since ∣I∣+∣Iα∣+∣Iβ∣=p+1|I|+|I_{\alpha}|+|I_{\beta}|=p+1, then ∣I∣=∣K∣+1|I|=|K|+1.

In order to compute the basic feasible solution (i.e., xJ=−AJ−1bx_{J}=-A_{J}^{-1}b), we denote by TT the ∣I∣×∣I∣|I|\times|I| square matrix T=\bigg{(}\begin{array}[]{c}1_{|I|}^{\top}\\ S_{IK}^{\top}\end{array}\bigg{)}. The basic feasible solution xx corresponds to ηI\eta_{I} defined as ηI=T−1(1,0∣I∣−1⊤)⊤\eta_{I}=T^{-1}(1,0_{|I|-1}^{\top})^{\top}, i.e., such that ηI⊤1∣I∣=1\eta_{I}^{\top}1_{|I|}=1 and SIK⊤ηI=0S_{IK}^{\top}\eta_{I}=0 (as many equations as unknowns). Then, αIα=SIIα⊤ηI\alpha_{I_{\alpha}}=S_{II_{\alpha}}^{\top}\eta_{I}, βIβ=−SIIβ⊤ηI\beta_{I_{\beta}}=-S_{II_{\beta}}^{\top}\eta_{I}. All of these have to be non-negative, while all others are set to zero.

If cˉ⩾0\bar{c}\geqslant 0, we recover optimality conditions for the original problem. There are several possibilities for lack of optimality. Indeed, we need to check which elements of J\sccJ^{\sc c} is violating the constraint. It could be j∈I\sccj\in I^{\sc c} such that sj⊤w⩾vs_{j}^{\top}w\geqslant v, or j∈{1,…,p}j\in\{1,\dots,p\} such that wj∉w_{j}\notin. In our algorithm, we may choose which violated constraints to treat first. We will always check first w∈pw\in^{p} (since it does not require to run the greedy algorithm), then, in cases where we indeed have w∈pw\in^{p}, we run the greedy algorithm to obtain j∈I\sccj\in I^{\sc c} such that sj⊤w⩾vs_{j}^{\top}w\geqslant v. We thus consider the following situations:

If there exists i∈Ki\in K such that wi<0w_{i}<0. The descent direction dJ=−AJ−1Ajd_{J}=-A_{J}^{-1}A_{j} is thus equal to \Bigg{(}\begin{array}[]{c}-T^{-1}(0,\delta_{i}^{\top})^{\top}\\ -S_{II_{\alpha}}^{\top}T^{-1}(0,\delta_{i}^{\top})^{\top}\\ +S_{II_{\beta}}^{\top}T^{-1}(0,\delta_{i}^{\top})^{\top}\end{array}\Bigg{)}, and by keeping only the negative component, we find the largest uu such that (x+ud)J(x+ud)_{J} hits a zero, and remove the corresponding index.

Similarly, if there exists i∈Ki\in K such that wi>1w_{i}>1, we have the same situation.

If there exists jj such that (v1−Sw)j<0(v1-Sw)_{j}<0, the descent direction is \Bigg{(}\begin{array}[]{c}-T^{-1}(1,(s_{j})_{K})^{\top}\\ -S_{II_{\alpha}}^{\top}T^{-1}(1,(s_{j})_{K})^{\top}\\ +S_{II_{\beta}}^{\top}T^{-1}(1,(s_{j})_{K})^{\top}\end{array}\Bigg{)}, then we add a new index to II and remove one from IαI_{\alpha} or IβI_{\beta}. Note that if we assume w∈pw\in^{p}, then we have an optimal solution of the problem constrained to vectors sjs_{j} for j∈Ij\in I.

Using the proper linear algebra tools common in simplex methods , each iteration has complexity O(p2)O(p^{2}).

In summary, if we consider a pivot selection strategy such that we always consider first the violation of the constraints w⩾0w\geqslant 0 and w⩽1w\leqslant 1, then, every time these two constraints are satisfied, ww is a global minimum of max⁡i∈Isi⊤w\max_{i\in I}s_{i}^{\top}w over w∈pw\in^{p}, that is a piecewise affine lower-bound obtained from subgradients of the Lovász extension are certain points. Thus, we are actually “almost” using Kelley’s method described in §7.7 (almost, because, like for active-set methods for quadratic programming in §7.12, extreme points sjs_{j} may come in and out of the set II). Moreover, the global minimum ww mentioned above is not unique, and the simplex method selects an extreme point of the polytope of solutions. This is to be contrasted with the next section, where interior-point will be considered, leading to much improved performance in our experiments.

6 Analytic center cutting planes

In this section, we consider the application of the method presented in §7.5 to the problem min⁡w∈pf(w)\min_{w\in^{p}}f(w). Given the set of already observed points w0,…,wt−1w_{0},\dots,w_{t-1} (and the corresponding outcomes of the greedy algorithm at these points s0,…,st−1s_{0},\dots,s_{t-1}), and the best function values Ft−1F_{t-1} for FF obtained so far, then the next point is obtained by finding a weighted analytic center, i.e., by minimizing

Using strong convex duality, this is equivalent to

with φ(x)=min⁡w∈wx−12log⁡w(1−w)=x2+1−1+x22+12log⁡1+1+x22\varphi(x)=\min_{w\in}wx-\frac{1}{2}\log w(1-w)=\frac{x}{2}+\frac{1-\sqrt{1+x^{2}}}{2}+\frac{1}{2}\log\frac{1+\sqrt{1+x^{2}}}{2}. The minimization may be done using Newton’s method , since a feasible start is easy to find from previous iterations.

The generic cutting-plane method considers α=1\alpha=1. When α\alpha tends to infinity, then every analytic center subproblem is equivalent to minimizing max⁡j∈{0,…,t−1}sj⊤w\max_{j\in\{0,\dots,t-1\}}s_{j}^{\top}w such that w∈pw\in^{p} and selecting among all minimizers the analytic center of the polytope of solutions. Thus, we obtain an instance of Kelley’s method. The selection of an interior-point leads in practice to a choice of the next subgradient sts_{t} which is much better than with an extreme point (which the simplex method described above would give).

7 Minimum-norm point algorithm

From Eq. (8.4) or Prop. 8.4, we obtain that if we know how to minimize f(w)+12∥w∥22f(w)+\frac{1}{2}\|w\|_{2}^{2}, or equivalently, minimize 12∥s∥22\frac{1}{2}\|s\|_{2}^{2} such that s∈B(F)s\in B(F), then we get all minimizers of FF from the negative components of ss.

We can then apply the minimum-norm point algorithm detailed in §9.2 to the vertices of B(F)B(F), and notice that step (5) does not require to list all extreme points, but simply to maximize (or minimize) a linear function, which we can do owing to the greedy algorithm. The complexity of each step of the algorithm is essentially O(p)O(p) function evaluations and operations of order O(p3)O(p^{3}). However, there are no known upper bounds on the number of iterations. Finally, we obtain s∈B(F)s\in B(F) as a convex combination of extreme points.

Note that once we know which values of the optimal vector ss (or ww) should be equal, greater or smaller, then, we obtain in closed form all values. Indeed, let v1>v2>⋯>vmv_{1}>v_{2}>\cdots>v_{m} the mm different values taken by ww, and AiA_{i} the corresponding sets such that wk=vjw_{k}=v_{j} for k∈Ajk\in A_{j}. Since we can express f(w)+\frac{1}{2}\|w\|_{2}^{2}=\sum_{j=1}^{m}\big{\{}v_{j}[F(A_{1}\cup\cdots\cup A_{j})-F(A_{1}\cup\cdots\cup A_{j-1})]+\frac{|A_{j}|}{2}c_{j}^{2}\big{\}}, we then have:

which allows to compute the values vjv_{j} knowing only the sets AjA_{j} (i.e., the ordered partition of constant sets of the solution). This shows in particular that minimizing f(w)+12∥w∥22f(w)+\frac{1}{2}\|w\|_{2}^{2} may be seen as a certain search problem over ordered partitions.

8 Approximate minimization through convex optimization

In this section, we consider two approaches to submodular function minimization based on iterative algorithms for convex optimization: a direct approach, which is based on minimizing the Lovász extension directly on p^{p} (and thus using Prop. 3.7), and an indirect approach, which is based on quadratic separable optimization problems (and thus using Prop. 8.6). All these algorithms will access the submodular function through the greedy algorithm, once per iteration, with minor operations inbetween.

Given a submodular function FF, if F({k})<0F(\{k\})<0, then kk must be in any minimizer of FF, since, because of submodularity, if it is not, then adding it would reduce the value of FF. Similarly, if F(V)−F(V\{k})>0F(V)-F(V\backslash\{k\})>0, then kk must be in the complement of any minimizer of FF. Thus, if we denote Amin⁡A_{\min} the set of k∈Vk\in V such that F({k})<0F(\{k\})<0 and Amax⁡A_{\max} the complement of the set of k∈Vk\in V such that F(V)−F(V\{k})>0F(V)-F(V\backslash\{k\})>0, then we may restrict the minimization of FF to subset AA such that Amin⁡⊆A⊆Amax⁡A_{\min}\subseteq A\subseteq A_{\max}. This is equivalent to minimizing the submodular function A↦F(A∪Amin⁡)−F(Amin⁡)A\mapsto F(A\cup A_{\min})-F(A_{\min}) on Amax⁡\Amin⁡A_{\max}\backslash A_{\min}.

From now on, (mostly for the convergence rate described below) we assume that we have done this restriction and that we are now minimizing a function FF so that for all k∈Vk\in V, F({k})⩾0F(\{k\})\geqslant 0 and F(V)−F(V\{k})⩽0F(V)-F(V\backslash\{k\})\leqslant 0. We denote by αk=F({k})+F(V\{k})−F(V)\alpha_{k}=F(\{k\})+F(V\backslash\{k\})-F(V), which is non-negative by submodularity. Note that in practice, this restriction can be seamlessly done by starting regular iterative methods from specific starting points.

From Prop. 3.7, we can use any convex optimization algorithm to minimize f(w)f(w) on w∈pw\in^{p}. Following , we consider subgradient descent with step-size γt=D2pt\gamma_{t}=\frac{D\sqrt{2}}{\sqrt{pt}} (where D2=∑k∈Vαk2D^{2}=\sum_{k\in V}\alpha_{k}^{2}), i.e., (a) starting from any w0∈pw_{0}\in^{p}, we iterate (a) the computation of a maximiser st−1s_{t-1} of wt−1⊤sw_{t-1}^{\top}s over s∈B(F)s\in B(F), and (b) the update w_{t}=\Pi_{^{p}}\big{[}w_{t-1}-\frac{D\sqrt{2}}{\sqrt{pt}}s_{t-1}\big{]}, where Πp\Pi_{^{p}} is the orthogonal projection onto the set p^{p} (which may done by thresholding the components independently).

The following proposition shows that in order to obtain a certified ε\varepsilon-approximate set BB, we need at most 4pD2ε2\frac{4pD^{2}}{\varepsilon^{2}} iterations of subgradient descent (whose complexity is that of the greedy algorithm to find a base s∈B(F)s\in B(F)).

(Submodular function minimization by subgradient descent) After tt steps of projected subgradient descent, among the pp sup-level sets of wtw_{t}, there is a set BB such that F(B)−min⁡A⊆VF(A)⩽Dp1/22tF(B)-\min_{A\subseteq V}F(A)\leqslant\frac{Dp^{1/2}}{\sqrt{2t}}. Moreover, we have a certificate of optimality sˉt=1t+1∑u=0tsu\bar{s}_{t}=\frac{1}{t+1}\sum_{u=0}^{t}s_{u}, so that F(B)−(sˉt)−(V)⩽Dp1/22tF(B)-(\bar{s}_{t})_{-}(V)\leqslant\frac{Dp^{1/2}}{\sqrt{2t}}, with D2=∑k=1pαk2D^{2}=\sum_{k=1}^{p}\alpha_{k}^{2}.

Proof Given an approximate solution ww so that 0⩽f(w)−f∗⩽ε0\leqslant f(w)-f^{\ast}\leqslant\varepsilon, with f∗=min⁡A⊆VF(A)=min⁡w∈pf(w)f^{\ast}=\min_{A\subseteq V}F(A)=\min_{w\in^{p}}f(w), we can sort the elements of ww in decreasing order, i.e., 1⩾wj1⩾⋯⩾wjp⩾01\geqslant w_{j_{1}}\geqslant\cdots\geqslant w_{j_{p}}\geqslant 0. We then have, with Bk={j1,…,jk}B_{k}=\{j_{1},\dots,j_{k}\},

Thus, as the sum of positive numbers, there must be at least one BkB_{k} such that F(Bk)−f∗⩽εF(B_{k})-f^{\ast}\leqslant\varepsilon. Therefore, given ww such that 0⩽f(w)−f∗⩽ε0\leqslant f(w)-f^{\ast}\leqslant\varepsilon, there is at least on the sup-level set of ww which has values for FF which is ε\varepsilon-approximate.

Finally, if we replace the subgradient iteration by w_{t}=\Pi_{^{p}}\big{[}w_{t-1}-\mathop{\rm Diag}(\alpha)^{-1}\frac{\sqrt{2}}{\sqrt{t}}s_{t-1}\big{]}, then this corresponds to a subgradient descent algorithm on the function w↦f(Diag(α)−1/2w)w\mapsto f(\mathop{\rm Diag}(\alpha)^{-1/2}w) on the set ∏k∈V[0,αk1/2]\prod_{k\in V}[0,\alpha_{k}^{1/2}], for which the diameter of the domain and the Lipschitz constant are equal to \big{(}\sum_{k\in V}\alpha_{k}\big{)}^{1/2}. We would obtain the improved convergence rate of ∑k∈Vαk2t\frac{\sum_{k\in V}\alpha_{k}}{\sqrt{2t}}, but with few empirical differences.

The previous proposition relies on one of the most simple algorithms for convex optimization, subgradient descent, which is applicable in most situations; however, its use is appropriate because the Lovász extension is not differentiable, and the dual problem is also not differentiable. We have considered a non-adaptive steps-size γt=D2pt\gamma_{t}=\frac{D\sqrt{2}}{\sqrt{pt}} in order to obtain a complexity bound. Another common strategy is to use an approximation Polyak’s rule : given the function value f(wt)f(w_{t}), the gradient norm ∥st∥2\|s_{t}\|_{2} and the current best dual value dt−1=max⁡u∈{0,…,t−1}(sˉu)−(V)d_{t-1}=\max_{u\in\{0,\dots,t-1\}}(\bar{s}_{u})_{-}(V), the step-size is αt=f(wt)−dt−1∥st∥22\alpha_{t}=\frac{f(w_{t})-d_{t-1}}{\|s_{t}\|_{2}^{2}}. See §12.1 for an experimental comparison.

We now consider separable quadratic optimization problems whose duals are the maximization of a concave quadratic function on B(F)B(F), which is smooth. We can thus use the conditional gradient algorithm described in §7.6, with a better convergence rate; however, as we show below, when we threshold the solution to obtain a set AA, we get the same scaling as before (i.e., O(1/t)O(1/\sqrt{t})), with nevertheless an improved empirical behavior. See below and experimental comparisons in Chapter 12. We first derive a bound bonding the duality gap for submodular function minimization when thresholding the iterates from the minimization of 12∥w∥22+f(w)\frac{1}{2}\|w\|_{2}^{2}+f(w).

Proof From Eq. (8.5), if we assume that (F+ψ′(α))({w⩾α})−(s+ψ′(α))−(V)>ε/2η(F+\psi^{\prime}(\alpha))(\{w\geqslant\alpha\})-(s+\psi^{\prime}(\alpha))_{-}(V)>\varepsilon/2\eta for all α∈[−η,η]\alpha\in[-\eta,\eta], then we obtain:

which is a contradiction. Thus, there exists α∈[−η,η]\alpha\in[-\eta,\eta] such that 0⩽(F+α1V)({w⩾α})−(s+α1V)−(V)⩽ε/2η0\leqslant(F+\alpha 1_{V})(\{w\geqslant\alpha\})-(s+\alpha 1_{V})_{-}(V)\leqslant\varepsilon/2\eta. This leads to

The last inequality may be derived using monotonicity arguments and considering two cases for the sign of α\alpha. By choosing η=ε/2p\eta=\sqrt{\varepsilon/2p}, we obtain the desired bound.

We now consider the set-up of Chapter 8 with ψk(wk)=12wk2\psi_{k}(w_{k})=\frac{1}{2}w_{k}^{2}, and thus ψk∗(sk)=12sk2\psi_{k}^{\ast}(s_{k})=\frac{1}{2}s_{k}^{2}. That is, e consider the conditional gradient algorithm studied in §9.3 and §7.6, with the smooth function g(s)=12∑k∈Vsk2g(s)=\frac{1}{2}\sum_{k\in V}s_{k}^{2}: (a) starting from any base s0∈B(F)s_{0}\in B(F), iterate (b) the greedy algorithm to obtain a minimizer sˉt−1\bar{s}_{t-1} of st−1⊤ss_{t-1}^{\top}s with respect to s∈B(F)s\in B(F), and (c) perform a line search to minimize with respect to ρ∈\rho\in, [st−1+ρ(sˉt−1−st−1)]⊤[st−1+ρ(sˉt−1−st−1)][s_{t-1}+\rho(\bar{s}_{t-1}-s_{t-1})]^{\top}[s_{t-1}+\rho(\bar{s}_{t-1}-s_{t-1})].

Let αk=F({k})+F(V\{k})−F(V)\alpha_{k}=F(\{k\})+F(V\backslash\{k\})-F(V), k=1,…,pk=1,\dots,p, be the widths of the hyper-rectangle enclosing B(FB(F). The following proposition shows how to obtain an approximate minimizer of FF.

(Submodular function minimization by conditional gradient descent) After tt steps of the conditional gradient method described above, among the pp sub-level sets of sts_{t}, there is a set BB such that F(B)−min⁡A⊆VF(A)⩽1t∑k=1pαk22∑k=1pF(B)-\min_{A\subseteq V}F(A)\leqslant\frac{1}{\sqrt{t}}\sqrt{\frac{\sum_{k=1}^{p}\alpha_{k}^{2}}{2}\sum_{k=1}^{p}}. Moreover, sts_{t} acts as a certificate of optimality, so that F(B)−(st)−(V)⩽1t∑k=1pαk22pF(B)-(s_{t})_{-}(V)\leqslant\frac{1}{\sqrt{t}}\sqrt{\frac{\sum_{k=1}^{p}\alpha_{k}^{2}}{2}p}.

Proof The convergence rate analysis of the conditional gradient method leads to an ε\varepsilon-approximate solution with ε⩽∑k=1pαk2t+1\varepsilon\leqslant\frac{\sum_{k=1}^{p}\alpha_{k}^{2}}{t+1}. From Prop. 10.5, then we obtain by thresholding the desired gap for submodular function minimization.

Here the convergence rate is the same as for subgradient descent. See Chapter 12 for an empirical comparison, showing a better behavior for the conditional gradient method. As for subgradient descent, this algorithm provides certificates of optimality. Moreover, when offline (or online) certificates of optimality ensures that we an approximate solution, because the problem is strongly convex, we obtain also a bound 2ε\sqrt{2\varepsilon} on ∥st−s∗∥2\|s_{t}-s^{\ast}\|_{2} where s∗s^{\ast} is the optimal solution. This in turn allows us to ensure that all indices kk such that st>2εs_{t}>\sqrt{2\varepsilon} cannot be in a minimizer of FF, while those indices kk such that st<−2εs_{t}<-\sqrt{2\varepsilon} have to be in a minimizer, which can allow efficient reduction of the search space (although these have not been implemented in the simulations in Chapter 12).

Alternative algorithms for the same separable optimization problems may be used, i.e., conditional gradient without line search , with similar convergence rates and behavior, but sometimes worse empirical peformance. Another alternative is to consider projected subgradient descent in ww, with the same convergence rate (because the objective function is then strongly convex). Note that as shown before (§9.3), it is equivalent to a conditional gradient algorithm with no line search.

9 Using special structure

For some specific submodular functions, it is possible to use alternative optimization algorithms with either improved complexity bounds or numerical efficiency. The most classical structure is decomposability: the submodular function FF is assumed to be a sum of simple submodular functions FiF_{i}, i=1,…,ri=1,\dots,r, i.e., ∀A⊆V\forall A\subseteq V, F(A)=∑i=1rFi(A)F(A)=\sum_{i=1}^{r}F_{i}(A). There are several notions of simplicity that may be considered and are compared empirically in . All included functions of cardinality and restrictions thereof, as well as cuts in chain or tree-structured graphs.

In , it is assumed that one may compute a convex smooth (with bounded Lipschitz-constant of the gradient) approximation of the Lovász extension fif_{i} with uniform approximation error. In this situation, the Lovász extension of FF may be approximated by a smooth function on which an accelerated gradient technique such as described in §7.9 may be used with convergence rate O(1/t2)O(1/t^{2}) after tt iterations. When choosing a well-defined amount of smoothnees, this leads to an approximation guarantee for submodular function minimization of the form O(1/t)O(1/t), instead of O(1/t)O(1/\sqrt{t}) in the general case.

Chapter 11 Other Submodular Optimization Problems

While submodular function minimization may be solved in polynomial time (see Chapter 10), submodular function maximization (which includes the maximum cut problem) is NP-hard. However, for many situations, local search algorithms exhibit theoretical guarantees and the design and analysis of such algorithms is an active area of research, in particular due to the many applications where the goal is to maximize submodular functions (see, e.g., sensor placement in §6.3 and experimental design in §6.5). Interestingly, the techniques used for maximization and minimization are rather different, in particular with less use of convex analysis for maximization. In this chapter, we review some classical and recent results for the maximization of submodular (§11.1 and §11.2), before presenting the problem of differences of submodular functions in §11.3.

In this section, we first consider the classical instance of a submodular maximization problem, for which the greedy algorithm leads to the optimal approximation guarantee.

Submodular function maximization provides a classical example where greedy algorithms do have performance guarantees. We now consider a non-decreasing submodular function FF and the problem of minimizing F(A)F(A) subject to the constraint ∣A∣⩽k|A|\leqslant k, for a certain kk. The greedy algorithm will start with the empty set A=∅A=\varnothing and iteratively add the element k∈V\Ak\in V\backslash A such that F(A∪{k})−F(A)F(A\cup\{k\})-F(A) is maximal. As we show below, it has an (1−1/e)(1-1/e)-performance guarantee . Note that this guarantee cannot be improved in general, as it cannot for Max kk-cover (assuming P≠NPP\neq NP, no polynomial algorithm can provide better approximation guarantees; see more details in ).

(Performance guarantee for submodular function maximization) Let FF be a non-decreasing submodular function. The greedy algorithm for maximizing F(A)F(A) subset to ∣A∣⩽k|A|\leqslant k outputs a set AA such that

Proof We follow the proof of . Let A∗A^{\ast} be a maximizer of FF with kk elements, and aja_{j} the jj-th element selected during the greedy algorithm. We consider ρj=F({a1,…,aj})−F({a1,…,aj−1})\rho_{j}=F(\{a_{1},\dots,a_{j}\})-F(\{a_{1},\dots,a_{j-1}\}). For a given j∈{1,…,k}j\in\{1,\dots,k\}, we denote by {b1,…,bm}\{b_{1},\dots,b_{m}\} the elements of A∗\AjA^{\ast}\backslash A_{j} (we must have k⩾mk\geqslant m). We then have:

Since MM is lower triangular, we may compute the vector ρ=F(A∗)M−11\rho=F(A^{\ast})M^{-1}1 iteratively and easily show by induction that ρj=F(A∗)(k−1)j−1k−j\rho_{j}=F(A^{\ast})(k-1)^{j-1}k^{-j}. Similarly, M⊤M^{\top} is upper-triangular and we may compute λ=M−⊤1\lambda=M^{-\top}1 as λk−j+1=(k−1)j−1k−j\lambda_{k-j+1}=(k-1)^{j-1}k^{-j}.

Since these two vectors happen to be non-negative, they are respectively primal and dual feasible. Since they respectively lead to the same primal and dual objective, this shows that the optimal value of the linear program is equal to F(A∗)1⊤M−11=F(A∗)∑i=1k(1−1/k)i−1k−1=F(A∗)(1−1/k)kF(A^{\ast})1^{\top}M^{-1}1=F(A^{\ast})\sum_{i=1}^{k}(1-1/k)^{i-1}k^{-1}=F(A^{\ast})(1-1/k)^{k}, hence the desired result since (1−1/k)k=exp⁡(klog⁡(1−1/k))⩽exp⁡(k×(−1/k))=1/e(1-1/k)^{k}=\exp(k\log(1-1/k))\leqslant\exp(k\times(-1/k))=1/e.

Given the previous result on cardinality constraints, several extensions have been considered, such as knapsack constraints or matroid constraints (see and references therein). Moreover, fast algorithms and improved online data-dependent bounds can be further derived .

2 General submodular function maximization

In this section, we consider a submodular function and the maximization problem:

This problem is known to be NP-hard (note that it includes the maximum cut problem) . In this section, we present general local optimality results as well as a review of existing approximation guarantees available for non-negative functions.

Given any set AA, simple local search algorithms simply consider all sets of the form A∪{k}A\cup\{k\} and A\{k}A\backslash\{k\} and select the one with largest value of FF. If this value is lower than FF, then the algorithm stops and we are by definition at a local minimum. While these local minima do not lead to any global guarantees in general, there is an interesting added guarantee based on submodularity, which we now prove (see more details in ).

(Local maxima for submodular function maximization) Let FF be a submodular function and A⊆VA\subseteq V such that for all k∈Ak\in A, F(A\{k})⩽F(A)F(A\backslash\{k\})\leqslant F(A) and for all k∈V\Ak\in V\backslash A, F(A∪{k})⩽F(A)F(A\cup\{k\})\leqslant F(A). Then for all B⊆AB\subseteq A and all B⊃AB\supset A, F(B)⩽F(A)F(B)\leqslant F(A).

Proof If B=A∪{i1,…,iq}B=A\cup\{i_{1},\dots,i_{q}\}, then

which leads to the first result. The second one may be obtained from the first one applied to A↦F(V\A)−F(V)A\mapsto F(V\backslash A)-F(V). Note that branch-and-bound algorithms (with worst-case exponential time complexity) may be designed that specifically take advantage of the property above .

Given FF and its Lovász extension ff, we have (the first equality is true since maximization of convex function leads to an extreme point ):

When the function is known to be non-negative (i.e., with non-negative values F(A)F(A) for all A⊆VA\subseteq V), then simple local search algorithm have led to theoretical guarantees . It has first been shown in that a 1/21/2 relative bound could not be improved in general if a polynomial number of queries of the submodular function is used. Recently, has shown that a simple strategy that maintains two solutions, one starting from the empty set and one starting from the full set, and updates them using local moves, achieves a ratio of 1/3, while a randomized local move leads to the optimal approximation ratio of 1/2.

However, such theoretical guarantees should be considered with caution, since in this similar setting of maximizing a non-negative submodular function, selecting a random subset already achieves at least 1/41/4 of the optimal value (see the simple argument outlined by that simply uses the convexity of the Lovász extension and conditioning): having theoretical guarantees do not necessarily imply that an algorithm is doing anything subtle.

Interestingly, in the analysis of submodular function maximization, a new extension from {0,1}p\{0,1\}^{p} to p^{p} has emerged, the multi-linear extension , which is equal to

It is equal to the expectation of F(B)F(B) where BB is a random subset where the ii-th element is selected with probability wiw_{i} (note that this interpretation allows the computation of the extension through sampling), and this is to be contrasted with the Lovász extension, which is equal to the expectation of F({w⩾u})F(\{w\geqslant u\}) for uu a random variable with uniform distribution in $$. The multi-linear extension is neither convex nor concave but has marginal convexity properties that may be used for the design and analysis of algorithms for maximization problems .

3 Difference of submodular functions∗

In regular continuous optimization, differences of convex functions play an important role, and appear in various disguises, such as DC-programming , concave-convex procedures , or majorization-minimization algorithms . They allow the expression of any continuous optimization problem with natural descent algorithms based on upper-bounding a concave function by its tangents.

In the context of combinatorial optimization, has shown that a similar situation holds for differences of submodular functions. We now review these properties.

A typical example would be H(A)=−12∣A∣2H(A)=-\frac{1}{2}|A|^{2}, where α=1\alpha=1. If

is non-negative, then FF is submodular (see Prop. 2.3). If β<0\beta<0, then F(A)−βαH(A)F(A)-\frac{\beta}{\alpha}H(A) is submodular, and thus, we have F(A)=[F(A)−βαH(A)]−[−βαH(A)]F(A)=[F(A)-\frac{\beta}{\alpha}H(A)]-[-\frac{\beta}{\alpha}H(A)], which is a difference of two submodular functions. Thus any combinatorial optimization problem may be seen as a difference of submodular functions (with of course non-unique decomposition). However, some problems, such as subset selection in §6.7, or more generally discriminative learning of graphical model structure may naturally be seen as such .

Given two submodular set-functions FF and GG, we consider the following iterative algorithm, starting from a subset AA:

Compute modular lower-bound B↦s(B)B\mapsto s(B), of GG which is tight at AA: this might be done by using the greedy algorithm of Prop. 3.2 with w=1Aw=1_{A}. Several orderings of components of ww may be used (see for more details).

Take AA as any minimizer of B↦F(B)−s(B)B\mapsto F(B)-s(B), using any algorithm of Chapter 10.

It converges to a local minimum, in the sense that at convergence to a set AA, all sets A∪{k}A\cup\{k\} and A\{k}A\backslash\{k\} have smaller function values.

We can give a similar geometric interpretation than for submodular function maximization; given F,GF,G and their Lovász extensions ff, gg, we have:

Thus optimization of the difference of submodular functions is related to the Hausdorff distance between B(F)B(F) and B(G)B(G): this distance is equal to \max\big{\{}\min_{s\in B(G)}\max_{t\in B(F)}\|t-s\|_{1},\min_{s\in B(G)}\max_{t\in B(F)}\|t-s\|_{1}\big{\}} (see, e.g., ). See also an illustration in Figure 11.1.

Chapter 12 Experiments

In this chapter, we provide illustrations of the optimization algorithms described earlier, for submodular function minimization (§12.1), as well as for convex optimization problems: quadratic separable ones such as the ones used for proximal methods or within submodular function minimization (§12.2), an application of sparsity-inducing norms to wavelet-based estimators (§12.3), and some simple illustrative experiments of recovery of one-dimensional signals using structured regularizers (§12.4). The Matlab code for all these experiments may be found at http://www.di.ens.fr/~fbach/submodular/.

We compare several approaches to submodular function minimization described in Chapter 10, namely:

MNP: the minimum-norm-point algorithm to maximize −12∥s∥22-\frac{1}{2}\|s\|_{2}^{2} over s∈B(F)s\in B(F), described in §10.7.

Simplex: the simplex algorithm described in §10.5.

ACCPM: the analytic center cutting plane technique from §10.6.

ACCPM-Kelley: the analytic center cutting plane technique presented in §10.6, with a large weight α=1000\alpha=1000, which emulates the simplicial method from §7.7.

Ellipsoid: the ellipsoid algorithm described in §10.4.

SG: the projected gradient descent algorithm to minimize f(w)f(w) over w∈pw\in^{p}, described in §10.8, with two variants, a step-size proportional to 1/t1/\sqrt{t} (denoted “SG-1/t1/2t^{1/2}”) and using the approximation of Polyak’s rule (“SG-Polyak”) described in §10.8.

CG-LS: the conditional gradient algorithm to maximize −12∥s∥22-\frac{1}{2}\|s\|_{2}^{2} over s∈B(F)s\in B(F), with line search, described in §10.8.

CG-2/(t+1): the conditional gradient algorithm to maximize −12∥s∥22-\frac{1}{2}\|s\|_{2}^{2} over s∈B(F)s\in B(F), with step size 2/(t+1)2/(t+1), described in §10.8.

From all these algorithms, we may obtain sets A⊆VA\subseteq V and dual certificates s∈B(F)s\in B(F); the quantity F(A)−s−(V)F(A)-s_{-}(V) (see Prop. 10.3) then serves as a certificate of optimality. In order to distinguish primal and dual approximate optimality we report F(A)−OptF(A)-{\rm Opt} and Opt+s−(V){\rm Opt}+s_{-}(V), where Opt=min⁡A⊆VF(A){\rm Opt}=\min_{A\subseteq V}F(A) is the optimal value of the problem.

We test these algorithms on five data sets:

Two-moons (clustering with mutual information criterion): we generated data from a standard synthetic examples in semi-supervised learning (see Figure 12.1) with p=400p=400 data points, and 16 labelled data points, using the method presented in §6.5, based on the mutual information between two Gaussian processes (with a Gaussian-RBF kernel).

Genrmf-wide and Genrmf-long (min-cut/max-flow standard benchmark): following , we generated cut problem using the generator GENRMF available from DIMACS challenge The First DIMACS international algorithm implementation challenge: The core experiments (1990), available at ftp://dimacs.rutgers.edu/pub/netow/generalinfo/core.tex.. Two types of network were generated, “long” and “wide”, with respectively p=575p=575 vertices and 2390 edges, and p=430p=430 and 1872 edges (see for more details).

Speech: we consider a dataset used by , in order to solve the problem of finding a maximum size speech corpus with bounded vocabulary (p=800p=800). The submodular function is of the form F(A)=∣V\A∣+λG(A)F(A)=|V\backslash A|+\lambda\sqrt{G(A)}, where G(A)G(A) is a set-cover function from §6.3 (this function is submodular because of Prop. B.6).

Image segmentation: we consider the minimum-cut problem used in Figure 6.4 for segmenting a 50×5050\times 50 image, i.e., p=2500p=2500.

Since all algorithms perform a sequence of greedy algorithms (for finding maximum weight bases), we measure performance in numbers of iterations in order to have an implementation-independent measure. Among the tested methods, some algorithms (subgradient and conditional gradient) have no extra cost, while others involved solving linear systems.

On all datasets, the achieved primal function values are in fact much lower than the certified values (i.e., primal suboptimality converges to zero much faster than dual suboptimality). In other words, primal values F(A)F(A) are quickly very good and iterations are just needed to sharpen the certificate of optimality.

Among the algorithms, only ACCPM has been able to obtain both close to optimal primal and dual solutions in all cases, while the minimum-norm-point does so in most cases, though more slowly. Among methods that may find the global optimum, the simplex exhibit poor performance. The simpler methods (subgradient and conditional gradient) perform worse, with an advantage for the conditional gradient with line search, which is able to get good primal values quicker (while dual certificates converge slowly).

2 Separable optimization problems

3 Regularized least-squares estimation

In this section, we illustrate the use of the Lovász extension in the context of sparsity-inducing norms detailed in §5.2, with the submodular function defined in Figure 6.9, which is based on a tree structure among the pp variables, and encourages variables to be selected after their ancestors. We do not use any weights, and thus F(A)F(A) is equal to the cardinality of the union of all ancestors Anc(A)\rm{Anc}(A) of nodes indexed by elements of AA.

We consider random inputs xi∈x_{i}\in, i=1,…,ni=1,\dots,n, from a uniform distribution and compute yi=sin⁡(20πxi2)+εiy_{i}=\sin(20\pi x_{i}^{2})+\varepsilon_{i}, where εi\varepsilon_{i} is Gaussian with mean zero and standard deviation 0.10.1. We consider the optimization problem

where bb is a constant term and R(w)R(w) is a regularization function. In Figure 12.10, we compare several regularization terms, namely R(w)=12∥w∥22R(w)=\frac{1}{2}\|w\|_{2}^{2} (ridge regression), R(w)=∥w∥1R(w)=\|w\|_{1} (Lasso) and R(w)=Ω(w)=f(∣w∣)R(w)=\Omega(w)=f(|w|) defined from the hierarchical submodular function F(A)=Card(Anc(A))F(A)={\rm Card}({\rm Anc}(A)). For all of these, we select λ\lambda such that the generalization performance is maximized, and compare the estimated functions. The hierarchical prior leads to a lower estimation error with fewer artefacts.

In this section, our goal is also to compare several optimization schemes to minimize Eq. (12.1) for this particular example (for more simulations on larger-scale examples with similar conclusions, see ). We compare in Figure 12.11 several ways of solving the regularized least-squares problem:

Prox. hierarchical: we use a dedicated proximal operator based on the composition of local proximal operators . This strategy is only applicable for this submodular function.

Prox. decomposition: we use the algorithm of §9.1 which uses the fact that for any vector tt, F−tF-t may be minimized by dynamic programming . We also consider a modification (“abs”), where the divide-and-conquer strategy is used directly on the symmetric submodular polyhedron.

Prox-MNP: we use the generic method which does not use any of the structure, with the modification (“abs”) that operates directly on ∣P∣(F)|P|(F) and not on B(F)B(F). For these two algorithms, since the min-norm-point algorithm is used many times for similar inputs, we use warm restarts to speed up the algorithm. We also report results without such warm restarts (the algorithm is then much slower).

subgrad-descent: we use a generic method which does not use any of the structure, and minimize directly Eq. (12.1) by subgdradient descent, using the best possible (in hindsight) step-size sequence proportional to 1/t1/\sqrt{t}.

Active-primal: primal active-set method presented in §7.12, which require to be able to minimize the submodular function efficiently (possible here). When FF is the cardinality function, this corresponds to the traditional active-set algorithm for the Lasso.

Active-dual: dual active-set method presented in §7.12, which simply requires to access the submodular function through the greedy algorithm. Since our implementation is unstable (due to the large linear ill-conditioned systems that are approximately solved), it is only used for the small problem where p=127p=127.

As expected, in Figure 12.11, we see that the most efficient algorithm is the dedicated proximal algorithm (which is usually not available except in particular cases like the tree-structured norm), while the methods based on submodular functions fare correctly, with an advantage for methods using the structure (i.e., the decomposition method, which is only applicable when submodular function minimization is efficient) over the generic method based on the min-norm-point algorithm (which is always applicable). Note that the primal active-set method (which is only applicable when minimizing FF is efficient) is competitive while the dual active-set method takes many iterations to make some progress and then converge quickly.

Interestingly,applying the divide-and-conquer strategies directly to ∣P∣(F)|P|(F) and not through B(F)B(F) is more efficient while this is the opposite when the min-norm-point algorithm is used.

4 Graph-based structured sparsity

In this monograph, we have considered several sparsity-inducing norms related to graph topologies. In this section, we consider a chain graph, i.e., we are looking for sparsity-inducing terms that take into account the specific ordering of the components of our vector ww. We consider the following regularizers r(w)r(w):

Chapter 13 Conclusion

In this monograph, we have explored various properties and applications of submodular functions. We have emphasized primarily on a convex perspective, where the key concepts are the Lovász extension and the associated submodular and base polyhedra.

Given the numerous examples involving such functions, the analysis and algorithms presented in this monograph allow the unification of several results in convex optimization, in particular in situations where combinatorial structures are considered.

In this monograph, we have focused primarily on the relationships between convex optimization and submodular functions. However, submodularity is an active area of research in computer science, and more generally in algorithms and machine learning, which goes beyond such links:

Online optimization: In this monograph, we have focused on offline methods for the optimization problem: at any given iteration, the submodular function is accessed through the value oracle. In certain situations common in machine learning, the submodular function is a sum of often simple submodular functions, and online learning techniques can be brought to bear to either speed up the optimization or provide online solutions. This can be done both for the maximization of submodular functions or their minimization

Learning submodular functions: We have assumed that the set-functions we were working with were given, and hence manually built for each given application. It is of clear interest to learn the submodular functions directly from data. See, e.g., for several approaches.

Discrete convex analysis: We have presented a link between combinatorial optimization and convex optimization based on submodular functions. The theory of discrete convex analysis goes beyond submodularity and the minimization or maximization of submodular functions. See, e.g., .

Beyond submodular minimization or maximization: concepts related to submodularity may also be used for sequential decision problems, in particular through the development of adaptive submodularity (see and references therein).

Several questions related to submodular analysis are worth exploring, such as:

Improved complexity bounds and practical performance for submodular function minimization: the currently best-performing algorithms (min-norm-point and analytic center cutting-planes) do not come with convergence bounds. Designing efficient optimization algorithms for submodular function minimization, with both good computational complexity bounds and practical performance, remains a challenge. On a related note, active-set methods such that the simplex and min-norm-point algorithms may in general take exponentially many steps . Are submodular polyhedra special enough so that the complexity of these algorithms (or variations thereof) is polynomial for submodular function minimization?

Lower bounds: We have presented algorithms for approximate submodular function minimization with convergence rate of the form O(1/t)O(1/\sqrt{t}) where tt is the number of calls to the greedy algorithm; it would be interesting to obtain better rates or show that this rate is optimal, like in non-smooth convex optimization (see, e.g., ).

Multi-way partitions: Computer vision applications have focused also on multi-way partitions, where an image has to be segmented in more than two regions . The problem cannot then be solved in polynomial-time , and it would be interesting to derive frameworks with good practical performance on large graphs with millions of nodes and attractive approximation guarantees.

Semi-definite programming: The current theory of submodular functions essentially considers links between combinatorial optimization problems and linear programming, or linearly constrained quadratic programming; it would be interesting to extend submodular analysis using more modern convex optimization tools such as semidefinite programming.

Convex relaxation of submodular maximization: while submodular function minimization may be seen naturally as a convex problem, this is not the case of maximization; being able to provide convex relaxation would notably allow a unified treatment of differences of submodular functions, which then include all set-functions.

Appendix A Review of Convex Analysis and Optimization

In this appendix, we review relevant concepts from convex analysis in Appendix A.1. For more details, see . We also consider a detailed convexity-based proofs for the max-flow min-cut theorem in Appendix A.2, and a derivation of the pool-adjacent-violators algorithm in Appendix A.3.

In this section, we review extended-value convex functions, Fenchel conjugates, Fenchel duality, dual norms, gauge functions and polar sets.

In Figure A.1, we provide an illustration of the representation of ff as the maximum of affine functions.

When ff is convex and closed, many properties of ff may be seen from f∗f^{\ast} and vice-versa:

ff is strictly convex if and only if f∗f^{\ast} is differentiable in the interior of its domain,

ff is μ\mu-strongly convex (i.e., the function w↦f(w)−μ2∥w∥22w\mapsto f(w)-\frac{\mu}{2}\|w\|_{2}^{2} is convex) if and only if f∗f^{\ast} has Lipschitz-continuous gradients (with constant 1/μ1/\mu) in the interior of its domain.

There is equality above, if and only if (w,s)(w,s) is a Fenchel-dual pair for ff, i.e., if and only if ww is maximizer of w⊤s−f(w)w^{\top}s-f(w), which is itself equivalent to ss is maximizer of w⊤s−f∗(s)w^{\top}s-f^{\ast}(s). When both ff and f∗f^{\ast} are differentiable, this corresponds to f′(w)=sf^{\prime}(w)=s and w=(f∗)′(s)w=(f^{\ast})^{\prime}(s).

which defines two convex optimization problems dual to each other. Moreover, given any candidate pair (w,s)(w,s), the following difference between primal and dual objectives provides certificate of optimality:

By Fenchel-Young inequality, the gap(w,s){\rm gap}(w,s) is always non-negative (as the sum of two non-negative parts), and is equal to zero if and only the two parts are equal to zero, i.e., (w,s)(w,s) is a Fenchel dual pair for ff and (w,−s)(w,-s) is a Fenchel dual pair for gg.

Given a convex closed set CC, the support function of CC is the Fenchel conjugate of ICI_{C}, defined as:

It is always a positively homogeneous proper closed convex function. Moreover, if ff is a positively homogeneous proper closed convex function, then f∗f^{\ast} is the indicator function of a closed convex set.

In this monograph, we will consider minimization problems of the form

where ff is a positively homogeneous proper closed convex function (with CC being a convex closed set such that f∗=ICf^{\ast}=I_{C}). We then have

Given any set CC (not necessarily convex), the polar of CC is the set C∘C^{\circ} defined as

It is always closed and convex. Moreover, the polar of CC is equal to the polar of the closure of hull(C∪{0}){\rm hull}(C\cup\{0\}).

If CC is a closed convex set containing the origin, then C∘∘=CC^{\circ\circ}=C—more generally, for any set CC, C∘∘C^{\circ\circ} is the closure of hull(C∪{0}){\rm hull}(C\cup\{0\}). The polarity is a one-to-one mapping from closed convex sets containing the origin to themselves.

Given a compact set PP and its compact convex hull CC (for example, PP might be the set of extreme points of CC), we have P∘=C∘,P^{\circ}=C^{\circ}, since maxima of linear functions on CC or PP are equal. An alternative definition of γC\gamma_{C} is then

Moreover, in the definition above, by Caratheodory’s theorem for cones, we may restrict the cardinality of II to be less than or equal to dd.

A.2 Max-flow min-cut theorem

capacity constaints: φ⩽c\varphi\leqslant c for all arcs,

flow conservation: for all w∈W\(S∪V)w\in W\backslash(S\cup V), the net-flow at ww, i.e., φ(W,{w})−φ({w},W)\varphi(W,\{w\})-\varphi(\{w\},W), is zero,

positive incoming flow: for all sources s∈Ss\in S, the net-flow at ss is non-positive, i.e., φ(W,{s})−φ({s},W)⩽0\varphi(W,\{s\})-\varphi(\{s\},W)\leqslant 0,

positive outcoming flow: for all sinks t∈Vt\in V, the net-flow at tt is non-negative, i.e., φ(W,{t})−φ({t},W)⩾0\varphi(W,\{t\})-\varphi(\{t\},W)\geqslant 0.

For A⊆VA\subseteq V (the set of sinks), we define

which is the maximal net-flow getting out of AA. We now prove the max-flow/min-cut theorem, namely that

The maximum-flow F(A)F(A) is the optimal value of a linear program. We therefore introduce Lagrange multipliers for the constraints in (b), (c) and (d)—note that we do not dualize constraint (a). These corresponds to λw\lambda_{w} for w∈Ww\in W, with the constraint that λs⩽0\lambda_{s}\leqslant 0 for s∈Ss\in S and λt⩾0\lambda_{t}\geqslant 0 for t∈Vt\in V. We obtain the dual problem as follows (strong duality holds because of the Slater condition):

For any set X⊆WX\subseteq W such that S⊆XS\subseteq X and A⊆W\XA\subseteq W\backslash X, then we may define x∈{0,1}Wx\in\{0,1\}^{W} as the indicator vector of XX. The cut c(X,W\X)c(X,W\backslash X) is then equal to ∑w,v∈Wc(v,w)(xv−xw)+\sum_{w,v\in W}c(v,w)(x_{v}-x_{w})_{+}. Given our constraints on XX, we have xS=1x_{S}=1 and xA=0x_{A}=0, λw\lambda_{w} defined as λw=1−xw−1w∈A\lambda_{w}=1-x_{w}-1_{w\in A} is such that for w∈Sw\in S, λw=0\lambda_{w}=0 and for w∈Tw\in T, λw=1−xw−1w∈A=1w∈W\X−1w∈A⩾0\lambda_{w}=1-x_{w}-1_{w\in A}=1_{w\in W\backslash X}-1_{w\in A}\geqslant 0 because A⊆W\XA\subseteq W\backslash X. Thus λ\lambda is a dual-feasible vector and thus the cut c(X,W\X)c(X,W\backslash X) is larger than F(A)F(A).

A.3 Pool-adjacent-violators algorithm

We have, with St=s1+⋯+stS_{t}=s_{1}+\cdots+s_{t} (with the convention S0=0S_{0}=0), by summation by parts,

This implies that the maximum value of w⊤sw^{\top}s such that ww is a non-increasing sequence is equal to zero, if St⩽0S_{t}\leqslant 0 for all t∈{1,…,P−1}t\in\{1,\dots,P-1\}, and Sp=0S_{p}=0, and equal to +∞+\infty otherwise. Thus we obtain the dual optimization problem:

We now consider an active-set method such as described in §7.11 for the problem in Eq. (A.3), starting from all constraints saturated, i.e., s({1,…,k})=0s(\{1,\dots,k\})=0, for all k∈{1,…,p−1}k\in\{1,\dots,p-1\}, leading to s=0s=0, this corresponds to a primal candidate w=zw=z and the active set J=∅J=\varnothing.

As shown in §7.11, in an active-set method, given a new candidate active set, there are two types of steps: (a) when the corresponding optimal value ss obtained from this active-set is feasible, we need to check dual-feasibility (i.e., here that the sequence (vi)(v_{i}) is non-increasing). If it is not, then the active set is augmented and here this exactly corresponds to taking any violating adjacent pair (vi,vi+1)(v_{i},v_{i+1}), and merge the corresponding sets AiA_{i} and Ai+1A_{i+1}, i.e., add jij_{i} to JJ. The other type of steps is (b) when the corresponding optimal value is not feasible: this never occurs in this situation .

Appendix B Operations that Preserve Submodularity

In this appendix, we present several ways of building submodular functions from existing ones. For all of these, we describe how the Lovász extensions and the submodular polyhedra are affected. Note that in many cases, operations are simpler in terms of submodular and base polyhedra. Many operations such as projections onto subspaces may be interpreted in terms of polyhedra corresponding to other submodular functions.

We have seen in §6.5 that given any submodular function FF, we may define G(A)=F(A)+F(V\A)−F(V)G(A)=F(A)+F(V\backslash A)-F(V). Then GG is always submodular and symmetric (and thus non-negative, see §10.3). This symmetrization can be applied to any submodular function and in the example of Chapter 6, they often lead to interesting new functions. We now present other operations that preserve submodularity.

(Restriction of a submodular function) let FF be a submodular function such that F(∅)=0F(\varnothing)=0 and A⊆VA\subseteq V. The restriction of FF on AA, denoted FAF_{A} is a set-function on AA defined as FA(B)=F(B)F_{A}(B)=F(B) for B⊆AB\subseteq A. The function FAF_{A} is submodular. Moreover, if we can write the Lovász extension of FF as f(w)=f(wA,wV\A)f(w)=f(w_{A},w_{V\backslash A}), then the Lovász extension of FAF_{A} is fA(wA)=f(wA,0)f_{A}(w_{A})=f(w_{A},0). Moreover, the submodular polyhedron P(FA)P(F_{A}) is simply the projection of P(F)P(F) on the components indexed by AA, i.e., s∈P(FA)s\in P(F_{A}) if and only if ∃t\exists t such that (s,t)∈P(F)(s,t)\in P(F).

Proof Submodularity and the form of the Lovász extension are straightforward from definitions. To obtain the submodular polyhedron, notice that we have fA(wA)=f(wA,0)=max⁡(s,t)∈P(F)wA⊤s+0⊤tf_{A}(w_{A})=f(w_{A},0)=\max_{(s,t)\in P(F)}w_{A}^{\top}s+0^{\top}t, which implies the desired result.

(Contraction of a submodular function) let FF be a submodular function such that F(∅)=0F(\varnothing)=0 and A⊆VA\subseteq V. The contraction of FF on AA, denoted FAF^{A} is a set-function on V\AV\backslash A defined as FA(B)=F(A∪B)−F(A)F^{A}(B)=F(A\cup B)-F(A) for B⊆V\AB\subseteq V\backslash A. The function FAF^{A} is submodular. Moreover, if we can write the Lovász extension of FF as f(w)=f(wA,wV\A)f(w)=f(w_{A},w_{V\backslash A}), then the Lovász extension of FAF^{A} is fA(wV\A)=f(1A,wV\A)−F(A)f^{A}(w_{V\backslash A})=f(1_{A},w_{V\backslash A})-F(A). Moreover, the submodular polyhedron P(FA)P(F^{A}) is simply the projection of P(F)∩{s(A)=F(A)}P(F)\cap\{s(A)=F(A)\} on the components indexed by V\AV\backslash A, i.e., t∈P(FA)t\in P(F^{A}) if and only if ∃s∈P(F)∩{s(A)=F(A)}\exists s\in P(F)\cap\{s(A)=F(A)\}, such that sV\A=ts_{V\backslash A}=t.

The next proposition shows how to build a new submodular function from an existing one, by partial minimization. Note the similarity (and the difference) between the submodular polyhedra for a partial minimum (Prop. B.3) and for the restriction defined in Prop. B.1.

Note also that contrary to convex functions, the pointwise maximum of two submodular functions is not in general submodular (as can be seen by considering functions of the cardinality from §6.1).

Proof Define c=min⁡B⊆WG(B)⩽0c=\min_{B\subseteq W}G(B)\leqslant 0, which is independent of AA. We have, for A,A′⊆VA,A^{\prime}\subseteq V, and any B,B′⊆WB,B^{\prime}\subseteq W, by definition of FF:

Note that the second equality is true because VV and WW are disjoint. Minimizing with respect to BB and B′B^{\prime} leads to the submodularity of FF.

Proof Let A,A′⊆VA,A^{\prime}\subseteq V, and B,B′B,B^{\prime} the corresponding minimizers defining G(A)G(A) and G(A′)G(A^{\prime}). We have:

hence the submodularity of GG. If s∈P(G)s\in P(G), then ∀B⊆A⊆V\forall B\subseteq A\subseteq V, s(A)⩽G(A)⩽F(B)+z(A\B)s(A)\leqslant G(A)\leqslant F(B)+z(A\backslash B). Taking B=AB=A, we get that s∈P(F)s\in P(F); from B=∅B=\varnothing, we get s⩽zs\leqslant z, and hence s∈P(F)∩{s⩽z}s\in P(F)\cap\{s\leqslant z\}. If s∈P(F)∩{s⩽z}s\in P(F)\cap\{s\leqslant z\}, for all ∀B⊆A⊆V\forall B\subseteq A\subseteq V, s(A)=s(A\B)+s(B)⩽z(A\B)+F(B)s(A)=s(A\backslash B)+s(B)\leqslant z(A\backslash B)+F(B); by minimizing with respect to BB, we get that s∈P(G)s\in P(G).

We get G(A)⩽F(A)G(A)\leqslant F(A) by taking B=AB=A in the definition of G(A)G(A), and we get G(A)⩽z(A)G(A)\leqslant z(A) by taking B=∅B=\varnothing.

(Monotonization of a submodular function) Let FF be a submodular function such that F(∅)=0F(\varnothing)=0. Define G(A)=min⁡B⊃AF(B)−min⁡B⊆VF(B)G(A)=\min_{B\supset A}F(B)-\min_{B\subseteq V}F(B). Then GG is submodular such that G(∅)=0G(\varnothing)=0, and the base polyhedron B(G)B(G) is equal to B(F)∩{s⩾0}B(F)\cap\{s\geqslant 0\}. Moreover, GG is non-decreasing, and for all A⊆VA\subseteq V, G(A)⩽F(A)G(A)\leqslant F(A).

Proof Let c=min⁡B⊆VF(B)c=\min_{B\subseteq V}F(B). Let A,A′⊆VA,A^{\prime}\subseteq V, and B,B′B,B^{\prime} the corresponding minimizers defining G(A)G(A) and G(A′)G(A^{\prime}). We have:

The final result that we present in this appendix is due to and resembles the usual compositional properties of convex functions .

Proof Let A⊆VA\subseteq V and two disjoints elements jj and kk of V\AV\backslash A. We have from the submodularity of FF and Prop. 2.3, F(A∪{j,k})⩽F(A∪{j})+F(A∪{k})−F(A)F(A\cup\{j,k\})\leqslant F(A\cup\{j\})+F(A\cup\{k\})-F(A). We thus get by monotonicity of φ\varphi:

because F(A∪{k})⩾F(A)F(A\cup\{k\})\geqslant F(A), F(A∪{j})⩾F(A)F(A\cup\{j\})\geqslant F(A) and φ\varphi is concave (using the property used in the proof of Prop. 6.1).

This monograph was partially supported by the European Research Council (SIERRA Project). The author would like to thank Rodolphe Jenatton, Armand Joulin, Simon Lacoste-Julien, Julien Mairal and Guillaume Obozinski for discussions related to submodular functions and convex optimization. The suggestions of the reviewers were greatly appreciated and have significantly helped improve the manuscript.

Bibliography