On multiple learning schemata in conflict driven solvers

Andrea Formisano, Flavio VellaIctcs 2014

Abstract

Modern SAT solvers primarily utilize Conflict-Driven Clause Learning (CDCL) to navigate search spaces, typically deriving a single learned clause from a Unique Implication Point (UIP) upon encountering a conflict. This paper introduces a generalized framework that shifts the paradigm from deterministic single-clause learning to an optimization-based multiple learning approach. By formalizing conflict analysis as a vertex-cut problem on implication graphs modeled as Directed Acyclic Graphs (DAGs), the authors propose methods to simultaneously derive multiple high-quality clauses. This approach allows for global optimization of learned information, potentially reducing the search space more effectively than traditional local heuristics.

Introduction

Boolean Satisfiability (SAT) solvers are critical components in formal verification, hardware design, and complex scheduling. Most state-of-the-art solvers employ CDCL, where conflicts trigger a "learning" phase to prevent the solver from revisiting unproductive branches. However, standard implementations are often limited by a "short-sighted" approach: they typically stop at the first conflict found and generate a single clause based on local propagation order.

Formisano and Vella argue that this "one conflict, one clause" paradigm ignores valuable structural information. They identify three primary limitations in current solvers: single-mindedness regarding the first conflict, lack of global interaction analysis between potential clauses, and reliance on fixed heuristics that do not strategically prune the search space.

Formalizing Conflict Analysis as Graph Cuts

To address these limitations, the authors bridge SAT solving with classical graph theory. The solver's state is modeled as an implication graph—a Directed Acyclic Graph (DAG) where nodes represent variable assignments and edges represent the logical reasons (unit propagations) for those assignments.

In this model, the act of learning a clause is equivalent to finding a vertex cut that separates the "source" nodes (the solver's decision variables) from the "sink" node (the conflict).

An implication graph represented as a DAG, where a vertex cut separates decision sources from the conflict sink $t$.

By reframing learning as a graph-cut problem, the solver can move beyond the standard UIP. Instead of a single deterministic point, any valid cut provides a valid learned clause. This allows the solver to optimize for specific criteria, such as minimizing clause length or prioritizing variables with high activity scores.

The Multiple Learning Problem

The core contribution of the paper is the formalization of the Multiple Learning Problem. Instead of resolving a single conflict, the solver analyzes the entire implication graph to identify multiple conflicts and their shared dependencies.

A complex implication graph with multiple conflict sinks ($t_1, t_2$), illustrating the challenge of simultaneous clause learning.

This is framed as a generalized version of the minimum $s-t$ multicut problem. The goal is to find $k$ vertex sets (cuts) that minimize a global objective function. This allows the solver to find "bottleneck" variables that, when learned, resolve several independent conflicts at once.

Algorithmic Implementation and Insights

While finding the absolute minimum multicut is computationally hard (#P-complete to count them), the authors suggest that enumerating the "best" few cuts is feasible. They propose using enumeration techniques, such as modified versions of the Hao-Orlin or Vazirani algorithms, to generate potential cuts in non-decreasing order of weight.

Key insights from this framework include:

  • Optimization over Resolution: Learning becomes a strategic choice rather than a byproduct of propagation order.
  • Weighting Schemes: By assigning weights to variables based on their relevance or activity, the solver can automatically gravitate toward the most impactful "lessons."
  • Parallelization: This framework is particularly suited for parallel solvers. Different threads can share implication graphs, and a global analysis can derive "knowledge exchange" clauses that help all threads avoid redundant search.

Conclusion

The proposed framework transforms conflict analysis from a local, deterministic process into a global optimization task. While the computational overhead of graph analysis is higher than traditional methods, the potential for discovering significantly higher-quality clauses offers a promising path for improving the efficiency of SAT solvers on hard instances. Future work will focus on empirical validation and the tuning of objective functions to balance analysis time with search space reduction.

Summary updated

BibTeX
@inproceedings{formisano2014multiple,
  author = {Andrea Formisano and Flavio Vella},
  title = {{On multiple learning schemata in conflict driven solvers}},
  booktitle = {Ictcs},
  year = {2014},
}
Figure