mlsanityData to 14 Oct 2026

PerfCoder: Large Language Models for Interpretable Code Performance Optimization

arXiv 2512.14018 ↗First posted 16 Dec 2025cs.SE cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have achieved remarkable progress in automatic code generation, yet their ability to produce high-performance code remains limited--a critical requirement in real-world software systems. We argue that current LLMs struggle not only due to data scarcity but, more importantly, because they lack supervision that guides interpretable and effective performance improvements. In this work, we introduce PerfCoder, a family of LLMs specifically designed to generate performance-enhanced code from source code via interpretable, customized optimizations. PerfCoder is fine-tuned on a curated collection of real-world optimization trajectories with human-readable annotations, and preference-aligned by reinforcement fine-tuning using runtime measurements, enabling it to propose input-specific improvement strategies and apply them directly without relying on iterative refinement. On the PIE code performance benchmark, PerfCoder surpasses all existing models in both runtime speedup and effective optimization rate, demonstrating that performance optimization cannot be achieved by scale alone but requires optimization stratetgy awareness. In addition, PerfCoder can generate interpretable feedback about the source code, which, when provided as input to a larger LLM in a planner-and-optimizer cooperative workflow, can further improve outcomes. Specifically, we elevate the performance of 32B models and GPT-5 to new levels on code optimization, substantially surpassing their original performance.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 38 of its 54 references that are in the map. First posted on arXiv 16 Dec 2025.

Builds on

38 of 54 references.

References · 38

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2024Qwen2.5 Technical Reportcited by 4,942
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  7. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  8. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
  9. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  10. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
  11. 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 183
  12. 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
26 more
  1. 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
  2. 2023InferFix: End-to-End Program Repair with LLMscited by 114
  3. 2023Learning Performance-Improving Code Editscited by 106
  4. 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
  5. 2024HumanEval-XL: A Multilingual Code Generation Benchmark for Cross-lingual Natural Language Generalizationcited by 86
  6. 2024Enhancing Code LLMs with Reinforcement Learning in Code Generation: A Surveycited by 83
  7. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 78
  8. 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 64
  9. 2023How Effective Are Neural Networks for Fixing Security Vulnerabilitiescited by 52
  10. 2024A Performance Study of LLM-Generated Code on Leetcodecited by 49
  11. 2024LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generationcited by 45
  12. 2024Optima: Optimizing Effectiveness and Efficiency for LLM-Based Multi-Agent Systemcited by 43
  13. 2024Mercury: A Code Efficiency Benchmark for Code Large Language Modelscited by 35
  14. 2024EvoCodeBench: An Evolving Code Generation Benchmark with Domain-Specific Evaluationscited by 34
  15. 2024EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimizationcited by 30
  16. 2023Large Language Models of Code Fail at Completing Code with Potential Bugscited by 29
  17. 2024Search-Based LLMs for Code Optimizationcited by 28
  18. 2024ECCO: Can We Improve Model-Generated Code Efficiency Without Sacrificing Functional Correctness?cited by 27
  19. 2024LLM-Vectorizer: LLM-based Verified Loop Vectorizercited by 25
  20. 2023Fixing Hardware Security Bugs with Large Language Modelscited by 24
  21. 2024On Evaluating the Efficiency of Source Code Generated by LLMscited by 21
  22. 2024Performance-Aligned LLMs for Generating Fast Codecited by 21
  23. 2024LangProp: A code optimization framework using Large Language Models applied to drivingcited by 18
  24. 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++cited by 16
  25. 2024DeepCode AI Fix: Fixing Security Vulnerabilities with Large Language Modelscited by 7
  26. 2024FastFixer: An Efficient and Effective Approach for Repairing Programming Assignmentscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.