2611005647
  • Open Access
  • Article

Retrieval-Augmented Generation Tutor for MOOCs: Comparative Evaluation of LLM Architectures

  • Enrique Frias-Martinez 1,*,   
  • Jose C. San Jose 1,   
  • Dejian Liu 2 and 
  • Daniel Burgos 1,3

Received: 22 September 2026 | Revised: 29 October 2026 | Accepted: 12 November 2026 | Published: 19 November 2026

Abstract

The use of Large Language Models (LLMs) for Massive Open Online Courses (MOOCs) presents new opportunities to facilitate context-aware support. In this context, LLMs have two main limitations: (1) the inability to provide answers relevant to the context of the student and (2) the risk of providing inaccurate answers. Retrieval-Augmented Generation (RAG) has been designed to overcome these limitations by combining the retrieval of curated information with the language processing capabilities of LLMs. However, there is little evidence on how the choice of deployment architecture and LLM affects the latency, answer quality, cost and student perception of RAG tutors. This paper presents the design, multi-LLM evaluation and student perception of RAG-Tutor, a RAG architecture built to serve as a chatbot for MOOCs. RAG-Tutor was evaluated in an “Introduction to Operating Systems” MOOC across three deployment architectures and seven LLMs, using a benchmark of 196 expert-validated questions. An exploratory study with 30 students examined self-reported perceptions of satisfaction, trust and explainability. RAG-Tutor demonstrates the feasibility of RAG systems by showing that: (1) RAG approaches outperform stand-alone LLMs; (2) not all architectures provide real-time interactions and high-quality answers; and (3) the choice of LLM has an impact on student perceptions.

References 

  • 1.

    Deshpande, A.; Chukhlomin, V. What Makes a Good MOOC: A Field Study of Factors Impacting Student Motivation to Learn. Am. J. Distance Educ. 2017, 31, 275–293. https://doi.org/10.1080/08923647.2017.1377513.

  • 2.

    Narayanasamy, S.K.; Elçi, A. An Effective Prediction Model for Online Course Dropout Rate. Int. J. Distance Educ. Technol. 2020, 18, 94–110. https://doi.org/10.4018/ijdet.2020100106.

  • 3.

    Badali, M.; Hatami, J.; Banihashem, S.K.; et al. The role of motivation in MOOCs’ retention rates: A systematic literature review. Res. Pract. Technol. Enhanc. Learn. 2022, 17, 5. https://doi.org/10.1186/s41039-022-00181-3.

  • 4.

    Utunen, H.; Appuhamy, R.; Attias, M.; et al. Observations from three years of online pandemic learning response on OpenWHO. Int. J. Inf. Learn. Technol. 2023, 40, 527–540. https://doi.org/10.1108/ijilt-12-2022-0220.

  • 5.

    Holmes, W.; Bialik, M.; Fadel, C. Artificial Intelligence in Education: Promises and Implications for Teaching and Learning; Center for Curriculum Redesign: Boston, MA, USA, 2019.

  • 6.

    Aleven, V. Rule-Based Cognitive Modeling for Intelligent Tutoring Systems. In Advances in Intelligent Tutoring Systems; Springer: Berlin/Heidelberg, Germany, 2010; Volume 308, pp. 33–62. https://doi.org/10.1007/978-3-642-14363-2_3.

  • 7.

    Karim Barbhuiya, R.; Mustafa, K.; Jabin, S. A Personalized Learning System with Adaptive Content Presentation and Affective Evaluation Facilities. Int. J. Comput. Appl. 2013, 70, 10–15. https://doi.org/10.5120/12230-8360.

  • 8.

    Vaswani, A.; Shazeer, N.; Parmar, N.; et al. Attention is All you Need. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017; pp. 6000–6010.

  • 9.

    Wu, S.; Xiong, Y.; Cui, Y.; et al. Retrieval-augmented generation for natural language processing: A survey. Artif. Intell. Rev. 2026, 59, 192. https://doi.org/10.1007/s10462-026-11605-7.

  • 10.

    Lewis, P.; Perez, E.; Piktus, A.; et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Proceedings of the Neural Information Processing Systems, Virtual, 6–12 December 2020; Volume 33, pp. 9459–9474.

  • 11.

    Kumar, H.; Rothschild, D.M.; Goldstein, D.G.; et al. Math Education with Large Language Models: Peril or Promise? In Artificial Intelligence in Education; Springer Nature: Cham, Switzerland, 2025; Volume 15880, pp. 60–75. https://doi.org/10.1007/978-3-031-98459-4_5.

  • 12.

    Kasneci, E.; Seßler, K.; Küchemann, S.; et al. ChatGPT for good? On opportunities and challenges of large language models for education. Learn. Individ. Differ. 2023, 103, 102274. https://doi.org/10.1016/j.lindif.2023.102274.

  • 13.

    Miladi, F.; Psyché, V.; Lemire, D. Comparative Performance of GPT-4, RAG-Augmented GPT-4, and Students in MOOCs. In Breaking Barriers with Generative Intelligence. Using GI to Improve Human Education and Well-Being, Proceedings of the First International Conference on Breaking Barriers with Generative Intelligence (BBGI 2024), Thessaloniki, Greece, 10 June 2024; Springer Nature: Cham, Switzerland, 2024; pp. 81–92. https://doi.org/10.1007/978-3-031-65996-6_7.

  • 14.

    Posedaru, B.S.; Pantelimon, F.V.; Dulgheru, M.N.; et al. Artificial Intelligence Text Processing Using Retrieval-Augmented Generation: Applications in Business and Education Fields. Proc. Int. Conf. Bus. Excell. 2024, 18, 209–222. https://doi.org/10.2478/picbe-2024-0018.

  • 15.

    Han, Z.F.; Lin, J.; Gurung, A.; et al. Improving Assessment of Tutoring Practices Using Retrieval-Augmented Generation. In Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada, 20–27 February 2024; Volume 257, pp. 66–76.

  • 16.

    Levonian, Z.; Li, C.; Zhu, W.; et al. Retrieval-Augmented Generation to Improve Math Question-Answering: Trade-Offs Between Groundedness and Human Preference. In Proceedings of the 17th International Conference on Educational Data Mining (EDM 2024), Atlanta, GA, USA, 14–17 July 2024; pp. 210–221.

  • 17.

    Németh, R.; Tátrai, A.; Szabó, M.; et al. Using a RAG-enhanced large language model in a virtual teaching assistant role: Experiences from a pilot project in statistics education. Hung. Stat. Rev. 2024, 7, 3–27. https://doi.org/10.35618/hsr2024.02.en003.

  • 18.

    Golla, F. Enhancing Student Engagement Through AI-Powered Educational Chatbots: A Retrieval-Augmented Generation Approach. In Proceedings of the 2024 21st International Conference on Information Technology Based Higher Education and Training (ITHET), Paris, France, 6–8 November 2024; pp. 1–6. https://doi.org/10.1109/ithet61869.2024.10837678.

  • 19.

    Slade, J.J.; Hyk, A.; Gurung, R.A.R. Transforming Learning: Assessing the Efficacy of a Retrieval-Augmented Generation System as a Tutor for Introductory Psychology. Proc. Hum. Factors Ergon. Soc. Annu. Meet. 2024, 68, 1827–1830. https://doi.org/10.1177/10711813241275509.

  • 20.

    Thüs, D.; Malone, S.; Brünken, R. Exploring generative AI in higher education: A RAG system to enhance student engagement with scientific literature. Front. Psychol. 2024, 15, 1474892. https://doi.org/10.3389/fpsyg.2024.1474892.

  • 21.

    Neumann, A.T.; Yin, Y.; Sowe, S.; et al. An LLM-Driven Chatbot in Higher Education for Databases and Information Systems. IEEE Trans. Educ. 2025, 68, 103–116. https://doi.org/10.1109/te.2024.3467912.

  • 22.

    Chen, W.; Hu, H.; Chen, X.; et al. MuRAG: Multimodal Retrieval-Augmented Generator for Open Question Answering over Images and Text. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, Abu Dhabi, United Arab Emirates, 7–11 December 2022; pp. 5558–5570. https://doi.org/10.18653/v1/2022.emnlp-main.375.

  • 23.

    Yasunaga, M.; Aghajanyan, A.; Shi, W.; et al. Retrieval-Augmented Multimodal Language Modeling. In Proceedings of the 40th International Conference on Machine Learning, Honolulu, HI, USA, 23–29 July 2023; Volume 202, pp. 39755–39769.

  • 24.

    Radford, A.; Kim, J.W.; Hallacy, C.; et al. Learning Transferable Visual Models from Natural Language Supervision. In Proceedings of the International Conference on Machine Learning, Virtual, 18–24 July 2021; Volume 139, pp. 8748–8763.

  • 25.

    Shao, P.; Yang, Y.; Gao, C.; et al. Exploring Heterogeneity and Uncertainty for Graph-based Cognitive Diagnosis Models in Intelligent Education. In Proceedings of the KDD’25: The 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Toronto, ON, Canada, 3–7 August 2025; pp. 1233–1243. https://doi.org/10.1145/3690624.3709264.

  • 26.

    Lyu, Y.; Li, Z.; Niu, S.; et al. CRUD-RAG: A Comprehensive Chinese Benchmark for Retrieval-Augmented Generation of Large Language Models. ACM Trans. Inf. Syst. 2025, 43, 41. https://doi.org/10.1145/3701228.

  • 27.

    Stäbler, M.; Turnbull, S.; Müller, T.; et al. The Impact of Chunking Strategies on Domain-Specific Information Retrieval in RAG Systems. In Proceedings of the 2025 IEEE International Conference on Omni-Layer Intelligent Systems (COINS), Madison, WI, USA, 4–6 August 2025; pp. 1–6. https://doi.org/10.1109/coins65080.2025.11125724.

  • 28.

    Moreno-Cediel, A.; Garcia-Lopez, E.; Garcia-Cabot, A.; et al. Optimising retrieval performance in RAG systems: A new growing window semantic chunking strategy to address weak semantic boundaries. Knowl.-Based Syst. 2026, 331, 114896. https://doi.org/10.1016/j.knosys.2025.114896.

  • 29.

    Xia, L.; Xu, J.; Lan, Y.; et al. Learning Maximal Marginal Relevance Model via Directly Optimizing Diversity Evaluation Measures. In Proceedings of the SIGIR’15: The 38th International ACM SIGIR Conference on Research and Development in Information Retrieval, Santiago, Chile, 9–13 August 2015; pp. 113–122. https://doi.org/10.1145/2766462.2767710.

  • 30.

    LangChain Reference. maximal_marginal_relevance. Available online: https://reference.langchain.com/python/langchain-core/vectorstores/utils/maximal_marginal_relevance (accessed on 10 February 2026).

  • 31.

    Carbonell, J.; Goldstein, J. The use of MMR, diversity-based reranking for reordering documents and producing summaries. In Proceedings of the SIGIR98: 21st Annual ACM/SIGIR International Conference on Research and Development in Information Retrieval, Melbourne, VIC, Australia, 24–28 August 1998; pp. 335–336. https://doi.org/10.1145/290941.291025.

  • 32.

    Liu, P.; Yuan, W.; Fu, J.; et al. Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing. ACM Comput. Surv. 2023, 55, 1–35. https://doi.org/10.1145/3560815.

  • 33.

    Brown, T.B.; Mann, B.; Ryder, N.; et al. Language Models are Few-Shot Learners. In Proceedings of the Neural Information Processing Systems, Virtual, 6–12 December 2020; Volume 33, pp. 1877–1901.

  • 34.

    Wei, J.; Wang, X.; Schuurmans, D.; et al. Chain-Of-Thought Prompting Elicits Reasoning in Large Language Models. In Proceedings of the Advances in Neural Information Processing Systems, New Orleans, LA, USA, 28 November–9 December 2022; Volume 35, pp. 24824–24837. https://doi.org/10.52202/068431-1800.

  • 35.

    Chen, J.; Lin, H.; Han, X.; et al. Benchmarking Large Language Models in Retrieval-Augmented Generation. In Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada, 20–27 February 2024; Volume 38, pp. 17754–17762. https://doi.org/10.1609/aaai.v38i16.29728.

  • 36.

    Filice, S.; Horowitz, G.; Carmel, D.; et al. Generating Q&A Benchmarks for RAG Evaluation in Enterprise Settings. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics, Vienna, Austria, 27 July–1 August 2025; Volume 6, pp. 469–484. https://doi.org/10.18653/v1/2025.acl-industry.33.

  • 37.

    Bonifacio, L.; Abonizio, H.; Fadaee, M.; et al. InPars: Unsupervised Dataset Generation for Information Retrieval. In Proceedings of the SIGIR’22: The 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, 11–15 July 2022; pp. 2387–2392. https://doi.org/10.1145/3477495.3531863.

  • 38.

    Es, S.; James, J.; Espinosa Anke, L.; et al. RAGAs: Automated Evaluation of Retrieval Augmented Generation. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations, St. Julians, Malta, 17–22 March 2024; pp. 150–158. https://doi.org/10.18653/v1/2024.eacl-demo.16.

  • 39.

    Koedinger, K.R.; Corbett, A.T.; Perfetti, C. The Knowledge-Learning-Instruction Framework: Bridging the Science-Practice Chasm to Enhance Robust Student Learning. Cogn. Sci. 2012, 36, 757–798. https://doi.org/10.1111/j.1551-6709.2012.01245.x.

  • 40.

    Tan, F.F.Y.; Messerschmidt, M.A.; Yin, W.; et al. The Impact of Response Latency and Task Type on Human-LLM Interaction and Perception. In Proceedings of the CHI 2026: CHI Conference on Human Factors in Computing Systems, Barcelona, Spain, 13–17 April 2026; pp. 1–17. https://doi.org/10.1145/3772318.3790716.

  • 41.

    Gnewuch, U.; Morana, S.; Adam, M.T.P.; et al. Opposing Effects of Response Time in Human–Chatbot Interaction. Bus. Inf. Syst. Eng. 2022, 64, 773–791. https://doi.org/10.1007/s12599-022-00755-x.

  • 42.

    Nielsen, J. Usability Engineering; Academic Press: Boston, MA, USA, 1993. https://doi.org/10.1016/c2009-0-21512-1.

  • 43.

    Muludi, K.; Fitria, K.M.; Triloka, J.; et al. Retrieval-Augmented Generation Approach: Document Question Answering using Large Language Model. Int. J. Adv. Comput. Sci. Appl. 2024, 15, 776. https://doi.org/10.14569/ijacsa.2024.0150379.

  • 44.

    Daheim, N.; Macina, J.; Kapur, M.; et al. Stepwise Verification and Remediation of Student Reasoning Errors with Large Language Model Tutors. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Miami, FL, USA, 12–16 November 2024; pp. 8386–8411. https://doi.org/10.18653/v1/2024.emnlp-main.478.

  • 45.

    Lewis, J.R.; Utesch, B.S.; Maher, D.E. UMUX-LITE. In Proceedings of the CHI’13: CHI Conference on Human Factors in Computing Systems, Paris, France, 27 April–2 May 2013; pp. 2099–2102. https://doi.org/10.1145/2470654.2481287.

  • 46.

    Sauro, J.; Lewis, J.R. Quantifying the User Experience: Practical Statistics for User Research; Morgan Kaufmann: Waltham, MA, USA, 2012. https://doi.org/10.1016/c2010-0-65192-3.

  • 47.

    Hoff, K.A.; Bashir, M. Trust in Automation: Integrating Empirical Evidence on Factors That Influence Trust. Hum. Factors 2015, 57, 407–434. https://doi.org/10.1177/0018720814547570.

  • 48.

    Hart, S.G. Nasa-Task Load Index (NASA-TLX); 20 Years Later. In Proceedings of the Human Factors and Ergonomics Society Annual Meeting, San Francisco, CA, USA, 16–20 October 2006; Sage: Newcastle upon Tyne, UK, 2006; Volume 50, pp. 904–908. https://doi.org/10.1177/154193120605000909.

  • 49.

    Miller, T. Explanation in artificial intelligence: Insights from the social sciences. Artif. Intell. 2019, 267, 1–38. https://doi.org/10.1016/j.artint.2018.07.007.

  • 50.

    Dian Martha, A.S.; Widowati, S.; Rahayu, D.P.; et al. Examining Usability and Student Experience of ChatGPT as a Learning Tool on Moodle in Higher Education. In Proceedings of the 2024 International Conference on Information Technology Systems and Innovation (ICITSI), Bandung, Indonesia, 12 December 2024; pp. 8–13. https://doi.org/10.1109/icitsi65188.2024.10929431.

Share this article:
How to Cite
Frias-Martinez, E.; Jose, J. C. S.; Liu, D.; Burgos, D. Retrieval-Augmented Generation Tutor for MOOCs: Comparative Evaluation of LLM Architectures. AI Engineering 2026, 2 (2), 24. https://doi.org/10.53941/aieng.2026.100024.
RIS
BibTex
Copyright & License
article copyright Image
Copyright (c) 2026 by the authors.
Article Metrics
83
Article Views
0
Citations