sebferre / ARC-MDL

An MDL-based approach to the Abstraction and Reasoning Corpus (ARC) challenge
GNU General Public License v3.0
15 stars 1 forks source link

ARC-MDL: an MDL-based Approach to the ARC Challenge

The Abstraction and Reasoning Corpus (ARC) was recently introduced by François Chollet as a tool to measure broad intelligence in both humans and machines. It is very challenging as best approaches solve about 20% tasks while humans solve about 80% tasks.

Our approach is based on descriptive grid models and the Minimum Description Length (MDL) principle. The grid models describe the contents of a grid, and support both parsing grids and generating grids. The MDL principle is used to guide the search for good models, i.e. models that compress the grids the most. Our approach does not only predict the output grids, but it also outputs an intelligible model and explanations for how the model was incrementally built.

Contents

This repo contains:

Web Application

You can play with our system without any installation, through the online user interface. You can load the JSON file of a task, and from there successively apply model refinements, while visualizing the effects on each example of the task.

In short, here are the main UI components:

Installation Instructions

The tool is developed in OCaml. The web application is compiled to Javascript with the js_of_ocaml tool. It is strongly recommended to use the opam tool to manage OCaml dependencies.

The dependencies are:

When all dependencies are installed, the tool can be compiled by moving in the src directory, and executing the command make for the command line tool, and make lis for the web application. This respectively generates a test executable, and a src/html/script.js file that contains the code of a web application, along with other files in the src/html directory (HTML, CSS, ...).

Credits

Author: Sébastien Ferré

Affiliation: Univ. Rennes 1, team LACODAM at IRISA

Copyright © 2019+ Sébastien Ferré, IRISA, Université de Rennes 1, France

Licence: GPLv3

Citation: Ferré, Sébastien. ‘First Steps of an Approach to the ARC Challenge based on Descriptive Grid Models and the Minimum Description Length Principle’. arXiv preprint arXiv:2112.00848, 2021.* PDF