Turning Errors into Successes: Designing LLM Tutoring Around Scaffolded Error Correction
Michael W. Asher, Meng Cao, Paulo F. Carvalho
Human-Computer Interaction Institute, Carnegie Mellon University
Summary
Preregistered experiment with 400 adults practicing constraint equations with Gemini 3.5 Flash, showing that Socratic scaffolded error correction—not personalized error explanations—drives learning gains and turns mistakes into mastery experiences.
Key findings
- 01Personalized LLM error explanations showed no reliable learning gain over generic explanations (p ≥ .261), and neither reliably outperformed simply showing the correct answer (p = .094).
- 02In the Socratic condition, custom JavaScript graded each submitted equation and swapped prompt states for Gemini 3.5 Flash: guiding questions for turns 1–6 (with an optional on-demand [SHOW_IMAGE] diagram trigger), a direct step-by-step bailout at turns 7–8, and a concise confirmation once solved.
- 03Learners resolved 64% of their errors (131/206) in dialogue (89% resolved at least one) and scored 9 percentage points (0.24 SD, p = .048) higher on practice-aligned posttest items than explanation-only groups.
- 04Despite taking nearly twice as long (13.3 min vs. 6.8–7.3 min), Socratic sessions were rated less costly (−0.38 SD), less frustrating (−0.39 SD), and more interesting (+0.38 SD)—with the biggest cost reduction for learners with the lowest pretest scores (p = .030).