Search arXiv⌕ Search

arXiv · 2612.02851

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Brian Wright. 2026-12-01. LLM-Compiled Wiki versus RAG for Classroom Question Answering. https://searcharxiv.org/abs/2612.02851

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Settling the Reward Hypothesis

The reward hypothesis posits that, "all of what we mean by goals and purposes can be well thought of as maximization of the expected value of the cumulative sum of a received scalar signal (reward)." We aim to fully settle this hypothesis. This will not conclude with a simple affirmation or refutation, but rather specify completely the implicit requirements on goals and purposes under which the hypothesis holds.

cs.AI↗

Explainable Innovation Engine: Dual-Tree Agent-RAG with Methods-as-Nodes and Verifiable Write-Back

Retrieval-augmented generation (RAG) improves factual grounding, yet most systems rely on flat chunk retrieval and provide limited control over multi-step synthesis. We propose an Explainable Innovation Engine that upgrades the knowledge unit from text chunks to methods-as-nodes. The engine maintains a weighted method provenance tree for traceable derivations and a hierarchical clustering abstraction tree for efficient top-down navigation. At inference time, a strategy agent selects explicit synthesis operators (e.g., induction, deduction, analogy), composes new method nodes, and records an auditable trajectory. A verifier-scorer layer then prunes low-quality candidates and writes validated nodes back to support continual growth. Expert evaluation across six domains and multiple backbones shows consistent gains over a vanilla baseline, with the largest improvements on derivation-heavy settings, and ablations confirm the complementary roles of provenance backtracking and pruning. These results suggest a practical path toward controllable, explainable, and verifiable innovation in agentic RAG systems. Code is available at the project GitHub repository https://github.com/xiaolu-666113/Dual-Tree-Agent-RAG.

cs.AI↗

Strategic Algorithmic Monoculture: Experimental Evidence from Coordination Games

AI agents increasingly make high-stakes decisions in multi-agent environments where outcomes depend on coordination (e.g., hiring, pricing, and trading). We distinguish primary algorithmic monoculture---baseline action similarity---from strategic algorithmic monoculture, whereby agents adjust similarity in response to incentives. We design a simple experiment that cleanly separates these forces and deploy it on human and large-language-model (LLM) subjects. LLMs exhibit high levels of baseline similarity (primary monoculture) and, like humans, they regulate it in response to coordination incentives (strategic monoculture). While LLMs coordinate extremely well on the same action, they lag behind humans in sustaining heterogeneity when divergence is rewarded.

cs.AI↗