AI-TA: Towards an Intelligent Question-Answer Teaching Assistant using Open-Source LLMs

Yann Hicke, Anmol Agarwal, Qianou Ma, Paul Denny
11/5/2023
cs.LGcs.AIcs.CL

Official code: aita-ai4ed/AITA (1 star, last commit 2025-04-20).

Abstract

Responding to the thousands of student questions on online QA platforms each semester has a considerable human cost, particularly in computing courses with rapidly growing enrollments. To address the challenges of scalable and intelligent question-answering (QA), we introduce an innovative solution that leverages open-source Large Language Models (LLMs) from the LLaMA-2 family to ensure data privacy. Our approach combines augmentation techniques such as retrieval augmented generation (RAG), supervised fine-tuning (SFT), and learning from human preferences data using Direct Preference Optimization (DPO). Through extensive experimentation on a Piazza dataset from an introductory CS course, comprising 10,000 QA pairs and 1,500 pairs of preference data, we demonstrate a significant 30% improvement in the quality of answers, with RAG being a particularly impactful addition. Our contributions include the development of a novel architecture for educational QA, extensive evaluations of LLM performance utilizing both human assessments and LLM-based metrics, and insights into the challenges and future directions of educational data processing. This work paves the way for the development of AI-TA, an intelligent QA assistant customizable for courses with an online QA platform

View on arXivView PDF

Code Implementations(1)

aita-ai4ed/AITAOfficial100%
10Jupyter NotebookDec 18, 20231 years ago

Similar Papers

Cite this paper

@article{hicke2023aita,
  title  = {AI-TA: Towards an Intelligent Question-Answer Teaching Assistant using Open-Source LLMs},
  author = {Yann Hicke and Anmol Agarwal and Qianou Ma and Paul Denny},
  year   = {2023},
  eprint = {2311.02775},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.02775v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.02775.svg)](https://codeofpaper.com/paper/2311.02775)

Discussion