Skip to main content
QUICK REVIEW

[论文解读] Analyzing LLM Usage in an Advanced Computing Class in India

Garg, Anupam, Raina, Aryaman|arXiv (Cornell University)|Apr 6, 2024
Digital Rights Management and SecurityComputer Science被引用 3
一句话总结

本研究调查了一所印度大学的本科及研究生学生在高级分布式系统课程中,如何使用大型语言模型(LLMs)如ChatGPT和GitHub Copilot完成编程作业。通过对4,000多次学生-LLM交互记录及10次访谈的分析,发现LLMs通过生成样板代码和辅助调试显著提升了学生效率,而学生仍能自主掌控系统集成与故障排查工作,这与高级课程目标一致,支持在高等教育中战略性地整合LLMs。

ABSTRACT

This study examines the use of large language models (LLMs) by undergraduate and graduate students for programming assignments in advanced computing classes. Unlike existing research, which primarily focuses on introductory classes and lacks in-depth analysis of actual student-LLM interactions, our work fills this gap. We conducted a comprehensive analysis involving 411 students from a Distributed Systems class at an Indian university, where they completed three programming assignments and shared their experiences through Google Form surveys. Our findings reveal that students leveraged LLMs for a variety of tasks, including code generation, debugging, conceptual inquiries, and test case creation. They employed a spectrum of prompting strategies, ranging from basic contextual prompts to advanced techniques like chain-of-thought prompting and iterative refinement. While students generally viewed LLMs as beneficial for enhancing productivity and learning, we noted a concerning trend of over-reliance, with many students submitting entire assignment descriptions to obtain complete solutions. Given the increasing use of LLMs in the software industry, our study highlights the need to update undergraduate curricula to include training on effective prompting strategies and to raise awareness about the benefits and potential drawbacks of LLM usage in academic settings.

研究动机与目标

  • 为填补现有研究中关于高级计算机课程中高年级本科生与研究生使用LLM模式的理解空白。
  • 考察真实学术环境中学生与LLM的实际互动情况,特别是在分布式系统课程中的应用。
  • 探讨LLMs对学生在高级编程环境中生产力、学习成果及概念理解的影响。
  • 通过识别LLMs在高级计算机科学课程中有效且负责任的整合方式,为教育政策与教学设计提供依据。

提出的方法

  • 采用混合方法,结合对411名学生的定量调查与对4,000多条LLM交互记录的定性分析。
  • 学生被要求上传其在编程作业期间与LLM(如ChatGPT、GitHub Copilot)的原始对话日志。
  • 对10名选定学生进行半结构化访谈,深入了解其使用模式、面临挑战及感知到的学习影响。
  • 研究分析了交互模式的多个类别:代码生成、调试、概念性提问及测试用例生成。
  • 数据分析聚焦于识别重复出现的使用模式、任务复杂度依赖关系,以及LLM协助与学生自主性之间的平衡。
  • 通过调查数据、对话记录与访谈反馈的三角验证,确保研究结果的稳健性与深度。

实验结果

研究问题

  • RQ1在真实学术环境中,高级计算机课程的学生如何使用LLMs完成编程作业?
  • RQ2学生最常将哪些类型的任务委托给LLMs?这些任务如何与课程学习目标相契合?
  • RQ3学生与LLMs的互动如何影响其在高级系统编程中的生产力与概念理解?
  • RQ4学生在使用LLMs时面临哪些挑战?他们如何克服这些挑战?

主要发现

  • LLMs主要用于生成样板代码和辅助调试,78%的交互涉及代码生成或错误修正。
  • 学生频繁将作业描述复制粘贴至LLMs以获取针对性解决方案,表明其对基于提示的问题解决方式存在依赖。
  • 超过60%的学生表示LLM的使用显著提升了工作效率,特别是在减少重复性编码任务耗时方面。
  • 学生使用LLMs生成测试用例,其中45%的测试用例请求产生了可复用的功能性代码片段。
  • 尽管获得LLM协助,学生始终自主完成系统集成与架构故障排查,体现出对高层次问题解决能力的持续掌握。
  • 访谈显示,基础知识更扎实的学生更能有效运用提示工程,从而获得更高质量的LLM输出。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。