# Retrieval-Augmented Tutoring for Algorithm Tracing and Problem-Solving in AI Education

arXiv: https://arxiv.org/abs/2605.12988 · HTML: https://mlsanity.com/paper/2605.12988/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Placed in Agentic RAG, agents and memory, one of 15 directions in Retrieval-augmented generation.
- Builds on 11 of its 28 references that are in the map.
- First posted on arXiv 13 May 2026.

## Placed in

- Retrieval-augmented generation / [Agentic RAG, agents and memory](https://mlsanity.com/rag/agentic-rag-agents-and-memory/)

## Builds on (most cited first, 11 of 11)

- [Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks](https://mlsanity.com/paper/2005.11401/) (2020)
- [Billion-scale similarity search with GPUs](https://mlsanity.com/paper/1702.08734/) (2017)
- [Evaluation of RAG Metrics for Question Answering in the Telecom Domain](https://mlsanity.com/paper/2407.12873/) (2024)
- [How to Build an Adaptive AI Tutor for Any Course Using Knowledge Graph-Enhanced Retrieval-Augmented Generation (KG-RAG)](https://mlsanity.com/paper/2311.17696/) (2023)
- [Student Perspectives on the Benefits and Risks of AI in Education](https://mlsanity.com/paper/2505.02198/) (2025)
- [A Survey of LLM-Based Applications in Programming Education: Balancing Automation and Human Oversight](https://mlsanity.com/paper/2510.03719/) (2025)
- [Students' Reliance on AI in Higher Education: Identifying Contributing Factors](https://mlsanity.com/paper/2506.13845/) (2025)
- [LeanTutor: Towards a Verified AI Mathematical Proof Tutor](https://mlsanity.com/paper/2506.08321/) (2025)
- [Trust and Reliance on AI in Education: AI Literacy and Need for Cognition as Moderators](https://mlsanity.com/paper/2604.01114/) (2026)
- [What Drives Students' Use of AI Chatbots? Technology Acceptance in Conversational AI](https://mlsanity.com/paper/2602.20547/) (2026)
- [EduMod-LLM: A Modular Approach for Designing Flexible and Transparent Educational Assistants](https://mlsanity.com/paper/2511.21742/) (2025)

## Built on by (most cited first, 2 of 2)

- [On-Premises Multi-Course RAG Tutoring for Business Education: Hardware-Software Trade-offs in a Campus AI Tutor](https://mlsanity.com/paper/2610.02510/) (2026)
- [Do LLM Tutors Actually Teach? A Process-Centered Synthesis of the Tutoring Loop](https://mlsanity.com/paper/2610.15692/) (2026)

## Abstract (arXiv)

Students learning algorithms often need support as they interpret traces, debug reasoning errors, and apply procedures across unfamiliar problem instances. In this paper, we present KITE (Knowledge-Informed Tutoring Engine), a Retrieval-Augmented Generation (RAG)-based intelligent tutoring system designed to serve as a classroom teaching assistant for algorithmic reasoning and problem-solving tasks. KITE uses an intent-aware Socratic response strategy to tailor support to different student needs, responding with targeted hints, guiding questions, and progressive scaffolding intended to strengthen students' algorithmic problem-solving ability. To keep responses aligned with course content, KITE uses a multimodal RAG pipeline that retrieves relevant information from course materials. We evaluate KITE using three forms of assessment: RAGAs-based metrics for response grounding and quality, expert evaluation of pedagogical quality, and a simulated student pipeline in which a weaker language model interacts with KITE across two-turn dialogues and produces revised answers after receiving feedback. Results indicate that KITE produces contextually grounded and pedagogically appropriate responses. Further, using simulated students, KITE's feedback helped the student models produce more accurate follow-up responses on procedural and tracing questions, suggesting that its scaffolding can support algorithmic problem-solving. This work contributes a tutoring architecture and an evaluation approach for assessing retrieval-grounded explanations and scaffolded problem-solving feedback.
