COSET: A Benchmark for Evaluating Neural Program Embeddings
Not on the map. Why?
Abstract (arXiv)
Neural program embedding can be helpful in analyzing large software, a task that is challenging for traditional logic-based program analyses due to their limited scalability. A key focus of recent machine-learning advances in this area is on modeling program semantics instead of just syntax. Unfortunately evaluating such advances is not obvious, as program semantics does not lend itself to straightforward metrics. In this paper, we introduce a benchmarking framework called COSET for standardizing the evaluation of neural program embeddings. COSET consists of a diverse dataset of programs in source-code format, labeled by human experts according to a number of program properties of interest. A point of novelty is a suite of program transformations included in COSET. These transformations when applied to the base dataset can simulate natural changes to program code due to optimization and refactoring and can serve as a "debugging" tool for classification mistakes. We conducted a pilot study on four prominent models: TreeLSTM, gated graph neural network (GGNN), AST-Path neural network (APNN), and DYPRO. We found that COSET is useful in identifying the strengths and limitations of each model and in pinpointing specific syntactic and semantic characteristics of programs that pose challenges.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). First posted on arXiv 27 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 3; 2023: 3.
10 papers.
- 2022The Stack: 3 TB of permissively licensed source codecited by 359
- 2021Generating Adversarial Computer Programs using Optimized Obfuscationscited by 22
- 2021Memorization and Generalization in Neural Code Intelligence Modelscited by 19
- 2021VarCLR: Variable Semantic Representation Pre-training via Contrastive Learningcited by 11
- 2021Towards Making Deep Learning-based Vulnerability Detectors Robustcited by 4
- 2022CLAWSAT: Towards Both Robust and Accurate Code Modelscited by 2
- 2022JEMMA: An Extensible Java Dataset for ML4Code Applicationscited by 2
- 2023Study of Distractors in Neural Models of Codecited by 2
- 2023Coarse-Tuning Models of Code with Reinforcement Learning Feedbackcited by 2
- 2023Demystifying What Code Summarization Models Learnedcited by 0
- 2023Coarse-Tuning Models of Code with Reinforcement Learning Feedback25 May 2023
- 2023Demystifying What Code Summarization Models Learned4 Mar 2023
- 2023Study of Distractors in Neural Models of Code3 Mar 2023
- 2022JEMMA: An Extensible Java Dataset for ML4Code Applications18 Dec 2022
- 2022CLAWSAT: Towards Both Robust and Accurate Code Models21 Nov 2022
- 2022The Stack: 3 TB of permissively licensed source code20 Nov 2022
- 2021VarCLR: Variable Semantic Representation Pre-training via Contrastive Learning5 Dec 2021
- 2021Towards Making Deep Learning-based Vulnerability Detectors Robust2 Aug 2021
- 2021Memorization and Generalization in Neural Code Intelligence Models16 Jun 2021
- 2021Generating Adversarial Computer Programs using Optimized Obfuscations18 Mar 2021