Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Discovering heuristics in a complex SAT solver with large language models

About

The Satisfiability problem (SAT) is fundamental in computational complexity theory and has a wide range of industrial applications. Optimizing modern SAT solvers in real-world settings is quite challenging due to their intricate architectures. While automatic configuration frameworks have been developed, they rely on manually constrained search spaces. Here we develop AutoModSAT, a framework that uses large language models (LLMs) to automatically optimize SAT solvers. AutoModSAT combines an LLM-compatible modular solver design, unsupervised prompt optimization to diversify generated functions, and an efficient search procedure based on presearch strategy and a $(1+\lambda)$ evolutionary algorithm. Extensive experiments across a wide range of datasets demonstrate that AutoModSAT achieves $40\%$ performance improvement over the baseline solver and $30\%$ improvement over the state-of-the-art solvers. Moreover, AutoModSAT also attains a notable speedup compared to the parameter-tuned alternatives of the state-of-the-art solvers over most of the test datasets. These results demonstrate the potential of LLM-guided heuristic discovery for optimizing complex SAT solvers.

Yiwen Sun, Furong Ye, Zhihan Chen, Ke Wei, Shaowei Cai• 2025

Related benchmarks

TaskDatasetResultRank
SAT solvingsocial-golfer (in-domain)
PAR-2 Score4.07e+3
8
SAT solvingargumentation (in-domain)
PAR-2 Score5.08e+3
8
SAT solvinghamiltonian (in-domain)
PAR-2 Score118.4
8
SAT solvingMineSweeper (in-domain)
PAR-27.51
8
SAT solvingKnightTour (in-domain)
PAR-2 Score7.86e+3
8
Showing 5 of 5 rows

Other info

Follow for update