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
Wuhan University · Huawei Technologies · Huazhong University of Science and Technology · Yunnan University
Read the paperPlace an idea next to itCheck your own paper ↗
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 discriminator-trained generator (D_train) (ablation) | CodeGPT · Code completion (CodeSearchNet-Python, 25 tokens) | Compilation Rate: 46.84 -> 64.88 | Improved |
| add RL with compiler reward (ablation) | CodeGPT · Code completion (CodeSearchNet-Python, 25 tokens) | Compilation Rate: 46.84 -> 76.48 | Improved |
| add D_train on top of RL (ablation) | CodeGPT + RL · Code completion (CodeSearchNet-Python, 25 tokens) | Compilation Rate: 76.48 -> 83.14 | Improved |
| 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.96 | Improved |
| add D_test to RL+D_train (ablation) | CodeGPT + RL + D_train · Code completion (CodeSearchNet-Python, 25 tokens) | Compilation Rate: 83.14 -> 94.48 | Improved |
| add RL, D_train, D_test (full CompCoder) (ablation) | CodeGPT · Code completion (CodeSearchNet-Python, 25 tokens) | Edit Similarity: 64.47 -> 64.53 | No clear effect |
| apply CompCoder pipeline | CodeGPT · Text-to-code (AdvTest) | Compilation Rate: 70.3 -> 96.2 | Improved |
| apply CompCoder pipeline, longer completions (45 tokens) | CodeGPT · Code completion (CodeSearchNet-Python, 25 tokens) | Compilation Rate: +33.36 points CR | 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
- CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis (ICLR 2023 · similarity 0.87)
- Synchromesh: Reliable Code Generation from Pre-trained Language Models (ICLR 2022 · similarity 0.86)
- AutoCodeBench: Large Language Models are Automatic Code Benchmark Generators (ICLR 2026 · similarity 0.86)
- CodeBERTScore: Evaluating Code Generation with Pretrained Models of Code (EMNLP 2023 · similarity 0.86)
- Unified Pre-training for Program Understanding and Generation (NAACL 2021 · similarity 0.86)
- Training Language Models to Generate Quality Code with Program Analysis Feedback (NeurIPS 2025 · similarity 0.85)
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.