The Densest k-Subhypergraph Problem

Eden Chlamtáč, Michael Dinitz, Christian Konrad, Guy Kortsarz, George Rabanca

Introduction

Two of the most important outstanding problems in approximation algorithms are the approximability of the Densest kk-Subgraph problem (DkkS) and its minimization version, the Smallest pp-Edge Subgraph problem (SppES or min-DkkS). In DkkS we are given as input a graph G=(V,E)G=(V,E) and an integer kk, and the goal is to find a subset V′⊆VV^{\prime}\subseteq V with ∣V′∣=k|V^{\prime}|=k which maximizes the number of edges in the subgraph of GG induced by V′V^{\prime}. In the minimization version, SppES, we are given a lower bound pp on the number of required edges and the goal is to find a set V′⊆VV^{\prime}\subseteq V of minimum size so that the subgraph induced by V′V^{\prime} has at least pp edges. These problems have proved to be extremely useful: for example, a variant of DkkS was recently used to get a new cryptographic system . The same variant of the DkkS problem was shown to be central in understanding financial derivatives . The best-known algorithms for many other problems involve using an algorithm for Densest kk-Subgraph or SppES as a black box (e.g. ).

Despite decades of work, very little is actually known about these problems. The first approximation ratio for DkkS was O(n2/5)O(n^{2/5}) and was devised in 1993. These days, 23 years later, the best known ratio for the Densest kk-Subgraph is O(n1/4+ϵ)O(n^{1/4+\epsilon}) for arbitrarily small constant ϵ>0\epsilon>0 , and the best known approximation for SppES is O(n3−22+ϵ)O(n^{3-2\sqrt{2}+\epsilon}) for arbitrarily small constant ϵ>0\epsilon>0 . Given the slow improvement over 23 years, it is widely believed that DkkS and SppES do not admit better than a polynomial approximation ratio. Furthermore, the existing approximation guarantees are tight assuming the recently conjectured hardness of finding a planted dense subgraph in a random graph (for certain parameters). However, there has been very little progress towards an actual proof of hardness of approximation. It is clear that they are both NP-hard, but that is all that is known under the assumption that P≠NPP\neq NP. Under much stronger complexity assumptions it is known that they cannot be approximated better than some constant or any constant , but this is still a long way from the conjectured polynomial hardness.

Based on the believed hardness of DkkS and SppES, they have been used many times to give evidence for hardness of approximation. For example, consider the Steiner kk-forest problem in which the input is an edge weighted graph, a collection of qq pairs {si,ti}i=1q\{s_{i},t_{i}\}_{i=1}^{q}, and a number k<qk<q. The goal is to find a minimum cost subgraph that connects at least kk of the pairs. It is immediate to see that SppES is a special case of the Steiner kk-forest problemGiven an instance (G=(V,E),p)(G=(V,E),p) of SppES, create an instance of Steiner kk-Forest on a star with VV as the leaves, uniform weights, a demand pair for each edge in EE, and k=pk=p., and hence it seems highly unlikely that the Steiner kk-Forest problem admits a better than polynomial approximation ratios.

Given the interest in and importance of DkkS and SppES, it is somewhat surprising that there has been very little exploration of the equivalent problems in hypergraphs. A hypergraph is most simply understood as a collection EE of subsets over a universe VV of vertices, where each e∈Ee\in E is called a hyperedge (so graphs are the special case when each e∈Ee\in E has cardinality 22). In general hypergraphs, the obvious extensions of DkkS and SppES are quite intuitive. In the Densest kk-Subhypergraph (DkkSH) problem we are given a hypergraph (V,E)(V,E) and a value kk, and the goal is to find a set W⊆VW\subseteq V of size kk that contains the largest number of hyperedges from EE. In the Minimum pp-Union (MppU) problem we are given a hypergraph and a number pp, and the goal is to choose pp of the hyperedges to minimize the size of their union.

Clearly these problems are at least as hard as the associated problems in graphs, but how much harder are they? Can we design nontrivial approximation algorithms? Can we extend the known algorithms for graphs to the hypergraph setting? Currently, essentially only lower bounds are known: Applebaum showed that they are both hard to approximate to within nϵn^{\epsilon} for some fixed ϵ>0\epsilon>0, assuming that a certain class of one-way functions exist. But it was left as an open problem to design any nontrivial upper bound (see footnote 55 of ).

In this paper we provide the first nontrivial upper bounds for these problems. Let nn denote the number of vertices and mm denote the number of hyperedges in the input hypergraph. Our first result is an approximation for Minimum pp-Union in general hypergraphs:

There is an O(m)O(\sqrt{m})-approximation for the Minimum pp-Union problem.

We then switch our attention to the low rank case, since this is the setting closest to graphs. In particular, we focus on the 33-uniform case, where all hyperedges have size at most 33. In this setting it is relatively straightforward to design an O(n)O(n)-approximation for Densest kk-Subhypergraph, although even this is not entirely trivial (the optimal solution could have size up to k3k^{3} rather than k2k^{2} as in graphs, which would make the trivial algorithm of choosing k/3k/3 hyperedges only an O(n2)O(n^{2})-approximation rather than an O(n)O(n)-approximation as in graphs). We show that by very carefully combining a set of algorithms and considering the cases where they are all jointly tight we can significantly improve this approximation, obtaining the following theorem:

For every constant ϵ>0\epsilon>0, there is an O(n4(4−3)/13+ϵ)≤O(n0.697831+ϵ)O(n^{4(4-\sqrt{3})/13+\epsilon})\leq O(n^{0.697831+\epsilon})-approximation for the Densest kk-Subhypergraph problem on 33-uniform hypergraphs.

Adapting these ideas to the minimization setting gives an improved bound for Minimum pp-Union as well.

Densest kk-Subhypergraph and Minimum pp-Union can be solved in polynomial time on interval hypergraphs.

2 Related Work

As discussed, the motivation for these problems mostly comes from the associated graph problems, which have been extensively studied and yet are still poorly understood. The Densest kk-Subgraph problem was introduced by Kortsarz and Peleg , who gave an O(n2/5)O(n^{2/5}) ratio for the problem. Feige, Kortsarz and Peleg improved the ratio to O(n1/3−ϵ)O(n^{1/3-\epsilon}) for ϵ\epsilon that is roughly 1/601/60. The current best-known approximation for DkkS is O(n1/4+ϵ)O(n^{1/4+\epsilon}) for arbitrarily small constant ϵ>0\epsilon>0, due to Bhaskara et al. . For many years the minimization version, SppES, was not considered separately, and it was only relatively recently that the first separation was developed: building on the techniques of but optimizing them for the minimization version, Chlamtáč, Dinitz, and Krauthgamer gave an O(n3−22+ϵ)O(n^{3-2\sqrt{2}+\epsilon})-approximation for SppES for arbitrarily small constant ϵ>0\epsilon>0.

While defined slightly differently, DkkSH and MppU were introduced earlier by Applebaum in the context of cryptography: he showed that if certain one way functions exist (or that certain pseudorandom generators exist) then DkkSH is hard to approximate within nϵn^{\epsilon} for some constant ϵ>0\epsilon>0. Based on this result, DkkSH and MppU were used to prove hardness for other problems, such as the kk-route cut problem . To the best of our knowledge, though, there has been no previous work on algorithms for these problems.

3 Organization

We begin in Section 2 with some preliminaries, showing the basic relationships between the problems. In Section 3 we give our O(m)O(\sqrt{m})-approximation for MppU in general hypergraphs. We then focus on small-rank hypergraphs, giving an O(n4/5)O(n^{4/5})-approximation for DkkSH on 33-uniform hypergraphs in Section 4, which we then improve to roughly O(n0.698)O(n^{0.698}) in Section 5. We follow this in Section 6 with our improved bound for MppU on 33-uniform hypergraphs. Finally in Section 7 we show how to solve both problems exactly in polynomial time on interval hypergraphs. We conclude in Section 8 with some open questions for future work.

Preliminaries and Notation

A hypergraph H=(V,E)H=(V,E) consists of a set VV (the vertices) together with a collection E⊆2VE\subseteq 2^{V} (the hyperedges), where each hyperedge is a subset of VV. We will typically use n=∣V∣n=|V| and m=∣E∣m=|E| to denote the number of vertices and hyperedges respectively. The degree of a vertex in a hypergraph is the number of hyperedges which contain it. Given a subset V′⊆VV^{\prime}\subseteq V, the subhypergraph of HH induced by V′V^{\prime} is H[V′]=(V′,EH)H[V^{\prime}]=(V^{\prime},E_{H}) where EH={e∈E:e⊆V′}E_{H}=\{e\in E:e\subseteq V^{\prime}\}. We say that HH is α\alpha-uniform if ∣e∣=α|e|=\alpha for all e∈Ee\in E, and that the rank of HH is max⁡e∈E∣e∣\max_{e\in E}|e| (i.e. the smallest α\alpha such that all edges have cardinality at most α\alpha). A hyperedge ee is covered by a set of vertices V′V^{\prime} if e⊆V′e\subseteq V^{\prime}.

The main problems that we will consider are the following.

Given a hypergraph H=(V,E)H=(V,E) and an integer kk, the Densest kk-Subhypergraph problem (DkkSH) is to find a set V′⊆VV^{\prime}\subseteq V, with ∣V′∣=k|V^{\prime}|=k, such that the number of edges in H[V′]H[V^{\prime}] is maximized.

Given a hypergraph H=(V,E)H=(V,E) and an integer pp, the Minimum pp-Union problem (MppU) is to find a set E′⊆EE^{\prime}\subseteq E, with ∣E′∣=p|E^{\prime}|=p, such that ∣∪e∈E′e∣|\cup_{e\in E^{\prime}}e| is minimized.

Note that on 22-uniform hypergraphs, these two problems are the classic graph problems DkkS and SppES respectively.

A special class of hypergraphs that we will consider are interval hypergraphs, defined as follows.

We begin by proving some relatively straightforward relationships between the two problems. We first make the obvious observation that a solution for one problem implies a solution for the other.

If there exists a polynomial time algorithm that solves the Densest kk-Subhypergraph problem for any kk on a hypergraph HH, then there exists a polynomial time algorithm that solves the Minimum pp-Union problem on the hypergraph HH. Similarly, if there is an algorithm that solves MppU on HH, then there is an algorithm that solves DkkSH on HH.

The relationship is not quite so simple when we are reduced to approximating the problems, but it is relatively straightforward to show that a relationship still exists. This is given by the following lemma, which will also prove to be useful later.

If there exists an algorithm which in a hypergraph HH containing a subhypergraph with kk vertices and pp hyperedges finds a subhypergraph (V′,E′)(V^{\prime},E^{\prime}) with ∣V′∣≤fk|V^{\prime}|\leq fk and ∣E′∣≥∣V′∣p/(kf)|E^{\prime}|\geq|V^{\prime}|p/(kf), we can get an O(flog⁡p)O(f\log p)-approximation for Min pp-Union.

Since any ff-approximation algorithm for Densest kk-Subhypergraph satisfies the conditions of the lemma, as an immediate corollary we get the following:

If there is an ff-approximation for Densest kk-Subhypergraph, then there is an O(flog⁡p)O(f\log p)-approximation for Minimum pp-Union.

Let (H=(V,E),p)(H=(V,E),p) be an instance of Minimum pp-Union, and let A\mathcal{A} be an algorithm as described in the lemma. We assume without loss of generality that we know the number of nodes kk in the optimal solution (since we can just try all possibilities for kk), and hence that there exists a set V∗⊆VV^{*}\subseteq V with ∣V∗∣=k|V^{*}|=k such that V∗V^{*} covers at least pp hyperedges. Initialize E′=∅E^{\prime}=\emptyset, and consider the following algorithm for Minimum pp-Union that repeats the following until ∣E′∣≥p|E^{\prime}|\geq p.

Let V′=A(H,k)V^{\prime}=\mathcal{A}(H,k), and let E′′E^{\prime\prime} be the hyperedges of HH covered by V′V^{\prime}.

Let E′←E′∪E′′E^{\prime}\leftarrow E^{\prime}\cup E^{\prime\prime}.

Remove E′′E^{\prime\prime} from HH (remove only the edges, not the corresponding vertices).

Thus, as soon as the total number of vertices added exceeds kfln⁡pkf\ln p for the first time, the number of edges will exceed pp. Since the last iteration adds at most kfkf vertices, we are done. □\Box

A standard argument also shows a (more lossy) reduction in the other direction.

If there is an ff-approximation for Minimum pp-Union on α\alpha-uniform hypergraphs, then there is an O(fα)O(f^{\alpha})-approximation for Densest kk-Subhypergraph on α\alpha-uniform hypergraphs (when α=O(1)\alpha=O(1)).

Minimum p𝑝p-Union in General Hypergraphs

Given a hypergraph H=(V,E)H=(V,E), in this section we work with the bipartite incidence graph G=(E,V,F)G=(E,V,F) of HH, where F={(e,v)∈E×V : v∈e}F=\{(e,v)\in E\times V\,:\,v\in e\}. Solving MppU on HH corresponds to finding a subset E′⊆EE^{\prime}\subseteq E of pp vertices in GG of minimum vertex expansion, i.e., E′E^{\prime} such that ∣ΓG(E′)∣|\Gamma_{G}(E^{\prime})| is minimized.

Our algorithm requires a subroutine that returns a subset of vertices of minimum expansion (without the cardinality bound on the set). In other words, we need a polynomial-time algorithm Min-Exp(G) which returns a subset of EE so that

for every subset E′⊆EE^{\prime}\subseteq E.

Minimally expanding subsets of this kind have previously been used (e.g. in ) in communication settings where computation time is disregarded, but in our context we need a polynomial-time algorithm. In Appendices A and B we give two different algorithms for doing this. The first, in Appendix A, uses a reduction to network flows. The second, in Appendix B, is based on a straightforward adaptation of a linear programming approach for the graph case due to Charikar . In order to simplify the presentation, we will for the rest of the section assume that we have such an algorithm and will defer them to the appendices.

In the following, for subsets E′⊆EE^{\prime}\subseteq E and V′⊆VV^{\prime}\subseteq V, we denote the induced subgraph of GG by vertex set E′∪V′E^{\prime}\cup V^{\prime} by G[E′,V′]G[E^{\prime},V^{\prime}].

In the first phase, our algorithm (Algorithm 1) iteratively adds vertices E′′E^{\prime\prime} to an initially empty set E′E^{\prime} until E′E^{\prime} exceeds the size p−mp-\sqrt{m}. The set E′′E^{\prime\prime} is a minimally expanding subset in the induced subgraph G[E∖E′,V]G[E\setminus E^{\prime},V]. If E′′E^{\prime\prime} is large so that ∣E′∪E′′∣>p|E^{\prime}\cup E^{\prime\prime}|>p, then an arbitrary subset of E′′E^{\prime\prime} is added to E′E^{\prime} so that E′E^{\prime} has the desired size pp. Then, in the second phase, we add the k−∣E′∣k-|E^{\prime}| vertices of E∖E′E\setminus E^{\prime} of smallest degree to E′E^{\prime} (ties broken arbitrarily), and the algorithm returns set E′E^{\prime}.

Algorithm 1 is a (2m)(2\sqrt{m})-approximation algorithm for MppU.

Let OPT⊆EOPT\subseteq E be an optimal solution and let r=∣ΓG(OPT)∣r=|\Gamma_{G}(OPT)|. Let Ei′E^{\prime}_{i} denote the set E′E^{\prime} in the beginning of the iith iteration of the repeat loop. Suppose that the algorithm runs in ll rounds. Then, El+1′E^{\prime}_{l+1} is the set E′E^{\prime} after the last iteration of the loop, but before the nodes selected in Line 1 are added.

Consider an arbitrary iteration i≤li\leq l and let E′′←\textscMin−Exp(G[E∖Ei′,V])E^{\prime\prime}\leftarrow\textsc{Min-Exp}(G[E\setminus E^{\prime}_{i},V]) as in the algorithm. Note that by the condition of the loop, we have ∣Ei′∣≤p−m|E_{i}^{\prime}|\leq p-\sqrt{m}. Furthermore, we have

since E′′E^{\prime\prime} is a set of minimum expansion. Then,

Thus, we have ∣ΓG(Ei+1′)∣≤∣ΓG(Ei′)∣+∣E′′∣rm|\Gamma_{G}(E^{\prime}_{i+1})|\leq|\Gamma_{G}(E^{\prime}_{i})|+\frac{|E^{\prime\prime}|r}{\sqrt{m}} (note that this inequality also captures the case when only a subset of E′′E^{\prime\prime} is added to E′E^{\prime} in Line 1). Now, note that the sets E′′E^{\prime\prime} of any two different iterations are disjoint and thus the sizes of the sets E′′E^{\prime\prime} of the different iterations sum up to at most mm. We thus obtain the bound:

In phase two, we select at most m\sqrt{m} vertices E′′E^{\prime\prime} of minimum degree in G[E∖E′,V]G[E\setminus E^{\prime},V]. Clearly, the maximum degree of these vertices is at most rr (if it was larger, then ∣ΓG(OPT)∣|\Gamma_{G}(OPT)| would be larger as well) and thus ∣ΓG(E′′)∣≤mr|\Gamma_{G}(E^{\prime\prime})|\leq\sqrt{m}r. The neighborhood of the returned set of our algorithm is hence at most 2mr2\sqrt{m}r which gives an approximation factor of 2m2\sqrt{m}. □\Box

Densest k𝑘k-Subhypergraph in 333-uniform hypergraphs

In this section, we consider the Densest kk-Subhypergraph problem in 33-uniform hypergraphs. We develop an O(n4/5)O(n^{4/5})-approximation algorithm here, and show in Section 5 how to improve the approximation factor to O(n0.697831+ϵ)O(n^{0.697831+\epsilon}), for any ϵ>0\epsilon>0, by replacing one of our subroutines with an algorithm of Bhaskara et al. .

Throughout this section, let H=(V,E)H=(V,E) be the input 33-uniform hypergraph. Let K⊆VK\subseteq V denote an optimal solution, i.e., a subset of vertices such that H[K]H[K] is a densest kk-subhypergraph. The average degree of H[K]H[K] is denoted by d=3∣E(H[K])∣/kd=3|E(H[K])|/k. We say that a hyperedge is optimal if it is contained in H[K]H[K].

Let K1⊆VK_{1}\subseteq V be a set of k/3k/3 vertices of largest degree (ties broken arbitrarily), Δ\Delta the minimum degree of a node in K1K_{1}, and H′=H[V∖K1]H^{\prime}=H[V\setminus K_{1}]. Note that the maximum degree in H′H^{\prime} is Δ\Delta.

Suppose first that at least half of the optimal hyperedges contain at least one vertex of K1K_{1}. Then the following lemma shows that we can easily achieve a much better approximation than we are aiming for:

Suppose that at least half of the optimal hyperedges contain a vertex of K1K_{1}. Then we can achieve an O(n1/4+ε)O(n^{1/4+\varepsilon}) approximation for any ε>0\varepsilon>0.

By our assumption, there is a set PP of optimal hyperedges of size at least dk/6dk/6 such that every edge in PP intersects K1K_{1}. Consider two cases.

Case 1: For at least half the edges e∈Pe\in P, we have ∣e∩K1∣≥2|e\cap K_{1}|\geq 2. Denote the set of these edges by P′P^{\prime}. For every vertex u∈Vu\in V, let its K1K_{1}-weight be the number of pairs {v,x}\{v,x\} such v,x∈K1v,x\in K_{1} and {u,v,x}\{u,v,x\} is a hyperedge. Then by our assumption, the vertices in KK have average K1K_{1}-weight at least ∣P′∣/k≥d/12|P^{\prime}|/k\geq d/12. Choosing 2k/32k/3 vertices greedily (by maximum K1K_{1}-weight) gives (along with K1K_{1}) a kk-subhypergraph with at least dk/18dk/18 hyperedges.

Case 2: P′′=P∖P′P^{\prime\prime}=P\setminus P^{\prime} contains at least half the hyperedges in PP. Note that ∣e∩K1∣=1|e\cap K_{1}|=1 for every e∈P′′e\in P^{\prime\prime}. For every pair of vertices u,v∈V∖K1u,v\in V\setminus K_{1}, let its K1K_{1}-weight be the number of vertices x∈K1x\in K_{1} such that {u,v,x}\{u,v,x\} is a hyperedge, and let GG be the graph on vertices V∖K1V\setminus K_{1} with these edge weights. Then any k′k^{\prime}-subgraph of GG with total edge weight ww corresponds to a (∣K1∣+k′)(|K_{1}|+k^{\prime})-subhypergraph of HH with at least ww hyperedges, and in particular, GG contains a kk-subgraph with average weighted degree at least 2∣P′′∣/k≥d/62|P^{\prime\prime}|/k\geq d/6, which can be easily pruned (randomly or greedily) down to a 2k/32k/3-subgraph with average weighted degree Ω(d)\Omega(d). Thus we can run the Densest kk-Subgraph approximation algorithm of Bhaskara et al. Strictly speaking, the algorithm in is defined for unweighted graphs, but one can easily adapt it by partitioning the edges into O(log⁡n)O(\log n) sets with similar edge weights, and running the algorithm separately on every set of edges, thus losing only an additional O(log⁡n)O(\log n) factor in the approximation., and find a 2k/32k/3-subgraph of GG with total weight at least kd/n1/4+εkd/n^{1/4+\varepsilon}, which in turn gives a (∣K1∣+2k/3=)k(|K_{1}|+2k/3=)k-subhypergraph of HH with a corresponding number of hyperedges. □\Box

In the more difficult case, at least half of the optimal hyperedges are fully contained in H′H^{\prime}. Exploiting the fact that the maximum degree in H′H^{\prime} is Δ\Delta and trading off multiple algorithms, we show in the following subsection how to obtain an O(n45)O(n^{\frac{4}{5}})-approximation algorithm in this case.

We start with a greedy algorithm similar to the greedy algorithm commonly used for Densest kk-Subgraph .

Algorithm 2 selects a subset K2K_{2} of k/3k/3 vertices vv with largest K1K_{1}-degree, i.e., the number of hyperedges incident to vv that contain at least one vertex of K1K_{1}. Then, a subset K3K_{3} of k/3k/3 vertices ww with largest (K1,K2)(K_{1},K_{2})-degree is selected, where the (K1,K2)(K_{1},K_{2})-degree of ww is the number of hyperedges containing ww of the form {w,x,y}\{w,x,y\} with x∈K1x\in K_{1} and y∈K2y\in K_{2}. Note that the sets K1,K2K_{1},K_{2} and K3K_{3} are not necessarily disjoint and the returned set may thus be smaller than kk.

The following lemma gives a lower bound on the average degree guaranteed by this algorithm. It is a straightforward extension of similar algorithms for graphs.

Algorithm 2 returns a kk-subhypergraph with average degree Ω(Δk2/n2)\Omega(\Delta k^{2}/n^{2}).

By choice of K1K_{1} and definition of Δ\Delta, every vertex in K1K_{1} has degree at least Δ\Delta, and so the total number of edges containing vertices in K1K_{1} is at least Δ∣K1∣/3=Δk/9\Delta|K_{1}|/3=\Delta k/9 (since we could potentially be double-counting or triple-counting some edges).

If we were to choose nn vertices for K2K_{2}, there would be at least Δk/9\Delta k/9 edges containing both a vertex in K1K_{1} and a vertex in K2K_{2} (as noted above). Choosing k/3k/3 vertices greedily out of nn yields a set K2K_{2} such that there are at least Δk/9⋅(k/3)/n=Δk2/(27n)\Delta k/9\cdot(k/3)/n=\Delta k^{2}/(27n) such edges.

Finally, choosing the k/3k/3 vertices with the largest contribution (out of nn) for K3K_{3} ensures that there will be at least Δk2/(27n)⋅(k/3)/n=Ω(Δk3/n2)\Delta k^{2}/(27n)\cdot(k/3)/n=\Omega(\Delta k^{3}/n^{2}) edges in E∩K1×K2×K3E\cap K_{1}\times K_{2}\times K_{3}, giving average degree Ω(Δk2/n2)\Omega(\Delta k^{2}/n^{2}). □\Box

We now offer a second algorithm, which acts on H′H^{\prime} and is based on neighborhoods of vertices.

Algorithm 3 exploits the bound on the maximum degree in H′H^{\prime} to find a dense hypergraph inside the neighborhood of any vertex of degree Ω(d)\Omega(d) in KK, by considering the neighborhood of a vertex as a graph. Pruning low-degree vertices in this graph (which would not contribute many hyperedges to KK) helps reduce the size of the graph, and makes it easier to find a slightly denser subgraph. Since the vertices of KK and their degrees are not known, the algorithm tries all possible vertices.

If H′H^{\prime} contains a kk-subhypergraph with average degree d′=Ω(d)d^{\prime}=\Omega(d), then Algorithm 3 returns a kk-subhypergraph with average degree Ω(d2/(Δk))\Omega(d^{2}/(\Delta k)).

Since at the end of the algorithm we take the densest induced subhypergraph of H′H^{\prime} (among the various choices), it suffices to show that there is some choice of vv and d^\hat{d} which gives this guarantee. So let vv be an arbitrary vertex in KK with degree (in KK) at least d′d^{\prime}. We know that GvG_{v} contains a subgraph with at most kk vertices and at least d′d^{\prime} edges, so its average degree is at least 2d′/k2d^{\prime}/k. Setting d^=d′/(2k)\hat{d}=d^{\prime}/(2k), we know that the pruning procedure can remove at most k⋅d′/(2k)=d′/2k\cdot d^{\prime}/(2k)=d^{\prime}/2 out of the d′d^{\prime} edges in this subgraph, so the subgraph still retains at least d′/2d^{\prime}/2 edges. On the other hand, we know that GvG_{v} has at most Δ\Delta edges (since we’ve assumed the maximum degree in H′H^{\prime} is at most Δ\Delta), and therefore, the same holds for the graph Gvd^G_{v}^{\hat{d}}, in which the minimum degree is now at least d′/2kd^{\prime}/2k. This means that Gvd^G_{v}^{\hat{d}} has at most 2Δ/(d′/2k)=O(Δk/d)2\Delta/(d^{\prime}/2k)=O(\Delta k/d) vertices.

Since there exists a kk-subgraph of Gvd^G_{v}^{\hat{d}} with Ω(d)\Omega(d) edges, the greedy choice of Svd^S_{v}^{\hat{d}} must give some set in which at least Ω(d)\Omega(d) edges are incident. The greedy choice of Tvd^T_{v}^{\hat{d}} then reduces the lower bound on the number of edges by a ((k−1)/2)/∣V(Gvd^)∣=Ω(d/Δ)((k-1)/2)/|V(G_{v}^{\hat{d}})|=\Omega(d/\Delta) factor, giving us Ω(d2/Δ)\Omega(d^{2}/\Delta) edges. However, by the definition of GvG_{v}, together with vv these edges correspond to hyperedges in H′H^{\prime}. Thus, the algorithm returns a kk-subhypergraph with Ω(d2/Δ)\Omega(d^{2}/\Delta) hyperedges, or average degree d2/(Δk)d^{2}/(\Delta k). □\Box

Combining the various algorithms we’ve seen with a trivial algorithm and choosing the best one gives us the following guarantee:

There is an O(n4/5)O(n^{4/5})-approximation for Dense kk-Subhypergraph in 3-uniform hypergraphs.

By Lemma 4.1, if at least half the optimal edges intersect K1K_{1}, then we can achieve a significantly better approximation (namely, n1/4+εn^{1/4+\varepsilon}). Thus, from now on let us assume this is not the case. That is, H′H^{\prime} still contains a kk-subhypergraph with average degree Ω(d)\Omega(d). Again, recall that the maximum degree in H′H^{\prime} is at most Δ\Delta.

By Lemma 4.2, Algorithm 2 gives us a kk-subhypergraph with average degree d1=Ω(Δk2/n2)d_{1}=\Omega(\Delta k^{2}/n^{2}). On the other hand, applying Algorithm 3 to H′H^{\prime} will give us a kk-subhypergraph with average degree d2=Ω(d2/(Δk))d_{2}=\Omega(d^{2}/(\Delta k)) by Lemma 4.3.

Finally, we could choose k/3k/3 arbitrary edges in HH and the subhypergraph induced on the vertices they span, giving us average degree d3≥1d_{3}\geq 1. Thus, the best of the three will give us a kk-subhypergraph with average degree at least

Since we must have k2/d≥1k^{2}/d\geq 1, the above gives an O(n4/5)O(n^{4/5}) approximation. □\Box

An improved approximation for 3-uniform Densest k𝑘k-Subhypergraph

In Section 4 we gave an O(n4/5)O(n^{4/5}) approximation which combined a greedy algorithm with Algorithm 3, which looked for a dense subgraph inside a graph defined by the neighborhood of a vertex in HH. To find this dense subgraph, we used a very simple greedy approach. However, we have at our disposal more sophisticated algorithms, such as that of Bhaskara et al. . One way to state the result in that paper (see Bhaskara’s PhD thesis for details on this version ) is as follows:

In any nn-vertex graph GG, for any α∈\alpha\in, if k=nαk=n^{\alpha}, then Densest kk-Subgraph in GG can be approximated within an nεk1−αn^{\varepsilon}k^{1-\alpha} factor in time nO(1/ε)n^{O(1/\varepsilon)} for any ε>0\varepsilon>0.

The n1/4+εn^{1/4+\varepsilon} guarantee of follows since for any α∈\alpha\in, we have k1−α=nα(1−α)≤n1/4k^{1-\alpha}=n^{\alpha(1-\alpha)}\leq n^{1/4}.

Using this guarantee instead of the simple greedy algorithm for DkkS, we get the following improved algorithm for 3-uniform Densest kk-Subhypergraph:

The approximation guarantee in this final algorithm is given by the following lemma:

Let H′H^{\prime} be an nn-vertex 3-uniform hypergraph with maximum degree ≤Δ\leq\Delta, containing a kk-subhypergraph of average degree d′d^{\prime}, and let α,β\alpha,\beta be such that k=nαk=n^{\alpha} and Δk/d′=nβ\Delta k/d^{\prime}=n^{\beta}. Then Algorithm 4 returns a kk-subhypergraph of HH of average degree

As in the proof of Lemma 4.3, we can deduce that for at least some choice of vv and d^\hat{d}, the graph Gvd^G_{v}^{\hat{d}} has at most min⁡{n,O(Δk/d′)}=O(nmin⁡{1,β})\min\{n,O(\Delta k/d^{\prime})\}=O(n^{\min\{1,\beta\}}) vertices and contains a kk-subgraph with average degree Ω(d′/k)\Omega(d^{\prime}/k).

By Theorem 5.1, since k=nα=Ω(∣V(Gvd^)∣α/min⁡{1,β})k=n^{\alpha}=\Omega(|V(G_{v}^{\hat{d}})|^{\alpha/\min\{1,\beta\}}), the algorithm of will return a (k−1)(k-1)-subgraph of Gvd^G_{v}^{\hat{d}} with average degree

As noted in the proof of Lemma 4.3, this corresponds to a kk-subhypergraph of H′H^{\prime} with the same guarantee. □\Box

In the notation of Lemma 5.2 we have Δ/d′=nβ−α\Delta/d^{\prime}=n^{\beta-\alpha} which implies that β≥α\beta\geq\alpha (since Δ≥d′\Delta\geq d^{\prime}).

Trading off the various algorithms we have seen, we can now prove the guarantee stated in Theorem 1.2

For every constant ε>0\varepsilon>0, there is an O(n4(4−3)/13+ε)≤O(n0.697831+ε)O(n^{4(4-\sqrt{3})/13+\varepsilon})\leq O(n^{0.697831+\varepsilon})-approximation for Densest kk-Subhypergraph in 33-uniform hypergraphs.

By Lemma 4.1, if at least half the optimal edges intersect K1K_{1}, then we can achieve a significantly better approximation (namely, n1/4+εn^{1/4+\varepsilon}). Thus, from now on let us assume this is not the case. That is, H′H^{\prime} still contains a kk-subhypergraph with average degree Ω(d)\Omega(d). Again, recall that the maximum degree in H′H^{\prime} is at most Δ\Delta.

As before, let α,β\alpha,\beta be such that k=nαk=n^{\alpha} and Δk/d=nβ\Delta k/d=n^{\beta}. By Lemma 4.2, Algorithm 2 gives us a kk-subhypergraph with average degree

On the other hand, by Lemma 5.2, Algorithm 4 to H′H^{\prime} will give us a kk-subhypergraph with average degree

Let us analyze the guarantee given by the best of Algorithm 2 and Algorithm 4. First, consider the case of β>1\beta>1. In this case, taking the best of the two gives us approximation ratio at most nε+min⁡{2−α−β,α(2−α)}≤nε+min⁡{1−α,α(2−α)}n^{\varepsilon+\min\{2-\alpha-\beta,\alpha(2-\alpha)\}}\leq n^{\varepsilon+\min\{1-\alpha,\alpha(2-\alpha)\}}. It is easy to check that this minimum is maximized when α=(3−5)/2\alpha=(3-\sqrt{5})/2 giving approximation ratio n(5−1)/2+ε≤n0.618034+εn^{(\sqrt{5}-1)/2+\varepsilon}\leq n^{0.618034+\varepsilon}, which is even better than our claim.

Now suppose β≤1\beta\leq 1. In this case, the approximation guarantee is nε+min⁡{h1,h2}n^{\varepsilon+\min\{h_{1},h_{2}\}}, where h1=2−α−βh_{1}=2-\alpha-\beta and h2=α(2−α/β)h_{2}=\alpha(2-\alpha/\beta). If α≥2/3\alpha\geq 2/3, then it can be checked that we always have h1≤h2h_{1}\leq h_{2} for any β∈[α,1]\beta\in[\alpha,1], in which case we have approximation factor at most nε+2−2/3−2/3=n2/3+εn^{\varepsilon+2-2/3-2/3}=n^{2/3+\varepsilon}, which is again better than our claim. On the other hand, if α≤(3−5)/2\alpha\leq(3-\sqrt{5})/2, then h2≤h1h_{2}\leq h_{1} for any β≤1\beta\leq 1, and so for this range of α\alpha we get approximation factor at most nε+α(2−α)≤n(5−1)/2n^{\varepsilon+\alpha(2-\alpha)}\leq n^{(\sqrt{5}-1)/2}, which as we’ve noted is also better than our claim. Finally, if α∈((3−5)/2,2/3)\alpha\in((3-\sqrt{5})/2,2/3) then a straightforward calculation shows that

and that the value of min⁡{h1,h2}\min\{h_{1},h_{2}\} is maximized at this threshold value of β\beta. And so for α\alpha in this range we have min⁡{h1,h2}≤1+α/2−1−3α+13α2/4\min\{h_{1},h_{2}\}\leq 1+\alpha/2-\sqrt{1-3\alpha+13\alpha^{2}/4}, which is maximized at α=18+2339≈0.55\alpha=\frac{18+2\sqrt{3}}{39}\approx 0.55, giving approximation ratio nε+4(4−3)/13n^{\varepsilon+4(4-\sqrt{3})/13}. □\Box

Minimum p𝑝p-Union in 3-uniform hypergraphs

In this section we explore Minimum pp-Union (the minimization version of Densest kk-Subhypergraph), and give the following guarantee:

Note that this is significantly better than the n0.69…n^{0.69\ldots}-approximation we would get by reducing the problem to Densest kk-Subhypergraph via Theorem 2.6 and applying the approximation algorithm from Theorem 1.2.

In this problem, we are given a 3-uniform hypergraph H=(V,E)H=(V,E), and a parameter pp, the number of hyperedges that we want to find. Let us assume that the optimal solution, P⊆EP\subseteq E, has kk vertices (i.e. ∣∪e∈Pe∣=k|\cup_{e\in P}e|=k). We do not know kk, but the algorithm can try every possible value of k=1,…,nk=1,\ldots,n, and output the best solution. Thus, we assume that kk is known, in which case the average degree in the optimum solution is d=3p/kd=3p/k.

Recall that it is not necessary to get pp edges in one shot. By Lemma 2.5, it is enough to find any subhypergraph of size at most kn2/5kn^{2/5} with average degree at least Ω(d/n2/5)\Omega(d/n^{2/5}).

We follow along the lines of DkkSH by choosing vertex set K1K_{1} to be the kn2/5kn^{2/5} vertices of largest degree. The following lemma (corresponding to Lemma 4.1 for DkkSH) shows that if at least half the edges in PP intersect K1K_{1}, then by Lemma 2.5 we are done.

Suppose that at least half of the optimal edges contain a vertex of K1K_{1}. Then we can find a subhypergraph with at most O(kn2/5)O(kn^{2/5}) vertices and average degree at least Ω(d/n2/5)\Omega(d/n^{2/5}).

By our assumption, there is a set of optimal hyperedges P′⊂PP^{\prime}\subset P of size at least dk/6dk/6 such that every edge in P′P^{\prime} intersects K1K_{1}.

As in the proof of Lemma 4.1, if at least half the edges in P′P^{\prime} intersect K1K_{1} in more than one vertex, then we can easily recover a set of kk vertices which along with K1K_{1} contain at least Ω(p)=Ω(kd)\Omega(p)=\Omega(kd) hyperedges. Since ∣K1∣=kn2/5|K_{1}|=kn^{2/5}, this subgraph has O(kn2/5)O(kn^{2/5}) vertices and average degree Ω(d/n2/5)\Omega(d/n^{2/5}) as required.

Thus, we may assume that at least half the edges in P′P^{\prime} intersect K1K_{1} in exactly one vertex. Then again as in Lemma 4.1, we define a graph GG on vertices V∖K1V\setminus K_{1} where every pair of vertices u,v∈V∖K1u,v\in V\setminus K_{1} is an edge with weight ∣{x∈K1∣(u,v,x)∈E}∣|\{x\in K_{1}\mid(u,v,x)\in E\}|. Once again, subgraphs of GG with total edge weight ww correspond to a subhypergraphs of HH with at least ww edges, and in particular, GG contains a kk-subgraph with average weighted degree at least Ω(d)\Omega(d). Thus running the SppES approximation of (or more precisely, the weighted version ), gives a subgraph with at most kfkf vertices and total edge weight at least Ω(kd)\Omega(kd) for some f=n0.17+εf=n^{0.17+\varepsilon} (which is well below n2/5n^{2/5}). Once again, the corresponding subhypergraph has at most ∣K1∣+kf=O(kn2/5)|K_{1}|+kf=O(kn^{2/5}) vertices, and so the average degree is at least Ω(d/n2/5)\Omega(d/n^{2/5}) as required. □\Box

Thus, we will assume from now on that at least half of the hyperedges in PP do not contain at least one vertex from K1K_{1}, i.e. that H′=H[V∖K1]H^{\prime}=H[V\setminus K_{1}] still contains at least half the hyperedges in PP.

As with DkkSH, we now proceed with a greedy algorithm. Starting with the same vertex set K1K_{1} defined above, it follows from Lemma 4.2 that if we run Algorithm 2 on HH with parameter n2/5kn^{2/5}k, then we get a subhypergraph on O(kn2/5)O(kn^{2/5}) vertices induced on sets K1,K2,K3K_{1},K_{2},K_{3} such that if the minimum degree in K1K_{1} (which bounds the maximum degree in V∖K1V\setminus K_{1}) is Δ\Delta, then the subhypergraph has average degree Ω(Δk2n4/5/n2)\Omega(\Delta k^{2}n^{4/5}/n^{2}). The total number of hyperedges in this subhypergraph is Ω(Δk3n6/5/n2)=Ω(Δk3/n4/5)\Omega(\Delta k^{3}n^{6/5}/n^{2})=\Omega(\Delta k^{3}/n^{4/5}). If this is at least p=dk/3p=dk/3, then we are done. Thus, we will assume from now on that Δk3/n4/5=O(dk)\Delta k^{3}/n^{4/5}=O(dk), that is

We reuse Algorithm 3 on H′H^{\prime}, which gives us the following guarantee:

Applying Algorithm 3 to the above hypergraph H′H^{\prime} with parameter

returns a subhypergraph with at most kfkf vertices and average degree at least d/fd/f for some

As in the proof of Lemma 4.3, we can deduce that for at least some choice of vv and d^\hat{d}, the graph Gvd^G_{v}^{\hat{d}} has at most O(Δk/d)O(\Delta k/d) vertices and has minimum degree at least Ω(d/k)\Omega(d/k).

Note that we may not even have k^{\hat{k}} vertices in Gvd^G^{\hat{d}}_{v}. If we do have at least k^{\hat{k}} vertices, then the greedy choice of Svd^S^{\hat{d}}_{v} gives us Ω(k^d/k)\Omega({\hat{k}}d/k) edges incident in the set (in fact, any choice of Ω(k^)\Omega({\hat{k}}) vertices would do). The greedy choice of Tvd^T^{\hat{d}}_{v} then reduces the number of edges by (in the worst case) a k^/(Δk/d){\hat{k}}/(\Delta k/d)-factor, giving us a total number of edges

Thus, in this case, we only need to bound the size of the subgraph. By (1), we can bound k^{\hat{k}} as follows:

If we do not have k^{\hat{k}} vertices in Gvd^G^{\hat{d}}_{v}, then the algorithm simply returns Gvd^G^{\hat{d}}_{v} itself, which has at most k^=O(k⋅n2/5/k)\hat{k}=O(k\cdot n^{2/5}/\sqrt{k}) vertices and average degree at least Ω(d/k)\Omega(d/k), as required.

As noted in the proof of Lemma 4.3, this corresponds to a subhypergraph of H′H^{\prime} with the same guarantee. □\Box

By Lemma 6.3 and Lemma 2.5, it suffices to show that max⁡{k,n2/5/k}=O(n2/5)\max\{k,n^{2/5}/\sqrt{k}\}=O(n^{2/5}). Since clearly n2/5/k≤n2/5n^{2/5}/\sqrt{k}\leq n^{2/5}, let us consider the parameter kk. By definition of dd and Δ\Delta, we clearly have d≤Δd\leq\Delta, thus, by (1) we have

which implies k=O(n2/5)k=O(n^{2/5}), and so the theorem follows. □\Box

Interval Hypergraphs

We show now that DkkS and MppU can be solved in polynomial time on interval hypergraphs. We only give an algorithm for MppU; a similar algorithm for DkkS follows then from Observation 2.4.

Minimum pp-Union is solvable in polynomial time on interval hypergraphs.

Let b1,...,bmb_{1},...,b_{m} be the largest elements in hyperedges e1,...,eme_{1},...,e_{m} respectively, and assume that bi≤bjb_{i}\leq b_{j} for any i<ji<j. Similarly let a1,...,ama_{1},...,a_{m} be the smallest elements in e1,...,eme_{1},...,e_{m} respectively.

We present a dynamic programming algorithm which calculates for each j≤ij\leq i the optimal solution to an instance of Minimum pp-Union on the hyperedges e1,...,eie_{1},...,e_{i} with p=jp=j under the constraint that eie_{i} belongs to the solution. Let A[i,j]A[i,j] store the value of this optimal solution. Assume that the values of AA have been computed for all i′,j′i^{\prime},j^{\prime} with j′≤i′<ij^{\prime}\leq i^{\prime}<i. We show how to compute A[i,j]A[i,j] for any j≤ij\leq i.

We partition the hyperedges e1,...,eie_{1},...,e_{i} in three sets Ai,Bi,CiA_{i},B_{i},C_{i} with AiA_{i} containing all hyperedges disjoint from eie_{i}, BiB_{i} containing all hyperedges intersecting but not included in eie_{i}, and CiC_{i} containing eie_{i} and all hyperedges included in eie_{i} (see Fig. 1). Therefore we have:

bi′<aib_{i^{\prime}}<a_{i} for all ei′∈Aie_{i^{\prime}}\in A_{i},

ai′<ai≤bi′a_{i^{\prime}}<a_{i}\leq b_{i^{\prime}} for all ei′∈Bie_{i^{\prime}}\in B_{i}, and

ai≤ai′≤bi′≤bia_{i}\leq a_{i^{\prime}}\leq b_{i^{\prime}}\leq b_{i} for all ei′∈Cie_{i^{\prime}}\in C_{i}.

Clearly, for every j≤∣Ci∣j\leq|C_{i}| we have A[i,j]=∣ei∣A[i,j]=|e_{i}| since by definition of AA, eie_{i} is included in the solution, and adding any other j−1j-1 sets from CiC_{i} to the solution does not increase the size of the union. In the remainder of the proof, when we refer to an optimal solution corresponding to A[i′,j′]A[i^{\prime},j^{\prime}] for some indices i′i^{\prime} and j′j^{\prime} we always mean a solution that uses the maximum number of sets in Ci′C_{i^{\prime}}.

For any t≥0t\geq 0 and j=t+∣Ci∣j=t+|C_{i}|, the optimal solution contains exactly tt sets in Ai∪BiA_{i}\cup B_{i}. Fix an optimal solution OPTiOPT_{i} corresponding to A[i,j]A[i,j] and let ei∗e_{i^{*}} be the hyperedge with largest bei∗b_{e_{i^{*}}} in OPTiOPT_{i} that does not belong to CiC_{i}. We show that

Then, by considering every hyperedge with index i′<ii^{\prime}<i as the possible i∗i^{*} in Eq. (2) and taking the minimum value, one can compute A[i,j]A[i,j] in linear time.

To complete the proof, we argue why Equation 2 holds. First observe that a solution with value A[i,j]A[i,j] exists. Indeed, by adding all elements of Ci∖Ci∗C_{i}\setminus C_{i^{*}} to an optimal solution for A[i∗,j−∣Ci∖Ci∗∣]A[i^{*},j-|C_{i}\setminus C_{i^{*}}|] we obtain a solution for A[i,j]A[i,j] covering exactly ∣ei∖ei∗∣|e_{i}\setminus e_{i^{*}}| additional elements. Next, assume that the value of A[i,j]A[i,j] is less than that of Equation 2. Then we can obtain a solution for A[i∗,j−∣Ci∖Ci∗∣]A[i^{*},j-|C_{i}\setminus C_{i^{*}}|] by removing from OPTiOPT_{i} all the elements in ∣Ci∖Ci∗∣|C_{i}\setminus C_{i^{*}}| to obtain a solution with value at most A[i,j]−∣ei∖ei∗∣A[i,j]-|e_{i}\setminus e_{i^{*}}|, contradicting the fact that A[i∗,j−∣Ci∖Ci∗∣]A[i^{*},j-|C_{i}\setminus C_{i^{*}}|] is the value of an optimal solution. □\Box

Open problems

While no tight hardness results are known for Densest kk-Subgraph and Smallest pp-Edge Subgraph, there are lower bounds given by the log-density framework . In this framework, one considers the problem of distinguishing between a random graph and a graph which contains a planted dense subgraph. It has been conjectured that for certain parameters (namely, when the “log-density” of the subgraph is smaller than that of the host graph), this task is impossible, thus giving lower bounds on the approximability of these problems. In the graph setting, the existing algorithm of match these lower bounds.

However, in the hypergraph case, our current algorithms are still far from the corresponding lower bounds. In cc-uniform hypergraphs, the lower bounds predicted by the log-density framework are n(c−1)/4n^{(c-1)/4} for Densest kk-Subhypergraph and n1−2/(c+1)n^{1-2/(\sqrt{c}+1)} for Min pp-Union. For c=3c=3, for example, these lower bounds give n1/2n^{1/2} and n2−3=n0.2679…n^{2-\sqrt{3}}=n^{0.2679\ldots}, respectively (contrast with our current guarantees of n0.6978…n^{0.6978\ldots} and n0.4n^{0.4}). The existing approach for the graph case does not seem to easily carry over to hypergraphs, and it remains a technical challenge to match the log-density based predictions for hypergraphs of bounded rank.

For arbitrary rank, the lower bound given by the log-density framework is m1/4m^{1/4} (note that we do not expect to achieve approximations that are sublinear in nn in this case), as opposed to our current guarantee of m\sqrt{m}. In general hypergraphs, one may also hope for hardness results which at the moment are elusive for the graph case or for bounded rank hypergraphs.

There is also an interesting connection between MppU/DkkSH and the Small-Set Vertex Expansion problem (SSVE) . In Small-Set Vertex Expansion we are given a graph GG and a parameter δ\delta, and are asked to find the a set V′⊆VV^{\prime}\subseteq V with ∣V′∣≤δn|V^{\prime}|\leq\delta n in order to minimize ∣{v∈V∖V′:v∈Γ(v)}∣∣V′∣\frac{|\{v\in V\setminus V^{\prime}:v\in\Gamma(v)\}|}{|V^{\prime}|}. Given a graph GG, consider the collection of neighborhoods E^={Γ(v):v∈V}\hat{E}=\{\Gamma(v):v\in V\} and the hypergraph H=(V,E^)H=(V,\hat{E}). If we let p=δnp=\delta n, the MppU problem (choosing pp hyperedges in HH to minimize their union) is quite similar to the SSVE problem. The main difference is that SSVE only “counts” nodes that are in V∖V′V\setminus V^{\prime}, while MppU would also count nodes in V′V^{\prime}. It is known that this special case of MppU reduces to SSVE, so it is no harder than SSVE, but it is not clear how much easier it is. This motivates the study of MppU when hyperedges are neighborhoods in an underlying graph, and studying the approximability of this problem is an interesting future direction.

References

Appendix A Finding a Set of Minimum Expansion

Given a bipartite graph G=(E,V,F)G=(E,V,F), the subroutine Min-Exp(G)(G) returns a subset of EE so that

for every subset E′⊆EE^{\prime}\subseteq E. Minimally expanding subsets of this kind have previously been used (e.g. in ) in communication settings where computation time is disregarded. We therefore present a polynomial time implementation for Min-Exp using network flows. An alternative algorithm can be derived from a straightforward adaptation of a linear programming approach for the graph case due to Charikar to our setting (see Appendix B for more details).

Vertex ss is connected to every e∈Ee\in E via directed edges (leaving ss) with capacity 11.

Every v∈Vv\in V is connected to tt via a directed edge (directed towards tt) with capacity qq.

We prove now a property connecting the value of a minimum cut to the expansion of a subset of EE. This property allows us then to define an efficient algorithm for Min-Exp.

Let qq be such that mn<q<m\frac{m}{n}<q<m. Then:

Suppose that val(F∗)<mval(F^{*})<m. We prove that E′=EsE^{\prime}=E_{s} fulfills the claimed property. The value of the cut val(F∗)val(F^{*}) is computed according to Inequality 3 as follows:

which implies ∣E′∣∣ΓG(E′)∣>q\frac{|E^{\prime}|}{|\Gamma_{G}(E^{\prime})|}>q as desired.

Suppose now that there is a E′⊆EE^{\prime}\subseteq E such that ∣E′∣∣ΓG(E′)∣>q\frac{|E^{\prime}|}{|\Gamma_{G}(E^{\prime})|}>q. Then the set of edges CC consisting of those that connect ss to E∖E′E\setminus E^{\prime} and those that connect ΓG(E′)\Gamma_{G}(E^{\prime}) to tt form a cut. We compute val(C)val(C):

The fact that val(C∗)≤val(C)val(C^{*})\leq val(C) completes the proof. □\Box

Lemma A.1 allows us to test whether there is a subset E′⊆EE^{\prime}\subseteq E such that ∣E′∣∣ΓG(E′)∣>q\frac{|E^{\prime}|}{|\Gamma_{G}(E^{\prime})|}>q, for some value of qq. For every set E′⊆EE^{\prime}\subseteq E, we have ∣E′∣∣ΓG(E′)∣∈{ab : a∈{1,…,m},b∈{1,…,n}}\frac{|E^{\prime}|}{|\Gamma_{G}(E^{\prime})|}\in\{\frac{a}{b}\,:\,a\in\{1,\dots,m\},b\in\{1,\dots,n\}\}. We could thus test all values ab−ϵ\frac{a}{b}-\epsilon, for a∈{1,…,m},b∈{1,…,n}a\in\{1,\dots,m\},b\in\{1,\dots,n\} and a small enough ϵ\epsilon, in order to identify the desired set (or use a binary search to speed up the process). Since computing a min-cut can be done in polynomial time, we obtain the following theorem:

Algorithm Min-Exp can be implemented in polynomial time.

Appendix B An LP-based algorithm for Minimum Expansion

We use hypergraph notation in this section. So the goal is to find a set E′⊆EE^{\prime}\subseteq E which minimizes ∣∪e∈Ee′e∣/∣E′∣|\cup_{e\in Ee^{\prime}}e|/|E^{\prime}| over all choices of E′E^{\prime} (so there is no requirement that ∣E′∣=p|E^{\prime}|=p).

We use the following LP relaxation, which is a straightforward adaptation of Charikar’s algorithm for graphs.

Consider the following simple rounding algorithm:

Let E′={e∈E∣xe≥r}E^{\prime}=\{e\in E\mid x_{e}\geq r\}.

Clearly, for every vertex e∈Ee\in E we have

Therefore, by linearity of expectation, we have