Almost-Polynomial Ratio ETH-Hardness of Approximating Densest $k$-Subgraph

Pasin Manurangsi

Introduction

In the Densest kk-Subgraph (DkkS) problem, we are given an undirected graph GG on nn vertices and a positive integer k⩽nk\leqslant n. The goal is to find a set SS of kk vertices such that the induced subgraph on SS has maximum number of edges. Since the size of SS is fixed, the problem can be equivalently stated as finding a kk-subgraph (i.e. subgraph on kk vertices) with maximum density where densityIt is worth noting that sometimes density is defined as ∣E(S)∣/∣S∣|E(S)|/|S|. For DkkS, both definitions of density result in the same objective since ∣S∣=k|S|=k is fixed. However, our notion is more convenient to deal with as it always lies in $.ofthesubgraphinducedon. of the subgraph induced onSisis|E(S)|/\binom{|S|}{2}andandE(S)denotesthesetofalledgesamongtheverticesindenotes the set of all edges among the vertices inS$.

Densest kk-Subgraph, a natural generalization of kk-Clique [Kar72], was first formulated and studied by Kortsarz and Peleg [KP93] in the early 90s. Since then, it has been the subject of intense study in the context of approximation algorithm and hardness of approximation [FS97, SW98, FL01, FKP01, AHI02, Fei02, Kho06, GL09, RS10, BCC+10, AAM+11, BCV+12, Bar15, BKRW17]. Despite this, its approximability still remains wide open and is considered by some to be an important open question in approximation algorithms [BCC+10, BCV+12, BKRW17].

While the above algorithms demonstrate the main progresses of approximations of DkkS in general case over the years, many special cases have also been studied. Most relevant to our work is the case where the optimal kk-subgraph has high density, in which better approximations are known [FS97, ST08, MM15, Bar15]. The first and most representative algorithm of this kind is that of Feige and Seltser [FS97], which provides the following guarantee: when the input graph contains a kk-clique, the algorithm can find an (1−ε)(1-\varepsilon)-dense kk-subgraph in nO(log⁡n/ε)n^{O(\log n/\varepsilon)} time. We will refer to this problem of finding densest kk-subgraph when the input graph is promised to have a kk-clique Densest kk-Subgraph with perfect completeness.

Although many algorithms have been devised for DkkS, relatively little is known regarding its hardness of approximation. While it is commonly believed that the problem is hard to approximate to within some polynomial ratio [AAM+11, BCV+12], not even a constant factor NP-hardness of approximation is known. To circumvent this, Feige [Fei02] came up with a hypothesis that a random 3SAT formula is hard to refute in polynomial time and proved that, assuming this hypothesis, DkkS is hard to approximate to within some constant factor.

Alon et al. [AAM+11] later used a similar conjecture regarding random kk-AND to rule out polynomial-time algorithms for DkkS with any constant approximation ratio. Moreover, they proved hardnesses of approximation of DkkS under the following Planted Clique Hypothesis [Jer92, Kuč95]: there is no polynomial-time algorithm that can distinguish between a typical Erdős–Rényi random graph G(n,1/2)\mathcal{G}(n,1/2) and one in which a clique of size polynomial in nn (e.g. n1/3n^{1/3}) is planted. Assuming this hypothesis, Alon et al. proved that no polynomial-time algorithm approximates DkkS to within any constant factor. They also showed that, when the hypothesis is strengthened to rule out not only polynomial-time but also super-polynomial time algorithms for the Planted Clique problem, their inapproximability guarantee for DkkS can be improved. In particular, if no nO(log⁡n)n^{O(\sqrt{\log n})}-time algorithm solves the Planted Clique problem, then 2O(log⁡2/3n)2^{O(\log^{2/3}n)}-approximation for DkkS cannot be achieved in polynomial time.

There are also several inapproximability results of DkkS based on worst-case assumptions. Khot [Kho06] showed, assuming NP ⊈\not\subseteq BPTIME(2nε2^{n^{\varepsilon}}) for some constant ε>0\varepsilon>0, that no polynomial-time algorithm can approximate DkkS to within (1+δ)(1+\delta) factor where δ>0\delta>0 is a constant depending only on ε\varepsilon; the proof is based on a construction of a “quasi-random” PCP, which is then used in place of a random 3SAT in a reduction similar to that from [Fei02].

While no inapproximability of DkkS is known under the Unique Games Conjecture, Raghavendra and Steurer [RS10] showed that a strengthened version of it, in which the constraint graph is required to satisfy a “small-set expansion” property, implies that DkkS is hard to approximate to within any constant ratio.

Since none of these inapproximability results achieve a polynomial ratio, there have been efforts to prove better lower bounds for more restricted classes of algorithms. For example, Bhaskara et al. [BCV+12] provided polynomial ratio lower bounds against strong SDP relaxations of DkkS. Specifically, for the Sum-of-Squares hierarchy, they showed integrality gaps of n2/53−εn^{2/53-\varepsilon} and nεn^{\varepsilon} against nΩ(ε)n^{\Omega(\varepsilon)} and n1−O(ε)n^{1-O(\varepsilon)} levels of the hierarchy respectively. (See also [Man15, CMMV17] in which 2/532/53 in the exponent was improved to 1/141/14.) Unfortunately, it is unlikely that these lower bounds can be translated to inapproximability results and the question of whether any polynomial-time algorithm can achieve subpolynomial approximation ratio for DkkS remains an intriguing open question.

In this work, we rule out, under the exponential time hypothesis (i.e. no subexponential time algorithm can solve 3SAT; see Hypothesis 4), polynomial-time approximation algorithms for DkkS (even with perfect completeness) with slightly subpolynomial ratio:

There is a constant c>0c>0 such that, assuming ETH, no polynomial-time algorithm can, given a graph GG on nn vertices and a positive integer k⩽nk\leqslant n, distinguish between the following two cases:

There exist kk vertices of GG that induce a kk-clique.

Every kk-subgraph of GG has density at most n−1/(log⁡log⁡n)cn^{-1/(\log\log n)^{c}}.

If we assume a stronger assumption that it takes exponential time to even distinguish between a satisfiable 3SAT formula and one which is only (1−ε)(1-\varepsilon)-satisfiable for some constant ε>0\varepsilon>0 (aka Gap-ETH; see Hypothesis 5), the ratio can be improved to nf(n)n^{f(n)} for any Recall that f∈o(1)f\in o(1) if and only if lim⁡n→∞f(n)=0\lim_{n\to\infty}f(n)=0. f∈o(1)f\in o(1):

For every function f∈o(1)f\in o(1), assuming Gap-ETH, no polynomial-time algorithm can, given a graph GG on nn vertices and a positive integer k⩽nk\leqslant n, distinguish between the following two cases:

There exist kk vertices of GG that induce a kk-clique.

Every kk-subgraph of GG has density at most n−f(n)n^{-f(n)}.

We remark that, for DkkS with perfect completeness, the aforementioned Feige-Seltser algorithm achievesThis guarantee was not stated explicitly in [FS97] but it can be easily achieved by changing the degree threshold in their algorithm DenseSubgraph from (1−ε)n(1-\varepsilon)n to nεn^{\varepsilon}. an nεn^{\varepsilon}-approximation in time nO(1/ε)n^{O(1/\varepsilon)} for every ε>0\varepsilon>0 [FS97]. Hence, the ratios in our theorems cannot be improved to some fixed polynomial and the ratio in Theorem 2 is tight in this sense.

Comparison to Previous Results. In terms of inapproximability ratios, the ratios ruled out in this work are almost polynomial and provides a vast improvement over previous results. Prior to our result, the best known ratio ruled out under any worst case assumption is only any constant [RS10] and the best ratio ruled out under any average case assumption is only 2O(log⁡2/3n)2^{O(\log^{2/3}n)} [AAM+11]. In addition, our results also have perfect completeness, which was only achieved in [BKRW17] under ETH and in [AAM+11] under the Planted Clique Hypothesis but not in [Kho06, Fei02, RS10].

Implications of Our Results. One of the reasons that DkkS has received significant attention in the approximation algorithm community is due to its connections to many other problems. Most relevant to our work are the problems to which there are reductions from DkkS that preserve approximation ratios to within some polynomialThese are problems whose O(ρ)O(\rho)-approximation gives an O(ρc)O(\rho^{c})-approximation for DkkS for some constant cc.. These problems include Densest At-Most-kk-Subgraph [AC09], Smallest mm-Edge Subgraph [CDK12], Steiner kk-Forest [HJ06] and Quadratic Knapsack [Pis07]. For brevity, we do not define these problems here. We refer interested readers to cited sources for their definitions and reductions from DkkS to respective problems. We also note that this list is by no means exhaustive and there are indeed numerous other problems with similar known connections to DkkS (see e.g. [HJL+06, KS07, KMNT11, CHK11, HIM11, LNV14, CLLR15, CL15, CZ15, SFL15, TV15, CDK+16, CMVZ15, Lee16]). Our results also imply hardness of approximation results with similar ratios to DkkS for such problems:

For some constant c>0c>0, assuming ETH, there is no polynomial-time n1/(log⁡log⁡n)cn^{1/(\log\log n)^{c}}-approximation algorithm for Densest At-Most-kk-Subgraph, Smallest mm-Edge Subgraph, Steiner kk-Forest, Quadratic Knapsack. Moreover, for any function f∈o(1)f\in o(1), there is no polynomial-time nf(n)n^{f(n)}-approximation algorithm for any of these problems, unless Gap-ETH is false.

Preliminaries and Notations

We use exp⁡(x)\exp(x) and log⁡(x)\log(x) to denote exe^{x} and log⁡2(x)\log_{2}(x) respectively. polylog⁡n\operatorname*{polylog}n is used as a shorthand for O(log⁡cn)O(\log^{c}n) for some constant cc. For any set SS, P(S):={T∣T⊆S}\mathscr{P}(S):=\{T\mid T\subseteq S\} denotes the power set of SS. For any non-negative integer t⩽∣S∣t\leqslant|S|, we use (St):={T∈P(S)∣∣T∣=t}\binom{S}{t}:=\{T\in\mathscr{P}(S)\mid|T|=t\} to denote the collection of all subsets of SS of size tt.

One of our results is based on the exponential time hypothesis (ETH), a conjecture proposed by Impagliazzo and Paturi [IP01] which asserts that 3SAT cannot be solved in subexponential time:

No 2o(m)2^{o(m)}-time algorithm can decide whether any 3SAT formula with mm clausesIn its original form, the running time lower bound is exponential in the number of variables not the number of clauses; however, thanks to the sparsification lemma of Impagliazzo et al. [IPZ01], both versions are equivalent. is satisfiable.

Another hypothesis used in this work is Gap-ETH, a strengthened version of the ETH, which essentially states that even approximating 3SAT to some constant ratio takes exponential time:

There exists a constant ε>0\varepsilon>0 such that no 2o(m)2^{o(m)}-time algorithm can, given a 3SAT formula ϕ\phi with mm clausesAs noted by Dinur [Din16], a subsampling argument can be used to make the number of clauses linear in the number of variables, meaning that the conjecture remains the same even when mm denotes the number of variables., distinguish between the case where ϕ\phi is satisfiable and the case where val⁡(ϕ)⩽1−ε\operatorname*{val}(\phi)\leqslant 1-\varepsilon. Here val⁡(ϕ)\operatorname*{val}(\phi) denote the maximum fraction of clauses of ϕ\phi satisfied by any assignment.

2 Nearly-Linear Size PCPs and Subexponential Time Reductions

The celebrated PCP Theorem [AS98, ALM+98], which lies at the heart of virtually all known NP-hardness of approximation results, can be viewed as a polynomial-time reduction from 3SAT to a gap version of 3SAT, as stated below. While this perspective is a rather narrow viewpoint of the theorem that leaves out the fascinating relations between parameters of PCPs, it will be the most convenient for our purpose.

For some constant ε>0\varepsilon>0, there exists a polynomial-time reduction that takes a 3SAT formula φ\varphi and produces a 3SAT formula ϕ\phi such that

(Completeness) if φ\varphi is satisfiable, then ϕ\phi is satisfiable, and,

(Soundness) if φ\varphi is unsatisfiable, then val⁡(ϕ)⩽1−ε\operatorname*{val}(\phi)\leqslant 1-\varepsilon.

Following the first proofs of the PCP Theorem, considerable efforts have been made to improve the trade-offs between the parameters in the theorem. One such direction is to try to reduce the size of the PCP, which, in the above formulation, translates to reducing the size of ϕ\phi relative to φ\varphi. On this front, it is known that the size of ϕ\phi can be made nearly-linear in the size of φ\varphi [Din07, MR08, BSS08]. For our purpose, we will use Dinur’s PCP Theorem [Din07], which has a blow-up of only polylogarithmic in the size of ϕ\phi:

For some constant ε,d>0\varepsilon,d>0, there exists a polynomial-time reduction that takes a 3SAT formula φ\varphi with mm clauses and produces another 3SAT formula ϕ\phi with m′=O(mpolylog⁡m)m^{\prime}=O(m\operatorname*{polylog}m) clauses such that

(Completeness) if φ\varphi is satisfiable, then ϕ\phi is satisfiable, and,

(Soundness) if φ\varphi is unsatisfiable, then val⁡(ϕ)⩽1−ε\operatorname*{val}(\phi)\leqslant 1-\varepsilon, and,

(Bounded Degree) each variable of ϕ\phi appears in ⩽d\leqslant d clauses.

Note that Dinur’s PCP, combined with ETH, implies a lower bound of 2Ω(m/polylog⁡m)2^{\Omega(m/\operatorname*{polylog}m)} on the running time of algorithms that solve the gap version of 3SAT, which is only a factor of O(polylog⁡m)O(\operatorname*{polylog}m) in the exponent off from Gap-ETH. Putting it differently, Gap-ETH is closely related to the question of whether a linear size PCP, one where the size blow-up is only constant instead of polylogarithmic, exists; its existence would mean that Gap-ETH is implied by ETH.

The Reduction and Proofs of The Main Theorems

To bound ∣Kt,t∣|\mathcal{K}_{t,t}|, we will prove the following bound on ∣Kt,t(A,B)∣|\mathcal{K}_{t,t}(A,B)|.

Before we prove the above lemma, let us see how Lemma 9 and Lemma 10 imply Theorem 8.

First, notice that if (x,b)(x,b) appears in AA and (x,¬b)(x,\neg b) appears in BB for some variable xx and bit bb, then Kt,t(A,B)=∅\mathcal{K}_{t,t}(A,B)=\emptyset; this is because, for any LL with A(L)=A\mathcal{A}(L)=A and RR with A(R)=B\mathcal{A}(R)=B, there exist u∈Lu\in L and v∈Rv\in R that contain (x,b)(x,b) and (x,¬b)(x,\neg b) respectively, meaning that there is no edge between uu and vv and, thus, (L,R)∉Kt,t(A,B)(L,R)\notin\mathcal{K}_{t,t}(A,B). Hence, from now on, we can assume that, if (x,b)(x,b) appears in one of A,BA,B, then the other does not contain (x,¬b)(x,\neg b). Observe that this implies that, for each variable xx, its assignments can appear in AA and BB at most two timesThis is where we use the fact that the variables are boolean. For non-boolean CSPs, each variable xx can appear more than two times in one of AA or BB alone, which can indeed be problematic (see Appendix A). in total. This in turn implies that ∣A∣+∣B∣⩽2n|A|+|B|\leqslant 2n.

xx is terrible iff its assignments appear at most once in total in AA and BB (i.e. ∣{(x,0),(x,1)}∩A∣+∣{(x,0),(x,1)}∩B∣⩽1|\{(x,0),(x,1)\}\cap A|+|\{(x,0),(x,1)\}\cap B|\leqslant 1).

xx is good iff, for some b∈{0,1}b\in\{0,1\}, (x,b)∈A∩B(x,b)\in A\cap B. Note that this implies that (x,¬b)∉A∪B(x,\neg b)\notin A\cup B.

xx is bad iff either {(x,0),(x,1)}⊆A\{(x,0),(x,1)\}\subseteq A or {(x,0),(x,1)}⊆B\{(x,0),(x,1)\}\subseteq B.

The next and last step of the proof is where birthday-type paradoxes come in. Before we continue, let us briefly demonstrate the ideas behind this step by considering the following extreme cases:

If all variables are terrible, then ∣A∣+∣B∣⩽n|A|+|B|\leqslant n and (3) can be immediately tightened.

To turn this intuition into a bound on ∣Kt,t(A,B)∣|\mathcal{K}_{t,t}(A,B)|, we need the following inequality. Its proof is straightforward and is deferred to Subsection 3.1.

Let UU be any set and P⊆(U2)P\subseteq\binom{U}{2} be any set of pairs of elements of UU such that each element of UU appears in at most qq pairs. For any positive integer 2⩽r⩽∣U∣2\leqslant r\leqslant|U|, the probability that a random element of (Ur)\binom{U}{r} does not contain both elements of any pair in PP is at most exp⁡(−∣P∣r24q∣U∣2)\exp\left(-\frac{|P|r^{2}}{4q|U|^{2}}\right).

We are now ready to formalize the above intuition and finish the proof of Lemma 10. For the sake of convenience, denote the sets of good, bad and terrible variables by Xg,XbX_{g},X_{b} and XtX_{t} respectively. Moreover, let β:=ε/(100d)\beta:=\varepsilon/(100d) and pick λ=min⁡{−log⁡(1−β/2),β/64,ε/(384d)}\lambda=\min\{-\log(1-\beta/2),\beta/64,\varepsilon/(384d)\}. To refine the bound on the size of Kt,t(A,B)\mathcal{K}_{t,t}(A,B), consider the following three cases:

∣Xb∣⩾βn|X_{b}|\geqslant\beta n. Since each x∈Xbx\in X_{b} appears either in AA or BB, one of AA and BB must contain assignments to at least (β/2)n(\beta/2)n variables in XbX_{b}. Assume w.l.o.g. that AA satisfies this property. Let XbLX_{b}^{L} be the set of all x∈Xbx\in X_{b} whose assignments appear in AA. Note that ∣XbL∣⩾(β/2)n|X_{b}^{L}|\geqslant(\beta/2)n.

∣Xt∣<βn|X_{t}|<\beta n and ∣Xb∣<βn|X_{b}|<\beta n. In this case, ∣Xg∣>(1−2β)n|X_{g}|>(1-2\beta)n. Let SS denote the set of clauses whose variables all lie in XgX_{g}. Since each variable appears in at most dd clauses, ∣S∣>m−(2βn)d⩾(1−ε/2)m|S|>m-(2\beta n)d\geqslant(1-\varepsilon/2)m where the second inequality comes from our choice of β\beta and from m⩾n/3m\geqslant n/3.

Consider the partial assignment f:Xg→{0,1}f:X_{g}\rightarrow\{0,1\} induced by AA and BB, i.e., f(x)=bf(x)=b iff (x,b)∈A,B(x,b)\in A,B. Since val⁡(ϕ)⩽1−ε\operatorname*{val}(\phi)\leqslant 1-\varepsilon, the number of clauses in SS satisfied by ff is at most (1−ε)m(1-\varepsilon)m. Hence, at least εm/2\varepsilon m/2 clauses in SS are unsatisfied by ff. Denote the set of such clauses by SUNSATS_{\text{UNSAT}}.

We first construct P′⊆PP^{\prime}\subseteq P such that each element of UU appears in at most one pair in P′P^{\prime} as follows. Start out by marking every pair in PP as active and, as long as there are active pairs left, include one in P′P^{\prime} and mark every pair that shares an element of UU with this pair as inactive. Since each element of UU appears in at most qq pairs in PP, we mark at most 2q2q pairs as inactive per each inclusion. This implies that ∣P′∣⩾∣P∣/(2q)|P^{\prime}|\geqslant|P|/(2q).

Suppose that P′={{a1,b1},…,{a∣P′∣,b∣P′∣}}P^{\prime}=\{\{a_{1},b_{1}\},\dots,\{a_{|P^{\prime}|},b_{|P^{\prime}|}\}\} where a1,b1,…,a∣P′∣,b∣P′∣a_{1},b_{1},\dots,a_{|P^{\prime}|},b_{|P^{\prime}|} are distinct elements of UU. Let uu be a random element of (Ur)\binom{U}{r}. For each i=1,…,∣P′∣i=1,\dots,|P^{\prime}|, we have

If uu does not contain both elements of any pairs in PP, it does not contain both elements of any pairs in P′P^{\prime}. The probability of the latter can be written as

In addition, since a1,b1,…,a∣P′∣,b∣P′∣a_{1},b_{1},\dots,a_{|P^{\prime}|},b_{|P^{\prime}|} are distinct, it is not hard to see that Pr⁡[{ai,bi}⊈u| ⋀j=1i−1{aj,bj}⊈u]⩽Pr⁡[{ai,bi}⊈u]\Pr\left[\{a_{i},b_{i}\}\not\subseteq u\middle|\>\bigwedge_{j=1}^{i-1}\{a_{j},b_{j}\}\not\subseteq u\right]\leqslant\Pr[\{a_{i},b_{i}\}\not\subseteq u]. Hence, we have

completing the proof of Proposition 11. □\square

2 Proofs of Inapproximability Results of Dk𝑘kS

The proof of Theorem 2 is even simpler since, under Gap-ETH, we have the gap version of 3SAT to begin with. Hence, we can directly apply Theorem 8 without going through Dinur’s PCP:

Conclusion and Open Questions

In this work, we provide a subexponential time reduction from the gap version of 3SAT to DkkS and prove that it establishes an almost-polynomial ratio hardness of approximation of the latter under ETH and Gap-ETH. Even with our results, however, approximability of DkkS still remains wide open. Namely, it is still not known whether it is NP-hard to approximate DkkS to within some constant factor, and, no polynomial ratio hardness of approximation is yet known.

Although our results appear to almost resolve the second question, it still seems out of reach with our current knowledge of hardness of approximation. In particular, to achieve a polynomial ratio hardness for DkkS, it is plausible that one has to prove a long-standing conjecture called the sliding scale conjecture (SSC) [BGLR93]. In short, SSC essentially states that Label Cover, a problem used as starting points of almost all NP-hardness of approximation results, is NP-hard to approximate to within some polynomial ratio. Note here that polynomial ratio hardness for Label Cover is not even known under stronger assumptions such as ETH or Gap-ETH; we refer the readers to [Din16] for more detailed discussions on the topic.

Apart from the approximability of DkkS, our results also prompt the following natural question: since previous techniques, such as Feige’s Random 3SAT Hypothesis [Fei02], Khot’s Quasi-Random PCP [Kho06], Unique Games with Small Set Expansion Conjecture [RS10] and the Planted Clique Hypothesis [Jer92, Kuč95], that were successful in showing inapproximability of DkkS also gave rise to hardnesses of approximation of many problems that are not known to be APX-hard including Sparsest Cut, Min Bisection, Balanced Separator, Minimum Linear Arrangement and 2-Catalog Segmentation [AMS07, Sak10, RST12], is it possible to modify our construction to prove inapproximability for these problems as well? An evidence suggesting that this may be possible is the case of ε\varepsilon-approximate Nash Equilibrium with ε\varepsilon-optimal welfare, which was first proved to be hard under the Planted Clique Hypothesis by Hazan and Krauthgamer [HK11] before Braverman, Ko and Weinstein proved that the problem was also hard under ETH [BKW15].

I am truly grateful to Aviad Rubinstein, Prasad Raghavendra and Luca Trevisan for invaluable discussions throughout various stages of this work. Without their comments, suggestions and support, this work would not have been possible. Furthermore, I thank Daniel Reichman and Igor Shinkar for stimulating dicussions on a related problem which inspire part of the proof presented here. I also thank Igor for pointing me to [Alo02]. Finally, I thank anonymous reviewers for their useful comments on an earlier draft of this work.

References

Appendix A A Counterexample to Obtaining a Subconstant Soundness from Non-Boolean CSPs

Finally, note that there are several ways to define constraints within X1X_{1} and X2X_{2} so that val⁡(ϕ)\operatorname*{val}(\phi) is bounded away from one. For instance, we can make each side a random 2-XOR formula, which results in val⁡(ϕ)⩽1/2+O(1/d)\operatorname*{val}(\phi)\leqslant 1/2+O(1/d). Thus, if we start from a non-boolean CSP, the largest gap we can hope to get is only two.

Note that the instance above is rather extreme as it consists of two disconnected components. Hence, it is still possible that, if the starting CSP has more specific properties (e.g. expanding constraint graph), then one can arrive at a gap of more than two.