TutorLLM: Customizing Learning Recommendations with Knowledge Tracing and Retrieval-Augmented Generation

Zhaoxing Li, Vahid Yazdanpanah, Jindi Wang, Wen Gu, Lei Shi, Alexandra I. Cristea, Sarah Kiden, Sebastian SteinarXiv 2025

TL;DR

TutorLLM is a novel framework that bridges the gap between the conversational flexibility of Large Language Models (LLMs) and the personalized precision of Knowledge Tracing (KT). By integrating a BERT-based knowledge tracing model with Retrieval-Augmented Generation (RAG), the system provides context-aware, student-specific learning recommendations that resulted in a 10% boost in user satisfaction and a 36% increase in engagement time.

What Problem Does This Paper Address?

While LLMs like ChatGPT have become popular study aids, they suffer from two major flaws in an educational context: hallucinations (generating plausible but incorrect information) and a lack of personalization. A general LLM doesn't know a student's specific background, what they’ve already mastered, or where they are struggling.

Conversely, traditional Educational Recommender Systems (ERS) use Knowledge Tracing to track student progress with high precision but are often rigid. They typically rely on pre-defined databases and lack the natural language versatility required to answer nuanced student queries. TutorLLM aims to combine the "brain" of KT with the "voice" of LLMs to create a truly personalized digital tutor.

Methods

The authors propose a three-component architecture integrated into a Chrome browser plugin:

  1. Scraper Model: This component autonomously collects textual content, captions, and subtitles from the online course pages a student is currently visiting. This builds a dynamic, course-specific background knowledge base.
  2. Knowledge Tracing (KT) Model: The system utilizes the MLFBK (Multi-Features with Latent Relations BERT-based KT) model. It tracks student interactions to predict their "knowledge state." This includes modeling skill mastery (via Bayesian Knowledge Tracing), ability profiles (updated via K-means clustering), and problem difficulty.
  3. RAG-based LLM: Powered by the GPT-4 API, this component uses Retrieval-Augmented Generation. It synthesizes the student’s predicted learning state from the KT model with the specific course context from the Scraper to generate tailored responses and study recommendations.
Figure 1: Overall architecture of TutorLLM.

The user interacts with this system through a streamlined chat interface, as seen in the plugin UI:

Figure 2: User Interface of the TutorLLM.

Datasets

The researchers evaluated TutorLLM through a two-week field study involving 30 undergraduate students at the University of Southampton. The students were enrolled in a linear algebra module and were split into three groups: a control group using general LLMs, a group using a hybrid approach, and a group using TutorLLM exclusively. The evaluation used daily quizzes (15 tests total) and a final comprehensive exam to measure performance.

Key Insights and Ideas

  • The Power of Grounding: By using a scraper to feed course-specific data into the RAG pipeline, the authors significantly mitigate the hallucination problem common in general-purpose LLMs. The model isn't just "guessing" based on its training data; it's "reading" the student's current textbook or lecture notes.
  • Personalization Drives Engagement: One of the most striking findings wasn't just higher scores, but higher investment. Students using TutorLLM spent 36% more time interacting with the system. This suggests that when a tool actually understands a student's specific needs, the student is far more likely to use it as a primary learning resource.
  • KT as a Prompt Engineering Tool: Instead of relying on students to write complex prompts to get the help they need, the KT model acts as a "silent prompt engineer," automatically feeding the student's mastery levels and weak points into the LLM to tailor the output.

Key Results

  • User Satisfaction: The system achieved a 10% improvement in user satisfaction compared to general LLMs, with a System Usability Scale (SUS) score of 76.35, indicating high usability.
  • Academic Performance: There was a 5% increase in quiz scores for the TutorLLM group. While the final exam scores showed a positive trend (74.48 for TutorLLM vs. 71.97 for the control), the difference was not yet statistically significant (p=0.462), likely due to the small sample size.
  • Performance Trends: As shown in Figure 3, the TutorLLM group (red line) consistently maintained higher mean scores throughout the 15-day study period compared to the traditional LLM group (blue line).
Figure 3: Daily Mean Scores of User Performance Across Different Study Groups

Limitations and Future Work

The primary limitation acknowledged by the authors is the sample size and study duration. With only 30 participants over two weeks, it is difficult to definitively prove long-term academic gains.

Future work will focus on:

  • Refining the personalization features and testing the framework across different academic disciplines.
  • Addressing data privacy concerns inherent in tracking student performance data.
  • Developing training modules for educators to help them integrate these AI tools into their curriculum effectively.

Summary updated

BibTeX
@misc{li2025tutorllm,
  author = {Zhaoxing Li and Vahid Yazdanpanah and Jindi Wang and Wen Gu and Lei Shi and Alexandra I. Cristea and Sarah Kiden and Sebastian Stein},
  title = {{TutorLLM: Customizing Learning Recommendations with Knowledge Tracing and Retrieval-Augmented Generation}},
  year = {2025},
  eprint = {2502.15709},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.15709},
}
Figure