paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Assessing AI Detectors in Identifying AI-Generated Code: Implications for Education

评估AI检测器在识别AI生成代码方面的能力:对教育的影响
ICSE Proceedings of the 46th International Conference on Software Engineering: Software Engineering Education and Training2024匹配度 2/10 · 该论文研究AIGC检测器识别ChatGPT生成代码的能力,主题聚焦编程教育中的学术诚信与检测器评估,与用户关注的静态分析、Agentic程序分析、LLM改进静态分析/形式化验证、浮点或贝叶斯程序分析等核心方向基本无关。虽然涉及代码和机器学习,但并未触及程序语言与AI交叉中的分析、验证或Agent系统。引用 72 inbox
Wei Hung Pan, Ming Jie Chok, Jonathan Leong Shan Wong, Yung Xin Shin, Yeong Shian Poon, Zhou Yang, Chun Yong Chong, David Lo, Mei Kuan Lim
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:基于5069个Python编程题样本与13种提示变体,实证发现现有AIGC检测器难以区分人类与ChatGPT生成的代码。

教育者日益担忧ChatGPT等大语言模型在编程教育中被滥用,尤其是学生可能利用AIGC检测器的缺陷实施学术不端。本文开展实证研究,考察LLM能否绕过AIGC检测器。作者构建了一个包含5069个样本的数据集,每个样本由编程问题的文本描述和对应的人类编写Python解答组成,样本来源包括Quescol(80)、Kaggle(3264)和LeetCode(1725)。基于该数据集,作者设计了13组代码问题变体提示,用于指示ChatGPT生成代码输出。随后,作者评估了五种AIGC检测器的性能。结果表明,现有AIGC检测器在区分人类编写代码与AI生成代码方面表现不佳。该研究揭示了当前检测工具在编程教育场景中的局限性,并为教育者、工具开发者和政策制定者提供了警示。

问题
在编程教育中,LLM生成代码可能被用于学术不端,因此需要评估AIGC检测器能否可靠区分人类编写代码与AI生成代码。
方法
构建包含5069个编程问题描述与人类Python解答的样本集,设计13组问题变体提示让ChatGPT生成代码,并使用五种AIGC检测器进行判别评估。
评估
在自建数据集上比较五种AIGC检测器的判别表现,结果显示它们在区分人类与AI生成代码方面普遍表现较差。
原文摘要(Abstract)

Educators are increasingly concerned about the usage of Large Language Models (LLMs) such as ChatGPT in programming education, particularly regarding the potential exploitation of imperfections in Artificial Intelligence Generated Content (AIGC) Detectors for academic misconduct. In this paper, we present an empirical study where the LLM is examined for its attempts to bypass detection by AIGC Detectors. This is achieved by generating code in response to a given question using different variants. We collected a dataset comprising 5,069 samples, with each sample consisting of a textual description of a coding problem and its corresponding human-written Python solution codes. These samples were obtained from various sources, including 80 from Quescol, 3,264 from Kaggle, and 1,725 from Leet-Code. From the dataset, we created 13 sets of code problem variant prompts, which were used to instruct ChatGPT to generate the outputs. Subsequently, we assessed the performance of five AIGC detectors. Our results demonstrate that existing AIGC Detectors perform poorly in distinguishing between human-written code and AI-generated code.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{PanCWSP0C0L24,
  title = {Assessing AI Detectors in Identifying AI-Generated Code: Implications for Education},
  author = {Wei Hung Pan and Ming Jie Chok and Jonathan Leong Shan Wong and Yung Xin Shin and Yeong Shian Poon and Zhou Yang and Chun Yong Chong and David Lo and Mei Kuan Lim},
  booktitle = {ICSE},
  year = {2024},
  doi = {10.1145/3639474.3640068}
}