Ain't Nobody Got Time For Coding: Structure-Aware Program Synthesis From Natural Language
Jakub Bednarek, Karol Piaskowski, Krzysztof Krawiec

TL;DR
This paper introduces SAPS, a neural network model that translates complex natural language specifications into executable code with high accuracy, eliminating the need for post-processing and leveraging a structure-aware architecture.
Contribution
SAPS is a novel, fully neural, structure-aware program synthesis model that outperforms previous methods on a large dataset without requiring post-processing.
Findings
Achieves over 92% correct program generation.
Performs on par or better than previous state-of-the-art methods.
Does not require post-processing of generated code.
Abstract
Program synthesis from natural language (NL) is practical for humans and, once technically feasible, would significantly facilitate software development and revolutionize end-user programming. We present SAPS, an end-to-end neural network capable of mapping relatively complex, multi-sentence NL specifications to snippets of executable code. The proposed architecture relies exclusively on neural components, and is trained on abstract syntax trees, combined with a pretrained word embedding and a bi-directional multi-layer LSTM for processing of word sequences. The decoder features a doubly-recurrent LSTM, for which we propose novel signal propagation schemes and soft attention mechanism. When applied to a large dataset of problems proposed in a previous study, SAPS performs on par with or better than the method proposed there, producing correct programs in over 92% of cases. In contrast…
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
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Topic Modeling · Parallel Computing and Optimization Techniques
MethodsSigmoid Activation · Tanh Activation · Long Short-Term Memory
