# ALBI: LLM-Guided Inductive Logic Programming via Iterative Generate-Test-Constrain Refineme

DevFeed: [ALBI: LLM-Guided Inductive Logic Programming via Iterative Generate-Test-Constrain Refineme](<https://devfeed.tech/articles/albi-llm-guided-inductive-logic-programming-via-iterative-generate-test-constrain-refineme-117555.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05039>)

Author: Aboubaker Seddiq Benterki, J\\"uri Vain, Gert Kanter, Leelo Aino J\\"urgenstein

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [claude-opus](<https://devfeed.tech/tags/claude-opus.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-sc](<https://devfeed.tech/tags/cs-sc.md>), [gemini-3-1-pro](<https://devfeed.tech/tags/gemini-3-1-pro.md>), [gpt-5-4](<https://devfeed.tech/tags/gpt-5-4.md>), [induction](<https://devfeed.tech/tags/induction.md>), [llm](<https://devfeed.tech/tags/llm.md>), [metamorphic-testing](<https://devfeed.tech/tags/metamorphic-testing.md>), [prolog](<https://devfeed.tech/tags/prolog.md>), [symbolic-reasoning](<https://devfeed.tech/tags/symbolic-reasoning.md>)

## AI overview

ALBI replaces the ASP-based hypothesis generator in Learning from Failures with an LLM, while keeping SWI-Prolog as a formal verifier. In an iterative loop, the LLM proposes hypotheses from structured prompts, Prolog tests them, and diagnostic feedback guides refinement. On 30 standard ILP benchmarks, three evaluated models achieved 100% success, matching Popper with 1.4-1.7 iterations on average. With semantic anonymization of predicate names, success remained 100%, while iterations increased by a reported factor of 1.36-1.67. These results are evidence of robust induction on the tested benchmarks; the supplied text does not describe broader evaluation.

## Source excerpt

arXiv:2611.05039v1 Announce Type: new Abstract: 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.