Fast Semidifferential-based Submodular Function Optimization

Rishabh Iyer, Stefanie Jegelka, Jeff Bilmes

Introduction

In this paper, we address minimization and maximization problems of the following form:

On the other hand, a potential stumbling block is that machine learning problems are often large (e.g., “big data”) and are getting larger. For general unconstrained submodular minimization, the computational complexity often scales as a high-order polynomial. These algorithms are designed to solve the most general case and the worst-case instances are often contrived and unrealistic. Typical-case instances are much more benign, so simpler algorithms (e.g., graph-cut) might suffice. In the constrained case, however, the problems often become NP-complete. Algorithms for submodular maximization are very different in nature from their submodular minimization cohorts, and their complexity too varies depending on the problem. In any case, there is an urgent need for efficient, practical, and scalable algorithms for the aforementioned problems if submodularity is to have a lasting impact on the field of machine learning.

In this paper, we address the issue of scalability and simultaneously draw connections across the apparent gap between minimization and maximization problems. We demonstrate that many algorithms for submodular maximization may be viewed as special cases of a generic minorize-maximize framework that relies on discrete semidifferentials. This framework encompasses state-of-the-art greedy and local search techniques, and provides a rich class of very practical algorithms. In addition, we show that any approximate submodular maximization algorithm can be seen as an instance of our framework.

We also present a complementary majorize-minimize framework for submodular minimization that makes two contributions. For unconstrained minimization, we obtain new nontrivial bounds on the lattice of minimizers, thereby reducing the possible space of candidate minimizers. This method easily integrates into any other exact minimization algorithm as a preprocessing step to reduce running time. In the constrained case, we obtain practical algorithms with bounded approximation factors. We observe these algorithms to be empirically competitive to more complicated ones.

As a whole, the semidifferential framework offers a new unifying perspective and basis for treating submodular minimization and maximization problems in both the constrained and unconstrained case. While it has long been known that submodular functions have tight subdifferentials, our results rely on a recently discovered property showing that submodular functions also have superdifferentials. Furthermore, our approach is entirely combinatorial, thus complementing (and sometimes obviating) related relaxation methods.

Motivation and Background

Submodularity’s escalating popularity in machine learning is due to its natural applicability. Indeed, instances of Problems 1 and 2 are seen in many forms, to wit:

Markov Random Fields with pairwise attractive potentials are important in computer vision, where MAP inference is identical to unconstrained submodular minimization solved via minimum cut . A richer higher-order model can be induced for which MAP inference corresponds to Problem 1 where VV is a set of edges in a graph, and C\mathcal{C} is a set of cuts in this graph — this was shown to significantly improve many image segmentation results . Moreover, efficiently solve MAP inference in a sparse higher-order graphical model by restating the problem as a submodular vertex cover, i.e., Problem 1 where C\mathcal{C} is the set of all vertex covers in a graph.

Clustering:

Variants of submodular minimization have been successfully applied to clustering problems .

Limited Vocabulary Speech Corpora:

The problem of finding a maximum size speech corpus with bounded vocabulary can be posed as submodular function minimization subject to a size constraint. Alternatively, cardinality can be treated as a penalty, reducing the problem to unconstrained submodular minimization .

Size constraints:

The densest kk-subgraph and size-constrained graph cut problems correspond to submodular minimization with cardinality constraints, problems that are very hard . Specialized algorithms for cardinality and related constraints were proposed e.g. in .

Minimum Power Assignment:

In wireless networks, one seeks a connectivity structure that maintains connectivity at a minimum energy consumption. This problem is equivalent to finding a suitable structure (e.g., a spanning tree) minimizing a submodular cost function .

Transportation:

Costs in real-world transportation problems are often non-additive. For example, it may be cheaper to take a longer route owned by one carrier rather than a shorter route that switches carriers. Such economies of scale, or “right of usage” properties are captured in the “Categorized Bottleneck Path Problem” – a shortest path problem with submodular costs . Similar costs have been considered for spanning tree and matching problems.

Summarization/Sensor placement:

Submodular maximization also arises in many subset extraction problems. Sensor placement , document summarization and speech data subset selection , for example, are instances of submodular maximization.

Determinantal Point Processes:

The Determinantal Point Processes (DPP’s) which have found numerous applications in machine learning are known to be log-submodular distributions. In particular, the MAP inference problem is a form of non-monotone submodular maximization.

Indeed, there is strong motivation for solving Problems 1 and 2 but, as mentioned above, these problems come not without computational difficulties. Much work has therefore been devoted to developing optimal or near optimal algorithms. Among the several algorithms for the unconstrained variant of Problem 1, where C=2V\mathcal{C}=2^{V}, the best complexity to date is O(n5γ+n6)O(n^{5}\gamma+n^{6}) (γ\gamma is the cost of evaluating ff). This has motivated studies on faster, possibly special case or approximate, methods . Constrained minimization problems, even for simple constraints such as a cardinality lower bound, are mostly NP-hard, and not approximable to within better than a polynomial factor. Approximation algorithms for these problems with various techniques have been studied in . Unlike submodular minimization, all forms of submodular maximization are NP-hard. Most such problems, however, admit constant-factor approximations, which are attained via very simple combinatorial algorithms .

Majorization-minimization (MM)MM also refers to minorization-maximization here. algorithms are known to be useful in machine learning . Notable examples include the EM algorithm and the convex-concave procedure . Discrete instances have been used to minimize the difference between submodular functions , but these algorithms generally lack theoretical guarantees. This paper shows, by contrast, that for submodular optimization, MM algorithms have strong theoretical properties and empirically work very well.

Submodular semi-differentials

Each such permutation defines a chain with elements S0σ=∅S_{0}^{\sigma}=\emptyset, Siσ={σ(1),σ(2),…,σ(i)}S^{\sigma}_{i}=\{\sigma(1),\sigma(2),\dots,\sigma(i)\} and S∣Y∣σ=YS^{\sigma}_{|Y|}=Y. This chain defines an extreme point hYσh^{\sigma}_{Y} of ∂f(Y)\partial_{f}(Y) with entries

Surprisingly, we can also define superdifferentials ∂f(Y)\partial^{f}(Y) of a submodular function at YY:

We denote a generic supergradient at YY by gYg_{Y}. It is easy to show that the polyhedron ∂f\partial^{f} is non-empty. We define three special supergradients g^Y\hat{g}_{Y} (“grow”), gˇY\check{g}_{Y} (“shrink”) and gˉY\bar{g}_{Y} as follows :

For a monotone submodular function, i.e., a function satisfying f(A)≤f(B)f(A)\leq f(B) for all A⊆B⊆VA\subseteq B\subseteq V, the sub- and supergradients defined here are nonnegative.

The discrete MM framework

With the above semigradients, we can define a generic MM algorithm. In each iteration, the algorithm optimizes a modular approximation formed via the current solution YY. For minimization, we use an upper bound

Both these bounds are tight at the current solution, satisfying mgY(Y)=mhY(Y)=f(Y)m_{g_{Y}}(Y)=m_{h_{Y}}(Y)=f(Y). In almost all cases, optimizing the modular approximation is much faster than optimizing the original cost function ff.

Algorithm 1 shows our discrete MM scheme for maximization (MMax) [and minimization (MMin)] , and for both constrained and unconstrained settings. Since we are minimizing a tight upper bound, or maximizing a tight lower bound, the algorithm must make progress.

Algorithm 1 monotonically improves the objective function value for Problems 1 and 2 at every iteration, as long as a linear function can be exactly optimized over C\mathcal{C}.

By definition, it holds that f(Xt+1)≤mgXt(Xt+1)f(X^{t+1})\leq m^{g_{X^{t}}}(X^{t+1}). Since Xt+1X^{t+1} minimizes mgXtm^{g_{X^{t}}}, it follows that

The observation that Algorithm 1 monotonically increases the objective of maximization problems follows analogously. ∎

Contrary to standard continuous subgradient descent schemes, Algorithm 1 produces a feasible solution at each iteration, thereby circumventing any rounding or projection steps that might be challenging under certain types of constraints. In addition, it is known that for relaxed instances of our problems, subgradient descent methods can suffer from slow convergence . Nevertheless, Algorithm 1 still relies on the choice of the semigradients defining the bounds. Therefore, we next analyze the effect of certain choices of semigradients.

Submodular function minimization

For minimization problems, we use MMin with the supergradients g^X,gˇX\hat{g}_{X},\check{g}_{X} and gˉX\bar{g}_{X}. In both the unconstrained and constrained settings, this yields a number of new approaches to submodular minimization.

We begin with unconstrained minimization, where C=2V\mathcal{C}=2^{V} in Problem 1. Each of the three supergradients yields a different variant of Algorithm 1, and we will call the resulting algorithms MMin-I, II and III, respectively. We make one more assumption: of the minimizing arguments in Step 4 of Algorithm 1, we always choose a set of minimum cardinality.

MMin-I is very similar to the algorithms proposed in . Those authors, however, decompose ff and explicitly represent graph-representable parts of the function ff. We do not require or consider such a restriction here.

Let us define the sets A={j:f(j∣∅)<0}A=\{j:f(j|\emptyset)<0\} and B={j:f(j∣V∖{j})≤0}B=\{j:f(j|V\setminus\{j\})\leq 0\}. Submodularity implies that A⊆BA\subseteq B, and this allows us to define a latticeThis lattice contains all sets SS satisfying A⊆S⊆BA\subseteq S\subseteq B L=[A,B]\mathcal{L}=[A,B] whose least element is the set AA and whose greatest element is the set is BB. This sublattice L\mathcal{L} of [∅,V][\emptyset,V] retains all minimizers X∗X^{*} (i.e., A⊆X∗⊆BA\subseteq X^{*}\subseteq B for all X∗X^{*}):

Let L∗\mathcal{L}^{*} be the lattice of the global minimizers of a submodular function ff. Then L∗⊆L\mathcal{L}^{*}\subseteq\mathcal{L}, where we use ⊆\subseteq to denote a sublattice.

Lemma 5.1 has been used to prune down the search space of the minimum norm point algorithm from the power set of VV to a smaller lattice . Indeed, AA and BB may be obtained by using MMin-III:

With X0=∅X^{0}=\emptyset and X0=VX^{0}=V, MMin-III returns the sets AA and BB, respectively. Initialized by an arbitrary X0X^{0}, MMin-III converges to (X0∩B)∪A(X^{0}\cap B)\cup A.

When using X0=∅X^{0}=\emptyset, we obtain X1=argmin⁡Xf(∅)+∑j∈Xf(j)=AX^{1}=\operatorname*{argmin}_{X}f(\emptyset)+\sum_{j\in X}f(j)=A. Since A⊆BA\subseteq B, the algorithm will converge to X1=AX^{1}=A. At this point, no more elements will be added, since for all i∉Ai\notin A we have gˉX1(i)=f(i∣∅)>0\bar{g}_{X^{1}}(i)=f(i\mid\emptyset)>0. Moreover, the algorithm will not remove any elements: for all i∈Ai\in A, it holds that gˉX1(i)=f(i∣V∖i)≤f(i)≤0\bar{g}_{X^{1}}(i)=f(i\mid V\setminus i)\leq f(i)\leq 0. By a similar argumentation, the initialization X0=VX^{0}=V will lead to X1=BX^{1}=B, where the algorithm terminates. If we start with any arbitrary X0X^{0}, MMin-III will remove the elements jj with f(j∣V∖j)>0f(j|V\setminus j)>0 and add the element jj with f(j∣∅)<0f(j|\emptyset)<0. Hence it will add the elements in AA that are not in X0X^{0} and remove those element from X0X^{0} that are not in BB. Let the resulting set be X1X^{1}. As before, for all i∈Ai\in A, it holds that gˉX1(i)=f(i∣V∖i)≤f(i)≤0\bar{g}_{X^{1}}(i)=f(i\mid V\setminus i)\leq f(i)\leq 0, so these elements will not be removed in any possible subsequent iteration. The elements i∈X1∖Ai\in X^{1}\setminus A were not removed, so f(i∣V∖i)≤0f(i\mid V\setminus i)\leq 0. Hence, no more elements will be removed after the first iteration. Similarly, no elements will be added since for all i∉X1i\notin X^{1}, it holds that f(i∣∅)≥f(i∣V∖i)>0f(i\mid\emptyset)\geq f(i\mid V\setminus i)>0. ∎

Lemma 5.2 implies that MMin-III effectively provides a contraction of the initial lattice to L\mathcal{L}, and, if X0X^{0} is not in L\mathcal{L}, it returns a set in L\mathcal{L}. Henceforth, we therefore assume that we start with a set X0∈LX^{0}\in\mathcal{L}.

While the known lattice L\mathcal{L} has proven useful for warm-starts, MMin-I and II enable us to prune L\mathcal{L} even further. Let A+A_{+} be the set obtained by starting MMin-I at X0=∅X^{0}=\emptyset, and B+B_{+} be the set obtained by starting MMin-II at X0=VX^{0}=V. This yields a new, smaller sublattice L+=[A+,B+]\mathcal{L}_{+}=[A_{+},B_{+}] that retains all minimizers:

For any minimizer X∗∈LX^{*}\in\mathcal{L}, it holds that A⊆A+⊆X∗⊆B+⊆BA\subseteq A_{+}\subseteq X^{*}\subseteq B_{+}\subseteq B. Hence L∗⊆L+⊆L\mathcal{L}^{*}\subseteq\mathcal{L}_{+}\subseteq\mathcal{L}. Furthermore, when initialized with X0=∅X^{0}=\emptyset and X0=VX^{0}=V, respectively, both MMin-I and II converge in O(n)O(n) iterations to a local minimum of ff.

By a local minimum, we mean a set XX that satisfies f(X)≤f(Y)f(X)\leq f(Y) for any set YY that differs from XX by a single element. We point out that Theorem 5.3 generalizes part of Lemma 3 in .

For the proof, we build on the following Lemma:

Every iteration of MMin-I can be written as Xt+1=Xt∪{j:f(j∣Xt)<0}X^{t+1}=X^{t}\cup\{j:f(j|X^{t})<0\}. Similarly, every iteration of MMin-II can be expressed as Xt+1=Xt\{j:f(j∣Xt∖j)>0}X^{t+1}=X^{t}\backslash\{j:f(j|X^{t}\setminus j)>0\}.

(Lemma 5.4) Throughout this paper, we assume that we select only the minimal minimizer of the modular function at every step. In other words, we do not choose the elements that have zero marginal cost. We observe that in iteration t+1t+1 of MMin-I, we add the elements ii with g^Xt(i)<0\hat{g}_{X^{t}}(i)<0, i.e., Xt+1=Xt∪{j:f(j∣Xt)<0}X^{t+1}=X^{t}\cup\{j:f(j|X^{t})<0\}. No element will ever be removed, since g^Xt(i)=f(i∣V∖i)≤f(i∣Xt−1)≤0\hat{g}_{X^{t}}(i)=f(i\mid V\setminus i)\leq f(i\mid X^{t-1})\leq 0. If we start with X0=∅X^{0}=\emptyset, then after the first iteration, it holds that X1=argmin⁡Xf(∅)+∑j∈Xf(j)X^{1}=\operatorname*{argmin}_{X}f(\emptyset)+\sum_{j\in X}f(j). Hence X1=AX^{1}=A. MMin-I terminates when reaching a set A+A_{+}, where f(j∣A+)≥0f(j|A_{+})\geq 0, for all j∉A+j\notin A_{+}.

The analysis of MMin-II is analogous. In iteration t+1t+1, we remove the elements ii with gˇXt(i)>0\check{g}_{X^{t}}(i)>0, i.e., Xt+1=Xt\{j:f(j∣Xt−j)>0}X^{t+1}=X^{t}\backslash\{j:f(j|X^{t}-j)>0\}. Similarly to the argumentation above, MMin-II never adds any elements. If we begin with X0=VX^{0}=V, then X1=\mboxargminXf(V)+∑j∈V\Xf(j∣V−{j})X^{1}=\mbox{arg min}_{X}f(V)+\sum_{j\in V\backslash X}f(j|V-\{j\}), and therefore X1=BX^{1}=B. MMin-II terminates with a set B+B_{+}. ∎

(Thm. 5.3) Since, by Lemma 5.4, MMin-I only adds elements and MMin-II only removes elements, at least one in each iteration, both algorithms terminate after O(n)O(n) iterations.

Let us now turn to the relation of X∗X^{*} to AA and BB. Since f(i)<0f(i)<0 for all i∈Ai\in A, the set X1=AX^{1}=A found in the first iteration of MMin-I must be a subset of X∗X^{*}. Consider any subset Xt⊆X∗X^{t}\subseteq X^{*}. Any element jj for which f(j∣Xt)<0f(j\mid X^{t})<0 must be in X∗X^{*} as well, because by submodularity, f(j∣X∗)≤f(j∣Xt)<0f(j\mid X^{*})\leq f(j\mid X^{t})<0. This means f(X∗∪j)<f(X∗)f(X^{*}\cup j)<f(X^{*}), which would otherwise contradict the optimality of X∗X^{*}. The set of such jj is exactly Xt+1X^{t+1}, and therefore Xt+1⊆X∗X^{t+1}\subseteq X^{*}. This induction shows that MMin-I, whose first solution is A⊆X∗A\subseteq X^{*}, always returns a subset of X∗X^{*}. Analogously, B⊇X∗B\supseteq X^{*}, and MMin-II only removes elements j∉X∗j\notin X^{*}.

Finally, we argue that A+A_{+} is a local minimum; the proof for B+B_{+} is analogous. Algorithm MMin-I generates a chain ∅=X0⊆X1⊆X2⋯⊆A+=XT\emptyset=X^{0}\subseteq X^{1}\subseteq X^{2}\cdots\subseteq A_{+}=X^{T}. For any t≤Tt\leq T, consider j∈Xt∖Xt−1j\in X^{t}\setminus X^{t-1}. Submodularity implies that f(j∣A+∖j)≤f(j∣Xt−1)<0f(j|A_{+}\setminus j)\leq f(j|X^{t-1})<0. The last inequality follows from the fact that jj was added in iteration tt. Therefore, removing any j∈A+j\in A_{+} will increase the cost. Regarding the elements i∉A+i\notin A_{+}, we observe that MMin-I has terminated, which implies that f(i∣A+)≥0f(i\mid A_{+})\geq 0. Hence, adding ii to A+A_{+} will not improve the solution, and A+A_{+} is a local minimum. ∎

Theorem 5.3 has a number of nice implications. First, it provides a tighter bound on the lattice of minimizers of the submodular function ff that, to the best of our knowledge, has not been used or mentioned before. The sets A+A_{+} and B+B_{+} obtained above are guaranteed to be supersets and subsets of AA and BB, respectively, as illustrated in Figure 2. This means we can start any algorithm for submodular minimization from the lattice L+\mathcal{L}_{+} instead of the initial lattice 2V2^{V} or L\mathcal{L}. When using an algorithm whose running time is a high-order polynomial of ∣V∣|V|, any reduction of the ground set VV is beneficial. Second, each iteration of MMin takes linear time. Therefore, its total running time is O(n2)O(n^{2}). Third, Theorem 5.3 states that both MMin-I and II converge to a local minimum. This may be counter-intuitive if one considers that each algorithm either only adds or only removes elements. In consequence, a local minimum of a submodular function can be obtained in O(n2)O(n^{2}), a fact that is of independent interest and that does not hold for local maximizers .

As a refinement to Theorem 5.3, we can show that MMin-I and MMin-II converge to the local minima of lowest and highest cardinality, respectively.

The set A+A_{+} is the smallest local minimum of ff (by cardinality), and B+B_{+} is the largest. Moreover, every local minimum ZZ is in L+\mathcal{L}_{+}: Z∈L+Z\in\mathcal{L}_{+} for every local minimum ZZ.

As a corollary, Lemma 5.5 implies that if a submodular function has a unique local minimum, MMin-I and II must find this minimum, which is a global one.

In the following we consider two extensions of MMin-I and II. First, we analyze an algorithm that alternates between MMin-I and MMin-II. While such an algorithm does not provide much benefit when started at X0=∅X^{0}=\emptyset or X0=VX^{0}=V, we see that with a random initialization X0=RX^{0}=R, the alternation ensures convergence to a local minimum. Second, we address the question of which supergradients to select in general. In particular, we show that the supergradients g^\hat{g} and gˇ\check{g} subsume alternativee supergradients and provide the tightest results with MMin. Hence, our results are the tight.

Instead of running only one of MMin-I and II, we can run one until it stops and then switch to the other. Assume we initialize both algorithms with a random set X0=R∈L+X^{0}=R\in\mathcal{L}_{+}. By Theorem 5.3, we know that MMin-I will return a subset R1⊃RR^{1}\supset R (no element will be removed because all removable elements are not in BB, and R⊂BR\subset B by assumption). When MMin-I terminates, it holds that g^R1(j)=f(j∣R1)≥0\hat{g}_{R^{1}}(j)=f(j|R^{1})\geq 0 for all j∉R1j\notin R^{1}, and therefore R1R^{1} cannot be increased using g^R1\hat{g}_{R_{1}}. We will call such a set an I-minimum. Similarly, MMin-II returns a set R1⊆RR_{1}\subseteq R from which, considering that gˇR1(j)=f(j∣R1∖j)≤0\check{g}_{R_{1}}(j)=f(j|R_{1}\setminus j)\leq 0 for all j∈R1j\in R_{1}, no elements can be removed. We call such a non-decreasable set a D-minimum. Every local minimum is both an I-minimum and a D-minimum.

We can apply MMin-II to the I-minimum R1R^{1} returned by MMin-I. Let us call the resulting set R2R^{2}. Analogously, applying MMin-I to R1R_{1} yields R2⊇R1R_{2}\supseteq R_{1}.

The sets R2R_{2} and R2R^{2} are local optima. Furthermore, R1⊆R2⊆R2⊆R1R_{1}\subseteq R_{2}\subseteq R^{2}\subseteq R^{1}.

It is easy to see that A⊆R1⊆BA\subseteq R_{1}\subseteq B, and A⊆R1⊆BA\subseteq R^{1}\subseteq B. By Lemma 5.4, MMin-I applied to R1R_{1} will only add elements, and MMin-II on R1R^{1} will only remove elements. Since R1R^{1} is an I-minimum, adding an element j∈V∖R1j\in V\setminus R^{1} to any set X⊂R1X\subset R^{1} never helps, and therefore R1R^{1} contains all of R1R_{1}, R2R_{2} and R2R^{2}. Similarly, R1R_{1} is contained in R2R_{2}, R2R^{2} and R1R^{1}. In consequence, it suffices to look at the contracted lattice [R1,R1][R_{1},R^{1}], and any local minimum in this sublattice is a local minimum on [∅,V][\emptyset,V]. Theorem 5.3 applied to the sublattice [R1,R1][R_{1},R^{1}] (and the submodular function restricted to the sublattice) yields the inclusion R2⊆R2R_{2}\subseteq R^{2}, so R1⊆R2⊆R2⊆R1R_{1}\subseteq R_{2}\subseteq R^{2}\subseteq R^{1}, and both R2R_{2} and R2R^{2} are local minima. ∎

The following lemma provides a more general view.

Let S1⊆S1S_{1}\subseteq S^{1} be such that S1S_{1} is an I-minimum and S1S^{1} is a D-minimum. Then there exist local minima S2⊆S2S_{2}\subseteq S^{2} in [S1,S1][S_{1},S^{1}] such that initializing with any X0∈[S1,S1]X^{0}\in[S_{1},S^{1}], an alternation of MMin-I and II converges to a local minimum in [S2,S2][S_{2},S^{2}], and

Let S2,S2S_{2},S^{2} be the smallest and largest local minima within [S1,S1][S_{1},S^{1}]. By the same argumentation as for Lemma 5.6, using X0∈[S1,S1]X^{0}\in[S_{1},S^{1}] leads to a local minimum within [S2,S2][S_{2},S^{2}]. Since by definition all local optima in [S1,S1][S_{1},S^{1}] are within [S2,S2][S_{2},S^{2}], the global minimum within [S1,S1][S_{1},S^{1}] will also be in [S2,S2][S_{2},S^{2}]. ∎

The above lemmas have a number of implications for minimization algorithms. First, many of the properties for initializing with VV or the empty set can be transferred to arbitrary initializations. In particular, the succession of MMin-I and II will terminate in O(n2)O(n^{2}) iterations, regardless of what X0X^{0} is. Second, Lemmas 5.6 and 5.7 provide useful pruning opportunities: we can prune down the initial lattice to [R2,R2][R_{2},R^{2}] or [S2,S2][S_{2},S^{2}], respectively. In particular, if any global optimizer of ff is contained in [S1,S1][S_{1},S^{1}], it will also be contained in [S2,S2][S_{2},S^{2}].

Choice of supergradients.

We close this section with a remark about the choice of supergradients. The following Lemma states how g^X\hat{g}_{X} and gˇX\check{g}_{X} subsume alternative choices of supergradients and MMin-I and II lead to the tightest results possible.

Initialized with X0=∅X^{0}=\emptyset, Algorithm 1 will converge to a subset of A+A_{+} with any choice of supergradients. Initialized with X0=VX^{0}=V, the algorithm will converge to a superset of B+B_{+} with any choice of supergradients. If X0X^{0} is a local minimum, then the algorithm will not move with any supergradient.

The proof of Lemma 5.8 is very similar to the proof of Theorem 5.3.

2 Constrained submodular minimization

MMin straightforwardly generalizes to constraints more complex than C=2V\mathcal{C}=2^{V}, and Theorem 5.3 still holds for more general lattices or ring family constraints.

Beyond lattices, MMin applies to any set of constraints C\mathcal{C} as long as we have an efficient algorithm at hand that minimizes a nonnegative modular cost function over C\mathcal{C}. This subroutine can even be approximate. Such algorithms are available for cardinality bounds, independent sets of a matroid and many other combinatorial constraints such as trees, paths or cuts.

As opposed to unconstrained submodular minimization, almost all cases of constrained submodular minimization are very hard , and admit at most approximate solutions in polynomial time. The next theorem states an upper bound on the approximation factor achieved by MMin-I for nonnegative, nondecreasing cost functions. An important ingredient in the bound is the curvature of a monotone submodular function ff, defined as

Let X∗∈argmin⁡X∈Cf(X)X^{*}\in\operatorname*{argmin}_{X\in\mathcal{C}}f(X). The solution X^\widehat{X} returned by MMin-I satisfies

If the minimization in Step 4 is done with approximation factor β\beta, then f(X^)≤β/(1−κf)f(X∗)f(\widehat{X})\leq\beta/(1-\kappa_{f})f(X^{*}).

Before proving this result, we remark that a similar, slightly looser bound was shown for cuts in , by using a weaker notion of curvature. Note that the bound in Theorem 5.9 is at most n1+(n−1)(1−κf)\frac{n}{1+(n-1)(1-\kappa_{f})}, where n=∣V∣n=|V| is the dimension of the problem.

We will use the shorthand g≜g^∅g\triangleq\hat{g}_{\emptyset}. To prove Theorem 5.9, we use the following result shown in :

for any i∈Vi\in V. We now transfer this result to curvature. To do so, we use i′∈arg⁡max⁡i∈Vf(i)i^{\prime}\in\arg\max_{i\in V}f(i), so that g(X∗)=∑j∈X∗f(j)≤∣X∗∣f(i′)g(X^{*})=\sum_{j\in X^{*}}f(j)\leq|X^{*}|f(i^{\prime}). Observing that the function p(x)=x1+(1−κf)(x−1)p(x)=\frac{x}{1+(1-\kappa_{f})(x-1)} is increasing in xx yields that

For problems where κf<1\kappa_{f}<1, Theorem 5.9 yields a constant approximation factor and refines bounds for constrained minimization that are given in . To our knowledge, this is the first curvature dependent bound for this general class of minimization problems.

A class of functions with κf=1\kappa_{f}=1 are matroid rank functions, implying that these functions are difficult instances the MMin algorithms. But several classes of functions occurring in applications have more benign curvature. For example, concave over modular functions were used in . These comprise, for instance, functions of the form f(X)=(w(X))af(X)=(w(X))^{a}, for some a∈a\in and a nonnegative weight vector ww, whose curvature is κf≈1−a(min⁡jw(j)w(V))1−a>0\kappa_{f}\approx 1-a(\frac{\min_{j}w(j)}{w(V)})^{1-a}>0. A special case is f(X)=∣X∣af(X)=|X|^{a}, with curvature κf=1−ana−1\kappa_{f}=1-an^{a-1}, or f(X)=log⁡(1+w(X))f(X)=\log(1+w(X)) satisfying κf≈1−min⁡jw(j)w(V)\kappa_{f}\approx 1-\frac{\min_{j}w(j)}{w(V)}.

The bounds of Theorem 5.9 hold after the first iteration. Nevertheless, empirically we often found that for problem instances that are not worst-case, subsequent iterations can improve the solution substantially. Using Theorem 5.9, we can bound the number of iterations the algorithm will take. To do so, we assume an η\eta-approximate version, where we proceed only if f(Xt+1)≤(1−η)f(Xt)f(X^{t+1})\leq(1-\eta)f(X^{t}) for some η>0\eta>0. In practice, the algorithm usually terminates after 5 to 10 iterations for an arbitrarily small η\eta.

MMin-I runs in O(1ηTlog⁡n1+(n−1)(1−κf))O(\frac{1}{\eta}T\log\frac{n}{1+(n-1)(1-\kappa_{f})}) time, where TT is the time for minimizing a modular function subject to X∈CX\in\mathcal{C}.

At the end of the first iteration, we obtain a set X1X^{1} such that f(X1)≤n1+(n−1)(1−κf)f(X∗)f(X^{1})\leq\frac{n}{1+(n-1)(1-\kappa_{f})}f(X^{*}). The η\eta-approximate assumption implies that f(Xt+1)≤(1−η)f(Xt)≤(1−η)tf(X1)f(X^{t+1})\leq(1-\eta)f(X^{t})\leq(1-\eta)^{t}f(X^{1}). Using that log⁡(1−η)≤η−1\log(1-\eta)\leq\eta^{-1} and Theorem 5.9, we see that the algorithm terminates after at most O(1ηlog⁡n1+(n−1)(1−κf))O(\frac{1}{\eta}\log\frac{n}{1+(n-1)(1-\kappa_{f})}) iterations. ∎

3 Experiments

We will next see that, apart from its theoretical properties, MMin is in practice competitive to more complex algorithms. We implement and compare algorithms using Matlab and the SFO toolbox .

We first study the results in Section 5.1 for contracting the lattice of possible minimizers. We measure the size of the new lattices relative to the ground set. Applying MMin-I and II (lattice L+\mathcal{L}_{+}) to Iwata’s test function , we observe an average reduction of 99.5%99.5\% in the lattice. MMin-III (lattice L\mathcal{L}) obtains only about 60%60\% reduction. Averages are taken for nn between 2020 and 120120.

In addition, we use concave over modular functions w1(X)+λw2(V\X)\sqrt{w_{1}(X)}+\lambda w_{2}(V\backslash X) with randomly chosen vectors w1,w2w_{1},w_{2} in n^{n} and n=50n=50. We also consider the application of selecting limited vocabulary speech corpora. use functions of the form w1(Γ(X))+w2(V\X)\sqrt{w_{1}(\Gamma(X))}+w_{2}(V\backslash X), where Γ(X)\Gamma(X) is the neighborhood function of a bipartite graph. Here, we choose n=100n=100 and random vectors w1w_{1} and w2w_{2}. For both function classes, we vary λ\lambda such that the optimal solution X∗X^{*} moves from X∗=∅X^{*}=\emptyset to X∗=VX^{*}=V. The results are shown in Figure 3. In both cases, we observe a significant reduction of the search space. When used as a preprocessing step for the minimum norm point algorithm (MN) , this pruned lattice speeds up the MN algorithm accordingly, in particular for the speech data. The dotted lines represent the relative time of MN including the respective preprocessing, taken with respect to MN without preprocessing. Figure 3 also shows the average results over 1010 random choices of weights in both cases. In order to obtain accurate estimates of the timings, we run each experiment 55 times and take the minimum of these timing valuess.

Constrained minimization.

For constrained minimization, we compare MMin-I to two methods: a simple algorithm (MU) that minimizes the upper bound g(X)=∑i∈Xf(i)g(X)=\sum_{i\in X}f(i) (this is identical to the first iteration of MMin-I), and a more complex algorithm (EA) that computes an approximation to the submodular polyhedron and in many cases yields a theoretically optimal approximation. MU has the theoretical bounds of Theorem 5.9, while EA achieves a worst-case approximation factor of O(nlog⁡n)O(\sqrt{n}\log n). We show two experiments: the theoretical worst-case and average-case instances. Figure 4 illustrates the results.

Worst case.

where α=n1/2+ϵ\alpha=n^{1/2+\epsilon} and β=n2ϵ\beta=n^{2\epsilon}, and RR is a random set such that ∣R∣=α|R|=\alpha. This function is the theoretical worst case. Figure 4 shows results for cardinality lower bound constraints; the results for other, more complex constraints are similar. As ϵ\epsilon shrinks, the problem becomes harder. In this case, EA and MMin-I achieve about the same empirical approximation factors, which matches the theoretical guarantee of n1/2−ϵn^{1/2-\epsilon}.

Average case.

We next compare the algorithms on more realistic functions that occur in applications. Figure 4 shows the empirical approximation factors for minimum submodular-cost spanning tree, bipartite matching, and shortest path. We use four classes of randomized test functions: (1) concave (square root or log) over modular (CM), (2) clustered CM (CCM) of the form f(X)=∑i=1kw(X∩Ck)f(X)=\sum_{i=1}^{k}\sqrt{w(X\cap C_{k})} for clusters C1,⋯ ,CkC_{1},\cdots,C_{k}, (3) Best Set (BS) functions where the optimal feasible set RR is chosen randomly (f(X)=I(∣X∩R∣≥1)+∑j∈R\Xwjf(X)=I(|X\cap R|\geq 1)+\sum_{j\in R\backslash X}w_{j}) and (4) worst case-like functions (WC) similar to equation (11). Functions of type (1) and (2) have been used in speech and computer vision and have reduced curvature (κf<1\kappa_{f}<1). Functions of type (3) and (4) have κf=1\kappa_{f}=1. In all four cases, we consider both sparse and dense graphs, with random weight vectors ww. The plots show averages over 2020 instances of these graphs. For sparse graphs, we consider grid like graphs in the form of square grids, grids with diagonals and cubic grids. For dense graphs, we sparsely connect a few dense cluster subgraphs. For matchings, we restrict ourselves to bipartite graphs, and consider both sparse and dense variants of these.

First, we observe that in many cases, MMin clearly outperforms MU. This suggests the practical utility of more than one iteration. Second, despite its simplicity, MMin performs comparably to EA, and sometimes even better. In summary, the experiments suggest that the complex EA only gains on a few worst-case instances, whereas in many (average) cases, MMin yields near-optimal results (factor 1–2). In terms of running time, MMin is definitely preferable: on small instances (for example n=40n=40), our Matlab implementation of MMin takes 0.2 seconds, while EA needs about 58 seconds. On larger instances (n=500n=500), the running times differ on the order of seconds versus hours.

Submodular maximization

Just like for minimization, for submodular maximization too we obtain a family of algorithms where each member is specified by a distinct schedule of subgradients. We will only select subgradients that are vertices of the subdifferential, i.e., each subgradient corresponds to a permutation of VV. For any of those choices, MMax converges quickly. To bound the running time, we assume that we proceed only if we make sufficient progress, i.e., if f(Xt+1)≥(1+η)f(Xt)f(X^{t+1})\geq(1+\eta)f(X^{t}).

MMax with X0=argmax⁡jf(j)X^{0}=\operatorname*{argmax}_{j}f(j) runs in time O(Tlog⁡1+ηn)O(T\log_{1+\eta}n), where TT is the time for maximizing a modular function subject to X∈CX\in\mathcal{C}.

Let X∗X^{*} be the optimal solution, then

Furthermore, we know that f(Xt)≥(1+η)tf(X0)f(X^{t})\geq(1+\eta)^{t}f(X^{0}). Therefore, we have reached the maximum function value after at most (log⁡n)/log⁡(1+η)(\log n)/\log(1+\eta) iterations. ∎

In practice, we observe that MMax terminates within 3-10 iterations. We next consider specific subgradients and their theoretical implications. For unconstrained problems, we assume the submodular function to be non-monotone (the results trivially hold for monotone functions too); for constrained problems, we assume the function ff to be monotone nondecreasing. Our results rely on the observation that many maximization algorithms actually compute a specific subgradient and run MMax with this subgradient. To our knowledge, this observation is new.

In iteration tt, we randomly pick a permutation σ\sigma that defines a subgradient at Xt−1X^{t-1}, i.e., Xt−1X^{t-1} is assigned to the first ∣Xt−1∣|X^{t-1}| positions. At X0=∅X^{0}=\emptyset, this can be any permutation. Stopping after the first iteration (RP) achieves an approximation factor of 1/41/4 in expectation, and 1/21/2 for symmetric functions. Making further iterations (RA) only improves the solution.

When running Algorithm RP with X0=∅X^{0}=\emptyset, it holds after one iteration that E(f(X1))≥14f(X∗)\mathbf{E}(f(X^{1}))\geq\frac{1}{4}f(X^{*}) if ff is a general non-negative submodular function, and E(f(X1))≥12f(X∗)\mathbf{E}(f(X^{1}))\geq\frac{1}{2}f(X^{*}) if ff is symmetric.

Each permutation has the same probability 1/n!1/n! of being chosen. Therefore, it holds that

Let ∅⊆S1σ⊆S2σ⋯Snσ=V\emptyset\subseteq S^{\sigma}_{1}\subseteq S^{\sigma}_{2}\cdots S^{\sigma}_{n}=V be the chain corresponding to a given permutation σ\sigma. We can bound

because max⁡X⊆Vh∅σ(X)≥f(Skσ),∀k\max_{X\subseteq V}h^{\sigma}_{\emptyset}(X)\geq f(S^{\sigma}_{k}),\forall k and ∑k=0n(nk)2n=1\sum_{k=0}^{n}\frac{\binom{n}{k}}{2^{n}}=1. Together, Equations (14) and (15) imply that

By ES(f(S))\mathbf{E}_{S}(f(S)), we denote the expected function value when the set SS is sampled uniformly at random, i.e., each element is included with probability 1/21/2. shows that ES(f(S))≥14f(X∗)\mathbf{E}_{S}(f(S))\geq\frac{1}{4}f(X^{*}). For symmetric submodular functions, the factor is 12\frac{1}{2}. ∎

Randomized local search (RLS).

Instead of using a completely random subgradient as in RA, we fix the positions of two elements: the permutation must satisfy that σt(∣Xt∣+1)∈argmax⁡jf(j∣Xt)\sigma^{t}(|X^{t}|+1)\in\operatorname*{argmax}_{j}f(j|X^{t}) and σt(∣Xt∣−1)∈argmin⁡jf(j∣Xt\j)\sigma^{t}(|X^{t}|-1)\in\operatorname*{argmin}_{j}f(j|X^{t}\backslash j). The remaining positions are assigned randomly. An η\eta-approximate version of MMax with such subgradients returns an η\eta-approximate local maximum that achieves an improved approximation factor of 1/3−η1/3-\eta in O(n2log⁡nηO(\frac{n^{2}\log n}{\eta}) iterations.

Algorithm RLS returns a local maximum XX that satisfies max⁡{f(X),f(V\X)}≥(13−η)f(X∗)\max\{f(X),f(V\backslash X)\}\geq(\frac{1}{3}-\eta)f(X^{*}) in O(n2log⁡nηO(\frac{n^{2}\log n}{\eta}) iterations.

At termination (t=Tt=T), it holds that max⁡jf(j∣XT)≤0\max_{j}f(j|X^{T})\leq 0 and min⁡jf(j∣XT∖j)≥0\min_{j}f(j|X^{T}\setminus j)\geq 0; this implies that the set XtX^{t} is local optimum.

To show local optimality, recall that the subgradient hXTσTh^{\sigma^{T}}_{X^{T}} satisfies hXTσT(XT)=f(XT)h^{\sigma^{T}}_{X^{T}}(X^{T})=f(X^{T}), and hXTσT(Y)≥hXTσT(XT)h^{\sigma^{T}}_{X^{T}}(Y)\geq h^{\sigma^{T}}_{X^{T}}(X^{T}) for all Y⊆VY\subseteq V. Therefore, it must hold that maxj∉XTf(j∣XT)=max⁡j∉XThXTσT(j)≤0max_{j\notin X^{T}}f(j|X^{T})=\max_{j\notin X^{T}}h^{\sigma^{T}}_{X^{T}}(j)\leq 0, and min⁡j∈XTf(j∣XT\j)=hXTσT(j)≥0\min_{j\in X^{T}}f(j|X^{T}\backslash j)=h^{\sigma^{T}}_{X^{T}}(j)\geq 0, which implies that the set XTX^{T} is a local maximum.

We now use a result by showing that if a set XX is a local optimum, then f(X)≥13f(X∗)f(X)\geq\frac{1}{3}f(X^{*}) if ff is a general non-negative submodular set function and f(X)≥12f(X∗)f(X)\geq\frac{1}{2}f(X^{*}) if ff is a symmetric submodular function. If the set is an η\eta-approximate local optimum, we obtain a 13−η\frac{1}{3}-\eta approximation . A complexity analysis similar to Theorem 6.1 reveals that the worst case complexity of this algorithm is O(n2log⁡nη)O(\frac{n^{2}\log n}{\eta}). ∎

Note that even finding an exact local maximum is hard for submodular functions , and therefore it is necessary to resort to an η\eta-approximate version, which converges to an η\eta-approximate local maximum.

Deterministic local search (DLS).

A completely deterministic variant of RLS defines the permutation by an entirely greedy ordering. We define permutation σt\sigma^{t} used in iteration tt via the chain ∅=S0σt⊂S1σt⊂…⊂Snσt\emptyset=S^{\sigma^{t}}_{0}\subset S^{\sigma^{t}}_{1}\subset\ldots\subset S^{\sigma^{t}}_{n} it will generate. The initial permutation is σ0(j)=argmax⁡k∉Sj−1σ0f(k∣Sj−1σ0)\sigma^{0}(j)=\operatorname*{argmax}_{k\notin S^{\sigma^{0}}_{j-1}}f(k|S^{\sigma^{0}}_{j-1}) for j=1,2,…j=1,2,\ldots. In subsequent iterations tt, the permutation σt\sigma^{t} is

This schedule is equivalent to the deterministic local search (DLS) algorithm by , and therefore achieves an approximation factor of 1/3−η1/3-\eta.

Bi-directional greedy (BG).

The procedures above indicate that greedy and local search algorithms implicitly define specific chains and thereby subgradients. Likewise, the deterministic bi-directional greedy algorithm by induces a distinct permutation of the ground set. It is therefore equivalent to MMax with the corresponding subgradients and achieves an approximation factor of 1/31/3. This factor improves that of the local search techniques by removing η\eta. Moreover, unlike for local search, the 1/31/3 approximation holds already after the first iteration.

The set X1X^{1} obtained by Algorithm 1 with the subgradient equivalent to BG satisfies that f(X)≥13f(X∗)f(X)\geq\frac{1}{3}f(X^{*}).

Given an initial ordering τ\tau, the bi-directional greedy algorithm by generates a chain of sets. Let στ\sigma^{\tau} denote the permutation defined by this chain, obtainable by mimicking the algorithm. We run MMax with the corresponding subgradient. By construction, the set SτS^{\tau} returned by the bi-directional greedy algorithm is contained in the chain. Therefore, it holds that

The first inequality follows since the subgradient is tight for all sets in the chain. For the second inequality, we used that SτS^{\tau} belongs to the chain, and hence Sτ=SjστS^{\tau}=S^{\sigma^{\tau}}_{j} for some jj. The last inequality follows from the approximation factor satisfied by SτS^{\tau} . We can continue the algorithm, using any one of the adaptive schedules above to get a locally optimal solution. This can only improve the solution. ∎

Randomized bi-directional greedy (RG).

Like its deterministic variant, the randomized bi-directional greedy algorithm by can be shown to run MMax with a specific subgradient. Starting from ∅\emptyset and VV, it implicitly defines a random chain of subsets and thereby (random) subgradients. A simple analysis shows that this subgradient leads to the best possible approximation factor of 1/21/2 in expectation.

Like its deterministic counterpart, the Randomized bi-directional Greedy algorithm (RG) by induces a (random) permutation στ\sigma^{\tau} based on an initial ordering τ\tau.

If the subgradient in MMax is determined by στ\sigma^{\tau}, then the set X1X^{1} after the first iteration satisfies E(f(X1))≥12f(X∗)\mathbf{E}(f(X^{1}))\geq\frac{1}{2}f(X^{*}), where the expectation is taken over the randomness in στ\sigma^{\tau}.

The permutation στ\sigma^{\tau} is obtained by a randomized algorithm, but once στ\sigma^{\tau} is fixed, the remainder of MMax is deterministic. By an argumentation similar to that in the proof of Lemma 6.4, it holds that

The last inequality follows from a result in . ∎

2 Constrained Maximization

In this final section, we analyze subgradients for maximization subject to the constraint X∈CX\in\mathcal{C}. Here we assume that ff is monotone. An important subgradient results from the greedy permutation σg\sigma^{g}, defined as

This definition might be partial; we arrange any remaining elements arbitrarily. When using the corresponding subgradient hσgh^{\sigma^{g}}, we recover a number of approximation results already after one iteration:

Using hσgh^{\sigma^{g}} in iteration 1 of MMax yields the following approximation bounds for X1X^{1}:

1κf(1−e−κf)\frac{1}{\kappa_{f}}(1-e^{-\kappa_{f}}), if C={X⊆V:∣X∣≤k}\mathcal{C}=\{X\subseteq V:|X|\leq k\}

1p+κf\frac{1}{p+\kappa_{f}}, for the intersection C ⁣= ⁣∩i=1pIi\mathcal{C}\!=\!\cap_{i=1}^{p}\mathcal{I}_{i} of pp matroids

1κf(1−(K−κfK)k)\frac{1}{\kappa_{f}}(1-(\frac{K-\kappa_{f}}{K})^{k}), for any down-monotone constraint C\mathcal{C}, where KK and kk are the maximum and minimum cardinality of the maximal feasible sets in C\mathcal{C}.

We prove the first result for cardinality constraints. The proofs for the matroid and general down-monotone constraints are analogous. By the construction of σg\sigma^{g}, the set SkσgS^{\sigma^{g}}_{k} is exactly the set returned by the greedy algorithm. This implies that

A very similar construction of a greedy permutation provides bounds for budget constraints, i.e., c(S)≜∑i∈Sc(i)≤Bc(S)\triangleq\sum_{i\in S}c(i)\leq B for some given nonnegative costs cc. In particular, define a permutation as:

Using σg\sigma^{g} in MMax under the budget constraints yields:

Let σijk\sigma^{ijk} be a permutation with i,j,ki,j,k in the first three positions, and the remaining arrangement greedy. Running O(n3)O(n^{3}) restarts of MM yields sets XijkX_{ijk} (after one iteration) with

The proof is analogous to that of Lemma 6.6. Table 1 lists results for monotone submodular maximization under different constraints.

It would be interesting if some of the constrained variants of non-monotone submodular maximization could be naturally subsumed in our framework too. In particular, some recent algorithms propose local search based techniques to obtain constant factor approximations for non-monotone submodular maximization under knapsack and matroid constraints. Unfortunately, these algorithms require swap operations along with inserting and deleting elements. We do not currently know how to phrase these swap operations via our framework and leave this relation as an open problem.

While a number of algorithms cannot be naturally seen as an instance of our framework, we show in the following section that any polynomial time approximation algorithm for unconstrained or constrained variants of submodular optimization can be ultimately seen as an instance of our algorithm, via a polynomial-time computable subgradient.

3 Generality

The correspondences between MMax and maximization algorithms hold even more generally:

For any polynomial-time unconstrained submodular maximization algorithm that achieves an approximation factor α\alpha, there exists a schedule of subgradients (obtainable in polynomial time) that, if used within MMax, leads to a solution with the same approximation factor α\alpha.

The proof relies on the following observation.

Lemma 6.9 implies that there exists a permutation (and equivalent subgradient) with which MMax finds the optimal solution in the first iteration. Known hardness results imply that this permutation may not be obtainable in polynomial time.

(Lemma 6.9) The first equality in Lemma 6.9 follows from the fact that any submodular function ff can be written as

For the second equality, we use the fact that a linear program over a polytope has a solution at one of the extreme points of the corresponding polytope. ∎

(Thm. 6.8) Let YY be the set returned by the approximation algorithm; this set is polynomial-time computable by definition. Let τ\tau be an arbitrary permutation that places the elements in YY in the first ∣Y∣|Y| positions. The subgradient hτh^{\tau} defined by τ\tau is a subgradient both for ∅\emptyset and for YY. Therefore, using X0=∅X^{0}=\emptyset and hτh^{\tau} in the first iteration, we obtain a set X1X^{1} with

The equality follows from the fact that YY belongs to the chain of τ\tau. ∎

While the above theorem shows the optimality of MMax in the unconstrained setting, a similar result holds for the constrained case:

Let C\mathcal{C} be any constraint such that a linear function can be exactly maximized over C\mathcal{C}. For any polynomial-time algorithm for submodular maximization over C\mathcal{C} that achieves an approximation factor α\alpha, there exists a schedule of subgradients (obtainable in polynomial time) that, if used within MMax, leads to a solution with the same approximation factor α\alpha.

The proof of Corollary 6.10 follows directly from the Theorem 6.8. Lastly, we pose the question of selecting the optimal subgradient in each iteration. An optimal subgradient hh would lead to a function mhm_{h} whose maximization yields the largest improvement. Unfortunately, obtaining such an “optimal” subgradient is impossible:

The problem of finding the optimal subgradient σOPT=argmax⁡σ,X⊆VhXtσ(X)\sigma^{OPT}=\operatorname*{argmax}_{\sigma,X\subseteq V}h^{\sigma}_{X^{t}}(X) in Step 4 of Algorithm 1 is NP-hard even when C=2V\mathcal{C}=2^{V}. Given such an oracle, however, MMax using subgradient σOPT\sigma^{OPT} returns a global optimizer.

Lemma 6.9 implies that an optimal subgradient at X0=∅X^{0}=\emptyset or X0=VX^{0}=V is a subgradient at an optimal solution. An argumentation as in Equation (40) shows that using this subgradient in MM leads to an optimal solution. Since this would solve submodular maximization (which is NP-hard), it must be NP-hard to find such a subgradient.

To show that this holds for arbitrary XtX^{t} (and correspondingly at every iteration), we use that the submodular subdifferential can be expressed as a direct product between a submodular polyhedron and an anti-submodular polyhedron . Any problem involving an optimization over the sub-differential, can then be expressed as an optimization over a submodular polyhedron (which is a subdifferential at the empty set) and an anti-submodular polyhedron (which is a subdifferential at VV) . Correspondingly, Equation (38) can be expressed as the sum of two submodular maximization problems. ∎

4 Experiments

We now empirically compare variants of MMax with different subgradients. As a test function, we use the objective of , f(X)=∑i∈V∑j∈Xsij−λ∑i,j∈Xsijf(X)=\sum_{i\in V}\sum_{j\in X}s_{ij}-\lambda\sum_{i,j\in X}s_{ij}, where λ\lambda is a redundancy parameter. This non-monotone function was used to find the most diverse yet relevant subset of objects in a large corpus. We use the objective with both synthetic and real data. We generate 1010 instances of random similarity matrices {sij}ij\{s_{ij}\}_{ij} and vary λ\lambda from 0.50.5 to 1. Our real-world data is the Speech Training data subset selection problem on the TIMIT corpus , using the string kernel metric for similarity. We use 20≤n≤3020\leq n\leq 30 so that the exact solution can still be computed with the algorithm of .

We compare the algorithms DLS, BG, RG, RLS, RA and RP, and a baseline RS that picks a set uniformly at random. RS achieves a 1/41/4 approximation in expectation . For random algorithms, we select the best solution out of 5 repetitions. Figure 5 shows that DLS, BG, RG and RLS dominate. Even though RG has the best theoretical worst-case bounds, it performs slightly poorer than the local search ones and BG. Moreover, MMax with random subgradients (RP) is much better than choosing a set uniformly at random (RS). In general, the empirical approximation factors are much better than the theoretical worst-case bounds. Importantly, the MMax variants are extremely fast, about 200-500 times faster than the exact branch and bound technique of .

Discussion and Conclusions

In this paper, we introduced a general MM framework for submodular optimization algorithms. This framework is akin to the class of algorithms for minimizing the difference between submodular functions . In addition, it may be viewed as a special case of a proximal minimization algorithm that uses Bregman divergences derived from submodular functions . To our knowledge this is the first generic and unifying framework of combinatorial algorithms for submodular optimization.

An alternative framework relies on relaxing the discrete optimization problem by using a continuous extension (the Lovász extension for minimization and multilinear extension for maximization). Relaxations have been applied to some constrained and unconstrained minimization problems as well as maximization problems . Such relaxations, however, rely on a final rounding step that can be challenging — the combinatorial framework obviates this step. Moreover, our results show that in many cases, it yields good results very efficiently.

Acknowledgments: We thank Karthik Mohan, John Halloran and Kai Wei for discussions. This material is based upon work supported by the National Science Foundation under Grant No. IIS-1162606, and by a Google, a Microsoft, and an Intel research award. This material is also based upon work supported in part by the Office of Naval Research under contract/grant number N00014-11-1-068, NSF CISE Expeditions award CCF-1139158 and DARPA XData Award FA8750-12-2-0331, and gifts from Amazon Web Services, Google, SAP, Cisco, Clearstory Data, Cloudera, Ericsson, Facebook, FitWave, General Electric, Hortonworks, Intel, Microsoft, NetApp, Oracle, Samsung, Splunk, VMware and Yahoo!.

References