Almost-Polynomial Ratio ETH-Hardness of Approximating Densest $k$-Subgraph
Pasin Manurangsi
Introduction
In the Densest -Subgraph (DS) problem, we are given an undirected graph on vertices and a positive integer . The goal is to find a set of vertices such that the induced subgraph on has maximum number of edges. Since the size of is fixed, the problem can be equivalently stated as finding a -subgraph (i.e. subgraph on vertices) with maximum density where densityIt is worth noting that sometimes density is defined as . For DS, both definitions of density result in the same objective since is fixed. However, our notion is more convenient to deal with as it always lies in $S|E(S)|/\binom{|S|}{2}E(S)S$.
Densest -Subgraph, a natural generalization of -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 DS in general case over the years, many special cases have also been studied. Most relevant to our work is the case where the optimal -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 -clique, the algorithm can find an -dense -subgraph in time. We will refer to this problem of finding densest -subgraph when the input graph is promised to have a -clique Densest -Subgraph with perfect completeness.
Although many algorithms have been devised for DS, 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, DS is hard to approximate to within some constant factor.
Alon et al. [AAM+11] later used a similar conjecture regarding random -AND to rule out polynomial-time algorithms for DS with any constant approximation ratio. Moreover, they proved hardnesses of approximation of DS 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 and one in which a clique of size polynomial in (e.g. ) is planted. Assuming this hypothesis, Alon et al. proved that no polynomial-time algorithm approximates DS 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 DS can be improved. In particular, if no -time algorithm solves the Planted Clique problem, then -approximation for DS cannot be achieved in polynomial time.
There are also several inapproximability results of DS based on worst-case assumptions. Khot [Kho06] showed, assuming NP BPTIME() for some constant , that no polynomial-time algorithm can approximate DS to within factor where is a constant depending only on ; 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 DS 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 DS 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 DS. Specifically, for the Sum-of-Squares hierarchy, they showed integrality gaps of and against and levels of the hierarchy respectively. (See also [Man15, CMMV17] in which in the exponent was improved to .) 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 DS 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 DS (even with perfect completeness) with slightly subpolynomial ratio:
There is a constant such that, assuming ETH, no polynomial-time algorithm can, given a graph on vertices and a positive integer , distinguish between the following two cases:
There exist vertices of that induce a -clique.
Every -subgraph of has density at most .
If we assume a stronger assumption that it takes exponential time to even distinguish between a satisfiable 3SAT formula and one which is only -satisfiable for some constant (aka Gap-ETH; see Hypothesis 5), the ratio can be improved to for any Recall that if and only if . :
For every function , assuming Gap-ETH, no polynomial-time algorithm can, given a graph on vertices and a positive integer , distinguish between the following two cases:
There exist vertices of that induce a -clique.
Every -subgraph of has density at most .
We remark that, for DS 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 to . an -approximation in time for every [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 [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 DS 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 DS that preserve approximation ratios to within some polynomialThese are problems whose -approximation gives an -approximation for DS for some constant .. These problems include Densest At-Most--Subgraph [AC09], Smallest -Edge Subgraph [CDK12], Steiner -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 DS 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 DS (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 DS for such problems:
For some constant , assuming ETH, there is no polynomial-time -approximation algorithm for Densest At-Most--Subgraph, Smallest -Edge Subgraph, Steiner -Forest, Quadratic Knapsack. Moreover, for any function , there is no polynomial-time -approximation algorithm for any of these problems, unless Gap-ETH is false.
Preliminaries and Notations
We use and to denote and respectively. is used as a shorthand for for some constant . For any set , denotes the power set of . For any non-negative integer , we use to denote the collection of all subsets of of size .
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 -time algorithm can decide whether any 3SAT formula with 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 such that no -time algorithm can, given a 3SAT formula with 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 denotes the number of variables., distinguish between the case where is satisfiable and the case where . Here denote the maximum fraction of clauses of 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 , there exists a polynomial-time reduction that takes a 3SAT formula and produces a 3SAT formula such that
(Completeness) if is satisfiable, then is satisfiable, and,
(Soundness) if is unsatisfiable, then .
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 relative to . On this front, it is known that the size of can be made nearly-linear in the size of [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 :
For some constant , there exists a polynomial-time reduction that takes a 3SAT formula with clauses and produces another 3SAT formula with clauses such that
(Completeness) if is satisfiable, then is satisfiable, and,
(Soundness) if is unsatisfiable, then , and,
(Bounded Degree) each variable of appears in clauses.
Note that Dinur’s PCP, combined with ETH, implies a lower bound of on the running time of algorithms that solve the gap version of 3SAT, which is only a factor of 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 , we will prove the following bound on .
Before we prove the above lemma, let us see how Lemma 9 and Lemma 10 imply Theorem 8.
First, notice that if appears in and appears in for some variable and bit , then ; this is because, for any with and with , there exist and that contain and respectively, meaning that there is no edge between and and, thus, . Hence, from now on, we can assume that, if appears in one of , then the other does not contain . Observe that this implies that, for each variable , its assignments can appear in and at most two timesThis is where we use the fact that the variables are boolean. For non-boolean CSPs, each variable can appear more than two times in one of or alone, which can indeed be problematic (see Appendix A). in total. This in turn implies that .
is terrible iff its assignments appear at most once in total in and (i.e. ).
is good iff, for some , . Note that this implies that .
is bad iff either or .
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 and (3) can be immediately tightened.
To turn this intuition into a bound on , we need the following inequality. Its proof is straightforward and is deferred to Subsection 3.1.
Let be any set and be any set of pairs of elements of such that each element of appears in at most pairs. For any positive integer , the probability that a random element of does not contain both elements of any pair in is at most .
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 and respectively. Moreover, let and pick . To refine the bound on the size of , consider the following three cases:
. Since each appears either in or , one of and must contain assignments to at least variables in . Assume w.l.o.g. that satisfies this property. Let be the set of all whose assignments appear in . Note that .
and . In this case, . Let denote the set of clauses whose variables all lie in . Since each variable appears in at most clauses, where the second inequality comes from our choice of and from .
Consider the partial assignment induced by and , i.e., iff . Since , the number of clauses in satisfied by is at most . Hence, at least clauses in are unsatisfied by . Denote the set of such clauses by .
We first construct such that each element of appears in at most one pair in as follows. Start out by marking every pair in as active and, as long as there are active pairs left, include one in and mark every pair that shares an element of with this pair as inactive. Since each element of appears in at most pairs in , we mark at most pairs as inactive per each inclusion. This implies that .
Suppose that where are distinct elements of . Let be a random element of . For each , we have
If does not contain both elements of any pairs in , it does not contain both elements of any pairs in . The probability of the latter can be written as
In addition, since are distinct, it is not hard to see that . Hence, we have
completing the proof of Proposition 11.
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 DS 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 DS still remains wide open. Namely, it is still not known whether it is NP-hard to approximate DS 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 DS, 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 DS, 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 DS 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 -approximate Nash Equilibrium with -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 and so that is bounded away from one. For instance, we can make each side a random 2-XOR formula, which results in . 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.