Abstract
This paper introduces a novel framework for solving the Abstraction and Reasoning Corpus (ARC) by integrating program synthesis with neural-guided bidirectional search. By leveraging iterative abstraction via the DreamCoder framework and introducing "inverse semantics" to reason backward from goal states, the system achieves significant improvements in search efficiency and generalization. Evaluation on ARC symmetry tasks and mathematical puzzles demonstrates that bidirectional search consistently outperforms traditional forward-only methods, particularly in domains requiring complex, multi-step logical reasoning.
Introduction: The Challenge of Fluid Intelligence
While AI has achieved mastery in domains like Go and image recognition, it continues to struggle with "fluid intelligence"—the ability to solve entirely new problems after seeing only a few examples. The Abstraction and Reasoning Corpus (ARC) is the benchmark for this capability, requiring models to perform "developer-aware generalization." Unlike standard deep learning, ARC tasks rely on "Core Knowledge" (e.g., symmetry, object permanence) and present a search space that is effectively infinite.
Traditional "bottom-up" search approaches, which attempt to build solutions by randomly combining primitives, are highly inefficient. To address this, we propose a system that mimics human-like problem-solving by combining skill acquisition with the ability to work backward from a goal.
Methodology
The proposed system utilizes two primary strategies to make program search tractable:
1. Iterative Abstraction
Using the DreamCoder framework, the system solves simple tasks and then "compresses" those solutions into new, higher-level library functions. For instance, if the system learns to rotate and flip a grid to solve one task, it creates a new "mirror" primitive. This allows the agent to use complex operations as single steps in future, more difficult puzzles, effectively evolving its own Domain-Specific Language (DSL).
2. Neural-Guided Bidirectional Search
The core innovation is the introduction of inverse semantics. While most program synthesis is "forward-only," our agent can work backward from the target output:
- Forward Operations: Apply a function to known inputs (grounded nodes).
- Inverse Operations: Given a target state, the system deduces the required preceding states (ungrounded nodes). For example, if the goal is a combined grid, the system infers what the individual component grids must have looked like.
- Neural Guidance: A neural network (DeepSet and Pointer Network) is trained via Reinforcement Learning to decide whether a forward or backward operation is more likely to lead to a solution based on the current search graph.
Experimental Evaluation
The researchers evaluated the framework on three distinct domains: ARC Symmetry tasks, the 24-Game (mathematical puzzles), and a synthetic "Double-and-Add" arithmetic task.
Key Results
- ARC Progress: In the symmetry domain, the abstraction-based agent improved from solving 16 tasks to 22 tasks over four iterations of learning. It successfully discovered complex "four-way mirroring" programs that were impossible to find via brute force.
- 24-Game Superiority: The bidirectional search consistently outperformed forward-only baselines. At a search depth of 4, the bidirectional agent achieved 85.3% accuracy, compared to 67.04% for the forward-only model.
- The "Double-and-Add" Breakthrough: This task is trivial when working backward (dividing even numbers by two, subtracting one from odd) but nearly impossible forward. The bidirectional model achieved 100% accuracy almost immediately, while forward-only models failed on held-out test cases.
Discussion and Future Work
While this approach represents a significant step toward human-like logic, several challenges remain. Scaling the DSL to encompass the full diversity of the 1,000 ARC tasks is a major engineering hurdle. Furthermore, while "Abstraction" and "Bidirectional Search" were evaluated largely in parallel, the ultimate goal is a unified agent that can perform bidirectional search using its own self-learned abstractions. Future research will also explore "Inverse Synthesis"—teaching the system to automatically derive the inverse of any newly learned program, removing the need for manually defined inverse functions.
Summary updated