mlsanityData to 7 Oct 2026

Investigating Execution-Aware Language Models for Code Optimization

arXiv 2503.08228 ↗First posted 11 Mar 2025cs.SE cs.AI cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Code optimization is the process of enhancing code efficiency, while preserving its intended functionality. This process often requires a deep understanding of the code execution behavior at run-time to identify and address inefficiencies effectively. Recent studies have shown that language models can play a significant role in automating code optimization. However, these models may have insufficient knowledge of how code execute at run-time. To address this limitation, researchers have developed strategies that integrate code execution information into language models. These strategies have shown promise, enhancing the effectiveness of language models in various software engineering tasks. However, despite the close relationship between code execution behavior and efficiency, the specific impact of these strategies on code optimization remains largely unexplored. This study investigates how incorporating code execution information into language models affects their ability to optimize code. Specifically, we apply three different training strategies to incorporate four code execution aspects -- line executions, line coverage, branch coverage, and variable states -- into CodeT5+, a well-known language model for code. Our results indicate that execution-aware models provide limited benefits compared to the standard CodeT5+ model in optimizing code.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 27 of its 43 references that are in the map. First posted on arXiv 11 Mar 2025.

Builds on

27 of 43 references.

References · 27

  1. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  2. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  3. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  4. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
  5. 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 178
  6. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 133
  7. 2023Learning Performance-Improving Code Editscited by 103
  8. 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
  9. 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 60
  10. 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 44
  11. 2018A Survey on Compiler Autotuning using Machine Learningcited by 40
  12. 2024Source Code Summarization in the Era of Large Language Modelscited by 30
15 more
  1. 2023TRACED: Execution-aware Pre-training for Source Codecited by 27
  2. 2024SemCoder: Training Code Language Models with Comprehensive Semantics Reasoningcited by 27
  3. 2024Search-Based LLMs for Code Optimizationcited by 27
  4. 2023Exploring Code Analysis: Zero-Shot Insights on Syntax and Semantics with LLMscited by 19
  5. 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++cited by 15
  6. 2023RAPGen: An Approach for Fixing Code Inefficiencies in Zero-Shotcited by 14
  7. 2024Toward Improved Deep Learning-based Vulnerability Detectioncited by 9
  8. 2023Code Representation Pre-training with Complements from Program Executionscited by 8
  9. 2023LExecutor: Learning-Guided Executioncited by 7
  10. 2024Knowledge-Aware Code Generation with Large Language Modelscited by 6
  11. 2024Learning Program Behavioral Models from Synthesized Input-Output Pairscited by 4
  12. 2023Toward Automatically Completing GitHub Workflowscited by 3
  13. 2024Towards Summarizing Code Snippets Using Pre-Trained Transformerscited by 3
  14. 2024AI-driven Java Performance Testing: Balancing Result Quality with Testing Timecited by 2
  15. 2024How the Training Procedure Impacts the Performance of Deep Learning-based Vulnerability Patchingcited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.