scimeatlas

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

Compilable Neural Code Generation with Compiler Feedback

Xin Wang, Yasheng Wang, Yao Wan, Fei Mi, Yitong Li, Pingyi Zhou, Jin Liu, Hao Wu, Xin Jiang, Qun Liu

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

Wuhan University · Huawei Technologies · Huazhong University of Science and Technology · Yunnan University

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

8measured effects
7improved
1no clear effect

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
add discriminator-trained generator (D_train) (ablation)CodeGPT · Code completion (CodeSearchNet-Python, 25 tokens)Compilation Rate: 46.84 -> 64.88Improved
add RL with compiler reward (ablation)CodeGPT · Code completion (CodeSearchNet-Python, 25 tokens)Compilation Rate: 46.84 -> 76.48Improved
add D_train on top of RL (ablation)CodeGPT + RL · Code completion (CodeSearchNet-Python, 25 tokens)Compilation Rate: 76.48 -> 83.14Improved
add discriminator selection at inference (D_test) to D_train (ablation)CodeGPT + D_train · Code completion (CodeSearchNet-Python, 25 tokens)Compilation Rate: 64.88 -> 81.96Improved
add D_test to RL+D_train (ablation)CodeGPT + RL + D_train · Code completion (CodeSearchNet-Python, 25 tokens)Compilation Rate: 83.14 -> 94.48Improved
add RL, D_train, D_test (full CompCoder) (ablation)CodeGPT · Code completion (CodeSearchNet-Python, 25 tokens)Edit Similarity: 64.47 -> 64.53No clear effect
apply CompCoder pipelineCodeGPT · Text-to-code (AdvTest)Compilation Rate: 70.3 -> 96.2Improved
apply CompCoder pipeline, longer completions (45 tokens)CodeGPT · Code completion (CodeSearchNet-Python, 25 tokens)Compilation Rate: +33.36 points CRImproved

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