2023

Unveiling Memorization in Code Models

Yang, Zhou, Zhao, Zhipeng, Wang, Chenyu et al.

Understand

The availability of large-scale datasets, advanced architectures, and powerful computational resources have led to effective code models that automate diverse software engineering activities.

  • The datasets usually consist of billions of lines of code from both open-source and private repositories.
  • A code model memorizes and produces source code verbatim, which potentially contains vulnerabilities, sensitive information, or code with strict licenses, leading to potential security and privacy issues.
  • This paper investigates an important problem: to what extent do code models memorize their training data? We conduct an empirical study to explore memorization in large pre-trained code models.

Reading the bibliography…