Abstract
Parallel SAT solvers often rely on sharing learned clauses to prune search spaces. However, static sharing limits fail to adapt to problem-specific needs or the natural evolution of clause sizes during execution. This paper proposes a dynamic clause-sharing framework based on the Additive-Increase-Multiplicative-Decrease (AIMD) algorithm from TCP congestion control. By treating clause sharing as a throughput and quality management problem, the proposed policies (aimdT and aimdTQ) allow solvers to automatically adjust sharing thresholds. Experimental results on industrial and crafted benchmarks demonstrate that these dynamic policies significantly outperform traditional static limits in both speed and the number of instances solved.
Introduction
Boolean Satisfiability (SAT) solvers have become the "engine room" for diverse applications, from software verification to AI planning. Most modern solvers utilize Conflict-Driven Clause Learning (CDCL), where the solver "learns" new clauses from conflicts to avoid redundant search paths. In parallel architectures, multiple cores collaborate by sharing these learned clauses to help each other prune the search space.
However, sharing all learned clauses is impractical due to the massive communication overhead and the potential for cores to be flooded with irrelevant data. The industry standard has historically been a static size limit—for instance, only sharing clauses containing eight or fewer variables ($e=8$). This approach suffers from three primary limitations:
- The Goldilocks Problem: A single static limit is rarely optimal for all problem instances.
- The Drift: As search progresses, learned clauses naturally increase in length, eventually rendering a static limit obsolete as sharing ceases.
- Relevance: Clause size is a poor proxy for utility; a short clause may be irrelevant to a core's current search subspace.
Methodology: Dynamic Clause Sharing
To address these flaws, we propose two dynamic policies implemented within the ManySAT parallel solver.
Throughput-based Control (aimdT)
We model clause sharing as a network traffic problem. Using the AIMD algorithm, each core monitors the rate of incoming clauses. If the number of received clauses falls below a target threshold, the core additively increases the size limit for its partners, signaling for more information. Conversely, if a core is overwhelmed, it multiplicatively decreases the limit to immediately reduce congestion. This ensures a steady flow of information without causing a bottleneck.
Quality-based Control (aimdTQ)
The aimdTQ policy extends the throughput model by incorporating a measure of clause relevance. It evaluates incoming clauses based on the "interest" level of the receiving core, typically determined by variable activity heuristics like VSIDS. If a partner provides high-quality, relevant clauses, the size limit is increased more aggressively. If the shared information is deemed "junk," the limit is slashed more severely.
Results and Discussion
The dynamic policies demonstrated a clear advantage over static limits. A key observation is the "sawtooth" behavior of the average size limit over time, as shown in the figure below. This pattern confirms that the AIMD controller is actively probing the capacity of the system, increasing the limit until congestion occurs and then backing off—a behavior impossible with static configurations.
On the 2008 SAT-Race industrial benchmark, the static solver ($e=8$) solved 83 problems. In contrast, the aimdT policy solved 86, and the aimdTQ policy solved 89. The performance gain is further illustrated in the cactus plot, which shows the cumulative number of instances solved over time.
Furthermore, the dynamic system successfully mitigated the "drift" problem. By allowing the size limit to grow as the search matured, the solver ensured that sharing continued even when the average learned clause size increased, maintaining search diversity and intensification where needed.
Conclusion
By applying control theory principles to parallel SAT solving, we have developed a robust mechanism for managing clause sharing. The AIMD-based policies provide a self-tuning system that outperforms static limits by adapting to the specific needs of each problem and the evolving state of the search. Future work will explore more sophisticated quality metrics and the potential for applying these dynamic control ideas to sequential solvers for internal database management.
Summary updated