TL;DR
This paper introduces LARC, a new dataset of natural language instructions for solving procedural tasks, designed to bridge the gap between human-like generalization and current AI's reliance on narrow domain-specific languages. They show that human instructions are richer and more communicative than traditional code, posing challenges for existing program synthesis methods and suggesting new directions for building more adaptable AI.
What Problem Does This Paper Address?
Modern AI excels at specific, well-defined tasks but struggles to generalize to novel situations, a capability humans possess naturally. The Abstraction and Reasoning Corpus (ARC) was created to test this generalization ability, presenting procedural tasks that are easy for humans but difficult for AI. The authors hypothesize that this difficulty stems from the difference in how humans and machines handle "language": humans use flexible, general language to describe procedures, while AI is typically confined to precise, domain-specific languages (DSLs). This paper aims to understand how humans communicate procedural knowledge and how this can inform the development of AI systems capable of solving DSL-open problems like ARC.
Methods
The core of the paper is the creation and analysis of the Language-complete ARC (LARC) dataset. This dataset consists of natural language descriptions provided by human participants to instruct others on how to solve ARC tasks. The authors employed a two-player communication game: "describers" created instructions based on ARC examples, and "builders" attempted to execute these instructions without seeing the original examples. They used a novel bandit algorithm to efficiently collect these "natural programs."
The authors then performed a linguistic analysis of these natural programs, comparing them to traditional computer programs. They identified two key differences:
- Wider Range of Concepts: Human instructions utilize a much broader set of primitives and concepts than typical DSLs.
- Communicative Strategies: Instructions often include clarifications, validations, and framing that go beyond direct executable code, aiding interpretation.
Finally, they evaluated existing program synthesis techniques on LARC, demonstrating that these distinctions pose significant challenges to current methods.
Datasets
- Abstraction and Reasoning Corpus (ARC): The original benchmark dataset of procedural tasks used as the basis for LARC.
- Language-complete ARC (LARC): A newly introduced dataset that augments 88% of the original ARC tasks with natural language instructions. These instructions are designed to be "language-complete," meaning they contain all necessary information to solve the task without relying on the original input-output examples.
Key Insights and Ideas
- Human language is more than just code: Natural language instructions for procedural tasks are not simply a direct translation of computer programs. They incorporate a richer vocabulary and communicative strategies that aid understanding and generalization.
- DSL-openness is a major AI hurdle: The difficulty of ARC and similar problems lies in their DSL-open nature, meaning there isn't a predefined, perfect language to describe all possible solutions. Humans navigate this by using flexible language, something current AI struggles with.
- Communication strategies are crucial: Human instructions often include "framing" (setting context), "clarification" (resolving ambiguity), and "validation" (checking correctness). These are vital for bridging the gap between abstract instructions and concrete execution, especially when the underlying concepts are not explicitly defined.
- Existing program synthesis is limited: Current program synthesis techniques, which rely on narrow DSLs and direct mapping from language to code, are not well-suited to leverage the richness and communicative strategies found in natural language instructions.
Key Results
- LARC Dataset: Successfully collected natural language instructions for 88% (354/400) of the original ARC tasks.
- Human Performance: Humans can easily solve ARC tasks, while state-of-the-art AI systems solve only about 20% of them.
- Program Synthesis Performance: Even with language annotations, current program synthesis approaches achieved a low success rate (best at 12%) on LARC tasks, highlighting the challenges posed by the dataset's nature. IO+NL (Input-Output + Natural Language) performed best, suggesting that both forms of information are valuable.
- Language's Impact: Language-conditioned generators were more likely to produce correct primitives compared to unconditioned generators, indicating language's positive influence.
- GPT-4 Performance: GPT-4, a large language model, could solve 109 out of 354 tasks when prompted with a combination of IO examples and natural language instructions, outperforming previous program synthesis methods but still leaving many tasks unsolved.
Limitations and Future Work
- DSL Limitations: The authors acknowledge that their hand-designed DSL, despite having 103 primitives, might not be able to represent all LARC tasks. This highlights the difficulty of defining a DSL for DSL-open problems.
- Scoping and Referencing: The vast number of primitives and the need to select the correct ones for a given task present a significant challenge.
- Simplistic NL-to-Code Mapping: Current approaches often assume a direct, one-to-one mapping between language and procedure, failing to capture the nuances of framing and validation statements in natural programs.
- Future Work:
- Developing next-generation program synthesizers that can better handle the diverse concepts and communicative strategies found in natural language.
- Learning concepts and DSLs upfront might not be scalable; instead, they should be learned and taught by end-users.
- Adapting foundational models (like large language models) with domain-specific understanding for tasks like ARC.
- Exploring more fine-grained tasks to facilitate learning, similar to the SCONE dataset.
Summary updated