mlsanityData to 14 Oct 2026

The "code'' of Ethics:A Holistic Audit of AI Code Generators

arXiv 2305.12747 ↗First posted 22 May 2023cs.CRcited by 4

Not on the map. Why?

Abstract (arXiv)

AI-powered programming language generation (PLG) models have gained increasing attention due to their ability to generate source code of programs in a few seconds with a plain program description. Despite their remarkable performance, many concerns are raised over the potential risks of their development and deployment, such as legal issues of copyright infringement induced by training usage of licensed code, and malicious consequences due to the unregulated use of these models. In this paper, we present the first-of-its-kind study to systematically investigate the accountability of PLG models from the perspectives of both model development and deployment. In particular, we develop a holistic framework not only to audit the training data usage of PLG models, but also to identify neural code generated by PLG models as well as determine its attribution to a source model. To this end, we propose using membership inference to audit whether a code snippet used is in the PLG model's training data. In addition, we propose a learning-based method to distinguish between human-written code and neural code. In neural code attribution, through both empirical and theoretical analysis, we show that it is impossible to reliably attribute the generation of one code snippet to one model. We then propose two feasible alternative methods: one is to attribute one neural code snippet to one of the candidate PLG models, and the other is to verify whether a set of neural code snippets can be attributed to a given PLG model. The proposed framework thoroughly examines the accountability of PLG models which are verified by extensive experiments. The implementations of our proposed framework are also encapsulated into a new artifact, named CodeForensic, to foster further research.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 22 May 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 1; 2026: 1.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025CodeMirage: A Multi-Lingual Benchmark for Detecting AI-Generated and Paraphrased Source Code from Production-Level LLMs
  2. 2024Trained Without My Consent: Detecting Code Inclusion In Language Models Trained on Code
  3. 2025Uncovering Pretraining Code in LLMs: A Syntax-Aware Attribution Approach
  4. 2022Aligning Offline Metrics and Human Judgments of Value for Code Generation Models
  5. 2026More Code, Less Reuse: Investigating Code Quality and Reviewer Sentiment towards AI-generated Pull Requests
  6. 2026Measuring and Mitigating Bias in Code Generated by Large Language Models
  7. 2025Improving Automated Secure Code Reviews: A Synthetic Dataset for Code Vulnerability Flaws
  8. 2026When AI Reviews Its Own Code: Recursive Self-Training Collapse in Code LLMs