Skip to main content
QUICK REVIEW

[Paper Review] Almost 2-SAT is Fixed-Parameter Tractable

Igor Razgon, Barry O’Sullivan|ArXiv.org|Jan 8, 2008
semigroups and automata theoryComputer Science11 references4 citations
TL;DR

This paper resolves a long-standing open problem in parameterized complexity by presenting an algorithm that solves the Almost 2-SAT problem in O(15^k * k * m^3) time, proving it is fixed-parameter tractable. The approach combines iterative compression with a novel reduction to a separation problem in 2-CNF formulas, leveraging walk and path structures to compute minimum clause separators via a Menger-like theorem and neutral literal pruning to bound the search space.

ABSTRACT

We consider the following problem. Given a 2-CNF formula, is it possible to remove at most $k$ clauses so that the resulting 2-CNF formula is satisfiable? This problem is known to different research communities in Theoretical Computer Science under the names 'Almost 2-SAT', 'All-but-$k$ 2-SAT', '2-CNF deletion', '2-SAT deletion'. The status of fixed-parameter tractability of this problem is a long-standing open question in the area of Parameterized Complexity. We resolve this open question by proposing an algorithm which solves this problem in $O(15^k*k*m^3)$ and thus we show that this problem is fixed-parameter tractable.

Motivation & Objective

  • To resolve the long-standing open question on the fixed-parameter tractability of the Almost 2-SAT problem, also known as 2-CNF deletion or All-but-k 2-SAT.
  • To design an efficient algorithm that determines whether at most k clauses can be removed from a 2-CNF formula to make it satisfiable.
  • To establish a theoretical foundation using structural properties of 2-CNF formulas, particularly walks and paths between literals, to guide the search for minimal clause deletions.
  • To extend the algorithm to handle formulas with repeated clauses by transforming them into equivalent formulas with distinct clauses without increasing the runtime complexity.

Proposed method

  • The algorithm uses iterative compression to reduce the 2-ASAT problem to multiple instances of the annotated 2-ASLASAT problem, where a single literal is added to a set of already satisfied literals.
  • It introduces the concept of a walk from ¬L to ¬l in a 2-CNF formula, proving that unsatisfiability w.r.t. L ∪ {l} is equivalent to the existence of such a walk.
  • A Menger-like theorem is proven: the minimum number of clauses whose removal breaks all paths from ¬L to ¬l equals the maximum number of clause-disjoint paths from ¬L to ¬l, enabling polynomial-time computation of a lower bound on the solution size.
  • The notion of a neutral literal l* is introduced, where the solution size for (F, L ∪ {l*}, l) is no larger than for (F, L, l), allowing safe recursive expansion of the literal set without increasing the parameter.
  • The algorithm performs a bounded search tree: for each clause, it either removes it (decreasing k) or adds one of its literals to L (preserving k), guided by the neutral literal property to limit branching.
  • A transformation is applied to eliminate repeated clauses by introducing new variables and splitting each repeated clause into two new clauses, preserving satisfiability and allowing the algorithm to be applied to formulas with duplicate clauses.

Experimental results

Research questions

  • RQ1Is the Almost 2-SAT problem, defined as determining whether at most k clauses can be removed to make a 2-CNF formula satisfiable, fixed-parameter tractable with respect to k?
  • RQ2Can the problem be reduced to a minimum clause separator problem in a 2-CNF formula using walk and path structures between literal negations?
  • RQ3Does the existence of a neutral literal l* in an annotated 2-ASLASAT instance allow for safe expansion of the literal set L without increasing the solution size?
  • RQ4Can iterative compression be effectively applied to the 2-ASAT problem by reducing it to multiple calls on the 2-ASLASAT problem with bounded branching?
  • RQ5Is the algorithm's runtime of O(15^k * k * m^3) sufficient to establish fixed-parameter tractability even when the input formula contains repeated clauses?

Key findings

  • The Almost 2-SAT problem is fixed-parameter tractable, with a runtime of O(15^k * k * m^3), resolving a 10-year open problem in parameterized complexity.
  • The algorithm reduces the 2-ASAT problem to O(3^k) instances of the 2-ASLASAT problem, each solvable in O*(5^k) time, leading to the overall runtime bound.
  • A Menger-like theorem is established: the size of the minimum clause separator between ¬L and ¬l equals the maximum number of clause-disjoint paths, enabling polynomial-time lower bound computation.
  • The concept of a neutral literal l* ensures that adding it to L does not increase the solution size, allowing for safe and effective branching in the search tree.
  • The algorithm handles formulas with repeated clauses by transforming them into equivalent formulas with distinct clauses, preserving the solution and runtime complexity.
  • The result implies that the 2-ASAT problem is fpt-equivalent to other well-known problems such as vertex cover above perfect matching, confirming its place in the fpt complexity hierarchy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.