[Paper Review] Jill Watson: A Virtual Teaching Assistant powered by ChatGPT
This paper introduces Jill Watson, a ChatGPT-powered virtual teaching assistant that answers student queries using course documents without model fine-tuning. It uses a skill-based modular architecture with retrieval-augmented generation, document citation, and textual entailment to reduce hallucinations and toxicity, outperforming both legacy Jill Watson and OpenAI Assistants in response quality and safety.
Conversational AI agents often require extensive datasets for training that are not publicly released, are limited to social chit-chat or handling a specific domain, and may not be easily extended to accommodate the latest advances in AI technologies. This paper introduces Jill Watson, a conversational Virtual Teaching Assistant (VTA) leveraging the capabilities of ChatGPT. Jill Watson based on ChatGPT requires no prior training and uses a modular design to allow the integration of new APIs using a skill-based architecture inspired by XiaoIce. Jill Watson is also well-suited for intelligent textbooks as it can process and converse using multiple large documents. We exclusively utilize publicly available resources for reproducibility and extensibility. Comparative analysis shows that our system outperforms the legacy knowledge-based Jill Watson as well as the OpenAI Assistants service. We employ many safety measures that reduce instances of hallucinations and toxicity. The paper also includes real-world examples from a classroom setting that demonstrate different features of Jill Watson and its effectiveness.
Motivation & Objective
- To develop a virtual teaching assistant (VTA) that leverages large language models (LLMs) like ChatGPT without requiring fine-tuning or proprietary datasets.
- To address hallucination and toxicity in LLM-based educational assistants through grounding mechanisms and safety filters.
- To enable accurate, context-aware responses using multiple large documents, such as course syllabi and lecture notes, for intelligent textbook integration.
- To ensure reproducibility and extensibility by relying exclusively on publicly available resources and modular design.
- To evaluate the system in a real classroom setting and compare its performance against legacy systems and OpenAI's Assistants API.
Proposed method
- Employs a skill-based modular architecture inspired by XiaoIce to enable dynamic integration of new APIs and functionalities.
- Uses dense passage retrieval (DPR) to extract relevant context from large course documents such as slides, notes, and syllabi.
- Applies retrieval-augmented generation (RAG) to condition LLM responses on retrieved passages, improving factual consistency.
- Integrates textual entailment models to verify that generated responses are logically supported by retrieved context.
- Implements document citation and grounding checks to reduce hallucination by linking answers to source material.
- Applies a multi-layered safety pipeline: question relevance classifier, toxic text filters, and prompt engineering to discourage harmful or impolite responses.
Experimental results
Research questions
- RQ1Can a VTA powered by a pre-trained LLM like ChatGPT achieve reliable, grounded responses in educational contexts without fine-tuning?
- RQ2How effective is a modular, skill-based architecture in improving the extensibility and maintainability of educational AI assistants?
- RQ3To what extent can retrieval-augmented generation and textual entailment reduce hallucination in LLM-based Q&A systems?
- RQ4How does the safety pipeline mitigate toxicity and inappropriate responses in student interactions?
- RQ5How does the performance of the new Jill Watson compare to legacy systems and OpenAI’s Assistants API in real-world educational deployment?
Key findings
- Jill Watson outperforms both the legacy knowledge-based Jill Watson and OpenAI’s Assistants API in response quality, with fewer hallucinated or inconsistent answers.
- The system successfully cites source documents and uses textual entailment to verify grounding, significantly reducing unverifiable claims.
- Safety mechanisms, including toxic text filters and politeness-promoting prompts, effectively prevent harmful or impolite responses.
- The assistant correctly handles self-correction when users point out errors, such as correcting the meaning of 'RPM' from 'Resource Planning and Management' to 'Raven’s Progressive Matrices'.
- The system avoids answering questions when context is insufficient, issuing disclaimers instead of fabricating responses.
- In real classroom deployments, Jill Watson demonstrated strong conversational coherence, date-awareness, and coreference resolution across multi-turn dialogues.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.