scimeatlas

Research map / Large language models / Language, safety and interpretability

Incorporating External Knowledge through Pre-training for Natural Language to Code Generation

Frank F. Xu, Zhengbao Jiang, Pengcheng Yin, Bogdan Vasilescu, Graham Neubig

ACL 2020Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach102 citations (OpenAlex)

Carnegie Mellon University

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
9improved
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 changedWhereMeasuredEffect
pre-train on mined StackOverflow pairs (100k) (ablation)TranX · CoNaLa testBLEU: 27.20 -> 28.14Improved
add API documentation pairs to pre-training without re-sampling (ablation)TranX Man+Mine · CoNaLa testBLEU: 28.14 -> 27.84Hurt
add retrieval-based re-sampling of API pairs (dist., code) (ablation)TranX Man+Mine+API · CoNaLa testBLEU: 27.84 -> 30.69Improved
retrieve by code snippet instead of NL intent (dist.) (ablation)TranX Man+Mine+API · CoNaLa testBLEU: 29.31 -> 30.69Improved
distribution re-sampling instead of direct retrieval (code target) (ablation)TranX Man+Mine+API · CoNaLa testBLEU: 30.26 -> 30.69Improved
distribution re-sampling instead of direct retrieval (intent target) (ablation)TranX Man+Mine+API · CoNaLa testBLEU: 29.66 -> 29.31Hurt
add external knowledge on top of hypothesis rerankingTranX +rerank · CoNaLa testBLEU: 30.11 -> 32.26Improved
add API docs to pre-training (ablation)TranX Man+Mine · CoNaLa test, high API frequency splitBLEU: 28.67 -> 30.91Improved
add API docs to pre-training (ablation)TranX Man+Mine · CoNaLa test, low API frequency splitBLEU: 27.55 -> 30.05Improved
add external resources to pre-trainingTranX · CoNaLa test, API call tokenstoken accuracy: 31.5% -> 36.8%Improved
add external resources to pre-trainingTranX · CoNaLa test, variable name tokenstoken accuracy: 41.2% -> 43.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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy