SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas

Anjiang Wei, Yuheng Wu, Yingjia Wan, Tarun Suresh, Huanmi Tan +4 more
5/20/2025
cs.AIcs.CLcs.LG

Official code: Anjiang-Wei/SATBench (9 stars, last commit 2026-01-02).

Abstract

We introduce SATBench, a benchmark for evaluating the logical reasoning capabilities of large language models (LLMs) through logical puzzles derived from Boolean satisfiability (SAT) problems. Unlike prior work that focuses on inference rule-based reasoning, which often involves deducing conclusions from a set of premises, our approach leverages the search-based nature of SAT problems, where the objective is to find a solution that fulfills a specified set of logical constraints. Each instance in SATBench is generated from a SAT formula, then translated into a puzzle using LLMs. The generation process is fully automated and allows for adjustable difficulty by varying the number of clauses. All 2100 puzzles are validated through both LLM-based and solver-based consistency checks, with human validation on a subset. Experimental results show that even the strongest model, o4-mini, achieves only 65.0% accuracy on hard UNSAT problems, close to the random baseline of 50%. Our error analysis reveals systematic failures such as satisfiability bias, context inconsistency, and condition omission, highlighting limitations of current LLMs in search-based logical reasoning. Our code and data are publicly available at https://github.com/Anjiang-Wei/SATBench

View on arXivView PDF

Code Implementations(1)

91PythonAug 8, 20259 months ago

Similar Papers

Cite this paper

@article{wei2025satbench,
  title  = {SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas},
  author = {Anjiang Wei and Yuheng Wu and Yingjia Wan and Tarun Suresh and Huanmi Tan and Zhanke Zhou and Sanmi Koyejo and Ke Wang and Alex Aiken},
  year   = {2025},
  eprint = {2505.14615},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.14615v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.14615.svg)](https://codeofpaper.com/paper/2505.14615)

Discussion