Approximating Dense Max 2-CSPs

Pasin Manurangsi, Dana Moshkovitz

Introduction

Constraint Satisfaction Problems (CSPs) are fundamental to theoretical computer science, encompassing well-known problems such as Max-Cut and Max-SAT. A Max 2-CSP consists of a set of variables and a set of constraints, where each constraint involves exactly two variables. The objective is to assign values from a given alphabet to these variables such that the number of satisfied constraints is maximized.

While efficient algorithms exist for small alphabets (e.g., binary assignments), the problem becomes significantly more difficult as the alphabet size ($q$) increases. In general graphs, achieving high-quality approximation ratios is computationally hard. However, this paper explores the potential for better performance in dense graphs—instances where a significant fraction of all possible variable pairs are constrained.

The Complexity of Large Alphabets in Dense Graphs

Existing algorithms for dense CSPs often suffer from a common bottleneck: their running times scale poorly as the alphabet size grows, often becoming exponential or quasi-polynomial. This research addresses the gap by providing efficient, polynomial-time approximations for dense, large-alphabet scenarios. The core challenge lies in the fact that as $q$ grows, the search space for assignments expands exponentially, making traditional brute-force or simple heuristic methods inadequate.

Methodology: The Greedy-Reduction Trade-off

The authors propose a recursive algorithmic framework centered on a fundamental trade-off between two strategies:

  1. Greedy Assignment: This approach selects the best possible value for each variable based on local, immediate information. While computationally cheap, it may fail if the optimal solution requires more global coordination.
  2. Choice Reduction: This is the pivotal insight of the paper. If a greedy approach fails to yield a high-value solution, it implies that the optimal assignments for the variables are highly constrained. By fixing the value of a single variable, the algorithm can significantly prune the candidate values for all neighboring variables.

In dense graphs, variables are highly interconnected, meaning that information about one variable's "correct" value propagates effectively throughout the system. The authors leverage this by alternating between these two steps: either the greedy approach succeeds, or choice reduction simplifies the problem into a smaller, more manageable sub-problem. This framework is applied to several related computational problems, including Free Games (Max 2-CSPs on complete bipartite graphs), Projection Games (a variant used in hardness proofs), and the Densest k-Subgraph problem.

Key Results and Theoretical Performance

The paper evaluates these algorithms against mathematical models of density, such as $\delta$-dense graphs and Erdős-Rényi random bipartite graphs. The primary contributions include:

  • General Approximation: For any constant $\gamma > 0$, the authors provide a polynomial-time algorithm that approximates dense Max 2-CSPs within an $O(N^\epsilon)$ ratio.
  • Projection Games: The algorithm achieves an $\Omega(N^{-\gamma})$ approximation for satisfiable projection games on random bipartite graphs with density $p \ge 10\sqrt{\log n / n}$. This represents a significant improvement over the previous state-of-the-art ratio of $O((nq)^{1/4})$.
  • Accelerated QPTAS: For instances that are perfectly satisfiable, the authors developed a Quasi-Polynomial Time Approximation Scheme (QPTAS) with a running time of $N^{O(\epsilon^{-1}\delta^{-1} \log N)}$. This is asymptotically faster than previous methods, which typically scaled at $N^{O(\epsilon^{-2}\delta^{-1} \log N)}$.

Discussion and Future Directions

One of the most significant advantages of this approach is its alphabet independence. Unlike previous approximation schemes that were only efficient for constant alphabet sizes, this method handles large alphabets gracefully.

However, several limitations remain. The improved QPTAS is currently restricted to perfectly satisfiable instances; extending this efficiency to "almost-satisfiable" or general unsatisfiable instances is a primary goal for future work. Additionally, the $O(N^\epsilon)$ approximation requires the optimal solution to satisfy a non-negligible fraction of constraints. Finally, while this work focuses on $k=2$ (binary constraints), extending these density-based techniques to higher-order CSPs (where $k \ge 3$) remains an open and challenging frontier in computational complexity.

Summary updated

BibTeX
@inproceedings{manurangsi2015approximating,
  author = {Pasin Manurangsi and Dana Moshkovitz},
  title = {{Approximating Dense Max 2-CSPs}},
  booktitle = {APPROX-RANDOM},
  year = {2015},
  url = {https://openreview.net/forum?id=N28eZtLDPQx},
}
Figure