通过对抗扰动阻碍 LLM 辅助的入门编程作业作弊
Impeding LLM-assisted Cheating in Introductory Programming Assignments via Adversarial Perturbation
AI总结:
本文针对入门编程课程中的 LLM 作弊问题,测试了 5 种 LLM 的基线性能,并提出对抗扰动方法,通过用户研究验证该扰动能使代码平均正确性下降 77%,有效阻碍了 LLM 辅助的代码生成。
摘要:
虽然 CoPilot 和 ChatGPT 等基于大型语言模型(LLM)的编程助手能提高专业软件开发者的生产力,但它们也会助长计算机入门编程课程中的作弊行为。假设教师对工业级模型的控制有限,本文研究了 5 种广泛使用的 LLM 在一组入门编程问题上的基线性能,检查了对抗扰动以降低其性能,并描述了一项用户研究的结果,旨在了解此类扰动在阻碍实际代码生成(针对入门编程作业)方面的有效性。用户研究表明:i) 扰动合计将平均正确性得分降低了 77%;ii) 这些扰动导致的正确性下降受其可检测性的影响。
英文摘要:
While Large language model (LLM)-based programming assistants such as CoPilot and ChatGPT can help improve the productivity of professional software developers, they can also facilitate cheating in introductory computer programming courses. Assuming instructors have limited control over the industrial-strength models, this paper investigates the baseline performance of 5 widely used LLMs on a collection of introductory programming problems, examines adversarial perturbations to degrade their performance, and describes the results of a user study aimed at understanding the efficacy of such perturbations in hindering actual code generation for introductory programming assignments. The user study suggests that i) perturbations combinedly reduced the average correctness score by 77%, ii) the drop in correctness caused by these perturbations was affected based on their detectability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。