
Preprint: Simulated coding tutors often steer students away from valid solutions
Sky Cen, Shashank Sonkar
arXiv preprint
Резюме на 500 слов

In a controlled simulation, large language model tutors frequently failed to build on a student's valid approach to a programming problem. When a simulated student proposed an alternative strategy—even a correct one—the tutor often redirected them toward the tutor's preferred method rather than supporting the student's reasoning. This pattern appeared across several open-source models, though the frequency varied by model and conversation type.
The study, reported as an arXiv preprint, introduced MUSE, a Multi-solution Understanding and Simulation Environment. It controls the solution strategy attributed to a simulated student while tracking the solution the tutor intended at each conversational turn. The researchers used 150 programming problems from the NeetCode 150 collection, each with three valid solutions ranked by computational efficiency as brute force, suboptimal, or optimal. They tested four LLM tutors: GPT-OSS 120B, Qwen3.8-27B, Llama 3.3 70B Instruct, and Gemma 4 12B IT.
Conversations began either with the tutor giving direct solution guidance or with a probe-first approach that first asked what the student had tried. The simulated student could present a correct or an incorrect intuition for the chosen solution. When tutors did provide solution-specific guidance in their opening response, they favored the brute-force approach in 22.2 to 32.1 percent of cases, compared with only 13.0 to 19.4 percent for the optimal solution. Models also differed in how often they gave only general advice: Llama did so 53.9 percent of the time versus 30.0 percent for GPT-OSS.
Responsiveness was measured as whether the tutor next supported the student's proposed solution or gave general advice. Probe-first openings improved this behavior for correct student intuitions, with gains varying by model. GPT-OSS showed a 19.8 percentage point increase over direct openings. After the student completed a solution, all base models tended to move toward more optimal approaches, but Llama did so most strongly, while Qwen remained more anchored to the student's method. In 6.1 to 7.1 percent of post-solution turns, tutors directed students to a less optimal approach.
Supervised fine-tuning on synthetic conversations that demonstrated responsive tutoring helped a Gemma-based model. Training without explicit solution information raised support rates by 9.9 percentage points for correct intuitions and 17.7 for false intuitions. Post-solution transition scores also improved, from 0.343 to 0.570 for correct intuitions and from 0.349 to 0.625 for false intuitions. Providing candidate solutions during both training and inference further increased transition scores to 0.936 for correct intuitions and 0.903 for false intuitions, and it eliminated moves toward less optimal solutions in the correct-intuition condition.
The findings concern how LLM tutors interact with scripted student moves, not actual learners. The problems came from a curated interview-style set, so results may not generalize to other educational contexts. The authors tested fine-tuning in a limited set of configurations. Still, the simulation offers a clear way to study an important tutoring skill that is often ignored in evaluations, and the improvements suggest that targeted training can help.


