Research map / Large language models / Instruction and fine-tuning
PerfCoder: Large Language Models for Interpretable Code Performance Optimization
Jiuding Yang, Shengyao Lu, Hongxuan Liu, Di Niu, Shayan Shirahmad Gale Bagi, Zahra Fazel, Tomasz Czajkowski
University of Alberta · University of Victoria · Huawei Technologies
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 strategy supervision (strategy before code) in SFT (ablation) | PerfCoder-QC 7B · PIE | speedup: 2.11 -> 2.50 | Improved |
| add strategy supervision in SFT (ablation) | PerfCoder-QC 7B · PIE | code accuracy: 63.08 -> 43.46 | Hurt |
| add category-balanced sampling (ablation) | PerfCoder-QC 7B · PIE | speedup: 2.09 -> 2.50 | Improved |
| add category-balanced sampling (ablation) | PerfCoder-QC 7B · PIE | effective optimization: 20.76 -> 33.13 | Improved |
| add strategy supervision (ablation) | PerfCoder-QC 7B · PIE | effective optimization: 32.62 -> 33.13 | No clear effect |
| guide Qwen2.5-Inst 32B with PerfCoder-QC 7B strategies instead of own strategies | Qwen2.5-Inst 32B · PIE | speedup: 1.32 -> 2.52 | Improved |
| guide Qwen2.5-Coder-Inst 32B with PerfCoder-QC strategies | Qwen2.5-Coder-Inst 32B · PIE | speedup: 1.38 -> 2.26 | Improved |
| let general LLM generate and follow its own strategies (two-step) | Qwen2.5-Inst 32B · PIE | speedup: 1.50 -> 1.32 | Hurt |
| add GRPO fine-tuning of the 1.5B planner | PerfCoder-QC 1.5B + Qwen2.5-Inst 32B · PIE | speedup: 2.54 -> 3.03 | Improved |
| use PerfCoder-QC 1.5B (GRPO) as planner for GPT-5 | GPT-5 · PIE | speedup: 1.96 -> 4.82 | Improved |
| use 7B instead of 1.5B planner (no GRPO) for Qwen2.5-Inst 32B | PerfCoder-QC planner · PIE | speedup: 2.54 -> 2.52 | No clear effect |
| use Qwen2.5-Coder base instead of CodeLlama base | PerfCoder 7B · PIE | speedup: 1.94 -> 2.50 | Improved |
Open problems this paper states
- “Not evaluated with larger or more advanced base models because of computational budget.” → Not tested on models larger than about 14B parameters. (an open problem in instruction data selection)
Open problems in instruction data selection
Does instruction-data selection and synthesis still work beyond small models, English, and GPT-4 as teacher and judge?
- Not tested on models larger than about 14B parameters. · 21 papers state it
- Evaluation rests on GPT-4 or ChatGPT judges with known biases. · 14 papers state it
- Only a few languages were tested, mostly high-resource ones. · 11 papers state it
Closest papers by meaning
- Synthesizing Performance Constraints for Evaluating and Improving Code Efficiency (NeurIPS 2025 · similarity 0.91)
- Learning Performance-Improving Code Edits (ICLR 2024 · similarity 0.91)
- SWE-Pro: A Benchmark for Evaluating LLMs on Performance-Oriented Repository-Level Optimization (NeurIPS 2026 · similarity 0.91)
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.90)
- CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer (ICML 2026 · similarity 0.89)
- SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads? (ICML 2026 · 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.