Research map / Large language models / Language, safety and interpretability
Code Execution with Pre-trained Language Models
Chenxiao Liu, Shuai Lu, Weizhu Chen, Daxin Jiang, Alexey Svyatkovskiy, Shengyu Fu, Neel Sundaresan, Nan Duan
Peking University · Microsoft
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 curriculum learning (ablation) | CodeExecutor · CodeNetMut test | output accuracy: 45.93 -> 48.06 | Improved |
| add curriculum learning (ablation) | CodeExecutor · CodeNetMut test | trace accuracy: 30.98 -> 33.38 | Improved |
| add curriculum learning (ablation) | CodeExecutor · CodeNetMut test | line precision: 60.21 (w/o CL) vs 58.70 | No clear effect |
| pre-train on all datasets jointly in stages (CodeExecutor) instead of sequential limited stages (CEL-S3) (ablation) | code execution model · CodeNetMut test | output accuracy: 43.80 -> 48.06 | Improved |
| add hard SingleLine data in later stages (ablation) | CodeExecutor vs CEL-S1 · SingleLine test | trace accuracy: 93.32 -> 94.03 | Improved |
| sequential training on CodeNetMut after Tutorial (ablation) | CEL-S2 to CEL-S3 · Tutorial test | output accuracy: 79.51 -> 7.89 | Hurt |
| code execution pre-training instead of few-shot Codex | CodeExecutor · CodeNetMut test | output accuracy: 17.45 -> 48.06 | Improved |
| code execution pre-training instead of few-shot Codex | CodeExecutor · Tutorial test | output accuracy: 13.07 -> 76.42 | Improved |
| add CodeExecutor-predicted outputs for similarity ranking | GraphCodeBERT · Zero-shot code-to-code search | MAP: 23.08 -> 55.94 | Improved |
| add CodeExecutor-predicted outputs for similarity ranking | UniXcoder · Zero-shot code-to-code search | MAP: 71.86 -> 79.13 | Improved |
| filter Codex solutions by CodeExecutor-predicted output similarity | Codex · HumanEval | pass@1: 12.48 -> 17.87 | Improved |
| filter Codex solutions by CodeExecutor-predicted output similarity | Codex · HumanEval | pass@10: 45.59 -> 49.69 | 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
- Chain of Execution Supervision Promotes General Reasoning in Large Language Models (NeurIPS 2025 · similarity 0.88)
- NExT: Teaching Large Language Models to Reason about Code Execution (ICML 2024 · similarity 0.88)
- SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning (NeurIPS 2024 · similarity 0.87)
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.87)
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.86)
- Execution Guided Line-by-Line Code Generation (NeurIPS 2025 · similarity 0.86)
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.