ConfeitoHS / arcle

A Gymnasium-based Environment of the Abstraction and Reasoning Corpus (ARC)
Apache License 2.0
55 stars 9 forks source link
intelligence-testing program-synthesis psychometrics reinforcement-learning-environments

ARCLE - ARC Learning Environment

ARCLE is a RL environment for training Abstraction and Reasoning Corpus and ARC-like datasets, built on Farama Gymnasium.

ARCLE implements several environments with various actions on editing grids of ARC, with object-oriented grid operations. Inspired by O2ARC Interface, O2ARC 3.0 - the game-like human interface collecting human ARC solutions, ARCLE contains this interface as a RL environment, as well as the testing interface given with ARC Dataset.

Our work is presented at CoLLAs 2024! This paper contains initial experiments equipping ARCLE with PPO-optimized pixel-wise transformer on small grid pairs, in addition to a detailed description of ARCLE. Check out our Paper.

arclegif statetrans

Related Projects

Requirements

Python >= 3.8

Installation

pip install arcle

PyPI Project Page

Available Environments

Env Name Description Latest Version
RawARCEnv Environment with actions only coloring, resizing to answer grid, and submit operations v0
ARCEnv Implements browser-based testing interface of ARC, with coloring, flood-filling, copy and paste v0
O2ARCv2Env Implements O2ARCv2 Interface, an extension of ARCEnv containing Move, Rotate, Flip, Crop, ... v0

Changelogs

0.2.6

0.2.5

0.2.2

0.2.1

0.2.0

0.1.1

0.1.0