This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessArticle
Memory-Augmented Large Language Model for Enhanced Chatbot Services in University Learning Management Systems
by
Jaeseung Lee
Jaeseung Lee 1
and
Jehyeok Rew
Jehyeok Rew 2,*
1
School of Electrical Engineering, Korea University, Seoul 02841, Republic of Korea
2
Department of Data Science, Duksung Women’s University, Seoul 01370, Republic of Korea
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(17), 9775; https://doi.org/10.3390/app15179775 (registering DOI)
Submission received: 13 July 2025
/
Revised: 25 August 2025
/
Accepted: 4 September 2025
/
Published: 5 September 2025
Abstract
A learning management system (LMS) plays a crucial role in supporting students’ educational activities by centralized platforms for course delivery, communication, and student support. Recently, many universities have integrated chatbots into their LMS to assist students with various inquiries and tasks. However, existing chatbots often necessitate human interventions to manually respond to complex queries, resulting in limited scalability and efficiency. In this paper, we present a memory-augmented large language model (LLM) framework that enhances the reasoning and contextual continuity of LMS-based chatbots. The proposed framework first embeds user queries and retrieves semantically relevant entries from various LMS resources, including instructional documents and academic frequently asked questions. Retrieved entries are then filtered through a two-stage confidence filtering process that combines similarity thresholds and LLM-based semantic validation. Validated information, along with user queries, is processed by LLM for response generation. To maintain coherence in multi-turn interactions, the chatbot incorporates short-term, long-term, and temporal event memories, which track conversational flow and personalize responses based on user-specific information, such as recent activity history and individual preferences. To evaluate response quality, we employed a multi-layered evaluation strategy combining BERTScore-based quantitative measurement, an LLM-as-a-Judge approach for automated semantic assessment, and a user study under multi-turn scenarios. The evaluation results consistently confirm that the proposed framework improves the consistency, clarity, and usefulness of the responses. These findings highlight the potential of memory-augmented LLMs for scalable and intelligent learning support within university environments.
Share and Cite
MDPI and ACS Style
Lee, J.; Rew, J.
Memory-Augmented Large Language Model for Enhanced Chatbot Services in University Learning Management Systems. Appl. Sci. 2025, 15, 9775.
https://doi.org/10.3390/app15179775
AMA Style
Lee J, Rew J.
Memory-Augmented Large Language Model for Enhanced Chatbot Services in University Learning Management Systems. Applied Sciences. 2025; 15(17):9775.
https://doi.org/10.3390/app15179775
Chicago/Turabian Style
Lee, Jaeseung, and Jehyeok Rew.
2025. "Memory-Augmented Large Language Model for Enhanced Chatbot Services in University Learning Management Systems" Applied Sciences 15, no. 17: 9775.
https://doi.org/10.3390/app15179775
APA Style
Lee, J., & Rew, J.
(2025). Memory-Augmented Large Language Model for Enhanced Chatbot Services in University Learning Management Systems. Applied Sciences, 15(17), 9775.
https://doi.org/10.3390/app15179775
Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details
here.
Article Metrics
Article metric data becomes available approximately 24 hours after publication online.