AI-TA: Towards an Intelligent Question-Answer Teaching Assistant using Open-Source LLMs
Hicke, Yann, Agarwal, Anmol, Ma, Qianou, Denny, Paul
–arXiv.org Artificial Intelligence
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
arXiv.org Artificial Intelligence
Dec-18-2023
- Country:
- South America > Colombia
- Meta Department > Villavicencio (0.04)
- Oceania > New Zealand
- North Island > Auckland Region > Auckland (0.04)
- North America > United States
- Pennsylvania > Allegheny County
- Pittsburgh (0.04)
- New York > New York County
- New York City (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Pennsylvania > Allegheny County
- Europe > Ireland
- Leinster > County Dublin > Dublin (0.04)
- Asia > India
- South America > Colombia
- Genre:
- Research Report (1.00)
- Industry:
- Information Technology > Security & Privacy (0.86)
- Education
- Educational Setting > Higher Education (0.51)
- Curriculum > Subject-Specific Education (0.48)
- Technology: