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

理解学生编写SQL查询时使用大语言模型(LLM)与网络搜索的求助行为差异

Understanding Help-Seeking Behavior of Students Using LLMs vs. Web Search for Writing SQL Queries

University of Toronto(多伦多大学);University of Toronto Mississauga(多伦多大学密西沙加分校)

Harsh Kumar, Mohi Reza, Jeb Mitchell, Ilya Musabirov, Lisa Zhang, Michael Liut

AI总结:

本研究通过数据库课堂随机访谈,对比学生用网络搜索、ChatGPT及教师调优LLM编写SQL查询的求助行为,发现调优LLM交互更多但心理负荷更低,各组查询质量无显著差异,为编程教育工具应用提供参考。

摘要:

大语言模型(LLM)在编程教育中的应用日益广泛,正在改变学生编写SQL查询的方式。传统上,学生严重依赖网络搜索获取编程辅助,但随着ChatGPT等LLM的普及,这一情况已发生转变。然而,针对使用网络搜索与LLM获取编程帮助的过程及结果的对比研究仍显不足。为填补这一空白,我们在数据库课程课堂中开展了一项随机访谈研究,对比网络搜索与两类LLM——公开可用的LLM(ChatGPT)和经教师调优的LLM——在SQL查询编写中的表现。研究结果显示,使用经教师调优的LLM所需的交互次数显著多于ChatGPT和网络搜索,但最终SQL查询的修改次数与二者相近。各组最终SQL查询的质量无显著差异,不过LLM组的查询质量在趋势上更高。此外,使用经教师调优LLM的学生报告的心理负荷更低。这些结果对编程教育中的学习效果与效率提升具有启示意义。

英文摘要:

Growth in the use of large language models (LLMs) in programming education is altering how students write SQL queries. Traditionally, students relied heavily on web search for coding assistance, but this has shifted with the adoption of LLMs like ChatGPT. However, the comparative process and outcomes of using web search versus LLMs for coding help remain underexplored. To address this, we conducted a randomized interview study in a database classroom to compare web search and LLMs, including a publicly available LLM (ChatGPT) and an instructor-tuned LLM, for writing SQL queries. Our findings indicate that using an instructor-tuned LLM required significantly more interactions than both ChatGPT and web search, but resulted in a similar number of edits to the final SQL query. No significant differences were found in the quality of the final SQL queries between conditions, although the LLM conditions directionally showed higher query quality. Furthermore, students using instructor-tuned LLM reported a lower mental demand. These results have implications for learning and productivity in programming education.

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

↑