Skip to main navigation Skip to search Skip to main content

Detecting AI-Generated Pseudocode in High School Online Programming Courses Using an Explainable Approach

Research output: Chapter in book / Conference proceeding › Conference article published in proceeding or book › Academic research › peer-review

Abstract

Despite extensive research on code plagiarism detection in higher education and for programming languages like Java and Python, limited work has focused on K-12 settings, particularly for pseudocode. This study aims to address this gap by building explainable machine learning models for pseudocode plagiarism detection in online programming education. To achieve this, we construct a comprehensive dataset comprising 7,838 pseudocode submissions from 2,578 high school students enrolled in an online programming foundations course, along with 6,300 pseudocode samples generated by three versions of generative pre-trained transformer (GPT) models. Utilizing this dataset, we develop an explainable model to detect AI-generated pseudocode across various assessments. The model not only identifies AI-generated content but also provides insights into its predictions at both the student and problem levels, thus enhancing our understanding of AI-generated pseudocode in K-12 education. Furthermore, we analyzed SHAP values and key features of the model to pinpoint student submissions that closely resemble AI-generated pseudocode. This research offers implications for developing robust educational technologies and methodologies to uphold academic integrity in online programming courses.

Original languageEnglish
Title of host publicationSIGCSE TS 2025 - Proceedings of the 56th ACM Technical Symposium on Computer Science Education
PublisherAssociation for Computing Machinery, Inc
Pages701-707
Number of pages7
ISBN (Electronic)9798400705311
DOIs
Publication statusPublished - 18 Feb 2025
Externally publishedYes
Event56th Annual SIGCSE Technical Symposium on Computer Science Education, SIGCSE TS 2025 - Pittsburgh, United States
Duration: 26 Feb 2025 → 1 Mar 2025

Publication series

NameSIGCSE TS 2025 - Proceedings of the 56th ACM Technical Symposium on Computer Science Education
Volume1

Conference

Conference56th Annual SIGCSE Technical Symposium on Computer Science Education, SIGCSE TS 2025
Country/TerritoryUnited States
CityPittsburgh
Period26/02/25 → 1/03/25

Keywords

  • AI-Generated content
  • Explainable AI
  • GPT model
  • Online programming education
  • Plagiarism detection
  • Pseudocode

ASJC Scopus subject areas

  • Computer Science (miscellaneous)
  • Education

Fingerprint

Dive into the research topics of 'Detecting AI-Generated Pseudocode in High School Online Programming Courses Using an Explainable Approach'. Together they form a unique fingerprint.

Cite this