arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.28602cs.AIcs.CLcs.LO
收藏

用大语言模型求解可满足性问题:推理能力的配对评估

Satisfiability Solving with LLMs: A Matched-Pair Evaluation of Reasoning Capability

University of Louisiana at Lafayette(路易斯安那州立大学拉斐特分校)

Leizhen Zhang, Shuhan Chen, Sheng Chen

AI总结:

提出配对公式协议和准确区分率(ADR)来评估大语言模型在SAT问题上的推理能力,发现传统指标具有误导性,而ADR能更忠实、跨表示鲁棒地评估模型。

摘要:

大型语言模型(LLMs)越来越多地用于隐式归结为布尔可满足性(SAT)的任务,但它们在SAT上的推理能力仍不清楚。我们对LLMs在2-SAT和3-SAT上进行了系统研究,并使用了两个经典归约——顶点覆盖和离散3D装箱——来探测表示不变的推理。我们首先使用传统指标评估模型,包括准确率、精确率、召回率和F1,以及SAT相变设置。我们发现这些指标可能具有误导性:许多模型通过过度预测可满足公式获得高分,未能重现3-SAT阈值附近经典的易-难-易特征,并且随着变量数量的增加而急剧下降。为解决这个问题,我们引入了一个基于最小差异可满足和不可满足实例的配对公式协议,以及准确区分率(ADR),它要求每对中的两个成员都被正确分类。ADR将面向推理的模型与启发式模型区分开来,并与证据有效性相关。在CNF之外,我们通过将CNF转换为顶点覆盖和将3-SAT转换为离散3D装箱来测试跨表示一致性。大多数模型在超过80%的实例上,对CNF和对应图或装箱实例的决策一致,表明跨表示存在稳定的决策规则。总体而言,我们的结果表明SAT是LLM推理的一个保守探针,并且使用ADR的配对评估比传统指标提供了更忠实且表示鲁棒的评估。

英文摘要:

Large language models (LLMs) are increasingly used for tasks that implicitly reduce to Boolean satisfiability (SAT), yet their reasoning ability on SAT remains unclear. We present a systematic study of LLMs on 2-SAT and 3-SAT, together with two canonical reductions, Vertex Cover and discrete 3D packing, to probe representation-invariant reasoning. We first evaluate models using conventional metrics, including accuracy, precision, recall, and F1, as well as the SAT phase-transition setting. We find that these metrics can be misleading: many models obtain high scores by over-predicting satisfiable formulas, fail to reproduce the classical easy-hard-easy signature around the 3-SAT threshold, and degrade sharply as the number of variables grows. To address this problem, we introduce a paired-formula protocol based on minimally different satisfiable and unsatisfiable instances, together with Accurate Differentiation Rate (ADR), which requires both members of each pair to be classified correctly. ADR separates reasoning-oriented models from heuristic ones and correlates with witness validity. Beyond CNF, we test cross-representation consistency by converting CNF to Vertex Cover and 3-SAT to discrete 3D packing. Model decisions on CNF and on the corresponding graph or packing instances agree for most models on more than 80 percent of instances, suggesting stable decision rules across representations. Overall, our results show that SAT is a conservative probe for LLM reasoning, and that paired evaluation with ADR provides a more faithful and representation-robust assessment than conventional metrics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑