Program Synthesis using Inductive Logic Programming for the Abstraction and Reasoning Corpus
Filipe Marinho Rocha, Inês Dutra, Vítor Santos Costa
TL;DR
ARC is a general AI benchmark that remains challenging for neural models. This work proposes a program synthesis approach using Inductive Logic Programming (ILP) built on a hand-crafted object-centric DSL as Background Knowledge to generate Output-grid transformations. The system learns Logic Programs that generate Output-grid objects and composes them into full solutions, leveraging divide-and-conquer and deductive search to manage the search space and enable generalization from few examples. Preliminary results on five ARC tasks illustrate the potential of symbolic, interpretable learning for generalizing solution strategies beyond what current neural methods achieve.
Abstract
The Abstraction and Reasoning Corpus (ARC) is a general artificial intelligence benchmark that is currently unsolvable by any Machine Learning method, including Large Language Models (LLMs). It demands strong generalization and reasoning capabilities which are known to be weaknesses of Neural Network based systems. In this work, we propose a Program Synthesis system that uses Inductive Logic Programming (ILP), a branch of Symbolic AI, to solve ARC. We have manually defined a simple Domain Specific Language (DSL) that corresponds to a small set of object-centric abstractions relevant to ARC. This is the Background Knowledge used by ILP to create Logic Programs that provide reasoning capabilities to our system. The full system is capable of generalize to unseen tasks, since ILP can create Logic Program(s) from few examples, in the case of ARC: pairs of Input-Output grids examples for each task. These Logic Programs are able to generate Objects present in the Output grid and the combination of these can form a complete program that transforms an Input grid into an Output grid. We randomly chose some tasks from ARC that dont require more than the small number of the Object primitives we implemented and show that given only these, our system can solve tasks that require each, such different reasoning.
