arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.03926cs.AIcs.CYcs.HCcs.MA
收藏

CODE-GEN:一种基于检索增强生成的多选题生成人机协作人工智能系统

CODE-GEN: A Human-in-the-Loop RAG-Based Agentic AI System for Multiple-Choice Question Generation

University of Notre Dame(圣母大学)

Xiaojing Duan, Frederick Nwanganga, Chaoli Wang

AI总结:

CODE-GEN通过生成与课程目标一致的多选题提升学生代码推理能力,采用生成器和验证器代理,结合专用工具提高准确性,评估结果显示系统在七个教学维度上表现优异,但人类专家仍需参与设计教学性干扰项和反馈质量。

摘要:

我们提出了CODE-GEN,一种人机协作的检索增强生成(RAG)基人工智能系统,用于生成与课程特定学习目标对齐的多选题,以开发学生代码推理和理解能力。CODE-GEN采用一种代理人工智能架构,其中生成器代理生成与课程特定学习目标对齐的多选题,而验证器代理独立评估内容质量在七个教学维度上。两个代理都配备了专门的工具,以提高计算精度并验证代码输出。为了评估CODE-GEN的有效性,我们进行了涉及六名人类领域专家(SMEs)的评估研究,他们判断了288个AI生成的问题。SMEs总共产生了2,016对人类-AI评分对,表明同意或不同意验证器的评估,以及131个定性反馈实例。SME判断的分析显示系统表现强劲,人类验证的成功率在七个教学维度上从79.9%到98.6%不等。对定性反馈的分析显示,CODE-GEN在适合计算验证和明确标准匹配的维度上具有高可靠性,包括问题清晰度、代码有效性、概念对齐和正确答案有效性。相比之下,人类专业知识仍对需要更深入教学判断的维度至关重要,例如设计教学意义的干扰项和提供高质量的反馈以加强理解。这些发现指导了在AI辅助教育内容生成中人类和AI努力的战略分配。

英文摘要:

We present CODE-GEN, a human-in-the-Loop, retrieval-augmented generation (RAG)-based agentic AI system for generating context-aligned multiple-choice questions to develop student code reasoning and comprehension abilities. CODE-GEN employs an agentic AI architecture in which a Generator agent produces multiple-choice coding comprehension questions aligned with course-specific learning objectives, while a Validator agent independently assesses content quality across seven pedagogical dimensions. Both agents are augmented with specialized tools that enhance computational accuracy and verify code outputs. To evaluate the effectiveness of CODE-GEN, we conducted an evaluation study involving six human subject-matter experts (SMEs) who judged 288 AI-generated questions. The SMEs produced a total of 2,016 human-AI rating pairs, indicating agreement or disagreement with the assessments of Validator, along with 131 instances of qualitative feedback. Analyses of SME judgments show strong system performance, with human-validated success rates ranging from 79.9% to 98.6% across the seven pedagogical dimensions. The analysis of qualitative feedback reveals that CODE-GEN achieves high reliability on dimensions well suited to computational verification and explicit criteria matching, including question clarity, code validity, concept alignment, and correct answer validity. In contrast, human expertise remains essential for dimensions requiring deeper instructional judgment, such as designing pedagogically meaningful distractors and providing high-quality feedback that reinforces understanding. These findings inform the strategic allocation of human and AI effort in AI-assisted educational content generation.

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

↑