paper-with-me

Papers

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, Yi Li 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 and understand the actual functionality of programs, which poses significant challenges for their post-training and practical deployment. Specifically, Code LLMs encounter two principal issues: (1) a lack of proficiency in reasoning about program execution behavior, as they struggle to interpret what programs actually do during runtime, and (2) the inconsistent and fragmented representation of semantic information, such as execution traces, across existing methods, which hinders their ability to generalize and reason effectively. These challenges underscore the necessity for more systematic approaches to enhance the reasoning capabilities of Code LLMs. To address these issues, we introduce a generic framework to support integrating semantic information~(e.g., execution trace) to code task-relevant prompts, and conduct a comprehensive study to explore the role of semantic information in enhancing the reasoning ability of Code LLMs accordingly. Specifically, we focus on investigating the usefulness of trace-based semantic information in boosting supervised fine-tuning~(SFT) and post-phase inference of Code LLMs. The experimental results surprisingly disagree with previous works and demonstrate that semantic information has limited usefulness for SFT and test time scaling of Code LLM.

📄 PDF Abstract BibTeX arXiv:2509.11686

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning

2024-06-03 · Yangruibo Ding, Jinjun Peng, Marcus J. Min, Gail Kaiser 외

Code Large Language Models (Code LLMs) have excelled at tasks like code completion but often miss deeper semantics such as execution effects and dynamic states. This paper aims to bridge the gap between Code LLMs' relian…

Code CompletionCode GenerationHumanEvalProgram Repair

CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoning

2025-05-31 · Monoshi Kumar Roy, Simin Chen, Benjamin Steenhoek, Jinjun Peng 외

Understanding and reasoning about code semantics is essential for enhancing code LLMs' abilities to solve real-world software engineering (SE) tasks. Although several code reasoning benchmarks exist, most rely on synthet…

In-Context Learning

CodeRL+: Improving Code Generation via Reinforcement with Execution Semantics Alignment

2025-10-21 · Xue Jiang, Yihong Dong, Mengyang Liu, Hongyi Deng 외 arxiv

While Large Language Models (LLMs) excel at code generation by learning from vast code corpora, a fundamental semantic gap remains between their training on textual patterns and the goal of functional correctness, which …

Reinforcement LearningCode Generation

CP-BCS: Binary Code Summarization Guided by Control Flow Graph and Pseudo Code

2023-10-24 · Tong Ye, Lingfei Wu, Tengfei Ma, Xuhong Zhang 외

Automatically generating function summaries for binaries is an extremely valuable but challenging task, since it involves translating the execution behavior and semantics of the low-level language (assembly code) into hu…

Code Summarization

Integrating Symbolic Execution into the Fine-Tuning of Code-Generating LLMs

2025-04-21 · Marina Sakharova, Abhinav Anand, Mira Mezini

Code-generating Large Language Models (LLMs) have become essential tools in modern software development, enhancing productivity and accelerating development. This paper aims to investigate the fine-tuning of code-generat…