arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.09209cs.AI
收藏

论大语言模型生成的逻辑程序及其推理执行方法

On LLM-generated Logic Programs and their Inference Execution Methods

University of North Texas(北得克萨斯大学)

Paul Tarau

AI总结:

本文研究从大语言模型中提取逻辑程序形式知识的技术,提出软合一、GPU加速极小模型计算等新执行方法,以实现可靠推理、验证输出一致性并扩展LLM推理能力。

摘要:

在PB级数据上训练的大语言模型(LLMs)是目前已积累和提炼的大部分知识的高度压缩存储库。本文研究了以若干类逻辑程序形式提取这类知识的技术,包括命题Horn子句、对偶Horn子句、关系三元组和确定子句语法。将这类知识以逻辑程序的形式呈现,可实现可靠的推理方法,能验证LLM输出与其预期用途的一致性,并扩展其推理能力。我们研究了生成程序的新执行方法,包括可引出事实与存储在向量数据库中的LLM生成内容的软合一,以及支持大型LLM生成程序推理的基于GPU的极小模型计算加速。

英文摘要:

Large Language Models (LLMs) trained on petabytes of data are highly compressed repositories of a significant proportion of the knowledge accumulated and distilled so far. In this paper we study techniques to elicit this knowledge in the form of several classes of logic programs, including propositional Horn clauses, Dual Horn clauses, relational triplets and Definite Clause Grammars. Exposing this knowledge as logic programs enables sound reasoning methods that can verify alignment of LLM outputs to their intended uses and extend their inference capabilities. We study new execution methods for the generated programs, including soft-unification of abducible facts against LLM-generated content stored in a vector database as well as GPU-based acceleration of minimal model computation that supports inference with large LLM-generated programs.

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

↑