paper-with-me

홈 › Papers

Automated Theorem Provers Help Improve Large Language Model Reasoning

2024-08-07 · Lachlan McGinness, Peter Baumgartner

In this paper we demonstrate how logic programming systems and Automated first-order logic Theorem Provers (ATPs) can improve the accuracy of Large Language Models (LLMs) for logical reasoning tasks where the baseline performance is given by direct LLM solutions. We first evaluate LLM reasoning on steamroller problems using the PRONTOQA benchmark. We show how accuracy can be improved with a neuro-symbolic architecture where the LLM acts solely as a front-end for translating a given problem into a formal logic language and an automated reasoning engine is called for solving it. However, this approach critically hinges on the correctness of the LLM translation. To assess this translation correctness, we secondly define a framework of syntactic and semantic error categories. We implemented the framework and used it to identify errors that LLMs make in the benchmark domain. Based on these findings, we thirdly extended our method with capabilities for automatically correcting syntactic and semantic errors. For semantic error correction we integrate first-order logic ATPs, which is our main and novel contribution. We demonstrate that this approach reduces semantic errors significantly and further increases the accurracy of LLM logical reasoning.

📄 PDF Abstract BibTeX arXiv:2408.03492

Code (0)

등록된 구현이 없습니다.

Tasks

Formal LogicLanguage ModelingLanguage ModellingLarge Language ModelLogical ReasoningTranslation

Similar Papers 제목 키워드 기반

Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Provers

2022-05-22 · Albert Q. Jiang, Wenda Li, Szymon Tworkowski, Konrad Czechowski 외

In theorem proving, the task of selecting useful premises from a large library to unlock the proof of a given conjecture is crucially important. This presents a challenge for all theorem provers, especially the ones base…

Automated Theorem Proving

Towards Ranking Geometric Automated Theorem Provers

2019-04-01 · Nuno Baeta, Pedro Quaresma

The field of geometric automated theorem provers has a long and rich history, from the early AI approaches of the 1960s, synthetic provers, to today algebraic and synthetic provers. The geometry automated deduction are…

MaLeS: A Framework for Automatic Tuning of Automated Theorem Provers

2013-08-09 · Daniel Kühlwein, Josef Urban

MaLeS is an automatic tuning framework for automated theorem provers. It provides solutions for both the strategy finding as well as the strategy scheduling problem. This paper describes the tool and the methods used in …

Scheduling

Formalization, Mechanization and Automation of Gödel's Proof of God's Existence

2013-08-21 · Christoph Benzmüller, Bruno Woltzenlogel Paleo

G\"odel's ontological proof has been analysed for the first-time with an unprecedent degree of detail and formality with the help of higher-order theorem provers. The following has been done (and in this order): A detail…

MizAR 60 for Mizar 50

2023-03-12 · Jan Jakubův, Karel Chvalovský, Zarathustra Goertzel, Cezary Kaliszyk 외

As a present to Mizar on its 50th anniversary, we develop an AI/TP system that automatically proves about 60\% of the Mizar theorems in the hammer setting. We also automatically prove 75\% of the Mizar theorems when the …