[Paper Review] Graph Neural Reasoning May Fail in Certifying Boolean Unsatisfiability
This paper demonstrates that graph neural networks (GNNs) fail to certify Boolean unsatisfiability (UNSAT) in CNF formulas due to inherent limitations in their message-passing mechanism. Although GNNs can simulate local search heuristics like WalkSAT for SAT solving, they cannot capture the global reasoning required to prove UNSAT, particularly in problems like 2QBF that require exhaustive search and formula simplification.
It is feasible and practically-valuable to bridge the characteristics between graph neural networks (GNNs) and logical reasoning. Despite considerable efforts and successes witnessed to solve Boolean satisfiability (SAT), it remains a mystery of GNN-based solvers for more complex predicate logic formulae. In this work, we conjectures with some evidences, that generally-defined GNNs present several limitations to certify the unsatisfiability (UNSAT) in Boolean formulae. It implies that GNNs may probably fail in learning the logical reasoning tasks if they contain proving UNSAT as the sub-problem included by most predicate logic formulae.
Motivation & Objective
- To investigate whether GNNs can learn to certify Boolean unsatisfiability (UNSAT), a critical subproblem in predicate logic reasoning.
- To analyze the limitations of standard GNN message-passing mechanisms in capturing the global reasoning required for proving UNSAT.
- To compare GNN behavior with established SAT solvers (e.g., DPLL, CDCL) and local search methods (e.g., WalkSAT) to identify structural mismatches.
- To evaluate whether GNNs can simulate the reasoning process in 2QBF problems, which inherently require UNSAT proofs.
- To clarify why data-driven GNNs for SAT and 2QBF show performance close to random guessing, as observed in prior work.
Proposed method
- Construct a bipartite graph representation of CNF formulas, with separate nodes for literals and clauses, using GNN message-passing to propagate embeddings.
- Define an optimal aggregation function (Eq. 4) that sets literal embeddings to zero if all clauses containing them are satisfied, mimicking WalkSAT’s selection of unsatisfied clauses.
- Use a random vector injection (Eq. 5–6) to simulate the stochastic flipping of variables in unsatisfied clauses, emulating WalkSAT’s local search heuristic.
- Formulate clause embeddings to become zero when unsatisfied (Eq. 7), enabling the aggregation function to detect which literals appear in unsatisfied clauses.
- Demonstrate that the GNN’s update rules (Eqs. 4–7) collectively simulate WalkSAT’s iterative process, including convergence when all clauses are satisfied.
- Analyze failure modes by showing that GNNs cannot simulate the formula simplification and variable assignment strategies used in complete UNSAT solvers like DPLL or CDCL.
Experimental results
Research questions
- RQ1Can GNNs simulate the complete reasoning process required to prove Boolean unsatisfiability (UNSAT) in CNF formulas?
- RQ2Why do GNN-based models for 2QBF problems fail to outperform random guessing, despite success on SAT problems?
- RQ3To what extent can GNN message-passing mechanisms emulate the behavior of local search heuristics like WalkSAT?
- RQ4What structural or representational limitations prevent GNNs from capturing the global reasoning needed for UNSAT proofs?
- RQ5Is the failure of GNNs in UNSAT certification due to the simplicity of message-passing, or are deeper architectural changes required?
Key findings
- GNNs can simulate the WalkSAT local search heuristic through carefully designed aggregation and combination functions, as formalized in Eqs. 4–7.
- The GNN’s message-passing mechanism fails to simulate the formula simplification and variable elimination steps used in complete SAT solvers like DPLL and CDCL.
- When all clauses are satisfied, the GNN converges to a fixed point where literal embeddings remain stable, indicating successful simulation of WalkSAT’s stopping condition.
- The GNN cannot certify UNSAT in 2QBF problems because it lacks the ability to perform systematic search and formula reduction, which are essential for proving unsatisfiability.
- The failure to prove UNSAT explains the poor performance of data-driven GNNs on 2QBF, where they perform similarly to random guessing, as reported in prior work.
- Belief propagation (BP) can find witnesses of unsatisfiability in 2QBF by iteratively assigning biased ∀-variables and simplifying the formula, a capability beyond current one-shot GNN embeddings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.