mlsanityData to 7 Oct 2026

A Problem-Oriented Perspective and Anchor Verification for Code Optimization

arXiv 2406.11935 ↗First posted 17 Jun 2024cs.PL cs.AI cs.SEcited by 3

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have shown remarkable capabilities in solving various programming tasks, such as code generation. However, their potential for code optimization, particularly in performance enhancement, remains largely unexplored. This paper investigates the capabilities of LLMs in optimizing code for minimal execution time, addressing a critical gap in current research. The recently proposed code optimization methods construct program optimization pairs based on iterative submissions from the same programmer for the same problem. However, this approach confines LLMs to local performance improvements, neglecting global algorithmic innovation. To overcome this limitation, we adopt a completely different perspective by reconstructing the optimization pairs into a problem-oriented approach. This allows for the integration of various ideas from multiple programmers tackling the same problem. Furthermore, we observe that code optimization presents greater challenges compared to code generation, often accompanied by "optimization tax". Recognizing the inherent trade-offs in correctness and efficiency, we introduce a novel anchor verification framework to mitigate this "optimization tax". Ultimately, the problem oriented perspective combined with the anchor verification framework significantly enhances both the correct optimization ratio and speedup to new levels.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 20 of its 39 references that are in the map. First posted on arXiv 17 Jun 2024.

Builds on

20 of 39 references.

References · 20

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  5. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  6. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  7. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  8. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  9. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  10. 2023Teaching Large Language Models to Self-Debugcited by 963
  11. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  12. 2022CodeT: Code Generation with Generated Testscited by 369
8 more
  1. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  2. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
  3. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 191
  4. 2018Automated Algorithm Selection: Survey and Perspectivescited by 111
  5. 2023Learning Performance-Improving Code Editscited by 103
  6. 2024On Evaluating the Efficiency of Source Code Generated by LLMscited by 19
  7. 2023Coffee: Boost Your Code LLMs by Fixing Bugs with Feedbackcited by 15
  8. 2024AlchemistCoder: Harmonizing and Eliciting Code Capability by Hindsight Tuning on Multi-source Datacited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 1.

3 papers.