paper-with-me

홈 › Papers

Compositional Generalization and Decomposition in Neural Program Synthesis

2022-04-07 · Kensen Shi, Joey Hong, Manzil Zaheer, Pengcheng Yin, Charles Sutton

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 similar capabilities, what we can measure is whether they compositionally generalize, that is, whether a model that has been trained on the simpler subtasks is subsequently able to solve more complex tasks. In this paper, we focus on measuring the ability of learned program synthesizers to compositionally generalize. We first characterize several different axes along which program synthesis methods would be desired to generalize, e.g., length generalization, or the ability to combine known subroutines in new ways that do not occur in the training data. Based on this characterization, we introduce a benchmark suite of tasks to assess these abilities based on two popular existing datasets, SCAN and RobustFill. Finally, we make first attempts to improve the compositional generalization ability of Transformer models along these axes through novel attention mechanisms that draw inspiration from a human-like decomposition strategy. Empirically, we find our modified Transformer models generally perform better than natural baselines, but the tasks remain challenging.

📄 PDF Abstract BibTeX arXiv:2204.03758

Code (0)

등록된 구현이 없습니다.

Tasks

Program Synthesis

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Position-Wise Feed-Forward Layer 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Multi-Head Attention 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

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

Shedding Light in Task Decomposition in Program Synthesis: The Driving Force of the Synthesizer Model

2025-03-11 · Janis Zenkner, Tobias Sesterhenn, Christian Bartelt

Task decomposition is a fundamental mechanism in program synthesis, enabling complex problems to be broken down into manageable subtasks. ExeDec, a state-of-the-art program synthesis framework, employs this approach by c…

Program Synthesis

A Divide-Align-Conquer Strategy for Program Synthesis

2023-01-08 · Jonas Witt, Sebastijan Dumančić, Tias Guns, Claus-Christian Carbon

A major bottleneck in search-based program synthesis is the exponentially growing search space which makes learning large programs intractable. Humans mitigate this problem by leveraging the compositional nature of the r…

ARCInductive logic programmingProgram SynthesisVisual Reasoning

Out-of-Distribution Generalization in the ARC-AGI Domain: Comparing Execution-Guided Neural Program Synthesis and Test-Time Fine-Tuning

2025-07-17 · Simon Ouellette arxiv

We run a controlled compositional generalization experiment in the ARC-AGI domain: an open-world problem domain in which the ability to generalize out-of-distribution is, by design, an essential characteristic for succes…

Program Synthesis

Towards Compositional Generalization of LLMs via Skill Taxonomy Guided Data Synthesis

2026-01-07 · Yifan Wei, Li Du, Xiaoyan Yu, Yang Feng 외 arxiv

Large Language Models (LLMs) and agent-based systems often struggle with compositional generalization due to a data bottleneck in which complex skill combinations follow a long-tailed, power-law distribution, limiting bo…