Assessing AI Detectors in Identifying AI-Generated Code: Implications for Education
Open Access
- 14 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-11
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.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- Education in the Era of Generative Artificial Intelligence (AI): Understanding the Potential Benefits of ChatGPT in Promoting Teaching and LearningJournal of AI, 2023
- Generative Artificial Intelligence: Implications and Considerations for Higher Education PracticeEducation Sciences, 2023
- Shaping the Future of Education: Exploring the Potential and Consequences of AI and ChatGPT in Educational SettingsEducation Sciences, 2023
- Detecting AI content in responses generated by ChatGPT, YouChat, and Chatsonic: The case of five AI content detection toolsJournal of Applied Learning & Teaching, 2023
- ChatGPT and the rise of generative AI: Threat to academic integrity?Journal of Responsible Technology, 2023
- Assessment in the age of artificial intelligenceComputers and Education: Artificial Intelligence, 2022
- Abstraction in Computer Science Education: An OverviewInformatics in Education, 2021
- Classification Model Evaluation MetricsInternational Journal of Advanced Computer Science and Applications, 2021
- A vulnerability analysis: Theorising the impact of artificial intelligence decision-making processes on individuals, society and human diversity from a social justice perspectiveComputer Law & Security Review, 2020
- GLTR: Statistical Detection and Visualization of Generated Text2019