Evaluation of Generalizability of Neural Program Analyzers under Semantic-Preserving Transformations

Md Rafiqul Islam Rabin, Mohammad Amin Alipour
4/15/2020
cs.SEcs.LGcs.PL

Official code: mdrafiqulrabin/tnpa-generalizability (31 stars, Java, MIT, last commit 2022-10-25).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

IST'21 & SANER'22: Semantic-Preserving Program Transformations

317Java, PythonSep 29, 20204 years agoMIT

Similar Papers

Cite this paper

@article{rabin2020evaluation,
  title  = {Evaluation of Generalizability of Neural Program Analyzers under Semantic-Preserving Transformations},
  author = {Md Rafiqul Islam Rabin and Mohammad Amin Alipour},
  year   = {2020},
  eprint = {2004.07313},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.07313}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.07313.svg)](https://codeofpaper.com/paper/2004.07313)

Discussion