Back to Search
Start Over
Program Synthesis and Semantic Parsing with Learned Code Idioms
Program Synthesis and Semantic Parsing with Learned Code Idioms
- Publication Year :
- 2019
- Publisher :
- arXiv, 2019.
-
Abstract
- Program synthesis of general-purpose source code from natural language specifications is challenging due to the need to reason about high-level patterns in the target program and low-level implementation details at the same time. In this work, we present PATOIS, a system that allows a neural program synthesizer to explicitly interleave high-level and low-level reasoning at every generation step. It accomplishes this by automatically mining common code idioms from a given corpus, incorporating them into the underlying language for neural synthesis, and training a tree-based neural synthesizer to use these idioms during code generation. We evaluate PATOIS on two complex semantic parsing datasets and show that using learned code idioms improves the synthesizer's accuracy.<br />Comment: 33rd Conference on Neural Information Processing Systems (NeurIPS) 2019. 13 pages total, 9 pages of main text
- Subjects :
- FOS: Computer and information sciences
Computer Science - Machine Learning
Computer Science - Computation and Language
Computer Science - Programming Languages
Artificial Intelligence (cs.AI)
Computer Science - Artificial Intelligence
Statistics - Machine Learning
Machine Learning (stat.ML)
Computation and Language (cs.CL)
Machine Learning (cs.LG)
Programming Languages (cs.PL)
Subjects
Details
- Database :
- OpenAIRE
- Accession number :
- edsair.doi.dedup.....2b19d902ea1276738c5a7b99da9d734c
- Full Text :
- https://doi.org/10.48550/arxiv.1906.10816