Introduction: The End of the "Free Lunch"
For decades, the performance of compute-intensive AI algorithms scaled naturally with increasing processor clock speeds. As Moore’s Law shifts toward increasing core counts rather than single-core frequency, this "free lunch" has ended. Constraint solving—encompassing Boolean Satisfiability (SAT) and Constraint Satisfaction Problems (CSP)—is notoriously difficult to parallelize effectively beyond a few dozen cores. Traditional "work stealing" methods often suffer from significant communication overhead at massive scales. This research explores simple, communication-free strategies to establish a performance baseline for the multi-core era, scaling to over 100 processors.
Communication-Free Strategies
The authors investigate two primary philosophies for achieving massive parallelism without the bottleneck of inter-processor communication:
- Search-Space Splitting via Hashing: This method partitions the search space mathematically. Each processor is assigned the original problem plus a unique "hashing constraint" (XOR/parity constraint), ensuring that each core searches a non-overlapping slice of the problem space.
- Diversified Portfolios via Partially Fixed Ordering: Modern solvers are highly sensitive to variable selection order. By "partially fixing" the search—randomly selecting a small number of variables ($q$) to branch on first before letting dynamic heuristics take over—the system creates a "portfolio" of diverse search paths. This increases the probability that at least one processor discovers a solution quickly.
Exploiting Heuristic Sensitivity
A critical insight of this work is the extreme sensitivity of modern solvers to initial conditions. Industrial SAT instances, which involve complex hardware verification or logic problems, rely on dynamic heuristics and clause learning.
As shown in Figure 3, fixing even a single variable can result in runtimes varying by several orders of magnitude. The portfolio approach leverages this "diversity advantage," allowing a collection of processors to explore different shortcuts that a single-core solver or a strictly partitioned search might miss.
Performance and Scalability
The researchers evaluated these methods using N-Queens (CSP) and industrial SAT instances from the 2008 SAT Race.
- CSP Results: On the N-Queens problem, the hashing technique achieved near-linear speedup up to approximately 30 processors, after which the small problem size led to a performance plateau.
- SAT Results: The portfolio approach demonstrated impressive scalability on hard industrial problems. By utilizing 128 cores, the system solved significantly more instances within the same time limit compared to a single-core baseline.
As illustrated in Figure 4, increasing the number of cores consistently improves the number of instances solved. On 128 cores, the system solved 55% more instances (32 vs. 19) than the single-core MiniSat 2.0 within the allotted time. Notably, this method improved performance for both satisfiable and unsatisfiable instances.
Limitations and Future Work
While communication-free parallelism offers a scalable baseline, it presents trade-offs. The lack of communication prevents processors from sharing "learned clauses," which are vital shortcuts discovered during the search process. Future work must address how to share this information efficiently without saturating the network. Additionally, the authors highlight the need for energy-efficient metrics, such as "solved instances per watt," as massive parallelism is significantly more power-intensive than single-core execution. Finally, while random variable fixing proved effective, more sophisticated topological analysis of problems might eventually allow for better prediction of "good" variables to fix at the start.
Summary updated