arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.05603cs.CYcs.AI
收藏

一种基于知识组件的AI助手评估方法

A Knowledge-Component-Based Methodology for Evaluating AI Assistants

UC Berkeley(加州大学伯克利分校)

Laryn Qi, J. D. Zamfirescu-Pereira, Taehan Kim, Björn Hartmann, John DeNero, Narges Norouzi

AI总结:

本文提出基于知识组件的评估方法,分析GPT-4驱动的CS1编程提示生成器,发现提示能加速学生修复代码、捕捉关键错误,且多问题提示更有效。

摘要:

我们评估了一个由GPT-4(一种大型语言模型)驱动的CS1编程作业自动提示生成器。该系统提供自然语言指导,帮助学生改进其对短编程练习的错误解答。每当学生未能通过测试用例时,都可以请求一次提示。我们的评估涉及三个研究问题:RQ1:这些提示是否帮助学生改进代码?RQ2:这些提示在多大程度上有效捕捉学生代码中的问题?RQ3:学生解决的问题与提示中处理的问题是否相同?为了定量地回答这些研究问题,我们识别了一组细粒度的知识组件,并确定哪些组件适用于每个练习、错误解答和生成的提示。通过比较两个大型CS1课程的数据,我们发现:获得提示有助于学生更快地解决代码中的问题;提示能够持续捕捉学生代码中最紧迫的错误;并且一次处理多个问题而非单一缺陷的提示更有可能直接推动学生取得进展。

英文摘要:

We evaluate an automatic hint generator for CS1 programming assignments powered by GPT-4, a large language model. This system provides natural language guidance about how students can improve their incorrect solutions to short programming exercises. A hint can be requested each time a student fails a test case. Our evaluation addresses three Research Questions: RQ1: Do the hints help students improve their code? RQ2: How effectively do the hints capture problems in student code? RQ3: Are the issues that students resolve the same as the issues addressed in the hints? To address these research questions quantitatively, we identified a set of fine-grained knowledge components and determined which ones apply to each exercise, incorrect solution, and generated hint. Comparing data from two large CS1 offerings, we found that access to the hints helps students to address problems with their code more quickly, that hints are able to consistently capture the most pressing errors in students' code, and that hints that address a few issues at once rather than a single bug are more likely to lead to direct student progress.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑