Abstract 1 Introduction 2 Preliminaries 3 Main Algorithm 4 Analysis of the Main Algorithm 5 Algorithm for Non-monotone Submodular Functions References

Submodular Maximization over a Matroid k-Intersection: Multiplicative Improvement over Greedy

Moran Feldman111This work was done while the author was visiting Queen Mary University of London. ORCID Department of Computer Science, University of Haifa, Israel    Justin Ward ORCID School of Mathematical Sciences, Queen Mary University of London, UK
Abstract

We study the problem of maximizing a non-negative monotone submodular objective f subject to the intersection of k arbitrary matroid constraints. The natural greedy algorithm guarantees (k+1)-approximation for this problem, and the state-of-the-art algorithm only improves this approximation ratio to k. We give a 2kln21+ln2+O(k)<0.819k+O(k) approximation algorithm for this problem. Our result is the first multiplicative improvement over the approximation ratio of the greedy algorithm for general k. We further show that our algorithm can be used to obtain roughly the same approximation ratio also for the more general problem in which the objective is not guaranteed to be monotone (the sublinear term in the approximation ratio becomes O(k2/3) rather than O(k) in this case).

All of our results hold also when the k-matroid intersection constraint is replaced with a more general matroid k-parity constraint. Furthermore, unlike the case in many of the previous works, our algorithms run in time that is independent of k and polynomial in the size of the ground set. Our algorithms are based on a hybrid greedy local search approach recently introduced by Singer and Thiery [38] for the weighted matroid k-intersection problem, which is a special case of the problem we consider. Leveraging their approach in the submodular setting requires several non-trivial insights and algorithmic modifications since the marginals of a submodular function f, which correspond to the weights in the weighted case, are not independent of the algorithm’s internal randomness. In the special weighted case studied by [38], our algorithms reduce to a variant of the algorithm of [38] with an improved approximation ratio of (k+1)ln2+O(ε)<0.694k+0.694+O(ε), compared to an approximation ratio of k+12ln20.722k+0.722 guaranteed by Singer and Thiery [38].

Keywords and phrases:
Submodular function, matroid k-parity, matroid intersection, local search, greedy
Category:
Track A: Algorithms, Complexity and Games
Copyright and License:
[Uncaptioned image] © Moran Feldman and Justin Ward; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Mathematics of computing Combinatorial optimization
; Theory of computation Approximation algorithms analysis
Related Version:
Full Version: https://arxiv.org/pdf/2602.08473 [15]
Acknowledgements:
We would like to thank an anonymous reviewer for pointing out an error in a previous version of this paper.
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis

1 Introduction

An important branch of combinatorial optimization studies the maximization of linear and submodular functions subject to natural families of combinatorial constraints. One large such family is matroid k-intersection – the family of constraints that can be represented as the intersection of k matroid constraints. In 1978, Fisher, Nemhauser and Wolsey [16] showed that the natural greedy algorithm guarantees (k+1)-approximation for the problem of maximizing a monotone submodular function subject to a matroid k-intersection constraint, and for linear functions the above approximation ratio improves to k [25, 22].

Improving over the above guarantees of the greedy algorithm has been an open question for many years, and until recently success has mostly been limited to special cases such as k-dimensional matching constraints. Here, we are given a hypergraph H=(V,E) such that the set V of vertices can be partitioned into k disjoint subsets (or parts) V1,V2,Vk, and each hyperedge eE contains at most 1 vertex from each one of the subsets Vi. Such hypergraphs are known as k-partite hypergraphs. The k-dimensional matching constraint requires that we select a set of vertex disjoint hyperedges from E (i.e., a matching in H). This constraint can be captured by an intersection of k partition matroid constraints, each enforcing that no vertex of a particular set Vi is contained in two hyperedges.

Following a long line of works (including [1, 7, 3, 4, 34, 36, 40]), Neuwohner [35] obtained an approximation ratio of 0.4986k+O(1) for weighted k-dimensional matching (i.e., the problem of maximizing a linear function subject to a k-dimensional matching constraint).222We note that Thiery [41] derived better approximation results for small to moderate values of k, but for large k values he only obtains a weaker guarantee of 0.5k. In the more general case of monotone submodular objectives, Ward [42] obtained a slightly weaker approximation ratio of k/2+O(1). In the less general case of a cardinality objective (i.e., when the goal is to maximize the number of elements in the solution), the best-known approximation is k/3+O(1) [39, 11, 17]. On the hardness side, Lee, Svensson and Thiery [27] have shown that even in the unweighted case, no polynomial time algorithm can obtain better than k/12-approximation, improving on a previous lower bound of Ω(k/logk) due to Hazan, Safra and Schwartz [19].

All the above algorithmic results apply even for the more general case of k-set packing constraints, which are similar to k-dimensional matching constraints, but allow the graph H to be a general k-uniform hypergraph rather than a k-partite hypergraph. Unlike k-dimensional matching constraints, k-set packing constraints are not captured by matroid k-intersection, but they have a different crucial property, namely, that multiple individual exchanges between two sets can be carried out simultaneously as a single valid exchange. This property holds for partition matroids and, more generally, for strongly base orderable matroids, but does not necessarily hold even for a single general matroid constraint.

For general matroid k-intersection constraints, Lee, Sviridenko and Vondrák [28] gave a local search algorithm with an approximation ratio of k1 for linear functions and k for monotone submodular functions. In the special case of a cardinality objective, the same authors [29] gave a different local search algorithm with an approximation ratio of k/2+ε. We note that while the improvement in approximation for the cardinality objective has been by a multiplicative factor of 2, the improvements for submodular and linear functions have, until recently, been only by an additive term. This gap stems from the fact that the analysis presented in [29] is based on global arguments that are appropriate for the unweighted case in which all elements are equally valuable, but obtaining a result for a weighted problem requires more local arguments.

Recently, Singer and Thiery [38] have overcome this obstacle to give a k2ln2+O(1)0.722k+O(1)-approximation for linear objective functions by combining greedy and local search techniques. Like the result of Lee, Sviridenko and Vondrák [29] for unweighted matroid k-intersection, the algorithm of [38] works in fact even for the more general class of matroid k-parity constraints. This class may be viewed as a common generalization of matroid k-intersection and k-set packing constraints. See Figure 1 for a graphical depiction of the relationships between the different families of constraints we have discussed. The figure also states the state-of-the-art result for each combination of constraint family and class of objective functions.

Figure 1: The four families of constraints discussed in Section 1. An arrow from family A of constraints to family B indicates that family B generalizes family A. Below each constraint family, we list the state-of-the-art approximation ratios for maximizing cardinality (C), linear (L), monotone submodular (MS) and/or non-monotone submodular (NS) objectives subject to constraints of this family. New results of this paper are marked with a grey background (and the results they improve over appear below them in parentheses). To avoid repetition, the approximation ratios for k-Dimensional Matching constraints are omitted as they are identical to the ratios for the more general k-Set Packing constraints.

1.1 Our Results

In this paper, we obtain the first result that multiplicatively improves over the approximation guarantee of the greedy algorithm for the problem of maximizing a monotone submodular objective function subject to a general matroid k-intersection constraint. Our technique is based on the one of Singer and Thiery [38], and like theirs, works also for the more general family of matroid k-parity constraints.

Let us briefly review the algorithm of Thiery and Singer. Given some δ>0,333In our algorithm, we fix δ=1/2, but we leave it as a parameter here for consistency with [38]. Thiery and Singer define a sequence of markers (or thresholds), of the form mi=W(1δ)i, where W is the maximum weight of any element and i0. These are used to partition the elements into classes according to their weight: an element e appears in the i-th weight class if w(e)[mi,mi1). The algorithm processes weight classes in descending order of weight and maintains a solution A, which is initially empty. When processing a weight class C, the algorithm applies local search to find a feasible approximately maximum weight extension XC to the current solution A. The elements of X are then permanently added to A, and the algorithm continues to the next weight class. Intuitively, since all elements in C have similar weights, one mainly cares about maximizing the number of elements in X. Let X denote the largest possible extension X. Guarantees for the local search procedure for the unweighted matroid k-parity problem can be leveraged to show that |X|(2/k)|X|. However, the size of X might be smaller than the number of elements of the optimal solution within the class C because some elements of the optimal solution might be “blocked” by elements from heavier weight classes that are already in A. In order to bound the weight of the blocked elements, Thiery and Singer note that each selected element e can block at most k elements in total. Thus, if each blocked element has weight of at most cw(e) for some c<1, then one obtains ck approximation for blocked elements. Unfortunately, c might be very nearly 1, in which case the guarantee degenerates to k. However, this can happen only when the blocking element e falls near the boundary of its weight class. To avoid this, Singer and Thiery multiply all markers by a single uniformly random shift τ. They then show that for each element, the probability some marker mi lands near its weight is small, and thus the expected approximation for all blocked elements can indeed be bounded by ck for some c<1.

A major obstacle for adapting the algorithm of Singer and Thiery to submodular functions is that, under such functions, there is no longer a static notion of weight. Previous works [28, 42, 6, 8] have adapted local search algorithms for weighted maximization to submodular objectives by using the marginal or incremental contributions of an element e as a surrogate weight. In other words, if f is the objective function, then the adaptations implicitly define the weight of e to be w(e)f(A{e})f(A), where A is the current solution.444In some cases, A is in fact some appropriate subset of the current solution, but this distinction is unimportant for the sake of this high-level discussion. However, applying this idea to the algorithm of Singer and Thiery [38] breaks their solution for the problem of bounding the weight of the blocked elements. Recall that Singer and Thiery obtain this bound by applying a random shift, which guarantees that the probability that the weight of an element e is close to the boundary of its weight class is small. However surrogate weights w(e) defined as above depend on the solution A constructed by the algorithm, and indirectly also on the random shift. This creates correlations between the weights and the shift, which make it difficult to bound the probability that the weight of an element is close to the boundary of its weight class.

Our solution for the above hurdle is to introduce an additional auxiliary weight u(e) for every element e in the optimal solution O. Unlike the surrogate weights w(e), the weights u(e) depend only on O, and not on the solution set A, and thus are independent of the random shift of the algorithm. However, as these weights depend on the unknown set O, they are unavailable to the algorithm, which must continue to use the weights w(e). This limitation of the algorithm is not important when w(e) and u(e) roughly agree, and thus, the output of the algorithm is good (in expectation) in this case. In order to obtain a result that holds in general, we further show that whenever the two weights disagree significantly, this discrepancy can be used to obtain an alternative bound on the value of the output of the algorithm.

Along the way, we observe that since the weight classes are defined using exponentially decreasing thresholds, it is natural to draw the random shift used by the algorithm to set these thresholds from an exponential distribution. Using this distribution for the shift instead of the uniform distribution employed by [38] leads to some improvement also for linear objective functions compared to the approximation ratio of roughly 0.722k+O(1) obtained by [38]. More formally, we prove the following theorem.

Theorem 1.1.

For every ε>0, there exists an algorithm that runs in Poly(|E|,ε1) time and guarantees an approximation ratio of 2kln21+ln2+O(k)0.819k+O(k) for maximizing a non-negative monotone submodular function f:2E0 under a matroid k-parity constraint (E,). Moreover, if f is linear, the approximation ratio of the algorithm improves to (k+1)ln2+O(ε)0.694k+0.694+O(ε).

We note that the algorithm of [38] considers exchanges of size proportional to k in its local search, which leads to a time complexity that is polynomial only when k is constant. In contrast, the algorithm of Theorem 1.1 considers only exchanges of constant size, and therefore, runs in polynomial time regardless of the value of k.

We also consider the maximization of a non-monotone submodular function subject to a matroid k-parity constraint. Algorithms for maximizing monotone submodular functions usually still produce for a non-monotone submodular function f a guarantee of the form f(A)αf(AO), where A is the output set of the algorithm, O is the optimal solution and α is positive number. Gupta, Roth, Schoenebeck and Talwar [18] described a general framework for translating such a guarantee into a real approximation ratio, and their framework was improved by subsequent works [33, 13]. Unfortunately, because of the use of our novel auxiliary weights, when our algorithm from Theorem 1.1 is analyzed in the context of a non-monotone submodular function f, it yields a guarantee of the more involved form f(A)αf(AO)βf(O) for some β<α. Nevertheless, we are able to adapt the version of the framework used by [13] to transform guarantees of our more involved form into standard approximation ratios, which yields the following theorem.

Theorem 1.2.

There exists an algorithm that runs in Poly(|E|) time and guarantees an approximation ratio of 2kln21+ln2+O(k2/3)0.819k+O(k2/3) for maximizing a non-negative (not necessarily monotone) submodular function f:2E0 under a matroid k-parity constraint (E,).

1.2 Additional Related Work

When k=2, one can exactly optimize a linear function over a matroid k-intersection constraint via the classical algorithms of Edmonds [12] or Cunningham [10]. Similarly, a 2-set packing constraint is simply a standard matching constraint, and one can exactly optimize linear functions over it in polynomial time. Lawler [26] introduced the family of matroid parity constraints as a common generalization of both these families of constraints. Here, we are given a set E of disjoint pairs of elements from V and a matroid on V, and the goal is to find a collection of pairs from E whose union is independent for . In contrast to 2-set packing and matroid 2-intersection, it is impossible to maximize even a cardinality objective under a matroid parity constraint in polynomial time when the matroid is given as an independence oracle [31, 23]. The problem is also known to be NP-hard (see, e.g., [37, §43.9]), but Lee, Sviridenko and Vondrák [29] showed that it admits a PTAS.

When k3, optimizing over both matroid k-intersection and k-set packing constraints is NP-hard as both these constraint families generalize k-dimensional matching constraints, and optimizing over the last family of constraints is NP-hard even for cardinality objectives [24]. All these types of constraints are generalized by the family of matroid k-parity constraints, and this family also generalizes the above-mentioned family of matroid parity constraints in the sense that matroid parity constraints are equivalent to matroid 2-parity constraints. The formal definition of matroid k-parity constraints can be found in Section 2, and we refer the reader to [29] for a more detailed discussion of the relationship between these and other families of constraints.

Finally, we note that improved results are known in several special cases. For matroid 2-intersection constraints, Huang and Sellier [20] give a 32-approximation in the special case that the objective is a vertex cover function. For matroid k-parity constraints, there are several results for the special case that the matroid is linear and a representation is given. In this setting, when k=2 an exact polynomial time algorithm for cardinality objectives was given by Lovász [30], and Iwata and Kobayashi [21] later gave an exact polynomial time algorithm for maximizing linear objectives. For larger k values, in the same setting, exact FPT algorithms are known for both cardinality and linear objectives, with exponential dependence on k and the rank of the matroid or the number of blocks in the solution [2, 32]. In contrast, in this paper, we give approximation algorithms that require no assumptions on the structure of the underlying matroid and have a running time that is independent of k.

Paper Structure.

Section 2 describes the definitions and notation that we use, as well as some known results. Our main algorithm is then presented in Section 3, and Section 4 shows that this algorithm has the approximation guarantees stated by Theorem 1.1 for linear and monotone submodular functions. Finally, Section 5 explains how to use the main algorithm to prove also our result for non-monotone submodular functions (Theorem 1.2).

2 Preliminaries

In this section, we present preliminaries consisting of definitions, notations and known results used in this paper. The preliminaries are loosely grouped based on whether they are more related to the objective function or to the constraint of the problem we consider.

2.1 Constraint Preliminaries

Matroids.

A combinatorial constraint is given by a pair (E,), where E is a ground set of elements and 2E is the collection of all subsets of E that are feasible according to the constraint. The constraint =(E,) is a matroid if is non-empty and also obeys the following two properties.

  • Down-closedness: for every two sets STE, if T then also S.

  • Augmentation: for every two sets S,T, if |S|<|T|, then there exists an element eTS such that S{e}.

It is customary to refer to the sets in the collection as the independent sets of . Notice that the augmentation property of matroids implies that all the inclusion-wise maximal independent sets of have the same size. This size is known as the rank of . Like in the last definition, we often need in this paper to add or remove a single element from a set. For this purpose, given a set S and an element e, it is convenient to use S+e and Se as shorthands denoting S{e} and S{e}, respectively.

Matroid 𝒌-Parity.

A matroid k-parity constraint is given by a matroid =(V,) together with a partition E of the elements of V into disjoint sets of size at most k. Borrowing terminology from hypergraphs, we refer to the elements of E as edges and the elements of V as vertices. The ground set of the matroid k-parity constraint is the set E of edges and a subset SE is feasible according to the constraint if the union of the edges in S is independent in . More formally, if we denote by v(e) the set of up to k vertices of V appearing in e, then the matroid k-parity constraint is the combinatorial constraint (E,), where {SEeSv(e)}. It is often useful to extend the function v to sets of edges in the natural way, namely, v(S)eSv(e) for every set SE. Note that every matroid k-parity constraint is down-closed; i.e., if A then B for all BA. This follows immediately from the fact that the matroid is down-closed by definition.

In Section 1, it was mentioned that matroid k-parity constraints generalize the intersection of k matroid constraints. Let us now briefly explain why that is the case. Consider an arbitrary combinatorial constraint (X,) that can be obtained as the intersection of k matroids, i.e., there exist k matroids (X,1),(X,2),,(X,k) such that =i=1kk. We can represent this as a matroid k-parity constraint as follows. Define an edge for each element xX, and let the k vertices of this edge be denoted by (x,1),(x,2),,(x,k). Intuitively, the element (x,i) represents the element x in the matroid (X,i). Based on this intuition, we construct a matroid over the resulting set V of vertices by defining that a subset SV is independent in if {eE(e,i)S}ii[k]. One can verify that is a matroid, and so (E,) is a matroid k-parity constraint given by E and that is equivalent to the original matroid intersection constraint.

We use in this paper the exchange property for matroid k-parity constraints given by Lemma 2.1. This property was implicitly proved by [38], and the full version of this paper [15] provides a different, and arguably simpler, proof of it. Lemma 2.1 proves that given two feasible sets A and B, one can construct for every element bB a set Nb consisting of A elements that intuitively block the addition of b to A. Claims 2 and 3 of Lemma 2.1 show that for some sets BB, adding the elements of B to A and removing the elements of bBNb is an exchange that preserves feasibility. In general, designing sets Nb that allow for such exchanges is not very difficult. For example, one could set Nb=AB for all bB, which would allow an exchange for every BB. Thus, to make Lemma 2.1 interesting (and useful), it is necessary to have constraints on the structure of the sets Nb guaranteeing that these sets are not “too rich”. Claims 1 and 4 of Lemma 2.1 play the role of these constraints.

Lemma 2.1.

Consider a matroid k-parity constraint (E,), and let A,B be two sets of edges that are feasible for this constraint. Then, there exists a collection of sets {NbAbB} such that

  1. 1.

    For every element bBA, Nb={b}; and for every element bBA, NbAB.

  2. 2.

    A{bB:Nb=}.

  3. 3.

    For every aA, (Aa){bB:Nb={a}}.

  4. 4.

    For every aA, there are at most k distinct bB such that aNb.

Independence/Feasibility Oracle.

In most applications of combinatorial constraints, it is useful to have algorithms whose time complexities are polynomial in the size of the ground set E rather than the size of the collection of feasible sets, which might be exponential in |E|. Therefore, algorithms that operate on such constraints usually assume that is not part of the input, but can be accessed through an oracle, known as independence or feasibility oracle, that takes as input a set SE and answers whether S. The algorithms in this paper implicitly follow this standard assumption.

2.2 Objective Function Preliminaries

A set function f:2E is a function that assigns a value to every subset of a given ground set E. Given a set S and an element e, we denote by f(eS)f(S+e)f(S) the marginal contribution of e to S. Similarly, given an additional set T, we denote by f(TS)f(ST)f(S) the marginal contribution of T to S. The set function f is called monotone if f(eS)0 for every set SE and element eE. The set function f is called submodular if f(eS)f(eT) for every two sets ST and element eET. In other words, f is submodular if the marginal contribution of an element e to a set S can only diminish when additional elements are added to the set S. An alternative, equivalent, characterization of submodularity states that f is submodular if and only if f(S)+f(T)f(ST)+f(ST) for every two sets S,TE.

In the case that f(S)+f(T)=f(ST)+f(ST) for all S,TE, we say that f is modular. Equivalently, a modular set function can be defined as a function of the form f(S)=w0+eSwe, where w0 and {weeE} are arbitrary real values. In the special case that w0=0 (and thus, f()=0), we say that f is linear.

Our algorithms optimize a submodular set function f. However, as in the case of combinatorial constraints, it often does not make sense to assume that the algorithm has an explicit description of f because this description can be exponential in the size of the ground set E. Instead, our algorithms implicitly make the standard assumption that f is accessed through a value oracle that given a set SE returns f(S).

3 Main Algorithm

In this section, we present our main algorithm, given below as Algorithm 1. In Section 4, we prove that Algorithm 1 provides the approximation guarantees for linear and monotone submodular functions given in Theorem 1.1. Algorithm 1 is also a central component in the proof of Theorem 1.2 for non-monotone submodular objectives. As stated, Algorithm 1 is not necessarily a polynomial time algorithm as it might have a large number of iterations. In the full version of this paper [15], we describe a polynomial time implementation of this algorithm that skips over unnecessary iterations.

Algorithm 1 gets as input a ground set E, a submodular function f:2E obeying f()0, the collection of the feasible sets of some matroid k-parity constraint over the ground set E and an error parameter ε(0,1). It then iteratively constructs sets A1,A2, whose union becomes the algorithm’s output. For ease of notation, Algorithm 1 uses Ai to denote the union A1A2Ai. When thinking in terms of the intuition given in Section 1, A1 is the part of the solution of the algorithm chosen from the highest “weight class”, A2 is the part of the solution of the algorithm chosen from the second highest “weight class”, and so on. Accordingly, Algorithm 1 adds to the set Ai only elements with large enough marginal values. More specifically, Algorithm 1 defines a series of exponentially decreasing thresholds mi, and adds to Ai only elements whose marginal contribution is at least mi.

To understand the details of the construction of the sets Ai by Algorithm 1, we need the following definition.

Definition 3.1 ((θ,ε)-improvement).

Let θ>0 and ε(0,1) be two given values, and A be a feasible solution. We say that a pair of sets SEA and NA is a (θ,ε)-improvement for A if (AS)N and one of the following holds:

  1. 1.

    S={x},N=, and f(xA)θ.

  2. 2.

    S={x},N={y}, f(xA)θ, and f(A+xy)f(A)+εθ.

  3. 3.

    |S|=2,N={y} and f(x1A)θ, f(x2A+x1)θ for at least one of the two possible ways to assign the labels x1,x2 to the elements of S.

At the beginning of iteration i of Algorithm 1, the sets A1,A2,,Ai1 are already finalized. Algorithm 1 then tries to construct a set Ai that is a good addition to these sets. It does so by initializing Ai to be the empty set, and then improving Ai1Ai via a series of (mi,ε)-improvements. Notice that, by definition, the elements added by these improvements to Ai have marginals of at least mi, as promised above. Since the sets A1,A2,,Ai1 are finalized before the i-th iteration of Algorithm 1, and must not be modified at this iteration, the algorithm considers only (mi,ε)-improvements whose set N of removed elements is a subset of the current set Ai. Whenever an improvement of this kind is found, it is applied by setting Ai(AiS)N, and once no more such (mi,ε)-improvements can be found, the i-th iteration of Algorithm 1 terminates.

Algorithm 1 Greedy/Local-Search Hybrid Algorithm (E,f,,ε).

As mentioned above, in the full version of this paper [15], we show that Algorithm 1 can in fact be simulated in polynomial time. In order to derive the approximation guarantees of Theorem 1.1, it is sufficient to prove here the weaker claim that Algorithm 1 terminates. In each iteration i, Algorithm 1 repeatedly searches for and applies (mi,ε)-improvements for some current solution A. Each such improvement either increases |A|, or leaves |A| unchanged and increases f(A). Since there are only finitely many possible distinct values for |A| and f(A), it follows that each iteration of Algorithm 1 must terminate. The following observation implies that Algorithm 1 can perform at most finitely many iterations before terminating.

Observation 3.2.

For any input to Algorithm 1, there is an integer L0 such that f(eAL)0 for every eEAL with AL+e, and furthermore, if L0, then AL.

Proof.

First, we note that any iteration i in which at least one (mi,ε)-improvement is found, must end with |Ai|>0. This follows directly from the structure of (θ,ε)-improvements, which never decrease the size of the set A that is being improved. Since the sets Ai produced across different iterations are disjoint by construction, there can be at most |E| iterations in which the algorithm finds at least one (θ,ε)-improvement. Let L be the index of the last such iteration, or 0 if there are no such iterations. Suppose, for the sake of contradiction, that there is some eEAL with AL+e and f(eAL)>0. Since no (θ,ε)-improvements are found after iteration L, we must have Ai=AL for all i>L. But, for sufficiently large i1+log2Wlog2f(eAL), we then have eEAi with f(eAi)=f(eAL)mi and Ai+e=AL+e. Thus, ({e},) would be a valid (mi,ε)-improvement in iteration i>L, contradicting the fact that no such improvements are found by Algorithm 1.

Observation 3.2 implies that Algorithm 1 terminates after L iterations. Therefore, in the rest of our analysis we use AL to denote the output set of Algorithm 1. Note that the condition on Line 8 of the algorithm implies that the set Ai=Ai1Ai finalized at the end of each iteration i is locally optimal with respect to (mi,ε)-improvements with NAi. That is, for every i[L], there is no (mi,ε) improvement (S,N) for Ai with such N. In particular, considering (mi,ε)-improvements of the first kind gives the following observation.

Observation 3.3.

For every i[L], the inequality f(eAi)<mi holds for every eEAi that obeys Ai+e at the end of iteration i.

Proof.

Suppose Ai+e for some eEAi at the end of iteration i. If f(eAi)mi, then ({e},) would be a valid (mi,ε)-improvement, contradicting the fact that the loop on Line 8 of Algorithm 1 terminated.

Before concluding this section, let us intuitively explain two aspects of Algorithm 1. The first aspect is the choice of powers of 2 to define the thresholds mi. This choice guarantees that it is always beneficial (or at least non-detrimental) to replace a single element of Ai with two, which is a property that naturally holds in the unweighted version of the problem, and is necessarily for borrowing arguments from this version. The second aspect is that unlike many local-search-based algorithms for submodular maximization, Algorithm 1 considers a very restricted set of possible improvements, namely, improvements that only involve the removal of up to a single element and the addition of up to two elements. The restriction to add at most two elements is a natural consequence of the restriction to remove at most a single element because, as discussed above, if removing a single element enables the addition of two or more elements, then this is already beneficial (or at least non-detrimental) to add two of them. Thus, it only remains to understand why Algorithm 1 only considers improvements removing at most a single element. The reason for that is that the exchange property that we use (Lemma 2.1) only guarantees the existence of such improvements, and therefore, taking advantage in the analysis of improvements removing multiple elements would require proving a stronger exchange property.

4 Analysis of the Main Algorithm

In this section, we bound the approximation guarantee of Algorithm 1 when f:2E is a general submodular function with f()0. We then use this bound to prove Theorem 1.1. Fix a matroid k-parity constraint (E,). In the following, we consider an execution of Algorithm 1 on this matroid k-parity constraint and the above function f. Recall that AL is the output of this algorithm, and thus our objective is to lower bound f(AL) in terms of f(O), where O is an optimal solution for our given instance (i.e., a set in maximizing f). Without loss of generality, we may restrict our analysis to optimal solutions that satisfy the following property.

Definition 4.1.

A feasible set O is strictly down-monotone (with respect to f) if f(xOx)>0 for every xO.

To see that such a restriction is without loss of generality, note that as long as f(xOx)0 for some element xO, removing this element from O gives a new feasible solution that is smaller, but has at least the same value as O and thus is also optimal. Hence, any minimal size optimal solution is strictly down-monotone.

Our analysis below does not use any property of O beside its strict down-monotonicity. In particular, it does not use the optimality of O, and therefore, applies also when O is a strictly down-monotone set that is not necessarily optimal. This property of the analysis is used in Section 5. The analysis consists of a few steps. First, in Section 4.1, we partition the elements of O into sets {Oii[L]}. Intuitively, each Oi is a subset of O whose contribution is bounded in terms of the contribution of the elements of Ai, i.e., the elements selected in iteration i of Algorithm 1. We quantify these contributions in Section 4.2 by defining weights w and w¯ for the elements of AL and O, respectively. Section 4.3 then classifies the elements of O into three different types of elements, and Section 4.5 separately bounds the total weight of each type in terms of the weight of AL via appropriate charging arguments.

In the linear case, the weights w and w¯ of elements are identical and independent of the sets Algorithm 1 constructs. This makes our charging scheme essentially the same as the one used in [38]. However, in the submodular case, the weights depend on the final set AL returned by the algorithm. In order to analyze the effect of the random shift τ selected by Algorithm 1, we must thus introduce, in Section 4.4, a set of auxiliary weights u quantifying the value of O in a fashion that is independent of AL. Our analysis then explicitly considers how these weights u differ from w¯. Specifically, we show that if there is a large discrepancy between u and w¯, then we can handle the resulting loss in the analysis by balancing with an alternative lower bound on f(AL) that gains from such a discrepancy.

4.1 Partitioning the Elements of 𝑶

This section describes a partition of O into disjoint sets O1,O2,,OL. Analogously to the sets Ai, for every integer 0iL, we use Oi to denote the union j=1iOj. Intuitively, each set Oi represents elements from O whose values can be bounded in terms of the elements selected as Ai in iteration i of Algorithm 1 and thus need not be considered when later iterations of this algorithm are analyzed. In line with this intuition, we prove below that the elements of OOi, whose values need to be bounded in terms of elements selected by later iterations, can all be feasibly added to the solution Ai that Algorithm 1 has after iteration i.

We can now formally define the partition of O. Recall that O0= by definition. For every i[L], the set Oi is given by the recursive formula Oi{oOOi1No(i)}, where {No(i)AioAi1(OOi1)} is the collection of sets obtained by applying Lemma 2.1 with the sets Ai and Ai1(OOi1) as the sets A and B of the lemma, respectively. Recall that applying Lemma 2.1 with these sets requires them to be feasible. The feasibility of Ai is clear. The feasibility of Ai1(OOi1) follows from the next observation, which can be proven by induction on i using claims 1 and 2 of Lemma 2.1.

Observation 4.2.

For every integer 0iL, Ai(OOi) is feasible and Ai(OOi)=.

4.2 Defining Weights for the Charging Argument

We now define the weights we use to quantify the values of elements in O and AL. An element’s weight is based on the incremental value it adds to a given set, and in the linear case it corresponds exactly to the weight of this element in the definition the objective function f (as long as this weight is non-negative). In order to define the incremental values, we order the elements of AL as a1,a2,,a|AL|, in the order in which they were last added by Algorithm 1 to any of the sets A1,A2,,AL. Applying (θ,ε)-improvements of the third kind involves adding 2 elements to Ai at the same time, which creates an ambiguity. To resolve the ambiguity, recall that in such improvements, Definition 3.1 specifies that there must be a way to assign the two added elements the labels x1 and x2 so that f(x1A)θ and f(x2A+x1)θ, where A is the set improved by the (θ,ε)-improvement. In our ordering of AL, we suppose that the element corresponding to x1 is added to Ai immediately before the element corresponding to x2.555If both ways to label the added elements obey the above inequalities, then we arbitrary select one of them. Given our ordering a1,,a|AL|, we define the weight of each element ajAL as w(aj)f(aj{a1,a2,,aj1}).

We proceed similarly for elements in O. Let us denote the elements of O by o1,o2,o|O| in an arbitrary order.666While the order o1,o2,o|O| is arbitrary, it is essential that this order is not chosen in a way that depends on the random bits of Algorithm 1. Then, for any ojO, we define

w¯(oj)max{0,f(oj(ALoj){o1,o2,,oj1})}.

Note that we ensure that the w¯ weights are always non-negative. Let us briefly provide some intuition for the second expression in the maximum. For any ojOAL, this term is equal to f(ojAL{o1,,oj1}), and thus the weights w¯ capture the incremental values obtained when adding all such elements sequentially to the set AL. For any element ojOAL, we could define w¯(oj)=0, since it provides no such incremental value. However, it is useful in the linear case to ensure that all the weights we are defining are equal to the natural notion of an element’s weight (i.e., f({x})) whenever this weight is non-negative. The chosen expression ensures that this is the case even for xOAL.

It is convenient to extend the above-defined weights to sets. We do this in the natural way, i.e., for any set TAL, we define w(T)eTw(e), and for any set TO, we define w¯(T)eTw¯(e). The following lemma proves some basic properties of the weights w and w¯. The first three claims of the lemma show that an element’s weight must fall into a particular range defined by the values mi, depending on which (if any) set Ai or Oi this element appears in. The final claim relates the two weights w and w¯ given to elements that appear in both AL and O.

Lemma 4.3.

The weights w and w¯ satisfy the following.

  1. 1.

    For every i[L] and element aAi, 0<miw(a)mi1.

  2. 2.

    For every i[L] and element oOi, w¯(o)mi1.

  3. 3.

    For all oOOL, w¯(o)=0.

  4. 4.

    For every element oOAL, w¯(o)w(o).

Proof.

We prove each claim in turn.

Claim 1.

Consider the moment that aAi was last added to Ai by Algorithm 1, and let A¯i denote the value of this set just before the element a was added by some (mi,ε)-improvement (if the (mi,ε)-improvement adds two elements, and a is the one labeled x2 in this improvement, then A¯i is assumed to already contain the element labeled as x1 by the improvement). Since a is added by an (mi,ε)-improvement for the set A¯iAi1,

mif(aA¯iAi1)w(a),

where the second inequality follows from the submodularity of f because all the elements of AL that were last added to the sets A1,A2,,AL before the last time in which a was added to Ai must also belong to A¯iAi1.

For the upper bound of the claim, first suppose that aA1. Then, by submodularity and the definition of W, w(a)f(a)WWτ=m0. In the general case, suppose aAi for some i>1. Then, aEAi1 with A¯iAi1+a. Since is down-closed, Ai1+a. Observation 3.3 then implies that mi1>f(aAi1)w(a), where the final inequality holds by submodularity since all the elements of Ai1 were added to the algorithm’s solution before a was added to Ai.

Claim 2.

We have oOiOOi1. By Observation 4.2, (OOi1)Ai1= and (OOi1)Ai1; and thus oEAi1 with Ai1+o. If i>1, then by Observation 3.3, we must have f(oAi1)<mi1. If i=1, we get the slightly weaker inequality f(oAi1)f(o)Wm0=mi1 by the submodularity of f. In either case, since mi1 is positive, max{0,f(oAi1)}mi1. Suppose that o is the j-th element oj in our ordering of O. Then, by submodularity,

w¯(o)=w¯(oj)= max{0,f(oj(ALoj){o1,o2,,oj1})}
max{0,f(ojAi1)}mi1.

Claim 3.

By Observation 4.2, OOL and AL are disjoint and (OOL)AL. Thus, for every ojOOL we have ojEAL and AL+oj. Observation 3.2 then implies that f(ojAL)0. Thus, by the submodularity of f,

w¯(oj)=max{0,f(oj(ALoj){o1,o2,,oj1})}max{0,f(ojAL)}=0.

Claim 4.

Suppose o=ojALO. Then, we must have o=aj for some ajAL. The first claim of the present lemma yields w(aj)>0 since aj must appear in some set Ai. Thus, by submodularity,

w(o)=w(aj)=max{0,w( aj)}=max{0,f(aj{a1,,aj1})}
max{0,f(aj(ALaj){o1,,oj1})}
=max{0,f(oj(ALoj){o1,,oj1})}=w¯(o).

4.3 Classifying the Elements of 𝑶 for Charging

In our charging scheme, we consider three different types of elements of O. The first is the elements that belong to some Oi, have weights approximately equal to the weights of the elements in Ai (up to a factor of mi1/mi=2) and can charge to only a single element of Ai. We denote below by O(s) the set of these elements. Intuitively, our analysis uses an argument borrowed from the (k/2+ε)-approximation algorithm for the unweighted matroid k-parity problem [29] to show that the elements of O(s) only contribute an additive constant to the approximation guarantee. The next type is the elements of OOL, which are “left over” at the end of Algorithm 1. The contributions of these elements are small, and can be essentially ignored. The final type is all remaining elements, i.e., OLO(s).

To formally define the set O(s) of the first type of elements of O, we define a set No for every element oOL as follows. For any oOL, let i be the single integer in [L] for which oOi, and define NoNo(i) (recall that No(i) is defined in Section 4.1). Intuitively, one can think of No as the set of elements of AL that are responsible for the inclusion of o in Oi. We then define for every i[L] a subset Oi(s)Oi given by Oi(s){oOiw¯(o)>mi and |No|=1}. Then, we can define O(s)i=1LOi(s). Notice that this definition is consistent with the above intuition in the following senses. First, each element oO(s) has indeed only a single element in No to “blame” for its inclusion in Oi and thus only a single element to charge to. Second, the weight of o is comparable to the weight of this single element because NoAi (see Observation 4.4 below), which implies by claim 1 of Lemma 4.3 that the weight of every element in No is in the range [mi,mi1].

Observation 4.4.

For every i[L], No=No(i)Ai for every oOi.

Proof.

Claim 1 of Lemma 2.1 guarantees that No(i) can intersect Ai1 only on the element o itself. However, oOi and thus does not belong to Ai1 by Observation 4.2.

The following lemma states some properties of the sets defined above. The first two claims of the lemma show that every element oO(s) “blames” a different element of AL for its inclusion in OL, and furthermore, they show that this element is almost as valuable as o. Claim 3 of the lemma shows that every element of AL is “blamed” by at most k elements of OL.

Lemma 4.5.

The above defined sets obey the following.

  1. 1.

    For every oO(s), w¯(o)(1+ε)w(No).

  2. 2.

    For every two elements o,oO(s), NoNo=.

  3. 3.

    Every aAL appears in No for at most k distinct oOL.

Proof.

First, we show that all oOi(s)Ai must have relatively large marginal contribution with respect to the set Ai. By definition, any ojOi(s) has 0<mi<w¯(oj)=f(oj(ALoj){o1,,oj1}). If ojAi, then (ALoj){o1,,oj1})AiO for any O{o1,,oj1} and thus, by submodularity,

mi<w¯(oj)f(ojAi)andmi<w¯(oj)f(ojAi+oj), (1)

for any j<j. Intuitively, these inequalities show that any such oj has marginal contribution large enough to be part of an (mi,ε)-exchange at the end of the iteration i. Using these observations, we now prove each claim of the lemma in turn.

Claim 1.

Consider any oO(s) and let i[L] be the (unique) value such that oOi(s). Then, since oOiOOi1, we must have oAi1 by Observation 4.2. If oAiOi(s)AiOi, then by claim 1 of Lemma 2.1, we are guaranteed that No={o}, which implies w(o)=w(No), and claim 4 of Lemma 4.3 further gives w¯(o)w(o). Thus, w¯(o)(1+ε)w¯(o)(1+ε)w(o)=(1+ε)w(No), as required.

Now, suppose that oOi(s)Ai. Then, oAi, and No=No(i)={a} for some element aAi. By the properties of No(i) (specifically, Lemma 2.1, claim 3), we have Aia+o. As shown above in (1), f(oAi)>mi. Thus, ({o},{a}) satisfies all the properties required of an (mi,ε) improvement of the second type, except for the inequality f(Aia+o)f(Ai)εmi. Since Algorithm 1 terminated iteration i, and finalized the set Ai, without applying this improvement, it must have been the case that this inequality was not satisfied, i.e.,

εmi> f(Aia+o)f(Ai)=f(oAia)f(aAia)
f(oAi)f(aAia)w¯(o)f(aAia)w¯(o)w(a),

where the second inequality follows from submodularity, the third inequality holds by the first inequality of (1), and the last inequality follows from submodularity and the definition of w. Rearranging, we have w¯(o)w(a)+εmi(1+ε)w(a)=(1+ε)w(No), where the second inequality follows from claim 1 of Lemma 4.3 since aAi.

Claim 2.

Consider any distinct oj,ojO(s), where j<j. We show below that if NojNoj, then an (mi,ε)-improvement of the third form exists for some Ai, contradicting the fact that iteration i of Algorithm 1 terminated and finalized the set Ai without applying this improvement.

To this end, suppose that NojNoj. Since both oj and oj are in O(s), we must have Noj=Noj={a} for some single element a, and this element a must belong to exactly one set Ai (for i[L]) since the sets Ai are disjoint by construction. Moreover, since No(i)Ai for all i[L], we further must have Noj=Noj(i)={a}, Noj=Noj(i)={a}, and oj,ojOi(s) for the same i[L]. Recall that the sets {No(i)oAi1(OOi1)} were constructed to satisfy the properties of Lemma 2.1 with respect to Ai and Ai1(OOi1). Since Noj(i)=Noj(i)={a}, the third such property implies that (Aia){oj,oj}. Additionally, since ojoj but Noj(i)=Noj(i), the first such property implies that oj,oj(Ai1(OOi1))Ai. Hence, oj,ojOi(s)Ai and by the inequalities of (1), they must obey f(ojAi)mi and f(ojAi+oj)mi. Thus, ({oj,oj},{a}) is a valid (mi,ε)-improvement for Ai, yielding the desired contradiction.

Claim 3.

Fix any aAL and let O={oOLaNo}. By the same argument as in the previous claim, since the sets Ai are disjoint and No=No(i)Ai for all oOi, there must be some single i[L] such that aAi and No=No(i) for all oO. For this i, the sets {No(i)oAi1(OOi1)} were constructed to satisfy the properties of Lemma 2.1. By the fourth such property, a appears in at most k of them, and hence, |O|k.

4.4 Defining Auxiliary Weights Independent of 𝑨𝑳

The weights, sets and properties given in the preceding subsections are sufficient to carry out a charging argument analogous to the one presented for the linear case in [38]. As in their proof, this charging argument would use the random shift τ to argue that, in expectation, an element oOLO(s) has value significantly less than all elements aNo. The main difficulty in extending the argument to the submodular case is that the weights w and w¯ depend crucially on the set AL constructed by the algorithm, and hence, also on the random choice of τ. To circumvent this difficulty, we consider the incremental contribution of each element oO to f(O) alone. Formally, we order the elements o1,,o|O| of O as in the definition of w¯, and then, for every ojO, define the auxiliary weight u(oj)f(oj{o1,,oj1}). Note that oOu(o)=f(O)f(). Moreover, the auxiliary weights u are independent of the execution of Algorithm 1, and in particular, the random choice of τ. The following observation relates the weights w¯ and u. It follows from the strict down-monotonicity of O and the submodularity/linearity of f.

Observation 4.6.

For every ojO, u(oj)>0 and u(oj)w¯(oj). When f is linear, the last inequality holds as an equality.

For general submodular functions, we may have a strict inequality u(o)>w¯(o) for some oO. In the following section, this potential discrepancy results in a loss proportional to u(o)w¯(o) in our charging analysis. However, the following lemma shows that this discrepancy can also be used to derive an alternative lower bound on f(AL). To get our results, we balance this lower bound against the bounds obtained in Section 4.5 via our charging scheme.

Lemma 4.7.

It holds that oO[u(o)w¯(o)]f(AL)f(ALO).

Proof.

By the definitions of the weights u(o) and w¯(o),

oO[u(o)w¯(o) ]=j=1|O|f(oj{o1,,oj1})
ojOmax{0,f(oj(ALoj){o1,,oj1})}
j=1|O|f(oj{o1,,oj1})ojOALf(ojAL{o1,,oj1})
= [f(O)f()][f(OAL)f(AL)]f(AL)f(ALO).

4.5 The Charging Scheme

Recall that Section 4.3 classified the elements of O into three types: the elements of O(s), the elements of OOL, and the remaining elements (i.e., the elements of OLO(s)). Each one of the first three lemmata of this section upper bounds u(o) for the elements oO of one of these types. Since u(o) is the marginal contribution of o to O, later in the section we are able to derive a bound on f(O) by combining the upper bounds on u(o) proved by the three lemmata. As noted previously, all our upper bounds on u(o) include a loss term that is proportional to u(o)w¯(o). This loss term arises due to the possible discrepancy between the weights w¯ and the auxiliary weights u we are bounding. To get our final bound on f(O), we need also Lemma 4.7, which gives a bound on f(O) that improves as oO[u(o)w¯(o)] grows and thus allows us to cancel the above-mentioned loss terms.

Lemma 4.8.

For each oO(s), u(o)(1+ε)w(No)+[u(o)w¯(o)]. Moreover, oO(s)w(No)f(AL).

Proof.

Claim 1 of Lemma 4.5 immediately implies that for any oO(s),

u(o)=w¯(o)+[u(o)w¯(o)](1+ε)w(No)+[u(o)w¯(o)].

Claim 2 of Lemma 4.5 further implies that every element of AL appears in No for at most one element oO(s). Together with the fact that w(a)>0 for every aAL (claim 1 of Lemma 4.3), this implies that oO(s)w(No)aALw(a)=f(AL).

Lemma 4.9.

For each oOOL, u(o)=u(o)w¯(o).

Proof.

This follows immediately from claim 3 of Lemma 4.3, which states that w¯(o)=0 for all oOOL.

Next, we would like to bound u(o) for the elements in OLO(s). Unlike the bounds in the previous two lemmata, this bound depends on the random shift τ selected by the algorithm. To formulate this bound, let us define, for each oO, m(o)min{mii0,miu(o)} to be the value of the smallest threshold mi that is at least u(o) (observe that m(o) is well-defined since u(o)>0 by Observation 4.6 and u(o)Wm0 by submodularity). Additionally, we define the ratio rom(o)/u(o). Notice that ro is always in the range [1,2) since u(o)m(o) and mi1/mi=2 for all i. Given this notation, we can now state the promised bound as Lemma 4.10. This lemma introduces a parameter d1, which is later used to control the balance between the bound of this lemma and the aforementioned bound from Lemma 4.7.

Lemma 4.10.

For every oOLO(s) and any d1, ρo,du(o)w(No)+d[u(o)w¯(o)], where ρo,dro when f is linear, and ρo,dmin{ro,112(11/d)1ro1(11/d)} when f is a general submodular function.

Proof.

We begin the proof by showing that for all oOLO(s), there exist some threshold mj such that w¯(o)mjw(No). Since oOL, we must have oOi for some unique i[L], and thus No is well-defined and obeys |No|1. Since oO(s), this implies that either w¯(o)mi or |No|2. In the first case, w¯(o)mi|No|miw(No), where the last inequality holds since NoAi and w(a)mi for every aAi (by claim 1 of Lemma 4.3). In the second case,

w¯(o)mi1=2mi|No|miw(No),

where the first inequality holds by claim 2 of Lemma 4.3 because oOi, and the last inequality again holds since NoAi and w(a)mi for every aAi (claim 1 of Lemma 4.3). Thus, in all cases there is indeed always a threshold mj with w¯(o)mjw(No).

We now consider two cases based on the relationship between u(o) and the threshold mj. If u(o)mj, then because m(o) is the smallest threshold that is at least u(o), we get u(o)=m(o)romjrow(No)ro. Rearranging this inequality yields

rou(o)w(No)w(No)+d[u(o)w¯(o)], (2)

where the last inequality follows from u(o)w¯(o) (Observation 4.6). When the function f is linear, this case is the only possible case because u(o)=w¯(o)mj for such f (recall that u(o)>0 by Observation 4.6). This completes the proof of the lemma for linear functions.

For general submodular functions, we may also have u(o)>mj. In this case, m(o) must be at least mj1, which implies mj=12mj112m(o)=u(o)ro2. Thus,

(111/d2)u(o)=mj11/d2u(o)+[u(o)mj]mj(11/d)22mjro+[u(o)mj]=(1ro1(11/d))mj+[u(o)mj].

Note that, since ro1, it must hold that 1ro1(11/d)1/d. Thus, dividing both sides of the above inequality by 1ro1(11/d) and simplifying yields

112(11/d)1ro1(11/d)u(o)mj+(1ro1(11/d))1[u(o)mj]mj+d[u(o)mj]w(No)+d[u(o)w¯(o)], (3)

where we have used the fact that w¯(o)mjw(No) in the last inequality. The guarantee of the lemma for general submodular functions now follows by taking the smaller of the two lower bounds on w(No)+d[u(o)w¯(o)] given by (2) and (3) for the two cases.

Combining all the above bounds, we obtain the following proposition.

Proposition 4.11.

Assuming f is a submodular function such that f()0, the output set AL of Algorithm 1 obeys, for every two values d2 and dk+1 and any strictly down-monotone O,

(k+1+2ε)𝔼[f(AL)]df(O)doO𝔼[u(o)w¯(o)]oO[d𝔼[ρo,d]]u(o),

where ρo,dro when f is linear and ρo,dmin{ro,112(11/d)1ro1(11/d)} when f is a general submodular function.

Proof.

Combining ρo,d times the bounds from Lemmata 4.8 and 4.9 with the bound from Lemma 4.10, we obtain

oOρo,du(o)oO(s)2u(o)+oOOL2u(o)+oOLO(s)ρo,du(o)
2oO(s)((1+ε)w(No)+[u(o)w¯(o)])+2oOOL[u(o)w¯(o)]
+oOLO(s)(w(No)+d[u(o)w¯(o)])
oOLw(No)+(1+2ε)oO(s)w(No)+doO[u(o)w¯(o)]
aALkw(a)+(1+2ε)oO(s)w(No)+doO[u(o)w¯(o)]
(k+1+2ε)f(AL)+doO[u(o)w¯(o)],

where the first inequality uses the facts that ρo,dro2 and u(o)>0 (by Observation 4.6); the third inequality follows from d2 and the inequality u(o)w¯(o)0 (which holds by Observation 4.6); the fourth inequality follows from the fact that each aAL appears in at most k sets No (claim 3 of Lemma 4.5) and obeys w(a)0 (claim 1 of Lemma 4.3); and the final inequality follows from the inequality oO(s)w(No)f(AL) proved by Lemma 4.8.

Taking expectations on both sides, and noting that f(O) and u(o) do not depend on the randomness of the algorithm, we obtain

df(O) =df()+𝔼[oOρo,du(o)]+𝔼[oO(dρo,d)u(o)]
df()+(k+1+2ε)𝔼[f(AL)]+doO𝔼[u(o)w¯(o)]
+oO[d𝔼[ρo,d]]u(o)
(k+1+2ε)𝔼[f(AL)]+doO𝔼[u(o)w¯(o)]+oO[d𝔼[ρo,d]]u(o).

Rearranging this inequality gives the claimed result.

Using Proposition 4.11 we can now prove our main results for linear and monotone submodular functions. We begin with the simpler case of linear functions.

Theorem 4.12.

When f is a linear function, the approximation guarantee of Algorithm 1 is at most (k+1)ln2+O(ε).

Proof.

For linear functions, u(o)=w¯(o)=f({o}) for all oO, and hence, the terms 𝔼[u(o)w¯(o)] in Proposition 4.11 all vanish. Then, since ρo,d=ro for linear functions, we have

(k+1+2ε)𝔼[f(AL)]df(O)oO[d𝔼[ro]]u(o).

Let d=ln12 (notice that d2k+1). Below, we prove that 𝔼[ro]=d for every oO, which implies that the last term on the rightmost side of the above inequality is 0. Rearranging the above inequality then yields

𝔼[f(AL)]dk+1+2εf(O)=ln12k+1+2εf(O)=f(O)(k+1)ln2+O(ε).

Recalling that there must exist at least one optimal solution O that is also strictly down-monotone, the theorem follows from this inequality. The rest of the proof is devoted to proving that indeed 𝔼[ro]=d.

Recall that for each oO, ro is the ratio m(o)/u(o), where m(o)=min{mii0,miu(o)} is the lowest value of a threshold mi that is at least u(o). We also recall that, for each i, mi=Wτ2i=W2i+α, where α is chosen uniformly at random from (0,1]. Intuitively, this implies that ro=2β for some β[0,1) that is obtained by cyclically shifting α, and is thus, distributed uniformly at random from [0,1). We give a formal proof of this fact in the full version of this paper [15]. Given this fact,

𝔼[ro]=012βdβ=2βln2|β=0β=1=ln12=d.

The following proposition gives a guarantee for Algorithm 1 when the objective is a general submodular (rather than linear) function. Our main result for monotone submodular functions readily follows from this proposition (see Corollary 4.14), but the proposition itself applies also to non-monotone submodular functions, and is used in Setion 5 to derive our main result for such functions.

Proposition 4.13.

When f is a non-negative submodular function, the output set AL of Algorithm 1 obeys, for every d2 and any strictly down-monotone O,

(k+d+1+2ε)𝔼[f(AL)]df(O)+d𝔼[f(ALO)],

where d=11/d2ln2+d+12d.

Proof.

Note that d=11/d2ln2+d+12d12ln2+3d/22d<1+3/4<2. Thus, Proposition 4.11 and Lemma 4.7 give together

(k+1+2ε) 𝔼[f(AL)]df(O)d𝔼[oOu(o)w¯(o)]oO[d𝔼[ρo,d]]u(o)
df(O)d𝔼[f(AL)f(ALO)]oO[d𝔼[ρo,d]]u(o).

Below we prove that 𝔼[ρo,d]=d for every oO, which implies that the last term on the rightmost side of the above inequality is 0. Notice that, given this observation, the proposition follows by using the linearity of expectation and rearranging the resulting inequality. The rest of the proof is devoted to proving that indeed 𝔼[ρo,d]=d.

Recall that the full version of this paper [15] proves that ro=2β for β that is distributed uniformly at random from [0,1). This property of ro underlies the calculation below.

𝔼[ ρo,d]=𝔼[min{ro,112(11/d)1ro1(11/d)}]=01min{2β,112(11/d)12β(11/d)}dβ
=0log2(1+12(11/d))2βdβ+log2(1+12(11/d))1112(11/d)12β(11/d)dβ
=2βln2|β=0β=log2(1+12(11/d))+112(11/d)ln2ln(2β(11/d))|β=log2(1+12(11/d))β=1
=11/d2ln2+112(11/d)ln2(ln(1+1/d)ln(12(1+1/d)))
=11/d2ln2+112(11/d)=11/d2ln2+d+12d=d.

Corollary 4.14.

When f is a non-negative monotone submodular function, Algorithm 1 has an approximation guarantee of at most 2kln21+ln2+O(k)0.819k+O(k).

Proof.

In the case that f is monotone, the expression f(ALO) in Proposition 4.13 is always non-negative. Thus, for any d2, we have

(k+d+1+2ε)𝔼[f(AL)]df(O),

where d=11/d2ln2+d+12d. Substituting d into this inequality, we get that the ratio f(O)/𝔼[f(AL)] is at most

k+d+1+2ε11/d2ln2+d+12d=k+d+1+2ε1+ln22ln2d11ln22ln2(k+d+1+2ε)(1+2d11ln21+ln2)1+ln22ln2,

where the inequality uses the fact that for every two positive values a,b obeying 2ba, we have 1ab1+2b/aa. Selecting d=2k (notice that d2) makes the above expression equal to 2kln21+ln2+O(k), which proves the corollary since there must exist some optimal solution O that is also strictly down-monotone.

In the full version of this paper [15], we show that it is possible to simulate Algorithm 1 in O(ε1|E|4)=Poly(|E|,ε1) time. Together with Theorems 4.12 and Corollary 4.14, this immediately gives the following. See 1.1

5 Algorithm for Non-monotone Submodular Functions

In this section, our goal is to prove Theorem 1.2. As mentioned in Section 1.1, we do that using the framework of [13] for adapting algorithms for maximizing non-negative monotone submodular functions to work also for functions that are not necessarily monotone. Such algorithms often have guarantees that depend on f(BO), where B is their output set and O is an optimal solution, which is a good thing when f is monotone (since f(BO)f(O) in this case), but problematic in the non-monotone case. Notice that the guarantee of Algorithm 1 given by Proposition 4.13 indeed conforms to this general trend as it involves the term f(AO)=f(AO)f(O).

The framework of [13] (and the earlier similar frameworks of [18, 33]) is based on the observation that the dependence on the term f(BO) is only bad when f(BO) is significantly smaller than f(O), or in other words, when the elements of B significantly “damage” the optimal solution. This observation motivates the following meta-algorithm: execute the algorithm for monotone functions to get a solution B1, remove the elements of B1 from the ground set, then execute the algorithm for monotone functions again to get a second solution B2 and then return the better among the two solutions. For the first run of the algorithm, we obtain a guarantee relating f(B1) to f(B1O), and for the second run we obtain a guarantee relating f(B2) to f(B2(OB1)). Since B1 and B2 are disjoint, submodularity implies that f(B1O)+f(B2(OB1))f(OB1)+f(B1B2O), and so the better of B1O and B2(OB1) is at least 12f(OB1). If f(OB1) is comparable to f(O), then we are done. In the remaining case, f(OB1) is significantly smaller than f(O), which by submodularity implies that f(OB1) must be large. To handle this case as well, we can apply an approximation algorithm for unconstrained submodular maximization to the set B1 to obtain a third solution B1B1 whose value is at least 12f(B1O). Here, we use the Double Greedy algorithm of Buchbinder et al. [5] for this purpose.777Formally, Double Greedy gets a non-negative submodular function f:2E0 and returns a set TE such that 𝔼[f(T)]12maxSEf(S). To employ this algorithm for our purpose, we pass to it the restriction of f to the ground set B1, which guarantees that its output set B1 is a subset B1 and that 𝔼[f(B1)]12maxSB1f(S)12f(B1O).

To get the best guarantee via this general framework, it is necessary to repeat the above steps multiple times, which generates a series of disjoint solutions B1,B2, and a series of additional solutions B1B1,B2B2,. Algorithm 2 implements this in our context. It receives as input a non-negative (not necessarily monotone) submodular function f:2E0, a matroid k-parity constraint (E,), and a positive integer parameter determining the number of times that the algorithm for montone functions (Algorithm 1) is executed. As expected, the i-th execution of Algorithm 1 (by Line 3 of Algorithm 2) is done with respect to a restriction of the input instance to the ground set Ei1 obtained by removing the elements of j=1i1Bj from E. We can use Proposition 4.13 to analyze the guarantee of Algorithm 1 on this restricted instance because its objective function f|Ei inherits the submodularity of f and the restricted constraint (Ei1,2Ei1) remains a matroid k-parity constraint.

Algorithm 2 Repetitions Algorithm (E,f,,).

Due to space constraints, the formal analysis of Algorithm 2, showing that it indeed has the properties stated by Theorem 1.2, is deferred to the full version of this paper [15].

References

  • [1] Esther M. Arkin and Refael Hassin. On local search for weighted k-set packing. Mathematics of Operations Research, 23(3):640–648, 1998. doi:10.1287/MOOR.23.3.640.
  • [2] Alexander I. Barvinok. New algorithms for linear k-matroid intersection and matroid k-parity problems. Mathematical Programming, 69:449–470, 1995. doi:10.1007/BF01585571.
  • [3] Piotr Berman. A d/2 approximation for maximum weight independent set in d-claw free graphs. Nordic J. Computing, 7(3):178–184, 2000.
  • [4] Piotr Berman and Piotr Krysta. Optimizing misdirection. In ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 192–201, 2003. URL: http://dl.acm.org/citation.cfm?id=644108.644142.
  • [5] Niv Buchbinder, Moran Feldman, Joseph Naor, and Roy Schwartz. A tight linear time (1/2)-approximation for unconstrained submodular maximization. SIAM J. Computing, 44(5):1384–1402, 2015. doi:10.1137/130929205.
  • [6] Amit Chakrabarti and Sagar Kale. Submodular maximization meets streaming: matchings, matroids, and more. Mathematical Programming, 154(1-2):225–247, 2015. doi:10.1007/S10107-015-0900-7.
  • [7] Barun Chandra and Magnús M. Halldórsson. Greedy local improvement and weighted set packing approximation. J. Algorithms, 39(2):223–240, 2001. doi:10.1006/JAGM.2000.1155.
  • [8] Chandra Chekuri, Shalmoli Gupta, and Kent Quanrud. Streaming algorithms for submodular function maximization. In International Colloquium on Automata, Languages, and Programming ICALP, pages 318–330, 2015. doi:10.1007/978-3-662-47672-7_26.
  • [9] Gruia Cualinescu, Chandra Chekuri, Martin Pál, and Jan Vondrák. Maximizing a monotone submodular function subject to a matroid constraint. SIAM J. Computing, 40(6):1740–1766, 2011. doi:10.1137/080733991.
  • [10] William H. Cunningham. Improved bounds for matroid partition and intersection algorithms. SIAM J. Computing, 15(4):948–957, 1986. doi:10.1137/0215066.
  • [11] Marek Cygan. Improved approximation for 3-dimensional matching via bounded pathwidth local search. In IEEE Symposium on Foundations of Computer Science, FOCS, pages 509–518, 2013. doi:10.1109/FOCS.2013.61.
  • [12] Jack Edmonds. Submodular functions, matroids, and certain polyhedra. In Michael Jünger, Gerhard Reinelt, and Giovanni Rinaldi, editors, Combinatorial Optimization — Eureka, You Shrink!: Papers Dedicated to Jack Edmonds, pages 11–26. Springer Berlin Heidelberg, Berlin, Heidelberg, 2003. doi:10.1007/3-540-36478-1_2.
  • [13] Moran Feldman, Christopher Harshaw, and Amin Karbasi. How do you want your greedy: Simultaneous or repeated? J. Machine Learning Research, 24:72:1–72:87, 2023. URL: https://jmlr.org/papers/v24/21-0782.html.
  • [14] Moran Feldman, Joseph Naor, Roy Schwartz, and Justin Ward. Improved approximations for k-exchange systems - (extended abstract). In European Symposium on Algorithms (ESA), pages 784–798, 2011. doi:10.1007/978-3-642-23719-5_66.
  • [15] Moran Feldman and Justin Ward. Submodular maximization over a matroid k-intersection: Multiplicative improvement over greedy. CoRR, abs/2602.08473, 2026. doi:10.48550/arXiv.2602.08473.
  • [16] Marshall L. Fisher, George L. Nemhauser, and Laurence A. Wolsey. An analysis of approximations for maximizing submodular set functions – II. Mathematical Programming Studies, 8:73–87, 1978.
  • [17] Martin Fürer and Huiwen Yu. Approximating the k-set packing problem by local improvements. In International Symposium on Combinatorial Optimization ISCO, pages 408–420, 2014. doi:10.1007/978-3-319-09174-7_35.
  • [18] Anupam Gupta, Aaron Roth, Grant Schoenebeck, and Kunal Talwar. Constrained non-monotone submodular maximization: Offline and secretary algorithms. In International Workshop on Internet and Network Economics (WINE), pages 246–257, 2010. doi:10.1007/978-3-642-17572-5_20.
  • [19] Elad Hazan, Shmuel Safra, and Oded Schwartz. On the complexity of approximating k-set packing. Computational Complexity, 15(1):20–39, 2006. doi:10.1007/S00037-006-0205-6.
  • [20] Chien-Chung Huang and François Sellier. Matroid-constrained vertex cover. Theoretical Computer Science, 965:113977, 2023. doi:10.1016/j.TCS.2023.113977.
  • [21] Satoru Iwata and Yusuke Kobayashi. A weighted linear matroid parity algorithm. SIAM J. Computing, 51(2):17–238, 2022. doi:10.1137/17M1141709.
  • [22] T.A. Jenkyns. The efficacy of the “greedy” algorithm. In Southeastern Conf. on Combinatorics, Graph Theory and Computing, pages 341–350, 1976.
  • [23] Per M. Jensen and Bernhard Korte. Complexity of matroid property algorithms. SIAM J. Computing, 11(1):184–190, 1982. doi:10.1137/0211014.
  • [24] Richard M. Karp. Reducibility among combinatorial problems. In Symposium on the Complexity of Computer Computations, pages 85–103, 1972. doi:10.1007/978-1-4684-2001-2_9.
  • [25] Bernhard Korte and Dirk Hausmann. An analysis of the greedy heuristic for independence systems. Annals of Discrete Mathematics, 2:65–74, 1978. doi:10.1016/S0167-5060(08)70322-4.
  • [26] E. Lawler. Combinatorial optimization - networks and matroids. Holt, Rinehart and Winston, New York, 1976.
  • [27] Euiwoong Lee, Ola Svensson, and Theophile Thiery. Asymptotically optimal hardness for k-set packing and k-matroid intersection. In ACM Symposium on Theory of Computing (STOC), pages 54–61, 2025. doi:10.1145/3717823.3718142.
  • [28] Jon Lee, Maxim Sviridenko, and Jan Vondrák. Submodular maximization over multiple matroids via generalized exchange properties. Mathematics of Operations Research, 35(4):795–806, 2010. doi:10.1287/MOOR.1100.0463.
  • [29] Jon Lee, Maxim Sviridenko, and Jan Vondrák. Matroid matching: The power of local search. SIAM J. Computing, 42(1):357–379, 2013. doi:10.1137/11083232X.
  • [30] László Lovász. Matroid matching and some applications. J. of Combinatorial Theory, Series B, 28(2):208–236, 1980. doi:10.1016/0095-8956(80)90066-0.
  • [31] László Lovász. The matroid matching problem. In L. Lovász and V. T. Sós, editors, Algebraic Methods in Graph Theory, Vol. II, pages 495–517. North-Holland, Amsterdam, 1981.
  • [32] Dániel Marx. A parameterized view on matroid optimization problems. Theoretical Computer Science, 410(44):4471–4479, 2009. doi:10.1016/J.TCS.2009.07.027.
  • [33] Baharan Mirzasoleiman, Ashwinkumar Badanidiyuru, and Amin Karbasi. Fast constrained submodular maximization: Personalized data summarization. In International Conference on Machine Learning (ICML), pages 1358–1367, 2016. URL: http://proceedings.mlr.press/v48/mirzasoleiman16.html.
  • [34] Meike Neuwohner. An improved approximation algorithm for the maximum weight independent set problem in d-claw free graphs. In International Symposium on Theoretical Aspects of Computer Science, STACS, pages 53:1–53:20, 2021. doi:10.4230/LIPIcs.STACS.2021.53.
  • [35] Meike Neuwohner. Passing the limits of pure local search for weighted k-set packing. In ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1090–1137, 2023. doi:10.1137/1.9781611977554.CH41.
  • [36] Meike Neuwohner. The limits of local search for weighted k-set packing. Mathematical Programming, 206(1):389–427, 2024. doi:10.1007/S10107-023-02026-3.
  • [37] Alexander Schrijver. Combinatorial Optimization: Polyhedra and Efficiency, volume 24 of Algorithms and Combinatorics. Springer-Verlag, Berlin Heidelberg, 2003.
  • [38] Neta Singer and Theophile Thiery. Better approximation for weighted k-matroid intersection. In ACM Symposium on Theory of Computing (STOC), pages 1142–1153, 2025. doi:10.1145/3717823.3718219.
  • [39] Maxim Sviridenko and Justin Ward. Large neighborhood local search for the maximum set packing problem. In International Colloquium on Automata, Languages, and Programming (ICALP), pages 792–803, 2013. doi:10.1007/978-3-642-39206-1_67.
  • [40] Theophile Thiery. Approximation Algorithms for Independence Systems. Ph.D. thesis, Queen Mary University of London, London, United Kingdom, 2023.
  • [41] Theophile Thiery and Justin Ward. An improved approximation for maximum weighted k-set packing. In ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 1138–1162, 2023. doi:10.1137/1.9781611977554.CH42.
  • [42] Justin Ward. A (k+3)/2-approximation algorithm for monotone submodular k-set packing and general k-exchange systems. In International Symposium on Theoretical Aspects of Computer Science (STACS), pages 42–53, 2012. doi:10.4230/LIPIcs.STACS.2012.42.