Research map / Large language models / Language, safety and interpretability
Code Generation from Natural Language with Less Prior Knowledge and More Monolingual Data
Sajad Norouzi, Keyi Tang, Yanshuai Cao
Borealis AI
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
10improved
2no clear effect
1hurt
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 target autoencoding (TAE) on monolingual Python data | BERT-encoder + 4-layer transformer seq2seq · Django test | exact match accuracy (%): 77.05 -> 81.03 | Improved |
| add TAE on 600k StackOverflow Python snippets | seq2seq baseline · CoNaLa test | BLEU: 30.98 -> 32.57 | Improved |
| use 600k instead of 100k monolingual snippets | TAE · CoNaLa test | BLEU: 32.29 -> 32.57 | Improved |
| add TAE on monolingual SQL data | seq2seq baseline · GeoQuery test | exact match accuracy (%): 47.69 -> 51.87 | Improved |
| add TAE on monolingual SQL data | seq2seq baseline · ATIS test | exact match accuracy (%): 38.04 -> 40.56 | Improved |
| add TAE on monolingual Java data | seq2seq baseline · Magic test | exact match accuracy (%): 41.61 -> 42.34 | No clear effect |
| add TAE on monolingual SQL data | seq2seq baseline · WikiSQL test | exact match accuracy (%): 85.36 -> 85.30 | No clear effect |
| freeze encoder on monolingual data (instead of updating it) (ablation) | TAE · Django 10% train, authentic monolingual data | exact match accuracy | Improved |
| freeze encoder on monolingual data (instead of updating it) (ablation) | TAE · Django 10% train, StackOverflow monolingual data | exact match accuracy | Improved |
| add TAE | seq2seq baseline (10% Django data) · Django test | copy accuracy: 34.18 -> 58.89 | Improved |
| add TAE | seq2seq baseline (full data) · Django test | generation accuracy: 81.27 -> 82.65 | Improved |
| add TAE | seq2seq baseline · Django dev | exact match accuracy (%): 75.52 -> 78.56 | 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
- An Empirical Analysis of Leveraging Knowledge for Low-Resource Task-Oriented Semantic Parsing (ACL 2023 · similarity 0.88)
- Large Language Models Meet NL2Code: A Survey (ACL 2023 · similarity 0.88)
- A Syntactic Neural Model for General-Purpose Code Generation (ACL 2017 · similarity 0.87)
- Few-Shot Semantic Parsing with Language Models Trained on Code (NAACL 2022 · similarity 0.87)
- code2seq: Generating Sequences from Structured Representations of Code (ICLR 2019 · similarity 0.87)
- Extract, Denoise and Enforce: Evaluating and Improving Concept Preservation for Text-to-Text Generation (EMNLP 2021 · similarity 0.87)
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.