paper-with-me

홈 › Papers

Investigating Execution-Aware Language Models for Code Optimization

2025-03-11 · Federico Di Menna, Luca Traini, Gabriele Bavota, Vittorio Cortellessa

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.

📄 PDF Abstract BibTeX arXiv:2503.08228

Code (1)

spencerlabaq/exec-aware-code-opt 공식 구현

Similar Papers 제목 키워드 기반

NEMO: Execution-Aware Optimization Modeling via Autonomous Coding Agents

2026-01-29 · Yang Song, Anoushka Vyas, Zirui Wei, Sina Khoshfetrat Pakazad 외 arxiv

We present NEMO, a system that translates Natural-language descriptions of decision problems into formal Executable Mathematical Optimization implementations using autonomous coding agents (ACAs). Existing approaches rel…

Curriculum Learning for Small Code Language Models

2024-07-14 · Marwa Naïr, Kamel Yamani, Lynda Said Lhadj, Riyadh Baghdadi

Code language models have emerged as useful tools for various programming tasks, yet they often struggle when it comes to complex ones. In this paper, we explore the potential of curriculum learning in enhancing the perf…

Code CompletionDecoder

RA-CAD: Learning Post-Execution Critique for State-Aware Text-to-CAD Generation

2026-08-06 · Shuhao Yan, Changhao He, Xi Peng, Peng Hu arxiv

Text-to-CAD generation translates natural-language design intent into editable and executable parametric computer-aided design (CAD) codes, reducing the expertise and effort required for manual modeling. Existing methods…

Domain-Adaptable Reinforcement Learning for Code Generation with Dense Rewards

2026-05-20 · Erfan Aghadavoodi Jolfaei, Daniel Maninger, Abhinav Anand, Mert Tiftikci 외 arxiv

Large language models show strong potential for automated code generation, but lack guarantees for correctness, quality, safety, and domain-specific constraints. For instance in robotics, where code generation is increas…

Reinforcement LearningProgram SynthesisCode Generation

Do Code Semantics Help? A Comprehensive Study on Execution Trace-Based Information for Code Large Language Models

2025-09-15 · Jian Wang, Xiaofei Xie, Qiang Hu, Shangqing Liu 외 arxiv

Code Large Language Models (Code LLMs) have opened a new era in programming with their impressive capabilities. However, recent research has revealed critical limitations in their ability to reason about runtime behavior…