1 min readKnowledge Resource

Knowledge Resource · Open access

EduGuard: A Safe RAG-Based LLM Tutor for Programming Education

Author
Aziz Shuaib Ausi
Published
7 September 2026
Reading time
1 min
Publication type
Knowledge Resource
Availability
Open access
Checking access…

Research introduces EduGuard, a novel retrieval-augmented generation (RAG) framework designed to create safe and pedagogically sound large language model (LLM) tutors for programming education. It addresses critical issues such as hallucination, policy contravention, direct solution provision, and student over-reliance prevalent with unrestricted GenAI tools. EduGuard integrates multiple safeguards, including instructor-approved content retrieval and pedagogical strategy selection, to enhance the reliability and educational efficacy of AI-driven tutoring.

Why it matters

The responsible integration of AI, particularly LLMs, into educational contexts is a critical strategic imperative to ensure academic integrity and effective learning outcomes. Frameworks like EduGuard demonstrate a pathway to mitigate inherent risks while leveraging AI's potential for personalized instruction, thereby shaping future educational strategies and technology adoption policies.

Key insights

  • Unrestricted generative AI (GenAI) tutors pose significant risks in programming education, including hallucination and contradiction of course policies.
  • Such tools can reveal complete solutions to assignments, potentially undermining learning objectives and fostering passive dependence among students.
  • EduGuard is presented as a safe RAG-based LLM tutoring framework specifically for introductory programming.
  • The framework incorporates query understanding, retrieval of instructor-approved course materials, and selection of appropriate pedagogical strategies.
  • It also features rubric-aware generation, claim-level verification, and mechanisms to control student over-reliance.
  • A benchmark dataset, BILearn-CS, comprising instructor-authored and TA-validated queries, was developed to explicitly evaluate the system's provenance.

Source

arXiv — Computers and Society — https://arxiv.org/abs/2607.15738

Citation

Cite this publication (APA 7)

Aziz Shuaib Ausi (2026). EduGuard: A Safe RAG-Based LLM Tutor for Programming Education. Knowledge Resource. Aziz Shuaib Ausi. https://www.azizshuaib.com/verify/ASA-EXE-2026-00117

Verification

This is an authenticated institutional record.

Verification ID
ASA-EXE-2026-00117
Version
v1.0 · r0
Issued
7 September 2026
Publisher
Aziz Shuaib Ausi
Licence
All rights reserved. Reproduction requires written permission.

Verify this publication