1/1
Automated Theorem Provers Help Improve Large Language Model Reasoning. [2408.03492] Automated Theorem Provers Help Improve Large Language Model Reasoning
To post tweets in this format, more info here: https://www.thecoli.com/threads/tips-and-tricks-for-posting-the-coli-megathread.984734/post-52211196
Automated Theorem Provers Help Improve Large Language Model Reasoning. [2408.03492] Automated Theorem Provers Help Improve Large Language Model Reasoning
To post tweets in this format, more info here: https://www.thecoli.com/threads/tips-and-tricks-for-posting-the-coli-megathread.984734/post-52211196
[Submitted on 7 Aug 2024]
Automated Theorem Provers Help Improve Large Language Model Reasoning
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.
Subjects: | Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
ACM classes: | F.4.1; I.2.7; I.2.8 |
Cite as: | arXiv:2408.03492 [cs.AI] |
(or arXiv:2408.03492v1 [cs.AI] for this version) | |
[2408.03492] Automated Theorem Provers Help Improve Large Language Model Reasoning |
Journal reference: | Proceedings LPAR 2024, EPiC Series in Computing, vol. 100, pp 51-69 |
Related DOI: | Automated Theorem Provers Help Improve Large Language Model Reasoning |
Submission history
From: Peter Baumgartner [view email][v1] Wed, 7 Aug 2024 01:03:56 UTC (123 KB)