Reproduce “SatLM: Satisfiability-Aided Language Models Using Declarative Prompting” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Xi Ye, Qiaochu Chen, Isil Dillig, Greg Durrett
SATLM improves reasoning performance on complex constraint-solving problems by having large language models generate declarative logical specifications that are then solved by external automated theorem provers. This approach consistently outperforms prior methods like Chain-of-Thought and Program-Aided LMs across diverse datasets, achieving up to 23% higher accuracy on tasks like GSM-SYS and setting new state-of-the-art results on several benchmarks.
Key insights
- LLMs are more proficient at parsing natural language into declarative "what needs to be true" statements than generating imperative "how to compute it" reasoning procedures, which simplifies the LLM's task and reduces parsing errors.
- Offloading the logical planning and execution to a sound SAT/SMT solver eliminates LLM-induced planning and execution errors, ensuring the correctness of the derived answer with respect to the generated formal specification.
- The SAT solver provides rich feedback (UNSAT, AMBIG, ERROR) beyond a simple answer, enabling selective prediction and significantly increasing the selective accuracy and trustworthiness of the system's outputs.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.