Research map / Large language models / Agents, code and math
Do Code Semantics Help? A Comprehensive Study on Execution Trace-Based Information for Code Large Language Models
Jian Wang, Xiaofei Xie, Qiang Hu, Shangqing Liu, Yi Li
Singapore Management University · Nanyang Technological University · Tianjin University · Nanjing University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add trace-based semantic information to fine-tuning data (ablation) | Code LLMs (DeepSeek-Coder, LLaMA, Gemma2) · code repair, synthesis, reasoning | pass@1 | No clear effect |
| add SemCoder trace to repair fine-tuning data (ablation) | Code LLMs · program repair | pass@1: from 0.3 to 1.4 | Improved |
| fine-tune without trace information instead of with traces (ablation) | Code LLMs · code synthesis | pass@1: 7 out of 9 cases best without trace | Improved |
| choose a particular trace representation | Code LLMs · fine-tuning | pass@1 | No clear effect |
| use full fine-tuning instead of LoRA | DeepSeek-Coder · fine-tuning | pass@1: best in 5 out of 6 cases | Improved |
| use LoRA instead of full fine-tuning | LLaMA and Gemma2 · fine-tuning | pass@1: 11 out of 12 cases | Improved |
| add test-time scaling (sequential or parallel) over Greedy/CoT | Code LLMs · LiveCodeBench easy | pass@1: 65 out of 70 cases | Improved |
| add trace semantic information to test-time scaling prompts (ablation) | Code LLMs · LiveCodeBench easy | pass@1: 36 out of 56 cases no help | No clear effect |
| use Concise trace in test-time scaling (ablation) | Code LLMs · LiveCodeBench easy | pass@1: no worse than w/o trace in 11 of 14 cases | Improved |
| use low temperature (T=0.2) in sequential scaling (ablation) | Code LLMs · LiveCodeBench easy | pass@1 | Hurt |
| increase number of samples per iteration (ablation) | sequential scaling · LiveCodeBench easy | pass@1 | Improved |
| increase number of refinement rounds (ablation) | sequential scaling · LiveCodeBench easy | pass@1 | Improved |
Open problems this paper states
- “Framework supports only Python, not other languages such as Java and C++.” → Tested on Python or a few languages, so other languages are untested. (an open problem in code generation benchmarks)
- “Experiments cover only LLMs of around 7B size.” → Models were trained or tested only at about 7B parameters. (an open problem in code generation benchmarks)
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning (NeurIPS 2024 · similarity 0.92)
- CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks (NeurIPS 2025 · similarity 0.91)
- NExT: Teaching Large Language Models to Reason about Code Execution (ICML 2024 · similarity 0.91)
- Chain of Execution Supervision Promotes General Reasoning in Large Language Models (NeurIPS 2025 · similarity 0.90)
- Evaluating Program Semantics Reasoning with Type Inference in System F (NeurIPS 2025 · similarity 0.89)
- CodeMMLU: A Multi-Task Benchmark for Assessing Code Understanding & Reasoning Capabilities of CodeLLMs (ICLR 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.