paper-with-me

홈 › Papers

Compositional Program Generation for Few-Shot Systematic Generalization

2023-09-28 · Tim Klinger, Luke Liu, Soham Dan, Maxwell Crouse, Parikshit Ram, Alexander Gray

Compositional generalization is a key ability of humans that enables us to learn new concepts from only a handful examples. Neural machine learning models, including the now ubiquitous Transformers, struggle to generalize in this way, and typically require thousands of examples of a concept during training in order to generalize meaningfully. This difference in ability between humans and artificial neural architectures, motivates this study on a neuro-symbolic architecture called the Compositional Program Generator (CPG). CPG has three key features: \textit{modularity}, \textit{composition}, and \textit{abstraction}, in the form of grammar rules, that enable it to generalize both systematically to new concepts in a few-shot manner, as well as productively by length on various sequence-to-sequence language tasks. For each input, CPG uses a grammar of the input language and a parser to generate a parse in which each grammar rule is assigned its own unique semantic module, a probabilistic copy or substitution program. Instances with the same parse are always processed with the same composed modules, while those with different parses may be processed with different modules. CPG learns parameters for the modules and is able to learn the semantics for new rules and types incrementally, without forgetting or retraining on rules it's already seen. It achieves perfect generalization on both the SCAN and COGS benchmarks using just 14 examples for SCAN and 22 examples for COGS -- state-of-the-art accuracy with a 1000x improvement in sample efficiency.

📄 PDF Abstract BibTeX arXiv:2309.16467

Code (1)

IBM/cpg 공식 구현 pytorch

Tasks

Systematic Generalization

Similar Papers 제목 키워드 기반

Improving Compositional Generalization with Self-Training for Data-to-Text Generation

2021-10-16 · ACL 2022 5 · Sanket Vaibhav Mehta, Jinfeng Rao, Yi Tay, Mihir Kale 외

Data-to-text generation focuses on generating fluent natural language responses from structured meaning representations (MRs). Such representations are compositional and it is costly to collect responses for all possible…

Data-to-Text GenerationText Generation

Improving Compositional Generalization with Self-Training for Data-to-Text Generation

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Data-to-text generation focuses on generating fluent natural language responses from structured meaning representations (MRs). Such representations are compositional and it is costly to collect responses for all possible…

Data-to-Text GenerationText Generation

ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis

2023-07-26 · Kensen Shi, Joey Hong, Yinlin Deng, Pengcheng Yin 외

When writing programs, people have the ability to tackle a new complex task by decomposing it into smaller and more familiar subtasks. While it is difficult to measure whether neural program synthesis methods have simila…

Program Synthesis

CLOSURE: Assessing Systematic Generalization of CLEVR Models

2019-12-12 · Dzmitry Bahdanau, Harm de Vries, Timothy J. O'Donnell, Shikhar Murty 외

The CLEVR dataset of natural-looking questions about 3D-rendered scenes has recently received much attention from the research community. A number of models have been proposed for this task, many of which achieved very h…

Few-Shot LearningSystematic GeneralizationTransfer Learning

Generalization without systematicity: On the compositional skills of sequence-to-sequence recurrent networks

2017-10-31 · ICML 2018 7 · Brenden M. Lake, Marco Baroni

Humans can understand and produce new utterances effortlessly, thanks to their compositional skills. Once a person learns the meaning of a new verb "dax," he or she can immediately understand the meaning of "dax twice" o…

Machine TranslationTranslationZero-shot Generalization