Research map / Large language models / Language, safety and interpretability
A Syntactic Neural Model for General-Purpose Code Generation
Pengcheng Yin, Graham Neubig
Carnegie Mellon University
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
8improved
1no clear effect
2hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add pointer-network copying of terminals (ablation) | Our system · Django | accuracy: 32.3 -> 71.6 | Improved |
| add parent feeding (ablation) | Our system · HearthStone | accuracy: 10.6 -> 16.2 | Improved |
| add parent feeding (ablation) | Our system · Django | accuracy: 71.5 -> 71.6 | No clear effect |
| add frontier node embedding (ablation) | Our system · Django | accuracy: 70.7 -> 71.6 | Improved |
| add frontier node embedding (ablation) | Our system · HearthStone | accuracy: 16.7 -> 16.2 | Hurt |
| add unary closure (ablation) | Our system · HearthStone | accuracy: 10.1 -> 16.2 | Improved |
| add unary closure (ablation) | Our system · Django | accuracy: 71.6 -> 70.3 | Hurt |
| use syntax-driven grammar model instead of LPN | code generation · HearthStone | accuracy: 4.5 -> 16.2 | Improved |
| use syntax-driven grammar model instead of LPN | code generation · Django | accuracy: 62.3 -> 71.6 | Improved |
| add unknown word replacement to Seq2Tree | Seq2Tree · HearthStone | accuracy: 1.5 -> 13.6 | Improved |
| use grammar model instead of NMT | Our system · IFTTT full tree | accuracy: 77.7 -> 82.0 | Improved |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- Retrieval-Based Neural Code Generation (EMNLP 2018 · similarity 0.90)
- Program Synthesis and Semantic Parsing with Learned Code Idioms (NeurIPS 2019 · similarity 0.89)
- A Neural Architecture for Generating Natural Language Descriptions from Source Code Changes (ACL 2017 · similarity 0.89)
- Long-Range Modeling of Source Code Files with eWASH: Extended Window Access by Syntax Hierarchy (EMNLP 2021 · similarity 0.89)
- Abstract Syntax Networks for Code Generation and Semantic Parsing (ACL 2017 · similarity 0.89)
- TreeGen: A Tree-Based Transformer Architecture for Code Generation (AAAI 2020 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.