Research map / Large language models / Instruction and fine-tuning
CodeM: Less Data Yields More Versatility via Ability Matrix
Daoguang Zan, Ailun Yu, Wei Liu, Bo Shen, Shaoxin Lin, Yongshun Gong, Yafen Yao, Yan Liu, Bei Guan, Weihua Luo, Yongji Wang, Qianxiang Wang and 1 more
University of Chinese Academy of Sciences · Chinese Academy of Sciences · Lingzhi-zhiguang Co · Peking University · Huawei Technologies · Shandong 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 |
|---|---|---|---|
| train on CodeM's 8-scenario ability-matrix subset (4.3K) instead of all 18 scenarios (9.6K) | StarCoder 7B · HumanEvalPack avg | pass@1: 36.3 (SFT-Mixed 9.6K) vs 35.9-36.3 (CodeM 4.3K) | No clear effect |
| use CodeM with 9.6K data instead of SFT-Mixed with equal data | StarCoder 7B · HumanEvalPack avg | pass@1: 36.3 -> 40.7-41.1 | Improved |
| remove the Python code-generation corpus from CodeM-CG#Py (ablation) | CodeM-CG#Py (4.3K) · HumanEvalPack avg | pass@1: 34.2 -> 35.9 | Improved |
| remove the Java code-generation corpus from CodeM-CG#Py (ablation) | CodeM-CG#Py (4.3K) · HumanEvalPack avg | pass@1: 35.9 -> 35.6 | Mixed |
| remove the Python code-explanation corpus from CodeM-CG#Py (ablation) | CodeM-CG#Py (4.3K) · HumanEvalPack avg | pass@1: 35.9 -> 35.0 | Improved |
| fine-tune on single-scenario JavaScript data | StarCoder 7B · MultiPL-E Python code generation | pass@1: +13.1% absolute | Improved |
| fine-tune on non-code domain data (NLQA, Math) | StarCoder 7B · MultiPL-E JavaScript code generation | pass@1: +11.8% (NLQA), +6.8% (Math) | Improved |
| train on mixed-scenario data instead of single-scenario data | StarCoder 7B · HumanEvalPack avg | pass@1: 32.6 (best single, SFT-CR Py) -> 36.3 (SFT-Mixed 9.6K) | Improved |
| increase selected rows and columns beyond one row and one column | CodeM · HumanEvalPack avg | pass@1: 35.9 (m=1,n=1) vs 35.8 (m=6,n=2) | No clear effect |
| add noisy (inconsistent) instruction-response pairs up to 100% | CodeM (4.3K) vs SFT-Mixed (9.6K) · HumanEvalPack | pass@1: CodeM stabilizes ~20%, SFT-Mixed drops to 12.5% | Mixed |
| apply CodeM-CG#Py (4.3K) instead of the base model | StarCoder 7B · HumanEvalPack avg | pass@1: +19.5% absolute | Improved |
| use CodeM-CE#Java at 19.2K data instead of SFT-Mixed at the same scale | StarCoder 7B · HumanEvalPack avg | pass@1: +7.2% over SFT-Mixed | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 0 of 1 on most shared results.
- WizardCoder 15B — WizardCoder: Empowering Code Large Language Models with Evol-Instruct (ICLR 2024) · better on 0 of 1 shared result
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in fine-tuning generalization and delta compression
Do fine-tuning findings hold beyond small English-only models and automatic judges?
- Experiments stop at small or mid-sized models. · 21 papers state it
- Only English or one other language is tested. · 19 papers state it
- Scores come from LLM judges with no human check. · 12 papers state it
Closest papers by meaning
- At Which Training Stage Does Code Data Help LLMs Reasoning? (ICLR 2024 · similarity 0.87)
- AlchemistCoder: Harmonizing and Eliciting Code Capability by Hindsight Tuning on Multi-source Data (NeurIPS 2024 · similarity 0.87)
- InverseCoder: Self-improving Instruction-Tuned Code LLMs with Inverse-Instruct (AAAI 2025 · similarity 0.87)
- Instruct-SkillMix: A Powerful Pipeline for LLM Instruction Tuning (ICLR 2025 · similarity 0.86)
- LESS: Selecting Influential Data for Targeted Instruction Tuning (ICML 2024 · similarity 0.86)
- SHED: Shapley-Based Automated Dataset Refinement for Instruction Fine-Tuning (NeurIPS 2024 · 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.