Manuscript Offprint
arXiv:2610.25047Approximating Independent Sets Using Additive Combinatorics
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We give a deterministic quasi-polynomial time algorithm for approximating the largest independent set in a graph. We show that if an -vertex graph contains an independent set of size , then we can find an independent set of size in quasi-polynomial time, for all up to a constant factor of . This gives an approximation factor of , which has the same shape as known hardness results for quasi-polynomial time algorithms, up to a different exponent of the logarithm.
The algorithm builds on a structural principle: a graph containing a large independent set must also contain a large sparse structured set, and such a set can be found efficiently. A greedy algorithm then extracts an independent set from it. Our proof draws on tools in additive combinatorics, in particular spreadness and sifting, to obtain the combinatorial structural results. We then convert these to efficient algorithms using pseudo-marginals obtained by semidefinite programming.
1 Introduction
Finding a maximum independent set is a classical NP-hard problem [Kar72]. Throughout, is a simple undirected graph on vertices, and denotes its maximum independent-set size. An -approximation algorithm returns an independent set of size at least .
Polynomial time approximation. Feige [Fei04] gives the best known polynomial time approximation ratio,
On the hardness side, Håstad [Hås99] proved that, for every constant , an -approximation is impossible in polynomial time unless NP = ZPP. Zuckerman [Zuc07] derandomized this result, establishing NP-hardness for the same factor. So, the gap between known algorithms and hardness results is large: polylogarithmic versus small polynomial savings over the trivial factor of .
Quasi-polynomial time approximation. We now switch to consider algorithms that are allowed to run in quasi-polynomial time, namely time for any constant . Within this time limit, exhaustive search gives a an approximation ratio of , by enumerating all vertex sets of size at most . The enumeration either finds an optimum independent set or finds one of size . On the hardness side, building on Khot [Kho01], Zuckerman [Zuc07] ruled out quasi-polynomial time approximation within for some constant , unless NP has deterministic quasi-polynomial time algorithms. Under the stronger assumption that NP has no bounded-error randomized quasi-polynomial time algorithms,
Supported by Simons Investigator Award #929894 and NSF award CCF-2425349.
Khot and Ponnuswami [KP06] ruled out polynomial time approximation within for every constant .
In this paper, we design a new quasi-polynomial time algorithm that achieves the approximation ratio
This has the same form as the hardness bound of [KP06], though the exponents differ: 1/3 in our algorithm and in the hardness bound. Formally, we prove the following theorem.
Theorem 1.1 (Finding a large independent set). There is an absolute constant such that the following holds. Let be an integer with . If , then a deterministic algorithm finds an independent set in of size at least in time .
To obtain the approximation guarantee, take and run the algorithm, returning a singleton if it finds no independent set. If , the output has size at least , giving an approximation factor of at most . If , a singleton already gives this factor. The running time is which is quasi-polynomial in .
Large sparse structured sets. The algorithm in Theorem 1.1 is based on two steps. First, we find a large sparse structured set in the graph, and then extract an independent set from it by a simple greedy algorithm. The first step is the main innovation of this paper. It is a manifestation of the following guiding principle:
A large exact solution guarantees a large structured approximate solution, with the structure captured by a small, efficiently searchable family.
In our case, an exact solution is a large independent set, and an approximate solution is a set with few edges. The specific structure we utilize will become apparent soon.
We now move to the formal statement of our main technical theorem. For a nonempty set of vertices , define its edge density by
Here u, v are chosen independently and uniformly from U.
Theorem 1.2 (Finding a large sparse set). Let be integers. If , then a deterministic algorithm running in time finds a nonempty set satisfying
Before describing the proof approach for Theorem 1.2, we first show that Theorem 1.1 follows from it by simple greedy pruning.
Proof of Theorem 1.1 given Theorem 1.2. Apply Theorem 1.2 with . For a sufficiently small choice of c, the resulting set U satisfies
We work in the induced subgraph . Consider the greedy algorithm that iteratively selects a vertex of minimum degree, adds it to the independent set, and deletes it together with its neighbors. This algorithm is well-known to attain Turán's bound (see, e.g., [HR97]), finding an independent set in of size at least
Cayley graphs. Consider a Cayley graph on , with vertices and generating set : vertices are adjacent when . If is an independent set in , then
We will use the additive structure in to produce a structured sparse set in G.
Assume for an integer . The quasi-polynomial Bogolyubov lemma, following the Kelley-Meka framework [KM23] in the form proved by Hunter and Pohoata [HP25], gives, for every integer , a linear subspace such that
Since avoids , at most a fraction of lies in . For independent uniform , the sum is uniform in . Consequently,
This is the structural principle in a concrete form: is large and sparse, and its structure is that of a linear subspace. A subspace of codimension is the common zero set of linear forms, for which there are at most choices. Enumerating subspaces of codimension at most and checking their edge densities therefore finds a suitable in deterministic time .
General graphs. We begin by assuming access to a distribution on independent sets whose expected size is large. This lets us first develop the combinatorial argument. We then show that access to the distribution can be replaced by access to its marginals, namely the probabilities that small sets of vertices are contained in the random independent set. Finally, we show that pseudo-marginals computed by an SDP suffice to implement the argument efficiently.
The first step is to increase inclusion probabilities by conditioning. If a set of vertices contains many edges and each vertex has a reasonably large inclusion probability, Theorem 2.1 shows that conditioning on one vertex belonging to the independent set increases the inclusion probabilities of many other vertices by a constant factor.
We then iterate this step, retaining the vertices whose inclusion probabilities increase. Since probabilities cannot exceed one, the process must stop with a sparse set. In Theorem 2.2, we track the number of retained vertices to show that this sparse set is large.
To make the argument algorithmic, we show that it uses only small marginals and remains valid for pseudo-marginals obtained from a semidefinite relaxation. Each candidate sparse set is determined by a small conditioning set. Enumerating these conditioning sets and checking the resulting candidates gives an efficient algorithm.
1.2 Related work
Our work builds on a long line of research in additive combinatorics and approximation algorithms. Its main contribution is to use additive-combinatorial techniques to obtain strong quantitative guarantees from semidefinite relaxations of the independent set problem.
Finding almost-cliques and sparse sets. Algorithms for finding almost-cliques [FS97, Bar18] already yield sparse sets when large independent sets exist. These algorithms preserve the set size; we allow it to shrink while achieving much smaller edge density within quasi-polynomial time. Related hardness results appear in [BKRW17].
From distributions to SDP rounding. Barak, Kelner, and Steurer [BKS14] develop a framework for converting arguments about distributions into SDP rounding algorithms. We follow this approach, using only small marginals. High entrywise powers of the correlation matrix require no additional SDP levels.
Correlation rounding and conditioning. Conditioning is central to correlation rounding [BRS11, RT12], where progress is measured through variance or entropy. Our iteration increases all retained inclusion marginals by a constant factor, bounding the number of conditioning steps.
Odd correlation moments and spectral methods. Jin, Milojević, Tomon, and Zhang [JMTZ25] use entrywise cubes and the Schur product theorem to obtain dense subgraphs under spectral assumptions. We apply a related odd-moment argument to a normalized covariance matrix, obtaining positive correlations that yield a marginal increment.
Hierarchies for independent set and densest subgraph. Local distributions and small conditioning sets also appear in independent-set algorithms [GS13, BGG18] and densest-subgraph algorithms [BCC 10]. Our argument uses these tools to find sparse sets, with guarantees depending only on the size of the promised independent set.
Containers and additive-combinatorial sifting. Container theorems [BMS15, ST15] provide another precedent for sparse sets encoded by small vertex subsets. Our density-increment argument draws on Kelley–Meka and Kelley–Lovett–Meka [KM23, KLM24]; Bloom–Sisask [BS23] explain the connection between sifting and dependent random choice.
1.3 Open problems
The most immediate open problem is to narrow the gap between algorithms and hardness results for independent set approximation. A broader and, in our view, more interesting question is where else techniques from additive combinatorics can yield stronger quantitative guarantees for approximation algorithms. In particular, can we find further realizations of our guiding principle, where a large exact solution guarantees a large structured approximate solution belonging to a small, efficiently searchable family?
Paper organization. We prove Theorem 1.2 in Section 2 and describe our AI methodology in Section 3.
2 Finding large sparse structured sets, efficiently
We prove Theorem 1.2 in this section. We first work with a distribution over independent sets whose expected size is large. We then show that the argument uses only small marginals and remains valid for pseudo-marginals, which can be computed efficiently by semidefinite programming.
Notation and definitions. Let be a graph on vertices. For a distribution on the independent sets of and a set , write
Thus denotes the probability that the random independent set contains . We abbreviate as and as . In particular,
For with , let be the distribution of conditioned on , where
We write for . Successive conditionings satisfy whenever .
2.1 Increasing marginals by conditioning
The first step is inspired by the sifting and spectral-positivity arguments of Kelley and Meka [KM23] and their extension to general bipartite graphs through grid norms by Kelley, Lovett, and Meka [KLM24]. The main idea is to use high moments of correlations in a distribution on independent sets to obtain a density increment by conditioning.
Lemma 2.1 (Increased marginals in dense subgraphs). Let be a distribution on independent sets of , and let . Let and suppose and for every vertex . Let be a positive odd integer satisfying . Then some satisfies
Proof. Define a matrix indexed by as
We claim that is positive semidefinite. To see this, consider the matrix indexed by and an independent set , given by , and note that . The marginal bounds on in Equation (1) and our assumptions give
Write for the entrywise -th power of . Since is positive semidefinite, by the Schur product theorem [Sch11], is also positive semidefinite, and so
where 1 is the all-ones vector. This nonnegativity can also be seen directly:
We next consider the contribution of each term to the -th moment. Since is odd, each edge contributes -1 and hence edges contribute in total. Other negative terms contribute a negative amount. Terms with contribute at most in total, while those with contribute at most , where . Thus
This implies that . By averaging, some has at least vertices with . For each such vertex ,
which proves the claim.
2.2 Finding a large sparse set by repeated conditioning
We now iterate Theorem 2.1. Each conditioning multiplies the marginal threshold by 3/2. This process must stop because inclusion marginals are bounded by 1.
Lemma 2.2 (A large sparse set after conditioning). Let be integers, and assume . Let be a distribution on independent sets of such that . For each with , define
There is such an with for which
Proof. Start with . Since
we have . Let . We will maintain the invariant throughout the process.
Suppose and . Apply Theorem 2.1 to and , using the marginal lower bound for all , and choosing to be odd. We obtain a vertex for which at least
vertices satisfy . After removing , these vertices lie in . We note that the lower bound on and our assumption that is large enough imply . Hence
which maintains the invariant. Since , this adds one vertex to ; moreover, .
Repeat this process as long as . The process must stop before : at that point the marginal threshold would be , forcing and contradicting the size bound that we showed. When the process terminates at some set , we have and
2.3 Finding large sparse sets using pseudo-marginals
We now turn our combinatorial observations into efficient algorithms. The first step is to note that in order to apply Theorem 2.2 we do not need full access to ; it suffices to get access to small marginals of . In fact, these do not have to be marginals of a real distribution; a pseudo-distribution is sufficient. The marginals of such a pseudo-distribution can be found by a semidefinite program.
Marginals suffice. Suppose we have access to the marginals for all , where satisfies the assumptions of Theorem 2.2. Enumerate all with and . For each , compute
Check the size and edge density of directly in and return a set satisfying the conclusion of the lemma. The lemma guarantees that one exists. There are candidates, and each can be checked in polynomial time. Thus small marginals suffice; we do not need to sample full independent sets from .
Computing pseudo-marginals by SDP. A level-r pseudo-distribution on independent sets is represented by numbers for , , satisfying
These numbers need not be the marginals of an actual distribution. The last constraint requires the matrix indexed by sets of size at most , with entry , to be positive semidefinite. This matrix is often called the moment matrix. Maximizing subject to (2) is the standard Lasserre SDP relaxation for independent set [Lau03]. We use the standard algorithmic guarantee: if , then in time poly one can compute rational feasible pseudo-marginals with
The factor-two slack allows approximate optimization of the objective; the marginal constraints remain exact. For the bit-complexity guarantee for this relaxation, see [RW17, GPS23].
We verify that these pseudo-marginals can replace in the combinatorial argument.
Claim 2.3. At level , the pseudo-marginals satisfy the bounds in Equation (1), with in place of .
Proof. The principal submatrix on , gives , the diagonal entry indexed by gives nonnegativity, and the quadratic form on the difference of the indices and gives . The edge marginals vanish by Equation (2).
Conditioning uses the same notation and formula as before:
This gives a level- pseudo-distribution. Its moment matrix has entries
so it is obtained by selecting (possibly repeating) rows and columns of the original moment matrix and dividing by . It is therefore also positive semidefinite. Normalization and the edge constraints are also preserved. Thus each conditioning consumes one level of the pseudo-distribution.
It remains to justify the nonnegative moment used in Theorem 2.1. On any set U with positive marginals, define
Claim 2.4. The matrix M is positive semidefinite.
Proof. Let be arbitrary real coefficients. Define coefficients , indexed by sets of size at most , by for , , and elsewhere. Positive semidefiniteness of the moment matrix gives
Since this holds for every choice of the coefficients, .
By the Schur product theorem [Sch11], every entrywise positive integer power is positive semidefinite. Hence
where 1 is the all-ones vector. The rest of Theorem 2.1 uses only the marginal bounds and the conditioning formula, so its proof applies unchanged. In particular, taking a high entrywise power requires no additional levels. Consequently, Theorem 2.2 holds for pseudo-distributions as well, provided at least two levels remain after all the conditionings.
Proof of Theorem 1.2. If , a singleton satisfies the required bounds. Otherwise, compute a level-r pseudo-distribution with satisfying Equation (3). Apply the pseudo-distribution version of Theorem 2.2 with in place of . There are at most conditionings, so two levels remain throughout. The enumeration described above, using in place of , therefore finds a set with
Both the SDP computation and the enumeration take time .
3 AI methodology
This project began with an idea I had been considering for some time: additive combinatorics can be used to show that a large independent set in a Cayley graph implies the existence of a large sparse structured set, which can be found in quasi-polynomial time. More recently, I realized that the spreadness techniques we developed in [KLM24] could extend this approach to general graphs, but I did not know how to make the argument algorithmic. I used the web version of ChatGPT Astra to help develop the proof. The interaction proceeded as follows:
-
I first asked it to prove the conjecture for Cayley graphs over , where I already knew a proof, to see whether it could find one in the literature or derive one itself. It did neither.
-
I explained my proof for Cayley graphs and asked it to extend the argument to general graphs, without further hints. It did not find an extension.
-
I then suggested using spreadness and sifting from [KLM24] to obtain a density increment, and asked it to work out the details. This and further interactions led to the combinatorial results in this paper.
-
Finally, I asked how to turn these combinatorial observations into an efficient algorithm. It identified the connection to SDP relaxations and pseudo-marginals, which I had not been aware of.
AI was also used to copy-edit the paper, calculate parameters and do a literature search.
References
[Bar18] Siddharth Barman. Approximating Nash equilibria and dense subgraphs via an approximate version of Carathéodory's theorem. SIAM Journal on Computing, 47(3):960–981, 2018. https://arxiv.org/abs/1406.2296.
[BCC 10] Aditya Bhaskara, Moses Charikar, Eden Chlamtăc, Uriel Feige, and Aravindan Vijayaraghavan. Detecting high log-densities—an approximation for densest k-subgraph. In Proceedings of the ACM Symposium on Theory of Computing (STOC), pages 201–210, 2010. https://arxiv.org/abs/1001.2891.
[BGG18] Nikhil Bansal, Anupam Gupta, and Guru Guruganesh. On the Lovász theta function for independent sets in sparse graphs. SIAM Journal on Computing, 47(3):1039–1055, 2018. https://arxiv.org/abs/1504.04767.
[BKRW17] Mark Braverman, Young Kun Ko, Aviad Rubinstein, and Omri Weinstein. ETH hardness for densest-k-subgraph with perfect completeness. In Proceedings of the ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1326–1341, 2017. https://arxiv.org/abs/1504.08352.
[BKS14] Boaz Barak, Jonathan A. Kelner, and David Steurer. Rounding sum-of-squares relaxations. In Proceedings of the ACM Symposium on Theory of Computing (STOC), pages 31–40, 2014. https://arxiv.org/abs/1312.6652.
[BMS15] József Balogh, Robert Morris, and Wojciech Samotij. Independent sets in hypergraphs. Journal of the American Mathematical Society, 28:669–709, 2015. https://arxiv.org/abs/1204.6530.
[BRS11] Boaz Barak, Prasad Raghavendra, and David Steurer. Rounding semidefinite programming hierarchies via global correlation. In Proceedings of the IEEE Symposium on Foundations of Computer Science (FOCS), 2011. https://arxiv.org/abs/1104.4680.
[BS23] Thomas F. Bloom and Olof Sisask. The Kelley–Meka bounds for sets free of three-term arithmetic progressions. Essential Number Theory, 2(1):15–44, 2023. https://arxiv.org/abs/2302.07211.
[Fei04] Uriel Feige. Approximating maximum clique by removing subgraphs. SIAM Journal on Discrete Mathematics, 18(2):219–225, 2004. https://doi.org/10.1137/S089548010240415X.
[FS97] Uriel Feige and Michael Seltser. On the densest k-subgraph problem. Technical Report CS97-16, Weizmann Institute of Science, 1997.
[GPS23] Sander Gribling, Sven Polak, and Lucas Slot. A note on the computational complexity of the moment-SOS hierarchy for polynomial optimization, 2023. https://arxiv.org/abs/2305.14944.
[GS13] Venkatesan Guruswami and Ali Kemal Sinop. Rounding Lasserre SDPs using column selection and spectrum-based approximation schemes for graph partitioning and quadratic IPs, 2013. https://arxiv.org/abs/1312.3024.
[Hås99] Johan Håstad. Clique is hard to approximate within . Acta Mathematica, 182(1):105–142, 1999. https://doi.org/10.1007/BF02392825.
[HP25] Zach Hunter and Cosmin Pohoata. On off-diagonal Ramsey numbers for vector spaces over . Mathematical Proceedings of the Cambridge Philosophical Society, 179(2):503–518, 2025. https://arxiv.org/abs/2309.02424v2.
[HR97] Magnús M. Halldórsson and Jaikumar Radhakrishnan. Greed is good: Approximating independent sets in sparse and bounded-degree graphs. Algorithmica, 18(1):145–163, 1997. https://doi.org/10.1007/BF02523693.
[JMTZ25] Zhihan Jin, Aleksa Milojević, István Tomon, and Shengtong Zhang. From small eigenvalues to large cuts, and Chowla's cosine problem, 2025. https://arxiv.org/abs/2509.03490.
[Kar72] Richard M. Karp. Reducibility among combinatorial problems. In Raymond E. Miller and James W. Thatcher, editors, Complexity of Computer Computations, pages 85–103. Plenum Press, 1972. https://doi.org/10.1007/978-1-4684-2001-2_9.
[Kho01] Subhash Khot. Improved inapproximability results for MaxClique, chromatic number and approximate graph coloring. In Proceedings of the 42nd IEEE Symposium on Foundations of Computer Science (FOCS), pages 600–609, 2001. https://doi.org/10.1109/SFCS.2001.959936.
[KLM24] Zander Kelley, Shachar Lovett, and Raghu Meka. Explicit separations between randomized and deterministic Number-on-Forehead communication. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC), pages 1299–1310, 2024. https://doi.org/10.1145/3618260.3649721.
[KM23] Zander Kelley and Raghu Meka. Strong bounds for 3-progressions. In Proceedings of the 64th IEEE Symposium on Foundations of Computer Science (FOCS), pages 933–973, 2023. https://doi.org/10.1109/FOCS57990.2023.00059.
[KP06] Subhash Khot and Ashok Kumar Ponnuswami. Better inapproximability results for MaxClique, chromatic number and Min-3Lin-Deletion. In Automata, Languages and Programming (ICALP), volume 4051 of Lecture Notes in Computer Science, pages 226–237. Springer, 2006. https://doi.org/10.1007/11786986_21.
[Lau03] Monique Laurent. A comparison of the Sherali–Adams, Lovász–Schrijver, and Lasserre relaxations for 0–1 programming. Mathematics of Operations Research, 28(3):470–496, 2003. https://doi.org/10.1287/moor.28.3.470.16391.
[RT12] Prasad Raghavendra and Ning Tan. Approximating CSPs with global cardinality constraints using SDP hierarchies. In Proceedings of the ACM-SIAM Symposium on Discrete Algorithms (SODA), 2012. https://arxiv.org/abs/1110.1064.
[RW17] Prasad Raghavendra and Benjamin Weitz. On the bit complexity of sum-of-squares proofs. In 44th International Colloquium on Automata, Languages, and Programming (ICALP 2017), volume 80 of Leibniz International Proceedings in Informatics (LIPIcs), pages 80:1–80:13. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. https://doi.org/10.4230/LIPIcs.ICALP.2017.80.
[Sch11] Issai Schur. Bemerkungen zur theorie der beschränkten bilinearformen mit unendlich vielen veränderlichen. Journal für die reine und angewandte Mathematik, 140:1–28, 1911. https://doi.org/10.1515/crll.1911.140.1.
[ST15] David Saxton and Andrew Thomason. Hypergraph containers. Inventions Mathematicae, 201:925–992, 2015. https://arxiv.org/abs/1204.6595.
[Zuc07] David Zuckerman. Linear degree extractors and the inapproximability of Max Clique and Chromatic Number. Theory of Computing, 3:103–128, 2007. https://doi.org/10.4086/toc.2007.v003a006.