Research Article
Retrieval-augmented generation for pedagogically aware educational AI: an expert-rated comparison of a prompt-only LLM tutor and an integrated, learner-state-aware RAG tutor
Synthesis: Adenuga compared two algebra tutoring workflows built on the same Gemini 2.5 Flash model: a prompt-only baseline and an integrated tutor that added a curated corpus, learner-state variables and a response policy. Across 24 two-turn episodes, eight expert reviewers rated the integrated tutor higher for conceptual support, instructional quality and helpfulness, and on a composite of those three judgments. Solution accuracy was high in both conditions and differed little. Unsupported-content flags, however, were far more frequent in the integrated condition, often reflecting internal evidence labels leaking into student-facing text. No students were recruited, no classroom intervention was run and no learning outcomes were measured, so the results concern expert-rated text quality rather than classroom efficacy.
Key Findings
- Both tutors used the same underlying model. Only the surrounding architecture differed, so the comparison is between workflows rather than between foundation models.
- The integrated tutor staged its help. It more often named the relevant concept and asked the learner to complete the next step, while the baseline commonly supplied a complete worked answer.
- Experts rated the teaching-focused dimensions higher. Conceptual support, instructional quality and helpfulness all favored the integrated condition after correction for multiple comparisons.
- Accuracy was not the differentiator. Both conditions received high accuracy ratings, with only a small descriptive gap that did not reach the same level of evidence.
- Grounding changed the risk profile. Unsupported-content flags were much more common in the integrated condition, with several involving trace exposure rather than algebraic error.
- The three teaching ratings overlap heavily. Because they behaved like closely related judgments, the paper reports them individually and also as one exploratory composite.
- The architecture cannot be decomposed yet. Retrieval, learner-state tracking, response rules and prompt structure were bundled, so no single component's causal contribution is identified.
What the study compared
The benchmark held 24 algebra tasks in six categories: simplifying expressions, solving linear equations, substitution, worked-solution error identification, symbolic-relationship interpretation and short conceptual prompts. Each episode paired an initial task with one scripted follow-up representing partial progress, a misconception or a request for clarification. The integrated condition retrieved from a corpus whose chunks carried topic, subskill, resource type, difficulty and misconception tags; the baseline had no corpus access.
The integrated learner-state object held the problem, subskill, recent attempt, detected error, hint count and support level. A policy layer selected among a conceptual prompt, light hint, procedural hint, misconception correction, worked-step explanation and full solution. Ten reviewers were invited and eight completed the evaluation. They reported experience from 3 to 5 years to more than 20 years, with highest qualifications of bachelor's degree (n = 2), master's degree (n = 5) and doctoral degree (n = 1).
Four rating dimensions used a 1 to 5 scale and unsupported content was recorded as present or absent. Reviewers saw response pairs labeled only A and B, but A was always the baseline and B always the integrated tutor, so the paper calls the evaluation anonymized rather than fully blinded. Task-level paired comparisons used Wilcoxon signed-rank tests with a Benjamini–Hochberg correction across the four positive dimensions; unsupported-content flags were compared with Fisher's exact test.
Ratings, agreement and failure modes
On conceptual support the integrated condition averaged 4.69 against 4.31 for the baseline (Wilcoxon p = .00015, corrected p = .00030, rank-biserial r = .90). Instructional quality was 4.61 against 4.29 (p = .00010, corrected p = .00030, r = .94), and helpfulness 4.65 against 4.39 (p = .0041, corrected p = .0054, r = .68). The pedagogical-quality composite averaged 4.65 against 4.33 (p = .00024, r = .86). Solution accuracy was 4.84 against 4.74 (p = .0769, r = .53).
In the integrated condition, correlations among the three teaching dimensions ranged from r = .81 to r = .92, and reviewers gave identical scores on all three in 79% of item-level ratings. Baseline correlations ranged from r = .73 to r = .79 with identical scores in 65% of ratings. Mean exact pairwise agreement was 0.47 in the baseline and 0.66 in the integrated condition; agreement within one scale point was 0.93 and 0.86, while composite intraclass correlation was 0.16 and 0.15. Many ratings sat near 5, so differences are expert judgments on a restricted scale.
Unsupported content appeared in 13 of 192 rating cells for the integrated tutor and 1 of 192 for the baseline (Fisher's exact p = .0015). The original form was binary, so a post-hoc audit could only suggest that several flags were trace-exposure events rather than severe mathematical errors.
What this means for practice
- Instructors. When configuring a retrieval-grounded tutor, check that internal chunk identifiers, evidence labels and policy names never appear in the learner-facing response.
- Instructors. Prefer staged hints and misconception-specific prompts over immediate full solutions when the goal is learner reasoning rather than a finished answer.
- Institutions. Require a post-generation check that regenerates or rewrites any response exposing internal traces before it reaches a learner.
- Researchers. Run ablation conditions that separate retrieval, learner-state tracking and pedagogical prompting before attributing the rating advantage to RAG (Retrieval-Augmented Generation) alone.
Limitations
- No real learners participated, so the study cannot speak to learning gains, motivation, persistence, authentic adaptivity or long-term use.
- The integrated condition changed several components at once, so the separate causal value of retrieval, learner state or response policy is not identified.
- The algebra corpus was built to match the 24 benchmark tasks, which limits external validity to less controlled learner questions and imperfect corpus-task alignment.
- Eight reviewers is a small panel; response order was fixed, creating a realistic risk of partial unblinding, and reliability estimates were low because ratings clustered near the ceiling.
- Unsupported content was scored as a single binary field, so mathematical errors, unsupported claims and retrieval-label leakage could not be counted separately.
- The findings are exploratory expert-rating evidence, not proof of broad pedagogical superiority or classroom effectiveness.
Citation
Adenuga JA (2026) Retrieval-augmented generation for pedagogically aware educational AI: an expert-rated comparison of a prompt-only LLM tutor and an integrated, learner-state-aware RAG tutor. Front. Educ. 11:1896839. doi: 10.3389/feduc.2026.1896839.