On LLM-generated Logic Programs and their Inference Execution Methods

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Tarau, Paul
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915149709836288
author Tarau, Paul
author_facet Tarau, Paul
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_09209
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle On LLM-generated Logic Programs and their Inference Execution Methods
Tarau, Paul
Artificial Intelligence
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.
title On LLM-generated Logic Programs and their Inference Execution Methods
topic Artificial Intelligence
url https://arxiv.org/abs/2502.09209