Research map / Large language models / Agents, code and math
UnitCoder: Scalable Code Synthesis from Pre-training Corpora
Yichuan Ma, Yunfan Shao, Peiji Li, Demin Song, Qipeng Guo, Linyang Li, Xipeng Qiu, Kai Chen
Fudan University · Shanghai AI Laboratory
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 changed | Where | Measured | Effect |
|---|---|---|---|
| post-train with UnitCoder synthetic data | InternLM2.5-7B · BigCodeBench (complete) | pass rate: 27.9 -> 39.3 | Improved |
| post-train with UnitCoder data | Llama3.1-8B · BigCodeBench-Hard | pass rate: 5.4 -> 14.2 | Improved |
| post-train with UnitCoder data | Llama3.1-8B · HumanEval | pass rate: 36.6 -> 61.0 | Improved |
| replace UnitCoder data with Evol, OSS-Instruct or OpenCoder data | InternLM2.5-7B · BigCodeBench (complete) | pass rate: 39.3 -> 21.1 (Evol); 22.8 (OSS); 28.2 (OpenCoder) | Hurt |
| add unit-test verification (Dpass) to general code data (ablation) | InternLM2.5-7B · BigCodeBench (complete) | pass rate: 29.4 -> 35.2 | Improved |
| verify package-centric data with unit tests (Dpass instead of Dpkg) (ablation) | InternLM2.5-7B + General Code · BigCodeBench-Hard | pass rate: 6.1 -> 13.5 | Improved |
| add unverified package-centric data to general code (ablation) | InternLM2.5-7B · BigCodeBench-Hard | pass rate: 7.4 -> 6.1 | Hurt |
| add refine agent on top of verified data (ablation) | InternLM2.5-7B · BigCodeBench (complete) | pass rate: 35.2 -> 39.3 | Improved |
| add refine agent on top of verified data (ablation) | InternLM2.5-7B · HumanEval | pass rate: 61.6 -> 67.1 | Improved |
| post-train with UnitCoder at 1.8B and 20B scale (ablation) | InternLM2.5 · BigCodeBench (complete) | pass rate: 14.7 -> 19.6 (1.8B); 41.1 -> 44.6 (20B) | Improved |
| post-train with UnitCoder data | InternLM2.5-7B · MBPP | pass rate: 60.3 -> 66.2 | Improved |
Open problems this paper states
- “Limited to Python code synthesis, so generalization to other programming languages is unvalidated.” → Tested on Python or a few languages, so other languages are untested. (an open problem in code generation benchmarks)
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- AutoCodeBench: Large Language Models are Automatic Code Benchmark Generators (ICLR 2026 · similarity 0.90)
- AlchemistCoder: Harmonizing and Eliciting Code Capability by Hindsight Tuning on Multi-source Data (NeurIPS 2024 · similarity 0.90)
- InverseCoder: Self-improving Instruction-Tuned Code LLMs with Inverse-Instruct (AAAI 2025 · similarity 0.89)
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.89)
- Fixing It in Post: A Comparative Study of LLM Post-Training Data Quality and Model Performance (NeurIPS 2025 · similarity 0.89)
- Dataset Decomposition: Faster LLM Training with Variable Sequence Length Curriculum (NeurIPS 2024 · similarity 0.88)
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.