arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.14534cs.HC
收藏

教AI编程:将大语言模型用作编程教育中的可教智能体

Teach AI How to Code: Using Large Language Models as Teachable Agents for Programming Education

Hyoungwook Jin, Seonghee Lee, Hyungyu Shin, Juho Kim

AI总结:

针对大语言模型作为可教智能体时知识过丰削弱学习者教学意愿的问题,提出限制其知识并引导提问的提示流水线,搭建TeachYou环境与AlgoBo聊天机器人,经技术评估与40名新手实验验证可提升对话知识密度,并探讨相关设计与应用方向。

摘要:

本研究探讨将大语言模型(LLMs)作为可教智能体用于“以教促学(LBT)”的应用。借助可教智能体开展以教促学,能帮助学习者发现自身知识缺口并获取新知识,但传统可教智能体需要耗费大量成本为特定学科知识编程。虽用LLMs作为可教智能体可降低成本,但LLMs作为受教者时知识储备过于丰富,会削弱学习者的教学意愿。为此我们提出一套提示工程流水线,可限制LLMs的知识输出,并引导其主动提出“为什么”和“怎么做”的问题,以实现有效的知识构建。我们将这些技术整合为面向算法学习的以教促学环境TeachYou,以及基于LLM的受教者聊天机器人AlgoBo——它能模拟其知识状态中预设的错误概念与认知盲区。技术评估证实,该提示流水线可有效配置AlgoBo的问题解决表现。通过对40名算法新手开展的组间研究,我们还发现AlgoBo的提问能催生知识密度更高的对话(效应量=0.71)。最后我们讨论了基于LLM的可教智能体的设计启示、成本效益与个性化方向。

英文摘要:

This work investigates large language models (LLMs) as teachable agents for learning by teaching (LBT). LBT with teachable agents helps learners identify knowledge gaps and discover new knowledge. However, teachable agents require expensive programming of subject-specific knowledge. While LLMs as teachable agents can reduce the cost, LLMs' expansive knowledge as tutees discourages learners from teaching. We propose a prompting pipeline that restrains LLMs' knowledge and makes them initiate "why" and "how" questions for effective knowledge-building. We combined these techniques into TeachYou, an LBT environment for algorithm learning, and AlgoBo, an LLM-based tutee chatbot that can simulate misconceptions and unawareness prescribed in its knowledge state. Our technical evaluation confirmed that our prompting pipeline can effectively configure AlgoBo's problem-solving performance. Through a between-subject study with 40 algorithm novices, we also observed that AlgoBo's questions led to knowledge-dense conversations (effect size=0.71). Lastly, we discuss design implications, cost-efficiency, and personalization of LLM-based teachable agents.

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

↑