NPC: Automated Tool for Detecting and Explaining ChatGPT-Generated Programs

dc.contributor.authorSaeheng P.
dc.contributor.authorBoongaree N.
dc.contributor.authorSriwilailak C.
dc.contributor.authorRagkhitwetsagul C.
dc.contributor.authorRacharak T.
dc.contributor.authorChuangsuwanich E.
dc.contributor.correspondenceSaeheng P.
dc.contributor.otherMahidol University
dc.date.accessioned2026-06-20T18:17:51Z
dc.date.available2026-06-20T18:17:51Z
dc.date.issued2026-01-01
dc.description.abstractThe adoption of Large Language Models (LLMs) is rising in programming education, which raises concerns regarding academic dishonesty and a lack of trustworthiness in students’ programming submissions. There are recent automated techniques and tools for classifying submitted code as generated by LLMs or created by students. However, they lack an explanation of their decision, which educators often require to make informed decisions. This paper presents NPC, an approach for detecting and explaining code snippets generated by ChatGPT, employing machine learning and our proposed local neighborhood sampling strategy to build post-hoc explainability in artificial intelligence (AI). We develop our approach as a web application that not only detects ChatGPT-generated code but also provides educators with explanations in an easy-tounderstand format for each classification. The evaluation found that the explanations were clear and helpful, reinforcing the tool’s potential to support academic integrity in programming education. The video demonstration of the tool is available at https://bit.ly/ase25-npc-demo. The tool’s source code is publicly available at https://github.com/pachanitha/NPC Project.
dc.identifier.citationInternational Conference on Agents and Artificial Intelligence Vol.5 (2026) , 4714-4719
dc.identifier.doi10.5220/0014485500004052
dc.identifier.eissn2184433X
dc.identifier.issn21843589
dc.identifier.scopus2-s2.0-105041708415
dc.identifier.urihttps://repository.li.mahidol.ac.th/handle/123456789/117422
dc.rights.holderSCOPUS
dc.subjectComputer Science
dc.titleNPC: Automated Tool for Detecting and Explaining ChatGPT-Generated Programs
dc.typeConference Paper
mu.datasource.scopushttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=105041708415&origin=inward
oaire.citation.endPage4719
oaire.citation.startPage4714
oaire.citation.titleInternational Conference on Agents and Artificial Intelligence
oaire.citation.volume5
oairecerif.author.affiliationTohoku University
oairecerif.author.affiliationMahidol University
oairecerif.author.affiliationChulalongkorn University

Files

Collections