NPC: Automated Tool for Detecting and Explaining ChatGPT-Generated Programs
| dc.contributor.author | Saeheng P. | |
| dc.contributor.author | Boongaree N. | |
| dc.contributor.author | Sriwilailak C. | |
| dc.contributor.author | Ragkhitwetsagul C. | |
| dc.contributor.author | Racharak T. | |
| dc.contributor.author | Chuangsuwanich E. | |
| dc.contributor.correspondence | Saeheng P. | |
| dc.contributor.other | Mahidol University | |
| dc.date.accessioned | 2026-06-20T18:17:51Z | |
| dc.date.available | 2026-06-20T18:17:51Z | |
| dc.date.issued | 2026-01-01 | |
| dc.description.abstract | The 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.citation | International Conference on Agents and Artificial Intelligence Vol.5 (2026) , 4714-4719 | |
| dc.identifier.doi | 10.5220/0014485500004052 | |
| dc.identifier.eissn | 2184433X | |
| dc.identifier.issn | 21843589 | |
| dc.identifier.scopus | 2-s2.0-105041708415 | |
| dc.identifier.uri | https://repository.li.mahidol.ac.th/handle/123456789/117422 | |
| dc.rights.holder | SCOPUS | |
| dc.subject | Computer Science | |
| dc.title | NPC: Automated Tool for Detecting and Explaining ChatGPT-Generated Programs | |
| dc.type | Conference Paper | |
| mu.datasource.scopus | https://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=105041708415&origin=inward | |
| oaire.citation.endPage | 4719 | |
| oaire.citation.startPage | 4714 | |
| oaire.citation.title | International Conference on Agents and Artificial Intelligence | |
| oaire.citation.volume | 5 | |
| oairecerif.author.affiliation | Tohoku University | |
| oairecerif.author.affiliation | Mahidol University | |
| oairecerif.author.affiliation | Chulalongkorn University |
