arXiv:2610.19654cs.CLOct 2026

Manuscript Offprint

arXiv:2610.19654

HACHIMI-II: From Role-Play to Learner Behavior Modeling for Faithful Student Simulation

Yilin Jiang, Fei Tan, Xuanyu Yin, Jing Leng, Aimin Zhou

Abstract

Simulated students let researchers test tutoring systems and teaching strategies before real learners are available, but only if the simulation reproduces where a particular learner succeeds and fails. The common approach asks a large language model to role-play a student, but a role does not model what this learner knows or will do next, so the model's own competence fills the gap. Simulated students perform at a level set by the model, differ little from one another, and seldom make the real learners' errors. We model the learner's behavior and recast student simulation as third-person prediction of the learner's next action. HACHIMI-II builds a student model from the learner's history, infers the learner's state for the current item or tutor turn, and compiles it into a behavior harness that constrains the next action. On three item-response datasets, the Wasserstein-1 distance between simulated and real student ability is 2.4−8.4×2.4-8.4\times smaller than that of the strongest baseline. On two dialogue datasets, HACHIMI-II reproduces real student errors with the same knowledge type, locus, and mechanism 1.8−5.1×1.8-5.1\times more often than the strongest baseline, and ablations trace the gains mainly to the explicit learner state. Predicting the learner makes capable models usable as simulated students.

1 Introduction

Simulated students let researchers evaluate educational content and compare teaching strategies before any real learner is involved, and they support the development of tutoring systems when real interaction data is scarce (Käser and Alexandron, 2024; Scarlatos et al., 2026). To serve these uses, a simulated student has to behave like the learner it stands for. It should answer some items correctly, miss others, and make the errors that the real learner makes.

Large language models can write student answers and dialogue turns, and the usual way to obtain them is role prompting, which asks the model to act as a student of a given level (Benedetto et al., 2024; Scarlatos et al., 2026). However, a role prompt names a level without modeling what this learner knows or how the learner will respond to the current item or tutor turn. An aligned model is trained to be correct and helpful (Ouyang et al., 2022; Bai et al., 2022) and already knows the content that the student is supposed to lack, so it fills the gap with its own knowledge and a generic picture of a student. As Figure 1 illustrates, it then either solves the problem despite the assigned role or inserts an error at a step where the learner would not fail. This failure has been described as the competence paradox (Yuan et al., 2026) and as expert knowledge leakage (Song et al., 2026), and we call its observable effect competence leakage. Under leakage, the ability level is set by the model, differences among learners largely disappear, and real errors are rarely reproduced.

Existing remedies add learner profiles (Lu and Wang, 2024), agent memory (Xu et al., 2024), or prompt-level constraints on what the student knows. They enrich the description of the student, but the model is still asked to act as the student and still has to suppress what it knows. Evaluations of prompting-based simulators report limited fidelity to real student behavior (Scarlatos et al., 2026).

In this paper, we counter competence leakage by modeling the learner's behavior, which changes the task framing from role-play to prediction. A request to act as a weak student asks the model to suppress knowledge it has. A request to predict what a particular learner will do next asks the model to use that knowledge, because the model must know the correct solution to judge where this learner will depart from it. Following this framing, we propose HACHIMI-II (Figure 1). It describes the learner in the third person through a

∗^{*}Corresponding author.

Figure

Figure 1: Role-prompted simulation (top left) and the four steps of HACHIMI-II on a linear equation.

student model built from observed evidence, infers the learner’s state for the current item or tutor turn, compiles that state into a behavior harness, and generates the next action within the bounds that the harness sets on knowledge, reasoning depth, errors, and commitment. HACHIMI-II takes its name from HACHIMI (Jiang et al., 2026), whose corpus of one million student personas provides its learner prior, and adds the state inference and harness stages that turn a persona into a predicted action.

We evaluate HACHIMI-II against role-prompted baselines on five datasets in two formats. In item-response simulation on XES3G5M, Eedi, and ENEM, the Wasserstein-1 distance between the simulated and real distributions of per-student accuracy is 2.4−8.4×2.4-8.4\times smaller than that of the strongest baseline, and HACHIMI-II recovers the ranking of individual students. In dialogue simulation on Eedi QATD2k and Khan/CoMTA, it reproduces real errors with the same knowledge type, locus, and mechanism 1.8−5.1×1.8-5.1\times more often than the strongest baseline and more than doubles the F1 of error-state prediction. It also attains the highest agreement with the real learners on all five datasets.

This paper makes three contributions. First, we show that competence leakage in role-prompted simulation affects the ability level, the differences among learners, and their errors, and we recast the task as third-person prediction of the learner's next action. Second, we propose HACHIMI-II, which models the learner's behavior with a student model, a learner state inferred at each step, and a behavior harness compiled deterministically from that state. Third, on three item-response and two dialogue datasets, ablations show that the three components govern different parts of the simulated behavior, with the learner state as the main source of the gains.