Evaluation of Generalizability of Neural Program Analyzers under Semantic-Preserving Transformations
Not on the map. Why?
Abstract (arXiv)
The abundance of publicly available source code repositories, in conjunction with the advances in neural networks, has enabled data-driven approaches to program analysis. These approaches, called neural program analyzers, use neural networks to extract patterns in the programs for tasks ranging from development productivity to program reasoning. Despite the growing popularity of neural program analyzers, the extent to which their results are generalizable is unknown. In this paper, we perform a large-scale evaluation of the generalizability of two popular neural program analyzers using seven semantically-equivalent transformations of programs. Our results caution that in many cases the neural program analyzers fail to generalize well, sometimes to programs with negligible textual differences. The results provide the initial stepping stones for quantifying robustness in neural program analyzers.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 3; 2023: 2; 2024: 0; 2025: 1.
9 papers.
- 2021Generating Adversarial Computer Programs using Optimized Obfuscationscited by 22
- 2021Understanding Neural Code Intelligence Through Program Simplificationcited by 22
- 2021Memorization and Generalization in Neural Code Intelligence Modelscited by 19
- 2022Syntax-Guided Program Reduction for Understanding Neural Code Intelligence Modelscited by 7
- 2022CLAWSAT: Towards Both Robust and Accurate Code Modelscited by 2
- 2023Study of Distractors in Neural Models of Codecited by 2
- 2023Coarse-Tuning Models of Code with Reinforcement Learning Feedbackcited by 2
- 2025Assessing Code Understanding in LLMscited by 2
- 2022Extracting Label-specific Key Input Features for Neural Code Intelligence Modelscited by 0
- 2025Assessing Code Understanding in LLMs31 Mar 2025
- 2023Coarse-Tuning Models of Code with Reinforcement Learning Feedback25 May 2023
- 2023Study of Distractors in Neural Models of Code3 Mar 2023
- 2022CLAWSAT: Towards Both Robust and Accurate Code Models21 Nov 2022
- 2022Syntax-Guided Program Reduction for Understanding Neural Code Intelligence Models28 May 2022
- 2022Extracting Label-specific Key Input Features for Neural Code Intelligence Models14 Feb 2022
- 2021Memorization and Generalization in Neural Code Intelligence Models16 Jun 2021
- 2021Understanding Neural Code Intelligence Through Program Simplification7 Jun 2021
- 2021Generating Adversarial Computer Programs using Optimized Obfuscations18 Mar 2021