Abstract
ConceptSearch is a novel framework that approaches the Abstraction and Reasoning Corpus (ARC) as an evolutionary program-search problem. By leveraging Large Language Models (LLMs) for code generation and guiding the search with "concept-aware" scoring—prioritizing semantic logic over simple pixel-matching—ConceptSearch nearly doubles the success rate of state-of-the-art models like GPT-4. This approach significantly improves search efficiency, demonstrating the power of language as an abstraction for spatial reasoning.
Introduction: The Challenge of ARC
The Abstraction and Reasoning Corpus (ARC) is a premier benchmark for evaluating AI's ability to perform "developer-aware generalization." Unlike standard datasets that reward pattern recognition on massive data, ARC requires solving novel visual puzzles with minimal examples, a task humans find intuitive but current AI finds exceptionally difficult.
Current LLMs struggle with ARC due to two primary factors:
- Spatial Blindness: The linear nature of text processing makes it difficult for LLMs to maintain 2D object cohesion.
- Brittle Evaluation Metrics: Traditional search algorithms often rely on Hamming distance (pixel-matching). In ARC, a program that is logically sound but visually slightly off might be discarded, even if it represents a significant step toward the solution.
Methodology: Concept-Aware Evolutionary Search
ConceptSearch introduces an evolutionary algorithm that uses LLMs (specifically Gemini 1.5 Pro) to iteratively refine Python programs within a specialized Domain-Specific Language (DSL). The framework's core innovation is its multi-faceted scoring system:
- Evolutionary Search: Inspired by FunSearch, the system maintains "islands" of programs. It samples successful candidates as in-context examples for the LLM to generate improved iterations.
- CNN-based Scoring: A Convolutional Neural Network, trained on the Concept-ARC dataset, maps grid transformations into an embedding space. The score is determined by the Euclidean distance between the target and the program's output in this space.
- Natural Language (NL) Scoring: This novel approach uses the LLM to generate a natural language hypothesis of the transformation (e.g., "move the blue square until it hits a wall"). These descriptions are vectorized using a fine-tuned SentenceTransformer. Programs with descriptions semantically close to the goal are prioritized.
Datasets
The research utilizes three key datasets:
- ARC: The primary evaluation benchmark.
- Concept-ARC: 176 tasks categorized by concepts like "symmetry" or "objectness," used for training the CNN and fine-tuning the SentenceTransformer.
- LARC (Language-complete ARC): Provides human-authored natural language descriptions, helping the LLM learn to describe transformations effectively.
Key Insights: Logic Over Pixels
The fundamental insight of ConceptSearch is that semantic similarity is a more effective guide than visual similarity. A program that correctly identifies a movement rule but uses the wrong color is logically closer to the solution than one that matches colors but fails the movement logic.
By using natural language as an intermediate abstraction, the system leverages the LLM's verbal reasoning strengths to overcome its spatial weaknesses. Furthermore, the "island" based search strategy prevents the algorithm from stalling in local optima, ensuring a diverse exploration of the solution space.
Results and Performance
Evaluated on a subset of 50 ARC tasks, ConceptSearch demonstrated significant gains:
- Accuracy: Solved 58% (29/50) of tasks, more than double the 26% (13/50) achieved by a direct-prompting GPT-4 baseline.
- Efficiency: The LLM-based scorer required approximately 30% fewer iterations to find solutions compared to Hamming distance. On tasks solved by all methods, the LLM-based scorer averaged 2.05 iterations, versus 3.70 for the pixel-matching baseline.
Limitations and Future Directions
Despite these advancements, a gap remains between AI and human performance. The CNN-based classifier's 40% accuracy suggests a need for better visual encoders. Future work will focus on providing more granular logical feedback to the LLM during the search process and developing more robust "object-aware" representations to further close the reasoning gap.
Summary updated