Provable Submodular Minimization using Wolfe's Algorithm
Deeparnab Chakrabarty, Prateek Jain, Pravesh Kothari
Introduction
However, from a practical stand point, none of the provably polynomial time algorithms exhibit good performance on instances of SFM encountered in practice (see §4). This, along with the widespread applicability of SFM in machine learning, has inspired a large body of work on practically fast procedures (see for a survey). But most of these procedures focus either on special submodular functions such as decomposable functions or on constrained SFM problems .
Fujishige-Wolfe’s Algorithm for SFM: For any submodular function , the base polytope of is defined as follows:
This approach towards SFM was revitalized in 2006 when Fujishige and Isotani announced encouraging computational results regarding the minimum norm point algorithm. In particular, this algorithm significantly out-performed all known provably polynomial time algorithms. Theoretically, however, little is known regarding the convergence of Wolfe’s procedure except for the finite, but exponential, running time Wolfe himself proved. Nor is the situation any better for its application on the base polytope. Given the practical success, we believe this is an important, and intriguing, theoretical challenge.
In this work, we make some progress towards analyzing the Fujishige-Wolfe method for SFM and, in fact, Wolfe’s algorithm in general. In particular, we prove the following two results:
We prove (in Theorem 4) that for any polytope , Wolfe’s algorithm converges to an -approximate solution, in steps. More precisely, in iterations, Wolfe’s algorithm returns a point , where .
We prove (in Theorem 5) a robust version of a theorem by Fujishige relating min-norm points on the base polytope to SFM. In particular, we prove that an approximate min-norm point solution provides an approximate solution to SFM as well. More precisely, if satisfies for all , then, , where can be constructed efficiently using .
Together, these two results gives us our main result which is a pseudopolynomial bound on the running time of the Fujishige-Wolfe algorithm for submodular function minimization.
Our analysis suggests that the Fujishige-Wolfe’s algorithm is dependent on and has worse dependence on than the Iwata-Orlin algorithm. To verify this, we conducted empirical study on several standard SFM problems. However, for the considered benchmark functions, running time of Fujishige-Wolfe’s algorithm seemed to be independent of and exhibited better dependence on than the Iwata-Orlin algorithm. This is described in §4.
Preliminaries: Submodular Functions and Wolfe’s Algorithm
The connection between the SFM problem and the base polytope was first established in the following minimax theorem of Edmonds .
Given any submodular function with , we have
The following theorem of Fujishige shows the connection between finding the minimum norm point in the base polytope of a submodular function and the problem of SFM on input . This forms the basis of the Fujishige-Wolfe algorithm. In §3.2, we prove a robust version of this theorem.
2 Wolfe’s Algorithm for Minimum Norm Point of a polytope.
When , the algorithm on termination (if it terminates) returns the minimum norm point in since . For completeness, we sketch Wolfe’s argument in of finite termination. Note that always; otherwise the affine minimizer is which either terminates the program or starts a minor cycle which decrements . Thus, the number of minor cycles in a major cycle , and it suffices to bound the number of major cycles. Each major cycle is associated with a set whose affine minimizer, which is the current , lies in the convex hull of . Wolfe calls such sets corrals. Next, we show that strictly decreases across iterations (major or minor cycle) of the algorithm, which proves that no corral repeats, thus bounding the number of major cycles by the number of corrals. The latter is at most , where is the number of vertices of .
Consider iteration which starts with and ends with . Let be the set at the beginning of iteration . If the iteration is a major cycle, then is the affine minimizer of where . Since (the algorithm doesn’t terminate in iteration ) and (affine minimizer property), we get , and so (since the affine minimizer is unique). If the iteration is a minor cycle, then , where is the affine minimizer of and . Since ( since ), we get .
Analysis
Our refined analysis of Wolfe’s algorithm is encapsulated in the following theorem.
Let be an arbitrary polytope such that the maximum Euclidean norm of any vertex of is at most . After iterations, Wolfe’s algorithm returns a point which satisfies , for all points . In particular, this implies .
The above theorem shows that Wolfe’s algorithm converges to the minimum norm point at an -rate. We stress that the above is for any polytope. To apply this to SFM, we prove the following robust version of Fujishige’s theorem connecting the minimum norm point in the base polytope and the set minimizing the submodular function value.
Fix a submodular function with base polytope . Let be such that for all . Renumber indices such that . Let where is smallest index satisfying (C1) and (C2) . Then, for any subset . In particular, if and is integer-valued, then is a minimizer.
Theorem 4 and Theorem 5 implies our main theorem. See 1
We prove Theorem 4 and Theorem 5 in §3.1 and §3.2, respectively.
The stumbling block in the analysis of Wolfe’s algorithm is the interspersing of major and minor cycles which oscillates the size of preventing it from being a good measure of progress. Instead, in our analysis, we use the norm of as the measure of progress. Already we have seen that strictly decreases. It would be nice to quantify how much the decrease is, say, across one major cycle. This, at present, is out of our reach even for major cycles which contain two or more minor cycles in them. However, we can prove significant drop in norm in major cycles which have at most one minor cycle in them. We call such major cycles good. The next easy, but very useful, observation is the following: one cannot have too many bad major cycles without having too many good major cycles.
In any consecutive iterations, there exists at least one good major cycle.
Consider a run of iterations where all major cycles are bad, and therefore contain minor cycles. Say there are major cycles and minor cycles, and so implying . Let be the set at the start of these iterations and be the set at the end. We have . Therefore, , since .∎
Before proceeding, we introduce some notation.
Given a point , let us denote . Given a point and , let and let . Observe that since .
We now use to index all good major cycles. Let be the point at the beginning of the -th good major cycle. The next theorem shows that the norm significantly drops across good major cycles.
For iterating over good major cycles, .
We now complete the proof of Theorem 4 using Theorem 6.
Using Theorem 6, we get that since for all . We claim that in good major cycles, we reach with . To see this rewrite as follows:
Now let . Define such that for all we have for . That is, is the first time at which . Note that for , we have . This implies in time units after , we will have ; we have used the fact that when . That is, . We are interested in where . We get .
Next, we claim that in good major cycles, where , we obtain an with . This is because, if not, then, using Theorem 6, in each of the good major cycles , falls additively by and thus , which is a contradiction. Therefore, in good major cycles, the algorithm obtains an with , proving Theorem 4. ∎
The rest of this subsection is dedicated to proving Theorem 6.
We start off with a simple geometric lemma.
where is an upper bound on .
Since is the minimum norm point in , we have . In particular, . Therefore,
where the first inequality is Cauchy-Schwartz and the second is triangle inequality. Lemma now follows by taking square of the above expression and by observing that . ∎
The above lemma takes case of major cycles with no minor cycles in them.
Let be the index of a good major cycle with no minor cycles. Then .
Let be the set at start of the th good major cycle, and let be the point minimizing . Let and let be the minimum norm point in . Since there are no minor cycles, . Abuse notation and let be the iterate at the call of the next major cycle (and not the next good major cycle). Since the norm monotonically decreases, it suffices to prove the lemma statement for this . Now apply Lemma 2 with and and . We have that . ∎
Now we have to argue about major cycles with exactly one minor cycle. The next observation is a useful structural result.
Consider any (not necessarily good) major cycle. Let be the parameters at the beginning of this cycle, and let be the parameters at the beginning of the next major cycle. Then, .
Clearly since is added and then maybe minor cycles remove some points from . Suppose . Well, then . But is the affine minimizer of and is the affine minimizer of . Since is the larger set, we get . This contradicts the strict decrease in the norm. ∎
Suppose the th good major cycle has exactly one minor cycle. Then, .
Let be the parameters at the beginning of the th good major cycle. Let be the affine minimizer of . Since there is one minor cycle, . Let be the intermediate , that is, point in the line segment which lies in . Let be the set after the single minor cycle is run. Since there is just one minor cycle, we get (abusing notation once again since the next major cycle maynot be good) is the affine minimizer of .
Let . From Lemma 2, and using is the minimizer of over all , we have:
Recall, for some . Since is the min-norm point of , and , we get . this yields:
Further, recall that is the set after the only minor cycle in the iteration is run and thus, from Lemma 4, . by definition. And since there is only one minor cycle, is the affine minimizer of . We can apply Lemma 2 with and , to get
Now we lower bound . By definition of , we have:
where the last equality follows since (since and is affine minimizer of ). This gives
We need to show that the RHS is at least . Intuitively, if is small (close to ), the first term implies this using (3), and if is large (close to ), then the second term implies this. The following paragraph formalizes this intuition for any .
Now, if , we are done. Therefore, we assume . In this case, using the fact that , we get that
Substituting in (7), and using (3), we get
Lemma 3 and Lemma 5 complete the proof of Theorem 6.
2 A Robust version of Fujishige’s Theorem
In this section we prove Theorem 5 which we restate below. See 5
Before proving the theorem, note that setting gives Fujishige’s theorem Theorem 3.
We claim that the following inequality holds. Below, .
We prove this shortly. Let and be as defined in the theorem statement. Note that , since (C2) doesn’t hold for any index with . Furthermore, since , we get using (9), . Therefore, which implies the theorem due to Theorem 2.
Now we prove (9). Let be the point which minimizes . By the Greedy algorithm described in Section 2.1, we know that . Next, we write in a different basis as follows: . Here is used as the shorthand for the vector which has ’s in the first coordinates and s everywhere else. Taking dot product with , we get
Since , we get is . Therefore the RHS of (10) is the LHS of (9). The LHS of (10), by the assumption of the theorem, is at most implying (9). ∎
Discussion and Conclusions
Note that our anlaysis of the Fujishige-Wolfe algorithm is weaker than the best known method in terms of time complexity (IO method by ) on two counts: a) dependence on , b) dependence on . In contrast, we found this algorithm significantly outperforming the IO algorithm empirically – we show two plots here. In Figure 1 (a), we run both on Erdos-Renyi graphs with and randomly chosen nodes. In Figure 1 (b), we run both on the Iwata group functions with groups. Perhaps more interestingly, in Figure 1 (c), we ran the Fujishige-Wolfe algorithm on the simple path graph where were the end points, and changed the capacities on the edges of the graph which changed the parameter . As can be seen, the number of iterations of the algorithm remains constant even for exponentially increasing .