Comparing RAG and GraphRAG for Page-Level Retrieval Question Answering on a Math Textbook
On the map: Retrieval-augmented generation → Knowledge-graph and structured-knowledge RAG
Abstract (arXiv)
Large language models (LLMs) show promise as educational aids but often lack alignment with specific course materials. We investigate Retrieval-Augmented Generation (RAG) and GraphRAG for page-level question answering on an undergraduate mathematics textbook. Using a curated dataset of 477 question-answer pairs, each tied to a specific textbook page, we compare five embedding-based RAG models, a BM25 baseline, and GraphRAG across two metrics: retrieval accuracy (whether the correct page is retrieved) and answer quality (F1 score). Our results show that embedding-based RAG outperforms GraphRAG for page-level retrieval, with voyage-3-large achieving 99.4% accuracy at top-10 (bootstrap 95% CI for top-1: [.644, .728]). BM25 proves a strong baseline, outperforming several embedding models. Error analysis reveals that 63.3% of top-1 failures retrieve same-chapter content, suggesting pedagogical relevance even in failure cases. GraphRAG retrieves excessive context (~47K tokens vs. ~3.7K for RAG), reducing generation quality. We further replicate key experiments using an open-source local LLM (Qwen3.5-35B-A3B), finding that RAG benefits are proportionally larger for weaker models (+39% vs. +16% relative F1 improvement), an important result for cost-sensitive educational deployments. These findings inform the design of AI tutoring systems that reference specific textbook pages.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Knowledge-graph and structured-knowledge RAG, one of 15 directions in Retrieval-augmented generation. Builds on 16 of its 37 references that are in the map. First posted on arXiv 20 Sep 2025.
Builds on
16 of 37 references.
Closest ancestors · 4
Same direction, newest first
- 2025A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Models21 Jan
- 2024Graph Retrieval-Augmented Generation: A Survey15 Aug
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarization24 Apr
- 2024G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answering12 Feb
Other references · 12
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Survey of Hallucination in Natural Language Generationcited by 2,075
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 265
- 2023The Dangers of trusting Stochastic Parrots: Faithfulness and Trust in Open-domain Conversational Question Answeringcited by 26
- 2024Bringing Generative AI to Adaptive Learning in Educationcited by 24
- 2024Improving the Validity of Automatically Generated Feedback via Reinforcement Learningcited by 20
- 2023Evaluating ChatGPT's Decimal Skills and Feedback Generation in a Digital Learning Gamecited by 19
- 2024Improving Assessment of Tutoring Practices using Retrieval-Augmented Generationcited by 11
- 2024A Systematic Review on Prompt Engineering in Large Language Models for K-12 STEM Educationcited by 8
- 2024CourseAssist: Pedagogically Appropriate AI Tutor for Computer Science Educationcited by 5
- 2025SlideItRight: Using AI to Find Relevant Slides and Provide Feedback for Open-Ended Questionscited by 4
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Aligning LLMs for the Classroom with Knowledge-Based Retrieval -- A Comparative RAG Study
- 2025RAG vs. GraphRAG: A Systematic Evaluation and Key Insights
- 2024KnowShiftQA: How Robust are RAG Systems when Textbook Knowledge Shifts in K-12 Education?
- 2025NodeRAG: Structuring Graph-based RAG with Heterogeneous Nodes
- 2024Retrieval-Augmented Generation for Domain-Specific Question Answering: A Case Study on Pittsburgh and CMU
- 2025mmRAG: A Modular Benchmark for Retrieval-Augmented Generation over Text, Tables, and Knowledge Graphs
- 2025Beyond Static Retrieval: Opportunities and Pitfalls of Iterative Retrieval in GraphRAG
- 2025RAG-RL: Advancing Retrieval-Augmented Generation via RL and Curriculum Learning