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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pan, Wei Hung, Chok, Ming Jie, Wong, Jonathan Leong Shan, Shin, Yung Xin, Poon, Yeong Shian, Yang, Zhou, Chong, Chun Yong, Lo, David, Lim, Mei Kuan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910290051858432
author Pan, Wei Hung
Chok, Ming Jie
Wong, Jonathan Leong Shan
Shin, Yung Xin
Poon, Yeong Shian
Yang, Zhou
Chong, Chun Yong
Lo, David
Lim, Mei Kuan
author_facet Pan, Wei Hung
Chok, Ming Jie
Wong, Jonathan Leong Shan
Shin, Yung Xin
Poon, Yeong Shian
Yang, Zhou
Chong, Chun Yong
Lo, David
Lim, Mei Kuan
contents 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 LeetCode. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2401_03676
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Assessing AI Detectors in Identifying AI-Generated Code: Implications for Education
Pan, Wei Hung
Chok, Ming Jie
Wong, Jonathan Leong Shan
Shin, Yung Xin
Poon, Yeong Shian
Yang, Zhou
Chong, Chun Yong
Lo, David
Lim, Mei Kuan
Software Engineering
Artificial Intelligence
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 LeetCode. 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.
title Assessing AI Detectors in Identifying AI-Generated Code: Implications for Education
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2401.03676