← Latest papers
💻 computer science

INSIDE the Student's Mind: Jointly Modeling Latent Reasoning and Action in LLM Student Simulators

The paper introduces INSIDE, a student modeling framework that fine-tunes Large Language Models to generate both student actions and their underlying internal reasoning grounded in Bloom's Taxonomy, thereby significantly improving simulation fidelity and reasoning alignment compared to existing prompting methods.

Original authors: Rose Niousha, Minwoo Kang, Narges Norouzi

Published 2026-08-12
📖 3 min read☕ Coffee break read

Original authors: Rose Niousha, Minwoo Kang, Narges Norouzi

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot how to be a student. You show it thousands of examples of kids typing code, getting stuck, asking for help, and trying again. Most robots today are like excellent actors who can memorize the script perfectly; they can type out the exact same code a human student would type. But they are terrible at understanding why the human typed it. They don't know if the student is confused, frustrated, guessing, or having a "lightbulb moment." They only see the final performance, not the messy, internal monologue happening in the student's head. This paper, titled "INSIDE the Student's Mind," comes from the field of Artificial Intelligence and Education. It tackles a specific problem: how to make AI simulators that don't just copy what students do, but also think like them. The authors build on the idea that to truly understand learning, we need to model the invisible reasoning behind the visible actions, much like a detective trying to figure out not just what a suspect did, but what they were thinking when they did it.

The researchers introduce a new framework called INSIDE (Internal Student Dialogue). Think of it as giving the AI robot a "secret voice" or a "thought bubble." Instead of just asking the AI to "write the next line of code," they ask it to first whisper its internal thoughts, then write the code. To teach the AI how to do this, the team used a clever trick: they took real data from a computer science class where students submitted code, got feedback from an AI tutor, and tried again. Since no one recorded the students' actual thoughts, the researchers used a super-smart "teacher" AI to look at the code changes and the feedback, and then reconstruct what a student was probably thinking at that moment. They created a dataset where every code submission is paired with a made-up but realistic "think-aloud" story.

When they trained their AI models using this new "thought + action" data, something interesting happened. The paper finds that these models, which they call INSIDE, became much better at mimicking real students than models that only looked at the code. In fact, the INSIDE models matched the real students' coding patterns (like how many lines they wrote or how often they made mistakes) even better than previous methods. But the real magic was in the "thoughts." The researchers measured how well the AI's internal reasoning matched the actual changes the student made to their code. They found that the INSIDE models achieved a reasoning alignment of up to 57.9%, which was the highest score among all the models they tested.

The paper explicitly argues against the idea that just making an AI "think harder" or "think logically" is enough. They show that if you just ask a standard AI to reason before it acts, it often produces perfect, logical thoughts that lead to perfect code—which is exactly what real students don't do. Real students often have confused, incomplete, or slightly wrong thoughts that lead to buggy code. The paper suggests that to build a truly realistic student simulator, the AI must be allowed to be uncertain, make mistakes in its reasoning, and sometimes misunderstand the feedback, just like a human. The results suggest that by forcing the AI to generate this "messy" internal dialogue first, it creates a much more accurate picture of how a student learns, offering a new way to test and improve AI tutors without needing real humans in the loop.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →