Sub-exponential Approximation Schemes for CSPs: From Dense to Almost Sparse

Dimitris Fotakis, Michael Lampis, Vangelis Th. Paschos

Abstract

Constraint Satisfaction Problems (CSPs) are fundamental to theoretical computer science, yet they frequently exhibit "approximation resistance," where finding a solution better than a random assignment is NP-hard. While Polynomial Time Approximation Schemes (PTAS) exist for dense instances of these problems, they typically fail as the density of constraints decreases. This paper explores a sub-exponential time framework that extends the "island of tractability" for Max-CSPs. By relaxing the requirement for polynomial running time, we demonstrate that $(1 - \epsilon)$-approximations are achievable for "almost sparse" instances, effectively bridging the gap between dense and sparse problem regimes.

Introduction

Constraint Satisfaction Problems (CSPs) are a cornerstone of computational complexity. While finding exact solutions is generally NP-hard, the difficulty of approximating these solutions varies significantly based on the density of the constraints. For many Max-CSP problems, such as Max-CUT or Max-SAT, there exists a threshold of approximation resistance where no polynomial-time algorithm can outperform a trivial random assignment unless P = NP.

Historically, dense instances—those where the number of constraints is quadratic in the number of variables $n$—have been more approachable. For these instances, Polynomial Time Approximation Schemes (PTAS) allow us to reach a $(1 - \epsilon)$ factor of the optimal solution. However, as graphs or hypergraphs become sparser (e.g., $n^{1.1}$ edges instead of $n^2$), these polynomial-time methods break down. This research investigates whether sub-exponential running times—faster than $2^n$ but slower than $poly(n)$—can be leveraged to provide high-quality approximations for these sparser regimes.

Methodology

The authors generalize the exhaustive sampling technique, a method originally introduced by Arora, Karger, and Karpinski, to handle a broader range of constraint densities. The algorithmic framework consists of four primary stages:

  1. Polynomial Formulation: The Max-CSP is represented as the maximization of a degree-$k$ "smooth" polynomial, where $k$ is the arity of the constraints.
  2. Exhaustive Sampling: The algorithm selects a small random sample of variables. By exhaustively "guessing" the values of these variables in the optimal solution, the algorithm can estimate the influence of the remaining variables on the overall objective function.
  3. Recursive Decomposition: For problems where $k > 2$ (such as Max-3-SAT), the degree-$k$ polynomial is recursively decomposed into lower-degree polynomials until a linear form is achieved.
  4. Linear Programming and Rounding: The resulting linear program is solved to find a fractional solution, which is then transformed into a valid discrete assignment through randomized rounding.

The critical innovation in this work is a refined error analysis. Previous dense-instance PTAS results could ignore small errors because the optimal value was large enough to mask them. In sparser instances, the optimal value is smaller, requiring a much tighter balance between the error introduced by sampling and the computational budget.

Key Insights and Theoretical Framework

The Density-Time Trade-off

The paper establishes a formal continuum between problem density and computational complexity. As the density of constraints decreases, the time required to maintain a $(1 - \epsilon)$ approximation increases predictably. This allows for a smooth transition from polynomial time (for dense instances) to sub-exponential time (for almost sparse instances).

The "Almost Sparse" Frontier

For Max-CUT, the framework provides solutions for graphs with an average degree of $\Delta = n^\delta$. This represents a significant advancement over previous requirements for $\Omega(n^2)$ edges. The algorithm effectively pushes the boundary of what is considered "tractable" by utilizing the extra time budget of sub-exponential computation.

Hardness and Optimality

Using the Exponential Time Hypothesis (ETH), the authors demonstrate that their density requirements are nearly optimal. They show that if one attempts to approximate instances sparser than their established limits (for example, Max-$k$-SAT with fewer than $n^{k-1}$ clauses), the problem likely requires full exponential time, suggesting that this framework reaches the theoretical "end of the road" for sub-exponential approximation.

Results

The framework yields several significant results across standard NP-hard problem classes:

  • Max-$k$-CSP: For instances with $\Omega(n^{k-1+\delta})$ constraints, the algorithm achieves a $(1 - \epsilon)$ approximation in $2^{O(n^{1-\delta} \ln n / \epsilon^3)}$ time.
  • Max-CUT: A sub-exponential approximation scheme is provided for any graph with average degree $n^\delta$.
  • $k$-Densest Subgraph: The authors extend the framework to handle linear constraints, achieving a $(1 - \epsilon)$ approximation for graphs with average degree $n^\delta$ in $2^{O(n^{1-\delta/3} \ln n / \epsilon^3)}$ time.

Conclusion and Future Work

This work successfully expands the range of CSP instances that can be accurately approximated by trading polynomial efficiency for sub-exponential time. While the results are primarily theoretical—the $1/\epsilon^3$ factor in the exponent remains a barrier to immediate practical application—they provide a vital map of the complexity landscape between P and NP.

Future research may focus on optimizing the constants within the exponents to move these algorithms closer to practical utility. Additionally, finding alternative techniques to bypass the "density floor" for $k > 2$ arity problems remains a significant open challenge in the field of computational complexity.

Summary updated

BibTeX
@inproceedings{fotakis2016sub,
  author = {Dimitris Fotakis and Michael Lampis and Vangelis Th. Paschos},
  title = {{Sub-exponential Approximation Schemes for CSPs: From Dense to Almost Sparse}},
  booktitle = {STACS},
  year = {2016},
  doi = {10.4230/lipics.stacs.2016.37},
}
Figure