mlsanityData to 14 Oct 2026

TRACED: Execution-aware Pre-training for Source Code

arXiv 2306.07487 ↗First posted 13 Jun 2023cs.SEcited by 27

Not on the map. Why?

Abstract (arXiv)

Most existing pre-trained language models for source code focus on learning the static code text, typically augmented with static code structures (abstract syntax tree, dependency graphs, etc.). However, program semantics will not be fully exposed before the real execution. Without an understanding of the program execution, statically pre-trained models fail to comprehensively capture the dynamic code properties, such as the branch coverage and the runtime variable values, and they are consequently less effective at code understanding tasks, such as retrieving semantic clones and detecting software vulnerabilities. To close the gap between the static nature of language models and the dynamic characteristics of programs, we introduce TRACED, an execution-aware pre-training strategy for source code. Specifically, we pre-train code language models with a combination of source code, executable inputs, and corresponding execution traces. Our goal is to teach code models the complicated execution logic during the pre-training, enabling the model to statically estimate the dynamic code properties without repeatedly executing code during task-specific fine-tuning. To illustrate the effectiveness of our proposed approach, we fine-tune and evaluate TRACED on three downstream tasks: static execution estimation, clone retrieval, and vulnerability detection. The empirical results show that TRACED relatively improves the statically pre-trained code models by 12.4% for complete execution path prediction and by 25.2% for runtime variable value predictions. TRACED also significantly outperforms statically pre-trained models in clone retrieval and vulnerability detection across four public benchmarks.

Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 Jun 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 4; 2024: 7; 2025: 12; 2026: 4.

27 papers.

Sort:

By area:

  1. 2023Clover: Closed-Loop Verifiable Code Generationcited by 67
  2. 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 59
  3. 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 45
  4. 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChaincited by 31
  5. 2024Towards AI-Native Software Engineering (SE 3.0): A Vision and a Challenge Roadmapcited by 30
  6. 2024Transformer-Based Models Are Not Yet Perfect At Learning to Emulate Structural Recursioncited by 14
  7. 2025CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoningcited by 13
  8. 2025Towards Effectively Leveraging Execution Traces for Program Repair with Code LLMscited by 11
  9. 2023Exploiting Code Symmetries for Learning Program Semanticscited by 10
  10. 2023Towards Causal Deep Learning for Vulnerability Detectioncited by 9
  11. 2025Locus: Agentic Predicate Synthesis for Directed Fuzzingcited by 9
  12. 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Modelscited by 8
15 more
  1. 2024CodeArt: Better Code Models by Attention Regularization When Symbols Are Lackingcited by 7
  2. 2025LLMs Lean on Priors, Not Programming Language Semanticscited by 6
  3. 2025Trace Gadgets: Minimizing Code Context for Machine Learning-Based Vulnerability Predictioncited by 5
  4. 2026Debugging code world modelscited by 5
  5. 2026Self-Improvement of Large Language Models: A Technical Overview and Future Outlookcited by 5
  6. 2025ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Groundingcited by 4
  7. 2025Gistify! Codebase-Level Understanding via Runtime Executioncited by 4
  8. 2025DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Informationcited by 3
  9. 2026StepCodeReasoner: Aligning Code Reasoning with Stepwise Execution Traces via Reinforcement Learningcited by 2
  10. 2024Morescient GAI for Software Engineering (Extended Version)cited by 1
  11. 2025Investigating Execution-Aware Language Models for Code Optimizationcited by 1
  12. 2024Knowledge-Guided Prompt Learning for Request Quality Assurance in Public Code Reviewcited by 0
  13. 2025Themisto: Jupyter-Based Runtime Benchmarkcited by 0
  14. 2025Generating Verifiable Chain of Thoughts from Exection-Tracescited by 0
  15. 2026Synthetic Semantic Supervision for Contrastive Code Representation Learning in Small Transformers: An Empirical Studycited by 0