Toward Code Generation: A Survey and Lessons from Semantic Parsing
Not on the map. Why?
Abstract (arXiv)
With the growth of natural language processing techniques and demand for improved software engineering efficiency, there is an emerging interest in translating intention from human languages to programming languages. In this survey paper, we attempt to provide an overview of the growing body of research in this space. We begin by reviewing natural language semantic parsing techniques and draw parallels with program synthesis efforts. We then consider semantic parsing works from an evolutionary perspective, with specific analyses on neuro-symbolic methods, architecture, and supervision. We then analyze advancements in frameworks for semantic parsing for code generation. In closing, we present what we believe are some of the emerging open challenges in this domain.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 35 of its 100 references that are in the map. First posted on arXiv 26 Apr 2021.
Builds on
35 of 100 references.
References · 35
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
- 2017Snorkel: Rapid Training Data Creation with Weak Supervisioncited by 372
- 2018code2vec: Learning Distributed Representations of Codecited by 250
- 2017Learning to Represent Programs with Graphscited by 220
- 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 218
- 2018code2seq: Generating Sequences from Structured Representations of Codecited by 179
- 2019SPoC: Search-based Pseudocode to Codecited by 176
- 2016Language to Logical Form with Neural Attentioncited by 158
- 2016DeepCoder: Learning to Write Programscited by 149
- 2020Task-Oriented Dialogue as Dataflow Synthesiscited by 122
- 2018Coarse-to-Fine Decoding for Neural Semantic Parsingcited by 110
23 more
- 2018Mapping Language to Code in Programmatic Contextcited by 104
- 2017Learning a Neural Semantic Parser from User Feedbackcited by 99
- 2018Tree-to-tree Neural Networks for Program Translationcited by 93
- 2017Abstract Syntax Networks for Code Generation and Semantic Parsingcited by 92
- 2018TRANX: A Transition-based Neural Abstract Syntax Parser for Semantic Parsing and Code Generationcited by 88
- 2019Neo: A Learned Query Optimizercited by 80
- 2016Latent Predictor Networks for Code Generationcited by 73
- 2019Neural Module Networks for Reasoning over Textcited by 66
- 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
- 2019Does BLEU Score Work for Code Migration?cited by 49
- 2019Learning to Infer Program Sketchescited by 44
- 2020Improving Compositional Generalization in Semantic Parsingcited by 42
- 2021In-IDE Code Generation from Natural Language: Promise and Challengescited by 42
- 2019Program Synthesis and Semantic Parsing with Learned Code Idiomscited by 34
- 2018Confidence Modeling for Neural Semantic Parsingcited by 33
- 2018Aroma: Code Recommendation via Structural Code Searchcited by 29
- 2020Obtaining Faithful Interpretations from Compositional Neural Networkscited by 23
- 2019Learning Programmatic Idioms for Scalable Semantic Parsingcited by 17
- 2018The Three Pillars of Machine Programmingcited by 12
- 2016Inferring Logical Forms From Denotationscited by 6
- 2018GraphIt: A High-Performance DSL for Graph Analyticscited by 5
- 2019Learning Fitness Functions for Machine Programmingcited by 5
- 2016Open-Vocabulary Semantic Parsing with both Distributional Statistics and Formal Knowledgecited by 3
Built on by
Citing papers per year: 2022: 3; 2023: 4; 2024: 1.
8 papers.
- 2023CodeFusion: A Pre-trained Diffusion Model for Code Generationcited by 31
- 2024PromSec: Prompt Optimization for Secure Generation of Functional Source Code with Large Language Models (LLMs)cited by 19
- 2022Logical Satisfiability of Counterfactuals for Faithful Explanations in NLIcited by 11
- 2023GLUECons: A Generic Benchmark for Learning Under Constraintscited by 9
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspectivecited by 3
- 2023Neural Machine Translation for Code Generationcited by 3
- 2023Guess & Sketch: Language Model Guided Transpilationcited by 3
- 2022Towards Top-Down Automated Development in Limited Scopes: A Neuro-Symbolic Framework from Expressibles to Executablescited by 2
- 2024PromSec: Prompt Optimization for Secure Generation of Functional Source Code with Large Language Models (LLMs)19 Sep 2024
- 2023CodeFusion: A Pre-trained Diffusion Model for Code Generation26 Oct 2023
- 2023Guess & Sketch: Language Model Guided Transpilation25 Sep 2023
- 2023Neural Machine Translation for Code Generation22 May 2023
- 2023GLUECons: A Generic Benchmark for Learning Under Constraints16 Feb 2023
- 2022Towards Top-Down Automated Development in Limited Scopes: A Neuro-Symbolic Framework from Expressibles to Executables4 Sep 2022
- 2022Logical Satisfiability of Counterfactuals for Faithful Explanations in NLI25 May 2022
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspective10 Feb 2022