GOFAI meets Generative AI: Development of Expert Systems by means of Large Language Models
By: Eduardo C. Garrido-Merchán, Cristina Puente
Potential Business Impact:
Makes AI more truthful and trustworthy.
The development of large language models (LLMs) has successfully transformed knowledge-based systems such as open domain question nswering, which can automatically produce vast amounts of seemingly coherent information. Yet, those models have several disadvantages like hallucinations or confident generation of incorrect or unverifiable facts. In this paper, we introduce a new approach to the development of expert systems using LLMs in a controlled and transparent way. By limiting the domain and employing a well-structured prompt-based extraction approach, we produce a symbolic representation of knowledge in Prolog, which can be validated and corrected by human experts. This approach also guarantees interpretability, scalability and reliability of the developed expert systems. Via quantitative and qualitative experiments with Claude Sonnet 3.7 and GPT-4.1, we show strong adherence to facts and semantic coherence on our generated knowledge bases. We present a transparent hybrid solution that combines the recall capacity of LLMs with the precision of symbolic systems, thereby laying the foundation for dependable AI applications in sensitive domains.
Similar Papers
Method-Based Reasoning for Large Language Models: Extraction, Reuse, and Continuous Improvement
Computational Engineering, Finance, and Science
Teaches computers to solve new problems logically.
Question Answering with LLMs and Learning from Answer Sets
Artificial Intelligence
Helps computers answer questions by learning rules.
The Promise and Limits of LLMs in Constructing Proofs and Hints for Logic Problems in Intelligent Tutoring Systems
Artificial Intelligence
Computers help students learn logic with better hints.