Learning to Combine Per-Example Solutions for Neural Program Synthesis
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 20 of its 41 references that are in the map. First posted on arXiv 14 Jun 2021.
Builds on
20 of 41 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2016DeepCoder: Learning to Write Programscited by 145
- 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
- 2019Write, Execute, Assess: Program Synthesis with a REPLcited by 92
- 2016Neuro-Symbolic Program Synthesiscited by 84
- 2018Leveraging Grammar and Reinforcement Learning for Neural Program Synthesiscited by 83
- 2019Learning to Infer Program Sketchescited by 44
- 2018Neural-Guided Deductive Search for Real-Time Program Synthesis from Examplescited by 39
8 more
- 2020Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesiscited by 39
- 2020BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Explorationcited by 30
- 2018Automatic Program Synthesis of Long Programs with a Learned Garbage Collectorcited by 24
- 2017Neural Program Meta-Inductioncited by 23
- 2020Just-in-Time Learning for Bottom-Up Enumerative Synthesiscited by 18
- 2020Learning to Represent Programs with Property Signaturescited by 16
- 2018FrAngel: Component-Based Synthesis with Control Structurescited by 10
- 2015Synthesis through Unificationcited by 4
Built on by
Citing papers per year: 2022: 4; 2023: 2; 2024: 1; 2025: 1.
8 papers.
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesiscited by 17
- 2022Static Prediction of Runtime Errors by Learning to Execute Programs with External Resource Descriptionscited by 11
- 2022Compositional Generalization and Decomposition in Neural Program Synthesiscited by 6
- 2023LambdaBeam: Neural Program Search with Higher-Order Functions and Lambdascited by 6
- 2024AbstractBeam: Enhancing Bottom-Up Program Synthesis using Library Learningcited by 2
- 2025Shedding Light in Task Decomposition in Program Synthesis: The Driving Force of the Synthesizer Modelcited by 2
- 2022Neuro-Symbolic Regex Synthesis Framework via Neural Example Splittingcited by 0
- 2022Searching for Better Database Queries in the Outputs of Semantic Parserscited by 0
- 2025Shedding Light in Task Decomposition in Program Synthesis: The Driving Force of the Synthesizer Model11 Mar 2025
- 2024AbstractBeam: Enhancing Bottom-Up Program Synthesis using Library Learning27 May 2024
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis26 Jul 2023
- 2023LambdaBeam: Neural Program Search with Higher-Order Functions and Lambdas3 Jun 2023
- 2022Searching for Better Database Queries in the Outputs of Semantic Parsers13 Oct 2022
- 2022Neuro-Symbolic Regex Synthesis Framework via Neural Example Splitting20 May 2022
- 2022Compositional Generalization and Decomposition in Neural Program Synthesis7 Apr 2022
- 2022Static Prediction of Runtime Errors by Learning to Execute Programs with External Resource Descriptions7 Mar 2022