arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.14402cs.AIcs.SC
收藏

SAT-RL:结合符号求解器训练语言模型以实现逻辑推理

SAT-RL: Training Language Models for Logical Reasoning with Symbolic Solvers

University of Toronto(多伦多大学)

Jialiang Sun, Kuldeep Meel

AI总结:

本研究提出SAT-RL强化学习框架,训练大型语言模型与Z3等符号求解器交互,通过合成数据、监督预热及工具感知奖励提升逻辑推理性能,在域内外任务均获显著效果。

摘要:

大型语言模型(LLM)在数学与逻辑推理领域已取得优异性能,但仍受限于复杂度瓶颈,当问题难度随约束交互数量及搜索空间规模提升时,表现会显著下降。相比之下,Z3等可满足性求解器通过形式理论下的约束求解提供可扩展、可验证的推理能力,却缺乏对自然语言问题描述的解释灵活性。本研究提出SAT-RL,这是一种强化学习(RL)框架,用于训练LLM通过多轮工具执行与符号求解器交互。SAT-RL利用带可验证解的合成数据生成、基于求解器增强轨迹的监督预热,以及带工具感知奖励的求解器接地强化学习。实验表明,SAT-RL在域内及域外逻辑任务上,均显著提升了结合工具的符号推理能力。

英文摘要:

Large language models (LLMs) have achieved strong performance in mathematical and logical reasoning, yet they still suffer from the curse of complexity and struggle as problem difficulty increases with the number of constraint interactions and the size of the search space. In contrast, satisfiability solvers such as Z3 provide scalable and verifiable reasoning through constraint solving under formal theories, but lack the flexibility to interpret natural-language problem descriptions. In this work, we propose SAT-RL, a reinforcement-learning (RL) framework that trains LLMs to interact with symbolic solvers through multi-turn tool execution. SAT-RL leverages synthetic data generation with verifiable solutions, supervised warm-up on solver-augmented traces, and solver-grounded reinforcement learning with tool-aware rewards. Experiments show that SAT-RL substantially improves symbolic reasoning with tools on both in-domain and out-of-domain logic tasks. Our code is available on https://github.com/sunjia72/SAT-RL.

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

↑