ALBI: LLM-Guided Inductive Logic Programming via Iterative Generate-Test-Constrain Refineme
We introduce ALBI (Agent for Learning By Induction), a neuro-symbolic ILP framework that replaces the ASP-based hypothesis generator in the Learning from Failures (LFF) paradigm with a Large Language Model (LLM), while retaining SWI-Prolog as a formal verifier. ALBI implements an iterative generate-test-constrain loop: the LLM proposes candidate hypotheses from structured prompts; Prolog tests each candidate; and diagnostic feedback drives refinement. We further introduce semantic anonymization, a metamorphic testing methodology, to distinguish structural symbolic induction from surface-level pattern matching on predicate names. Experiments on 30 standard ILP benchmarks show that ALBI achieves 100% success across three frontier LLMs (Gemini 3.1 Pro, GPT 5.4 Pro, Claude Opus 4.6), matching Popper while requiring only 1.4-1.7 iterations on average. Under anonymization, all models maintain 100% success with a moderate iteration increase (1.36-1.67 times), providing evidence of robust symbolic reasoning.
Authors
- Jüri Vain (ORCID: https://orcid.org/0000-0002-0700-7972)
- Gert Kanter (ORCID: https://orcid.org/0000-0002-8201-8540)
- Aboubaker Seddiq Benterki (ORCID: https://orcid.org/0009-0000-9992-7997)
- Leelo Aino Jürgenstein
Publication Details
- Journal
- arXiv (Cornell University)
- Published
- 2026-11-03
- DOI
- https://doi.org/10.48550/arxiv.2611.05039
- Primary Topic
- Logic, Reasoning, and Knowledge
- Type
- preprint