Learning to Combine Per-Example Solutions for Neural Program Synthesis
Disha Shrivastava, Hugo Larochelle, Daniel Tarlow
摘要
The goal of program synthesis from examples is to find a computer program that is consistent with a given set of input-output examples. Most learning-based approaches try to find a program that satisfies all examples at once. Our work, by contrast, considers an approach that breaks the problem into two stages: (a) find programs that satisfy only one example, and (b) leverage these per-example solutions to yield a program that satisfies all examples. We introduce the Cross Aggregator neural network module based on a multi-head attention mechanism that learns to combine the cues present in these per-example solutions to synthesize a global solution. Evaluation across programs of different lengths and under two different experimental settings reveal that when given the same time budget, our technique significantly improves the success rate over PCCoder [Zohar et. al 2018] and other ablation baselines. The code, data and trained models for our work can be found at https://github.com/shrivastavadisha/N-PEPS.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis 引用了 Just-in-time learning for bottom-up enumerative synthesis
- ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis 引用了 Learning to Represent Programs with Property Signatures
- ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis 引用了 BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Exploration
- LambdaBeam: Neural Program Search with Higher-Order Functions and Lambdas 引用了 Just-in-time learning for bottom-up enumerative synthesis
- LambdaBeam: Neural Program Search with Higher-Order Functions and Lambdas 引用了 Learning to Represent Programs with Property Signatures
- LambdaBeam: Neural Program Search with Higher-Order Functions and Lambdas 引用了 BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Exploration
- Enhancing Robot Program Synthesis Through Environmental Context 引用了 Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesis
- BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Exploration 引用了 Learning to Represent Programs with Property Signatures
引用它的顶会 Paper3
- ExeDec: Execution Decomposition for Compositional Generalization in Neural Program SynthesisKensen Shi, Joey Hong, Yinlin Deng, Pengcheng Yin 等ICLR 2024 · 21 次引用
- LambdaBeam: Neural Program Search with Higher-Order Functions and LambdasKensen Shi, Hanjun Dai, Wen-Ding Li, Kevin Ellis 等NeurIPS 2023 · 8 次引用
- Enhancing Robot Program Synthesis Through Environmental ContextTianyi Chen, Qidi Wang, Zhen Dong, Liwei Shen 等NeurIPS 2023 · 5 次引用
它引用的 Paper5
- Global Relational Models of Source CodeVincent J. Hellendoorn, Charles Sutton, Rishabh Singh, Petros Maniatis 等ICLR 2020 · 252 次引用
- Synthesize, Execute and Debug: Learning to Repair for Neural Program SynthesisKavi Gupta, Peter Ebert Christensen, Xinyun Chen, Dawn SongNeurIPS 2020 · 68 次引用
- BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided ExplorationAugustus Odena, Kensen Shi, David Bieber, Rishabh Singh 等ICLR 2021 · 60 次引用
- Learning to Represent Programs with Property SignaturesAugustus Odena, Charles SuttonICLR 2020 · 34 次引用
- Just-in-time learning for bottom-up enumerative synthesisShraddha Barke, Hila Peleg, Nadia PolikarpovaOOPSLA 2020 · 33 次引用
相关 Paper
- Generating Pragmatic Examples to Train Neural Program SynthesizersSaujas Vaduguru, Daniel Fried, Yewen PuICLR 2024 · 7 次引用
- Grammar Filtering for Syntax-Guided SynthesisKairo Morton, William T. Hallahan, Elven Shum, Ruzica Piskac 等AAAI 2020 · 12 次引用
- Multi-modal program inference: a marriage of pre-trained language models and component-based synthesisKia Rahmani, Mohammad Raza, Sumit Gulwani, Vu Le 等OOPSLA 2021 · 32 次引用
- SynGuar: guaranteeing generalization in programming by exampleBo Wang, Teodora Baluta, Aashish Kolluri, Prateek SaxenaFSE 2021
- CrossBeam: Learning to Search in Bottom-Up Program SynthesisKensen Shi, Hanjun Dai, Kevin Ellis, Charles SuttonICLR 2022 · 28 次引用
