AIFeed

LLM-Compiled Wiki versus RAG for Classroom Question Answering

Summary

arXiv:2612.02851v1 Announce Type: new Abstract: LLMs are increasingly deployed as course-specific tutors, but their usefulness depends on grounding in vetted course materials that change during the semester. Our prior work built a multimodal retrieval-augmented generation, or RAG, system for a machine learning course, DS3001 Foundations of Machine Learning, and found that retrieval improved grounding but that fixed retrieval strategies were suboptimal, since performance depended on question specificity and context composition. That result motivates a different question: whether how a corpus is structured at ingest time matters more than how much is retrieved at query time. We compare two knowledge representations over the full DS3001 course and its companion online text, 81 documents and about 235k tokens: vector RAG, configured as in our prior study, and an LLM-compiled wiki, following Karpathy's proposal, whose linked concept pages cite their sources and are navigated at question tim…

Original text(via arXiv cs.AI)

Computer Science > Artificial Intelligence

Title:LLM-Compiled Wiki versus RAG for Classroom Question Answering

Abstract:LLMs are increasingly deployed as course-specific tutors, but their usefulness depends on grounding in vetted course materials that change during the semester. Our prior work built a multimodal retrieval-augmented generation, or RAG, system for a machine learning course, DS3001 Foundations of Machine Learning, and found that retrieval improved grounding but that fixed retrieval strategies were suboptimal, since performance depended on question specificity and context composition. That result motivates a different question: whether how a corpus is structured at ingest time matters more than how much is retrieved at query time. We compare two knowledge representations over the full DS3001 course and its companion online text, 81 documents and about 235k tokens: vector RAG, configured as in our prior study, and an LLM-compiled wiki, following Karpathy's proposal, whose linked concept pages cite their sources and are navigated at question time. Five conditions separate representation from context volume: closed-book generation, bounded RAG retrieval, the RAG corpus in full context, bounded wiki navigation, and the full wiki in context. Navigation and retrieval are also evaluated at two token budgets. We evaluate 100 single-topic, cross-topic, and unanswerable questions, scored by an LLM judge for correctness, context recall and groundedness in course material. At a matched token budget the two representations trade places. Wiki navigation is more accurate on questions that link several course topics, 9.96 vs. 9.49 out of 10 with a 95% CI on the difference of 0.24 to 0.73, because it more often brings every needed source into context. RAG retrieval is slightly ahead on single-topic questions, 9.93 vs. 9.73, where wiki summaries can omit details the raw files contain. For instructors, the results favor a compiled, navigable wiki for robust answers that connect across course topics.
Subjects:Artificial Intelligence (cs.AI) ; Emerging Technologies (cs.ET)
Cite as:arXiv:2612.02851 [cs.AI]
(or arXiv:2612.02851v1 [cs.AI] for this version)
https://doi.org/10.48550/arXiv.2612.02851 arXiv-issued DOI via DataCite (pending registration)

Submission history

Access Paper:

  • HTML (experimental)

Additional Features

  • Audio Summary

Current browse context:

References & Citations

  • Google Scholar
  • Semantic Scholar

BibTeX formatted citation

Bookmark

Bibliographic and Citation Tools

Code, Data and Media Associated with this Article

Demos

Recommenders and Search Tools

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by arXiv cs.AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗