Idea · Aug 15, 2026

Misconception-Routing RAG: Extending Course-Grounded CS1 Chatbots with Socratic Scaffolding and Instructor Concept Analytics

This research adds a misconception-detection and Socratic routing layer on top of verified-source RAG chatbots like Alan, asking whether routing confused queries to guided questioning rather than direct answers reduces misconception persistence and improves learning outcomes in CS1.

What it would do

Grounding a CS1 chatbot in verified course materials, as Alan demonstrates, addresses hallucination and trust. However, grounding alone does not handle a deeper pedagogical challenge: when a student's question reveals a fundamental misconception, answering it directly may reinforce the wrong mental model. This research adds a misconception-routing layer above the RAG retrieval step. A lightweight classifier trained on CS1 query semantics and common error patterns distinguishes information-seeking queries (which receive direct grounded answers) from misconception-revealing queries (which trigger Socratic scaffolding: a sequence of guided questions and partial hints that lead the student toward the correct mental model without revealing it). An instructor-facing analytics module aggregates misconception-tagged queries into a real-time concept-confusion heatmap, giving the instructor class-wide awareness before and during office hours. The study compares a direct-RAG condition against the Socratic-routing condition on misconception persistence, resubmission rates, and student-reported satisfaction across two sections of an introductory programming course.

More in AI Literacy & Ethics

Faculty Co-Design Protocol for LLM Socratic Hint Calibration in CS1

A replicable co-design framework that partners CS1 instructors with researchers to calibrate LLM-generated Socratic hints to institution-specific misconception patterns, extending the ITS co-design methodology from cybersecurity workforce training into introductory programming education.

AI Literacy & EthicsResearch directionResearchAug 19, 2026

Structure-Mapping Auditing for LLM-Generated Programming Analogies: Toward Misconception-Safe Automated Explanation in CS1

LLM-generated analogies for CS1 concepts are increasingly used in instruction, but no framework verifies that their source-to-target mappings are structurally sound. This research builds and validates a Structure-Mapping Theory-grounded auditor that flags and repairs analogy-induced misconceptions before classroom deployment.

AI Literacy & EthicsResearch directionResearchAug 13, 2026

All 110 ideas in AI Literacy & Ethics →