Beyond Theorem Proving: Formulation, Framework and Benchmark for Formal Problem-Solving
本文提出了一种基于形式化定理证明的正式问题求解框架(FPS),并构建了相应的基准测试,以实现过程验证的问题求解。
更新于 2025-05-08。作者:Qi Liu、Xinhao Zheng、Renqiu Xia、Xingzhi Qi、Qinxiang Cao、Junchi Yan。
中文摘要
作为一个看似不言自明的任务,问题解决一直是科学和工程的重要部分。然而,对于问题解决本身的普遍而具体的表述却尚未出现。随着基于人工智能的问题解决代理的最近发展,对过程级可验证性的需求迅速增加,但尚未得到充分探索。为了填补这些空白,我们提出了一种原则性的问题解决表述,将其视为确定性马尔可夫决策过程;一个新颖的框架FPS(形式问题解决),它利用现有的FTP(形式定理证明)环境来执行过程验证的问题解决;以及D-FPS(演绎FPS),将求解和答案验证解耦以更好地与人类对齐。这些框架的表达性、一致性和完备性得到了证明。我们在问题解决领域构建了三个基准:FormalMath500,MATH500基准子集的形式化;MiniF2F-Solving和PutnamBench-Solving,FTP基准MiniF2F和PutnamBench的改编。为了进行忠实、可解释和与人类对齐的评价,我们提出了RPE(受限命题等价),这是一种通过形式验证来确定答案正确性的符号方法。我们将四种流行的FTP模型和两种提示方法作为基线进行评估,在FormalMath500上最多解决23.77%,在MiniF2F-Solving上最多解决27.47%,在PutnamBench-Solving上最多解决0.31%。
英文摘要
As a seemingly self-explanatory task, problem-solving has been a significant component of science and engineering. However, a general yet concrete formulation of problem-solving itself is missing. With the recent development of AI-based problem-solving agents, the demand for process-level verifiability is rapidly increasing yet underexplored. To fill these gaps, we present a principled formulation of problem-solving as a deterministic Markov decision process; a novel framework, FPS (Formal Problem-Solving), which utilizes existing FTP (formal theorem proving) environments to perform process-verified problem-solving; and D-FPS (Deductive FPS), decoupling solving and answer verification for better human-alignment. The expressiveness, soundness and completeness of the frameworks are proven. We construct three benchmarks on problem-solving: FormalMath500, a formalization of a subset of the MATH500 benchmark; MiniF2F-Solving and PutnamBench-Solving, adaptations of FTP benchmarks MiniF2F and PutnamBench. For faithful, interpretable, and human-aligned evaluation, we propose RPE (Restricted Propositional Equivalence), a symbolic approach to determine the correctness of answers by formal verification. We evaluate four prevalent FTP models and two prompting methods as baselines, solving at most 23.77% of FormalMath500, 27.47% of MiniF2F-Solving, and 0.31% of PutnamBench-Solving.
解读
一句话总结
本文提出了一种基于形式化定理证明的正式问题求解框架(FPS),并构建了相应的基准测试,以实现过程验证的问题求解。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:问题求解是科学和工程中的关键组成部分,但缺乏一个通用的、具体的求解过程定义。
- 现有方案不足:当前方法难以确保中间推理步骤的正确性,且缺乏过程级验证机制。
- 研究目标:提出一个原则性的求解过程定义,并构建一个框架,实现过程验证的问题求解。
问题2:论文的核心创新点是什么?
- 技术创新:将问题求解定义为确定性的马尔可夫决策过程,并利用形式化定理证明环境进行过程验证。
- 方法改进:提出FPS(形式化问题求解)框架,实现过程验证的求解;并提出D-FPS(演绎FPS),将求解和答案验证分离以提高可读性。
- 优势:FPS和D-FPS能够确保求解过程和答案的正确性,且与人类推理过程更接近。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:构建了三个基准测试:FormalMath500、MiniF2F-Solving和PutnamBench-Solving。
- 性能提升:FPS和D-FPS在FormalMath500、MiniF2F-Solving和PutnamBench-Solving上的求解率分别为23.77%、27.47%和0.31%。
- 对比结果:FPS和D-FPS的求解率高于现有基于形式化定理证明的方法。
问题4:这个研究的实际应用价值是什么?
- 应用场景:FPS和D-FPS可以应用于需要过程验证的问题求解场景,如科学和工程领域。
- 实施建议:在现有形式化定理证明环境中实现FPS和D-FPS,并针对特定领域进行优化。
- 局限与展望:FPS和D-FPS的求解能力仍有待提升,未来可以探索更有效的算法和模型。
来源
机器可读索引:llms.txt