arXiv:2609.25303cs.AISep 2026

Manuscript Offprint

arXiv:2609.25303

Potential for Enhanced Learning in Machine Learning Classes by Using Wiki LLM Indexing

Brian Wright

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language models are increasingly deployed as course specific tutors to enhance student learning, but their usefulness depends on being grounded in vetted instructional materials that are often updated during the semester. Our prior work built a multimodal retrieval augmented generation (RAG) system over an authentic machine learning course corpus (Foundations of Machine Learning) and found that retrieval improved contextual grounding, but that fixed retrieval strategies were suboptimal. That result motivates a different question on how a corpus is structured at ingest time matters more than how much is retrieved at query time and how this facilitates learning. We present a controlled head to head comparison of two knowledge representations over an identical classroom corpus: (A) vector RAG, replicating the best performing configuration from our prior study, and (B) an LLM compiled wiki, (Karpathy Framework) in which the corpus is synthesized at ingest into linked concept pages with explicit cross references and citations back to source materials. We evaluate 59 questions spanning single fact recall, cross unit concept linking, synthesis and explanation, and currency after a syllabus revision, scored by LLM judge with a human authored rubric. Both representations answered single fact questions about equally well (9.33 vs. 9.96 out of 10), but they diverged sharply on questions that required linking material across course units. The compiled wiki stayed accurate and grounded (9.93, 100% grounded in cited source material) while retrieval’s answers both scored lower and were markedly less grounded (8.14, 64% grounded). The compiled representation’s citations let a student and instructor trace any claim back to the lecture that introduced it and adds a authentic layer of dynamic information retrieval that is necessary in machine learning courses. For pedagogical practice, the results indicate a signal for advantages of the Wiki based structure. While further testing is needed, instructors teaching ML courses when using AI methods to enhance student learning should consider the wiki structure as it has great potential for supporting foundational elements of best practices in learning.

School of Data Science, University of Virginia

brianwright@virginia.edu

1 Introduction

References (29)