Inductive Learning of Logical Theories with LLMs: A Expressivity-graded Analysis

Authors

  • João Pedro Gandarela de Souza Idiap Research Institute
  • Danilo Carvalho University of Manchester
  • André Freitas Idiap Research Institute University of Manchester

DOI:

https://doi.org/10.1609/aaai.v39i22.34546

Abstract

This work presents a novel systematic methodology to analyse the capabilities and limitations of Large Language Models (LLMs) with feedback from a formal inference engine, on logic theory induction. The analysis is complexity-graded w.r.t. rule dependency structure, allowing quantification of specific inference challenges on LLM performance. Integrating LLMs with formal methods is a promising frontier in the Natural Language Processing field, as an important avenue for improving model inference control and explainability. In particular, inductive learning over complex sets of facts and rules, poses unique challenges for current autoregressive models, as they lack explicit symbolic grounding. While they can be complemented by formal systems, the properties delivered by LLMs regarding inductive learning, are not well understood and quantified. Empirical results indicate that the largest LLMs can achieve competitive results against a SOTA Inductive Logic Programming (ILP) system baseline, but also that tracking long predicate relationship chains is a more difficult obstacle than theory complexity for LLMs.

Published

2025-04-11

How to Cite

de Souza, J. P. G., Carvalho, D., & Freitas, A. (2025). Inductive Learning of Logical Theories with LLMs: A Expressivity-graded Analysis. Proceedings of the AAAI Conference on Artificial Intelligence, 39(22), 23752–23759. https://doi.org/10.1609/aaai.v39i22.34546

Issue

Section

AAAI Technical Track on Natural Language Processing I