Learning Scalable and Precise Representation of Program Semantics
Not on the map. Why?
Abstract (arXiv)
Neural program embedding has shown potential in aiding the analysis of large-scale, complicated software. Newly proposed deep neural architectures pride themselves on learning program semantics rather than superficial syntactic features. However, by considering the source code only, the vast majority of neural networks do not capture a deep, precise representation of program semantics. In this paper, we present dypro, a novel deep neural network that learns from program execution traces. Compared to the prior dynamic models, not only is dypro capable of generalizing across multiple executions for learning a program's dynamic semantics in its entirety, but dypro is also more efficient when dealing with programs yielding long execution traces. For evaluation, we task dypro with semantic classification (i.e. categorizing programs based on their semantics) and compared it against two prominent static models: Gated Graph Neural Network and TreeLSTM. We find that dypro achieves the highest prediction accuracy among all models. To further reveal the capacity of all aforementioned deep neural architectures, we examine if the models can learn to detect deeper semantic properties of a program. In particular given a task of recognizing loop invariants, we show dypro beats all static models by a wide margin.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 3; 2023: 1; 2024: 0; 2025: 1; 2026: 1.
6 papers.
- 2022Assemble Foundation Models for Automatic Code Summarizationcited by 17
- 2023Blockchain Large Language Modelscited by 17
- 2022Multi-View Graph Representation for Programming Language Processing: An Investigation into Algorithm Detectioncited by 6
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
- 2025ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Groundingcited by 4
- 2026Complexity-based code embeddingscited by 0
- 2026Complexity-based code embeddings1 Jan 2026
- 2025ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding27 Mar 2025
- 2023Blockchain Large Language Models25 Apr 2023
- 2022A Survey of Deep Learning Models for Structural Code Understanding3 May 2022
- 2022Multi-View Graph Representation for Programming Language Processing: An Investigation into Algorithm Detection25 Feb 2022
- 2022Assemble Foundation Models for Automatic Code Summarization13 Jan 2022