arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.04374cs.CLcs.FL
收藏

LangSAT:一种结合自然语言处理和强化学习的SAT求解新框架

LangSAT: A Novel Framework Combining NLP and Reinforcement Learning for SAT Solving

Pennsylvania State University(宾夕法尼亚州立大学)

Muyu Pan, Matthew Walter, Dheeraj Kodakandla, Mahfuza Farooque

AI总结:

LangSAT结合自然语言处理和强化学习,通过将英语描述转换为CNF并优化求解过程,提升SAT求解的效率和普及性。

摘要:

我们的工作提出了一种基于强化学习(RL)的新框架,以优化冲突驱动子句学习(CDCL)过程中的启发式选择,提高布尔可满足性(SAT)求解的效率。所提出的系统LangSAT通过将英语描述转换为合取范式(CNF)表达式,并使用增强型RL的CDCL SAT求解器来解决这些问题。与现有需要CNF作为输入的SAT求解平台不同,LangSAT允许用户输入标准的英语描述,使SAT求解更加普及。该框架包含两个关键组件:Lang2Logic,将英语句子转换为CNF表达式,以及SmartSAT,一种基于RL的SAT求解器。SmartSAT将子句-变量关系编码为结构化图表示,并提取特定于SAT问题的全局特征。这种实现为RL代理提供了更深入的上下文信息,使SAT问题能够更高效地得到解决。Lang2Logic在多样化的自然语言输入上进行了评估,处理了长达450词的描述。生成的CNF由SmartSAT解决,其在求解时间上与传统CDCL启发式方法相比表现相当。综合的LangSAT框架为推理、形式验证和调试中的SAT求解任务提供了更加普及和可扩展的解决方案。

英文摘要:

Our work presents a novel reinforcement learning (RL) based framework to optimize heuristic selection within the conflict-driven clause learning (CDCL) process, improving the efficiency of Boolean satisfiability (SAT) solving. The proposed system, LangSAT, bridges the gap between natural language inputs and propositional logic by converting English descriptions into Conjunctive Normal Form (CNF) expressions and solving them using an RL-enhanced CDCL SAT solver. Unlike existing SAT-solving platforms that require CNF as input, LangSAT enables users to input standard English descriptions, making SAT-solving more accessible. The framework comprises two key components: Lang2Logic, which translates English sentences into CNF expressions, and SmartSAT, an RL-based SAT solver. SmartSAT encodes clause-variable relationships as structured graph representations and extracts global features specific to the SAT problem. This implementation provides the RL agent with deeper contextual information, enabling SAT problems to be solved more efficiently. Lang2Logic was evaluated on diverse natural language inputs, processing descriptions up to 450 words. The generated CNFs were solved by SmartSAT, which demonstrated comparable performance to traditional CDCL heuristics with respect to solving time. The combined LangSAT framework offers a more accessible and scalable solution for SAT-solving tasks across reasoning, formal verification, and debugging.

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

↑