Towards effective teaching assistants: From intent-based chatbots to LLM-powered teaching assistants

Bashaer Alsafari , Eric Atwell , Aisha Walker , Martin Callaghan
{"title":"Towards effective teaching assistants: From intent-based chatbots to LLM-powered teaching assistants","authors":"Bashaer Alsafari ,&nbsp;Eric Atwell ,&nbsp;Aisha Walker ,&nbsp;Martin Callaghan","doi":"10.1016/j.nlp.2024.100101","DOIUrl":null,"url":null,"abstract":"<div><p>As chatbot technology undergoes a transformative phase in the era of artificial intelligence (AI), the integration of advanced AI models emerges as a focal point for reshaping conversational agents within the education sector. This paper explores the evolution of educational chatbot development, specifically focusing on building a teaching assistant for Data Mining and Text Analytics courses at the University of Leeds. The primary objective is to investigate and compare traditional intent-based chatbot approaches with the advanced retrieval-augmented generation (RAG) method, aiming to improve the efficiency and adaptability of teaching assistants in higher education. The study begins with the development of an Amazon Alexa teaching skill, assessing the efficacy of traditional chatbot development in higher education. To enrich the chatbot knowledge base, the research then employs an automated question–answer generation (QAG) approach using the QG Lumos Learning tool to extract contextually grounded question–answer datasets from course materials. Subsequently, the RAG-based system is proposed, leveraging LangChain with the OpenAI GPT-3.5 Turbo model. Findings highlight limitations in intent-based approaches, emphasising the need for more adaptive solutions. The proposed RAG-based teaching assistant demonstrates significant improvements in efficiently handling diverse queries, representing a paradigm shift in educational chatbot capabilities. These findings provide an in-depth understanding of the development phase, specifically illustrating the impact on chatbot performance by contrasting traditional methods with large language model-based approaches. The study contributes valuable perspectives on enhancing adaptability and effectiveness in AI-powered educational tools, providing essential considerations for future developments in the field.</p></div>","PeriodicalId":100944,"journal":{"name":"Natural Language Processing Journal","volume":"8 ","pages":"Article 100101"},"PeriodicalIF":0.0000,"publicationDate":"2024-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2949719124000499/pdfft?md5=7de3208cd4d6adf93098711dcb0bb283&pid=1-s2.0-S2949719124000499-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Natural Language Processing Journal","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2949719124000499","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

As chatbot technology undergoes a transformative phase in the era of artificial intelligence (AI), the integration of advanced AI models emerges as a focal point for reshaping conversational agents within the education sector. This paper explores the evolution of educational chatbot development, specifically focusing on building a teaching assistant for Data Mining and Text Analytics courses at the University of Leeds. The primary objective is to investigate and compare traditional intent-based chatbot approaches with the advanced retrieval-augmented generation (RAG) method, aiming to improve the efficiency and adaptability of teaching assistants in higher education. The study begins with the development of an Amazon Alexa teaching skill, assessing the efficacy of traditional chatbot development in higher education. To enrich the chatbot knowledge base, the research then employs an automated question–answer generation (QAG) approach using the QG Lumos Learning tool to extract contextually grounded question–answer datasets from course materials. Subsequently, the RAG-based system is proposed, leveraging LangChain with the OpenAI GPT-3.5 Turbo model. Findings highlight limitations in intent-based approaches, emphasising the need for more adaptive solutions. The proposed RAG-based teaching assistant demonstrates significant improvements in efficiently handling diverse queries, representing a paradigm shift in educational chatbot capabilities. These findings provide an in-depth understanding of the development phase, specifically illustrating the impact on chatbot performance by contrasting traditional methods with large language model-based approaches. The study contributes valuable perspectives on enhancing adaptability and effectiveness in AI-powered educational tools, providing essential considerations for future developments in the field.

实现有效的教学助手:从基于意图的聊天机器人到 LLM 驱动的教学助手
在人工智能(AI)时代,聊天机器人技术经历了一个转型阶段,整合先进的人工智能模型成为重塑教育领域对话代理的焦点。本文探讨了教育聊天机器人开发的演变过程,特别是利兹大学数据挖掘和文本分析课程教学助手的开发过程。主要目的是研究和比较传统的基于意图的聊天机器人方法和先进的检索增强生成(RAG)方法,旨在提高高等教育中教学助手的效率和适应性。研究从开发亚马逊 Alexa 教学技能开始,评估传统聊天机器人开发在高等教育中的功效。为了丰富聊天机器人的知识库,研究采用了一种自动问题解答生成(QAG)方法,使用 QG Lumos 学习工具从课程材料中提取基于上下文的问题解答数据集。随后,利用 LangChain 和 OpenAI GPT-3.5 Turbo 模型,提出了基于 RAG 的系统。研究结果凸显了基于意图的方法的局限性,强调了对更具适应性的解决方案的需求。所提出的基于 RAG 的教学助手在有效处理各种查询方面有显著改进,代表了教育聊天机器人能力的范式转变。这些研究结果提供了对开发阶段的深入理解,通过对比传统方法和基于大型语言模型的方法,特别说明了对聊天机器人性能的影响。这项研究为提高人工智能教育工具的适应性和有效性提供了宝贵的视角,为该领域的未来发展提供了重要的考虑因素。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信