Generative AI-Based Virtual Assistant using Retrieval-Augmented Generation: An evaluation study for bachelor projects
This paper presents and evaluates a Retrieval-Augmented Generation-based virtual assistant designed to support Maastricht University students with project-specific regulations, demonstrating its effectiveness in overcoming common Large Language Model limitations like hallucinations and ensuring accurate, context-specific responses in a specialized educational domain.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a bustling university department where hundreds of students are working on final projects. They face a mountain of rules, regulations, and examination details to follow. Typically, when a student is confused—for example: "Can I skip this meeting if my bus broke down?"—they must contact a tired project coordinator via email. The coordinator is flooded with hundreds of similar emails, and the student waits days for a reply.
This article describes a team of students and researchers who developed an intelligent digital assistant to resolve this bottleneck. Do not view this assistant as a magical oracle that knows everything, but rather as an extremely fast, extremely organized librarian who has read every single rulebook in the building.
Here is how they developed it and what they discovered, explained simply:
The Problem: The "Hallucinating" Librarian
Normally, when you ask a standard AI (like a chatbot) a specific question about school rules, it makes things up. It is like a librarian who is so confident that they simply invent a rule because they cannot find the book. This is called "hallucination." In a school context, inventing rules is dangerous.
The Solution: The "Retrieval-Augmented" Librarian
To prevent the AI from making things up, the team developed a system called RAG (Retrieval-Augmented Generation).
- The Retrieval Part: Before the AI answers, it first runs to the library (a database of official documents) and retrieves the exact pages relevant to the question. It is as if the librarian physically pulls the rulebook off the shelf before speaking.
- The Generation Part: The AI then reads these specific pages and writes an answer based exclusively on what it found.
- Self-Reflection (The "Second Opinion"): This is the clever part. After the AI writes an answer, it performs a "self-check." It asks itself: "Did I just make this up? Does this really match the pages I retrieved?" If the answer is "No," it tries again or asks the student to clarify their question. It is like a teacher correcting their own homework before submitting it.
The Experiment: A Classroom Test
The team tested this assistant with real students from Maastricht University.
- The Setup: They divided the students into two groups. One group had to answer difficult questions about project rules using their own brains (and perhaps by asking a human). The other group was allowed to use the AI assistant.
- The Questions: The questions were scenarios such as: "I missed a meeting due to a bus delay. What happens to my grade?"
What They Discovered
- The AI became smarter: When students used the assistant, they received correct answers much more frequently. For example, in one scenario, the number of students giving the correct answer rose from 32% to 57%.
- Less Guessing: Before using the AI, many students simply said: "I don't know." After using the AI, the "I don't know" responses decreased significantly. The AI helped clarify the confusion.
- Speed: The assistant responded in approximately 10 seconds. Students were satisfied with the speed compared to waiting for an email reply.
- It is not yet perfect:
- In some tricky scenarios, the AI actually made students worse at answering. This happened because the official documents lacked details or the AI could not distinguish between a "meeting" and an "exam."
- Some students tried to cheat the system by copying and pasting the questions directly instead of asking naturally, which the team had to block.
- The AI sometimes confused different types of courses, showing that it needs a better "dictionary" for school terms.
The Conclusion
The article concludes that this "Intelligent Librarian" is an excellent tool to help students navigate complex school rules without overburdening human staff. It is fast, reduces the number of "I don't know" answers, and generally makes students appear more confident.
However, it is not yet a perfect replacement for a human. It requires better training data (more complete rulebooks) and smarter ways to handle situations not explicitly covered by the rules. But as a first step, it has successfully proven that AI can be a helpful, reliable partner in education if given the right tools to check its own work.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.