mlsanityData to 7 Oct 2026

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

arXiv 2311.02775 ↗First posted 5 Nov 2023cs.LG cs.AI cs.CLcited by 21

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2017Proximal Policy Optimization Algorithmscited by 14,441
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  7. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  8. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  9. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  10. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  11. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  12. 2020Learning to summarize from human feedbackcited by 2,562
26 more
  1. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
  2. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  3. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  4. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  5. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
  6. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  7. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
  8. 2021Deduplicating Training Data Makes Language Models Bettercited by 705
  9. 2018CoQA: A Conversational Question Answering Challengecited by 674
  10. 2023Prometheus: Inducing Fine-grained Evaluation Capability in Language Modelscited by 558
  11. 2023Is ChatGPT a Good NLG Evaluator? A Preliminary Studycited by 420
  12. 2020Does the Whole Exceed its Parts? The Effect of AI Explanations on Complementary Team Performancecited by 396
  13. 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 293
  14. 2022Towards a Unified Multi-Dimensional Evaluator for Text Generationcited by 264
  15. 2023Nougat: Neural Optical Understanding for Academic Documentscited by 240
  16. 2021CrypTen: Secure Multi-Party Computation Meets Machine Learningcited by 131
  17. 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
  18. 2023The Programmer's Assistant: Conversational Interaction with a Large Language Model for Software Developmentcited by 95
  19. 2023ClinicalGPT: Large Language Models Finetuned with Diverse Medical Data and Comprehensive Evaluationcited by 85
  20. 2018Reliability and Learnability of Human Bandit Feedback for Sequence-to-Sequence Reinforcement Learningcited by 57
  21. 2023Is Stack Overflow Obsolete? An Empirical Study of the Characteristics of ChatGPT Answers to Stack Overflow Questionscited by 42
  22. 2021Conversational Question Answering: A Surveycited by 31
  23. 2023How to Teach Programming in the AI Era? Using LLMs as a Teachable Agent for Debuggingcited by 29
  24. 2023SoTaNa: The Open-Source Software Development Assistantcited by 8
  25. 2021Agent Smith: Teaching Question Answering to Jill Watsoncited by 4
  26. 2021Multi-institution encrypted medical imaging AI validation without data sharingcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 12; 2025: 5; 2026: 3.

21 papers.

Sort:

By area:

  1. 2024Large Language Models for Education: A Survey and Outlookcited by 185
  2. 2024Cactus: Towards Psychological Counseling Conversations using Cognitive Behavioral Theorycited by 60
  3. 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
  4. 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
  5. 2024Evaluating Language Models for Generating and Judging Programming Feedbackcited by 8
  6. 2023Can ChatGPT Play the Role of a Teaching Assistant in an Introductory Programming Course?cited by 6
  7. 2024CourseAssist: Pedagogically Appropriate AI Tutor for Computer Science Educationcited by 4
  8. 2024Vernacular? I Barely Know Her: Challenges with Style Control and Stereotypingcited by 2
  9. 2024QACP: An Annotated Question Answering Dataset for Assisting Chinese Python Programming Learnerscited by 1
  10. 2024Revolutionizing Undergraduate Learning: CourseGPT and Its Generative AI Advancementscited by 1
  11. 2024YA-TA: Towards Personalized Question-Answering Teaching Assistants using Instructor-Student Dual Retrieval-augmented Knowledge Fusioncited by 1
  12. 2025AI University: An LLM-Powered Learning Assistant for Engineering---A Finite Element Method Case Studycited by 1
9 more
  1. 2025Narrowing the Gap: Supervised Fine-Tuning of Open-Source LLMs as a Viable Alternative to Proprietary Models for Pedagogical Toolscited by 1
  2. 2025Bringing Pedagogy into Focus: Evaluating Virtual Teaching Assistants' Question-Answering in Asynchronous Learning Environmentscited by 1
  3. 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
  4. 2024Efficient Learning Content Retrieval with Knowledge Injectioncited by 0
  5. 2024Molly: Making Large Language Model Agents Solve Python Problem More Logicallycited by 0
  6. 2025Autograder+: A Multi-Faceted AI Framework for Rich Pedagogical Feedback in Programming Educationcited by 0
  7. 2026ARIA: Adaptive Retrieval Intelligence Assistant -- A Multimodal RAG Framework for Domain-Specific Engineering Educationcited by 0
  8. 2026ACE-TA: An Agentic Teaching Assistant for Grounded Q&A, Quiz Generation, and Code Tutoringcited by 0
  9. 2026A didactical-driven teacher assistant for a dimensional modeling coursecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Comparing the Performance of LLMs in RAG-based Question-Answering: A Case Study in Computer Science Literature
  2. 2025EduMod-LLM: A Modular Approach for Designing Flexible and Transparent Educational Assistants
  3. 2025Aligning LLMs for the Classroom with Knowledge-Based Retrieval -- A Comparative RAG Study
  4. 2025Towards Efficient Educational Chatbots: Benchmarking RAG Frameworks
  5. 2024RAG-QA Arena: Evaluating Domain Robustness for Long-form Retrieval Augmented Question Answering
  6. 2024Improving Socratic Question Generation using Data Augmentation and Preference Optimization
  7. 2025Automatic Dataset Generation for Knowledge Intensive Question Answering Tasks
  8. 2025Answering Students' Questions on Course Forums Using Multiple Chain-of-Thought Reasoning and Finetuning RAG-Enabled LLM