arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.28882cs.HCcs.AI
收藏

探索多样化LLM解释在入门编程中的价值

Exploring the Value of Diverse LLM Explanations in Introductory Programming

Temple University(Temple大学);University of Auckland(奥克兰大学);Aalto University(阿尔托大学)

Seth Bernstein, Paul Denny, Juho Leinonen, Kush Patel, Rayhona Nasimova, Matt Littlefield, Stephen MacNeil

AI总结:

研究通过对比多样化与通用LLM生成解释对编程学习的影响,发现多样化解释使开放题准确率提高约7.7%,且不增加认知负荷。

摘要:

大型语言模型(LLM)已显示出生成质量超越同伴的代码解释的潜力,为计算机科学教育提供了有希望的机会。虽然这些解释可能尚未达到教师提供解释的深度和清晰度,但计算创造力领域的研究强调,想法的数量和多样性往往能超越单一对质量的关注。受此启发,我们探索了与不强调不同概念方面的通用解释相比,结合多个强调不同方面(如功能、概念、目标)的多样化解释是否能增强学生对编程练习的理解。在我们的研究中,971名一年级计算机专业学生被随机分配接受针对两个编程练习的多样化或通用LLM生成解释。学生完成每个练习的多项选择和开放式问题,随后是李克特量表问题和开放式反思。我们的发现概述了两种解释条件下学生表现和感知认知负荷的模式。这些发现强调了解释重点的变化如何可能与学习者的参与和理解相关。在所有参与者中,当学生接受多样化解释时,开放式回答的准确率持续高出约7.7%,而感知认知负荷没有差异。

英文摘要:

Large Language Models (LLMs) have shown the potential to generate code explanations that surpass those of peers in quality, offering promising opportunities for computer science education. While these explanations may not yet match the depth and clarity of instructor-provided explanations, research in computational creativity highlights that the quantity and diversity of ideas can often outweigh a singular focus on quality. Inspired by this, we explore whether combining multiple diverse explanations, each emphasizing distinct aspects (e.g., function, concept, goal), can enhance students' understanding of programming exercises compared to generic explanations that do not emphasize distinct conceptual aspects. In our study 971 first-year computing students were randomly assigned either diverse or generic LLM-generated explanations for two programming exercises. Students completed multiple-choice and open-ended questions for each exercise, followed by Likert-scale questions and open-ended reflections. Our findings outline patterns in student performance and perceived cognitive load across the two explanation conditions. These findings highlight how variation in explanation emphasis may relate to learner engagement and understanding. Across participants, open-ended response accuracy was consistently about 7.7% higher when students received diverse explanations, with no difference in perceived cognitive load.

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

↑