ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis
Kensen Shi, Joey Hong, Yinlin Deng, Pengcheng Yin, Manzil Zaheer,, Charles Sutton

TL;DR
This paper introduces ExeDec, a decomposition-based approach for neural program synthesis that enhances compositional generalization by predicting execution subgoals, outperforming baselines and improving few-shot learning in large language models.
Contribution
The paper proposes ExeDec, a novel execution decomposition strategy that improves compositional generalization in neural program synthesis and demonstrates its effectiveness on benchmark datasets.
Findings
ExeDec improves synthesis performance over baselines.
ExeDec enhances compositional generalization in neural models.
ExeDec-style prompting benefits large language models in few-shot settings.
Abstract
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, we can measure 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 characterize several different forms of compositional generalization that are desirable in program synthesis, forming a meta-benchmark which we use to create generalization tasks for two popular datasets, RobustFill and DeepCoder. We then propose ExeDec, a novel decomposition-based synthesis strategy that predicts execution subgoals to solve problems step-by-step informed by program execution at each step. When used with Transformer models trained from scratch,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsSoftware Engineering Research · Machine Learning in Materials Science · Software Testing and Debugging Techniques
MethodsAttention Is All You Need · Dense Connections · Dropout · Label Smoothing · Residual Connection · Softmax · Position-Wise Feed-Forward Layer · Byte Pair Encoding · Absolute Position Encodings · Linear Layer
