Evaluating the Impact of Advanced LLM Techniques on AI-Lecture Tutors for a Robotics Course
Sebastian Kahl, Felix Löffler, Martin Maciol, Fabian Ridder, Marius Schmitz, Jennifer Spanagel, Jens Wienkamp, Christopher Burgahn, Malte Schilling
TL;DR
This work examines how advanced LLM techniques can enable AI tutors for a robotics course, addressing hallucinations and evaluation challenges. It compares prompt engineering, Retrieval-Augmented Generation, and fine-tuning using GPT-3.5 and LLaMA-2-13B across a robotics QA task with 478 test chats and 2791 training chats, grounded in lecture material. The results show that RAG plus prompt engineering substantially improves factuality and perceived usefulness, while small fine tuned models can approach or exceed larger baselines when used without RAG, though combining RAG with fine tuning can cause overfitting. The study highlights metric correlations and biases toward brevity, underscoring the need for robust, domain-specific evaluation frameworks to guide AI powered tutoring in education and to inform deployment sequencing.
Abstract
This study evaluates the performance of Large Language Models (LLMs) as an Artificial Intelligence-based tutor for a university course. In particular, different advanced techniques are utilized, such as prompt engineering, Retrieval-Augmented-Generation (RAG), and fine-tuning. We assessed the different models and applied techniques using common similarity metrics like BLEU-4, ROUGE, and BERTScore, complemented by a small human evaluation of helpfulness and trustworthiness. Our findings indicate that RAG combined with prompt engineering significantly enhances model responses and produces better factual answers. In the context of education, RAG appears as an ideal technique as it is based on enriching the input of the model with additional information and material which usually is already present for a university course. Fine-tuning, on the other hand, can produce quite small, still strong expert models, but poses the danger of overfitting. Our study further asks how we measure performance of LLMs and how well current measurements represent correctness or relevance? We find high correlation on similarity metrics and a bias of most of these metrics towards shorter responses. Overall, our research points to both the potential and challenges of integrating LLMs in educational settings, suggesting a need for balanced training approaches and advanced evaluation frameworks.
