AI-TA: Towards an Intelligent Question-Answer Teaching Assistant using Open-Source LLMs
On the map: LLM alignment / RLHF / preference optimisation → Preference alignment for recommenders and RAG
Abstract (arXiv)
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
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Placed in Preference alignment for recommenders and RAG, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 38 of its 48 references that are in the map. First posted on arXiv 5 Nov 2023.
Builds on
38 of 48 references.
References · 38
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2020Learning to summarize from human feedbackcited by 2,562
26 more
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2018CoQA: A Conversational Question Answering Challengecited by 674
- 2023Prometheus: Inducing Fine-grained Evaluation Capability in Language Modelscited by 558
- 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 420
- 2020Does the Whole Exceed its Parts? The Effect of AI Explanations on Complementary Team Performancecited by 396
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 293
- 2022Towards a Unified Multi-Dimensional Evaluator for Text Generationcited by 264
- 2023Nougat: Neural Optical Understanding for Academic Documentscited by 240
- 2021CrypTen: Secure Multi-Party Computation Meets Machine Learningcited by 131
- 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
- 2023The Programmer's Assistant: Conversational Interaction with a Large Language Model for Software Developmentcited by 95
- 2023ClinicalGPT: Large Language Models Finetuned with Diverse Medical Data and Comprehensive Evaluationcited by 85
- 2018Reliability and Learnability of Human Bandit Feedback for Sequence-to-Sequence Reinforcement Learningcited by 57
- 2023Is Stack Overflow Obsolete? An Empirical Study of the Characteristics of ChatGPT Answers to Stack Overflow Questionscited by 42
- 2021Conversational Question Answering: A Surveycited by 31
- 2023How to Teach Programming in the AI Era? Using LLMs as a Teachable Agent for Debuggingcited by 29
- 2023SoTaNa: The Open-Source Software Development Assistantcited by 8
- 2021Agent Smith: Teaching Question Answering to Jill Watsoncited by 4
- 2021Multi-institution encrypted medical imaging AI validation without data sharingcited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 12; 2025: 5; 2026: 3.
21 papers.
Sort:
By area:
- 2024Large Language Models for Education: A Survey and Outlookcited by 185
- 2024Cactus: Towards Psychological Counseling Conversations using Cognitive Behavioral Theorycited by 60
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
- 2024Evaluating Language Models for Generating and Judging Programming Feedbackcited by 8
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?cited by 6
- 2024CourseAssist: Pedagogically Appropriate AI Tutor for Computer Science Educationcited by 4
- 2024Vernacular? I Barely Know Her: Challenges with Style Control and Stereotypingcited by 2
- 2024QACP: An Annotated Question Answering Dataset for Assisting Chinese Python Programming Learnerscited by 1
- 2024Revolutionizing Undergraduate Learning: CourseGPT and Its Generative AI Advancementscited by 1
- 2024YA-TA: Towards Personalized Question-Answering Teaching Assistants using Instructor-Student Dual Retrieval-augmented Knowledge Fusioncited by 1
- 2025AI University: An LLM-Powered Learning Assistant for Engineering---A Finite Element Method Case Studycited by 1
9 more
- 2025Narrowing the Gap: Supervised Fine-Tuning of Open-Source LLMs as a Viable Alternative to Proprietary Models for Pedagogical Toolscited by 1
- 2025Bringing Pedagogy into Focus: Evaluating Virtual Teaching Assistants' Question-Answering in Asynchronous Learning Environmentscited by 1
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Taskscited by 0
- 2024Efficient Learning Content Retrieval with Knowledge Injectioncited by 0
- 2024Molly: Making Large Language Model Agents Solve Python Problem More Logicallycited by 0
- 2025Autograder+: A Multi-Faceted AI Framework for Rich Pedagogical Feedback in Programming Educationcited by 0
- 2026ARIA: Adaptive Retrieval Intelligence Assistant -- A Multimodal RAG Framework for Domain-Specific Engineering Educationcited by 0
- 2026ACE-TA: An Agentic Teaching Assistant for Grounded Q&A, Quiz Generation, and Code Tutoringcited by 0
- 2026A didactical-driven teacher assistant for a dimensional modeling coursecited by 0
- 2026A didactical-driven teacher assistant for a dimensional modeling course12 Jun 2026
- 2026ACE-TA: An Agentic Teaching Assistant for Grounded Q&A, Quiz Generation, and Code Tutoring20 Feb 2026
- 2026ARIA: Adaptive Retrieval Intelligence Assistant -- A Multimodal RAG Framework for Domain-Specific Engineering Education4 Feb 2026
- 2025Autograder+: A Multi-Faceted AI Framework for Rich Pedagogical Feedback in Programming Education30 Oct 2025
- 2025Bringing Pedagogy into Focus: Evaluating Virtual Teaching Assistants' Question-Answering in Asynchronous Learning Environments22 Sep 2025
- 2025Narrowing the Gap: Supervised Fine-Tuning of Open-Source LLMs as a Viable Alternative to Proprietary Models for Pedagogical Tools7 Jul 2025
- 2025AI University: An LLM-Powered Learning Assistant for Engineering---A Finite Element Method Case Study11 Apr 2025
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics31 Mar 2025
- 2024Molly: Making Large Language Model Agents Solve Python Problem More Logically24 Dec 2024
- 2024Efficient Learning Content Retrieval with Knowledge Injection28 Nov 2024
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Tasks17 Oct 2024
- 2024YA-TA: Towards Personalized Question-Answering Teaching Assistants using Instructor-Student Dual Retrieval-augmented Knowledge Fusion31 Aug 2024
9 more
- 2024Revolutionizing Undergraduate Learning: CourseGPT and Its Generative AI Advancements25 Jul 2024
- 2024Evaluating Language Models for Generating and Judging Programming Feedback5 Jul 2024
- 2024Cactus: Towards Psychological Counseling Conversations using Cognitive Behavioral Theory3 Jul 2024
- 2024Vernacular? I Barely Know Her: Challenges with Style Control and Stereotyping18 Jun 2024
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judge8 May 2024
- 2024CourseAssist: Pedagogically Appropriate AI Tutor for Computer Science Education1 May 2024
- 2024Large Language Models for Education: A Survey and Outlook26 Mar 2024
- 2024QACP: An Annotated Question Answering Dataset for Assisting Chinese Python Programming Learners30 Jan 2024
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?12 Dec 2023
- 2024YA-TA: Towards Personalized Question-Answering Teaching Assistants using Instructor-Student Dual Retrieval-augmented Knowledge Fusioncited by 1
- 2025AI University: An LLM-Powered Learning Assistant for Engineering---A Finite Element Method Case Studycited by 1
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Taskscited by 0
- 2024Efficient Learning Content Retrieval with Knowledge Injectioncited by 0
- 2026ARIA: Adaptive Retrieval Intelligence Assistant -- A Multimodal RAG Framework for Domain-Specific Engineering Educationcited by 0
- 2026ARIA: Adaptive Retrieval Intelligence Assistant -- A Multimodal RAG Framework for Domain-Specific Engineering Education4 Feb 2026
- 2025AI University: An LLM-Powered Learning Assistant for Engineering---A Finite Element Method Case Study11 Apr 2025
- 2024Efficient Learning Content Retrieval with Knowledge Injection28 Nov 2024
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Tasks17 Oct 2024
- 2024YA-TA: Towards Personalized Question-Answering Teaching Assistants using Instructor-Student Dual Retrieval-augmented Knowledge Fusion31 Aug 2024
- 2024Large Language Models for Education: A Survey and Outlookcited by 185
- 2024Cactus: Towards Psychological Counseling Conversations using Cognitive Behavioral Theorycited by 60
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
- 2024Evaluating Language Models for Generating and Judging Programming Feedbackcited by 8
- 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?cited by 6
- 2024CourseAssist: Pedagogically Appropriate AI Tutor for Computer Science Educationcited by 4
- 2024Vernacular? I Barely Know Her: Challenges with Style Control and Stereotypingcited by 2
- 2024QACP: An Annotated Question Answering Dataset for Assisting Chinese Python Programming Learnerscited by 1
- 2024Revolutionizing Undergraduate Learning: CourseGPT and Its Generative AI Advancementscited by 1
- 2025Narrowing the Gap: Supervised Fine-Tuning of Open-Source LLMs as a Viable Alternative to Proprietary Models for Pedagogical Toolscited by 1
- 2025Bringing Pedagogy into Focus: Evaluating Virtual Teaching Assistants' Question-Answering in Asynchronous Learning Environmentscited by 1
12 most cited of 14 All 14 (JSON)
- 2026A didactical-driven teacher assistant for a dimensional modeling course12 Jun 2026
- 2025Autograder+: A Multi-Faceted AI Framework for Rich Pedagogical Feedback in Programming Education30 Oct 2025
- 2025Bringing Pedagogy into Focus: Evaluating Virtual Teaching Assistants' Question-Answering in Asynchronous Learning Environments22 Sep 2025
- 2025Narrowing the Gap: Supervised Fine-Tuning of Open-Source LLMs as a Viable Alternative to Proprietary Models for Pedagogical Tools7 Jul 2025
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics31 Mar 2025
- 2024Revolutionizing Undergraduate Learning: CourseGPT and Its Generative AI Advancements25 Jul 2024
- 2024Evaluating Language Models for Generating and Judging Programming Feedback5 Jul 2024
- 2024Cactus: Towards Psychological Counseling Conversations using Cognitive Behavioral Theory3 Jul 2024
- 2024Vernacular? I Barely Know Her: Challenges with Style Control and Stereotyping18 Jun 2024
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judge8 May 2024
- 2024CourseAssist: Pedagogically Appropriate AI Tutor for Computer Science Education1 May 2024
- 2024Large Language Models for Education: A Survey and Outlook26 Mar 2024
12 newest of 14 All 14 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Comparing the Performance of LLMs in RAG-based Question-Answering: A Case Study in Computer Science Literature
- 2025EduMod-LLM: A Modular Approach for Designing Flexible and Transparent Educational Assistants
- 2025Aligning LLMs for the Classroom with Knowledge-Based Retrieval -- A Comparative RAG Study
- 2025Towards Efficient Educational Chatbots: Benchmarking RAG Frameworks
- 2024RAG-QA Arena: Evaluating Domain Robustness for Long-form Retrieval Augmented Question Answering
- 2024Improving Socratic Question Generation using Data Augmentation and Preference Optimization
- 2025Automatic Dataset Generation for Knowledge Intensive Question Answering Tasks
- 2025Answering Students' Questions on Course Forums Using Multiple Chain-of-Thought Reasoning and Finetuning RAG-Enabled LLM