Manuscript Offprint
arXiv:2611.02002To Align Long, Plan Short: Simulating Diverse Profile-Aligned Students by Realizing Short-Term Plans in Long-Horizon Learning Environments
Abstract
Simulated students offer a scalable way to test learning platforms and AI tutors before deployment with real students and to augment scarce data for studying learning at scale. Existing LLM-based simulators primarily target short, language-centered interactions. In open-ended learning environments, however, student behavior emerges from patterns across long-horizon interaction trajectories, where turn-level prompting can drift from an assigned behavior profile. We introduce ALPS (Align Long-term by Planning Short-term), a hierarchical simulated student conditioned on observable, environment-specific behavior profiles. Rather than selecting every action independently, ALPS alternates between planning profile-aligned task segments and generating the corresponding actions. We evaluate ALPS in both data-sufficient and data-scarce settings, where supervision comes either from real student trajectories or from a teacher LLM. Across both settings, we compare in-context learning (ICL), supervised fine-tuning (SFT), reward-ranked fine-tuning (RAFT), and their sequential combination (SFT→RAFT). Experiments in an inquiry-based physics game and a pharmacy simulation evaluate behavioral density and coverage against held-out real data, and profile consistency using a human-aligned LLM judge. Across both settings, ALPS consistently outperforms turn-level generation, achieving comparable density and judge pass rates under scarce supervision, although coverage remains lower. These results show that hierarchical planning enables faithful, profile-aligned simulation over long interaction horizons, even with limited real student data.
1 Introduction
Interactive learning technologies increasingly rely on AI to provide personalized support, evaluate learning experiences, and guide adaptive interventions. Developing and validating such systems requires realistic student behavior: students who explore, pursue different strategies, and make mistakes, rather than merely records of success and failure. Collecting such behavior at scale is difficult. Classroom access, cost, and privacy constraints result in datasets that are small and skewed, with rare behavior patterns, often those of the students an intervention aims to support, being the least represented (Baker and Hawn 2022). Simulated learners, computational models that emulate how students interact with learning environments (Käser and Alexandron 2024), offer a scalable alternative for testing learning platforms and
adaptive interventions before deployment (VanLehn, Ohlsson, and Nason 1994; Robinson, Jahanian, and Reich 2018; Nazaretsky, Hershkovitz, and Alexandron 2019) and augmenting datasets with rare but pedagogically important behaviors (Khalil, Liu, and Jovanovic 2025; Khalil et al. 2025; Liu et al. 2025). To fulfill this promise, simulated learners must be faithful, reproducing realistic student behavior, and diverse, representing the range of learner behaviors.
Earlier simulated learners were based on cognitive, rule-based, or probabilistic models learned from interaction logs (Li et al. 2011; MacLellan et al. 2016; Corbett and Anderson 2005; Faucon, Kidzinski, and Dillenbourg 2016; Botelho, Adjei, and Heffernan 2016). While these approaches provide interpretable and controllable models of student behavior, they typically rely on a small number of predefined states or parameters, limiting their ability to capture the richness of real student behavior (Käser and Alexandron 2024). More recently, large language models (LLMs) have enabled richer simulated learners. Existing LLM-based simulators, however, have primarily focused on short, language-centered interactions, including tutoring dialogues (Jin et al. 2025; Schmucker et al. 2023; Zhang et al. 2025; Xu et al. 2025; Scarlatos et al. 2026; Duan et al. 2026), misconceptions and errors (Ross and Andreas 2025; Fernandez et al. 2024; Sonkar et al. 2024; Daheim et al. 2024), assessment responses (Benedetto et al. 2024; Scarlatos et al. 2025; Nguyen et al. 2025; He-Yueya et al. 2024; Lu and Wang 2024), and mathematical or programming practices (Ross et al. 2025; Nguyen, Tshiatschek, and Singla 2024) (see Appendix A). Whether they can generate coherent, diverse behavioral trajectories in longer horizons remains largely unexplored.
Our work focuses on simulating learners in open-ended learning environments (OELEs), where students engage in long exploratory interaction trajectories rather than short exchanges. In this setting, behavior emerges from patterns across entire trajectories rather than individual actions. This shift from turn-level responses to trajectory-level behavior introduces three key challenges. First, maintaining a consistent behavior profile becomes more difficult. Because trajectories span hundreds of interactions, LLMs tend to drift from their assigned profiles (Abdulhai et al. 2025). Second, existing work typically conditions simulated learners on generic attributes such as knowledge states, personality traits, or demographics (Liu et al. 2024; Jin et al. 2025). These attributes describe the student, but not how the student behaves in a particular learning environment, leaving no observable basis for verifying generated trajectories. Many pedagogically meaningful behaviors are also environment-specific, arising from the available actions and constraints rather than general learner characteristics. Finally, the scarcity of student data that motivates simulated learners also constrains their development. New environments often provide only a handful of trajectories or none at all, making it difficult to learn environment-specific behavior profiles. Existing work shows that prompting performs poorly under such limited supervision (Scarlatos et al. 2026), leaving the development of faithful and diverse simulated learners an open problem.
To address these challenges, we formulate student simulation as profile-conditioned generation of long interaction trajectories. Rather than conditioning on generic learner attributes, we derive environment-specific behavior profiles from real student trajectories (or adopt established profiles from prior work), providing an observable target for both generation and evaluation. We introduce ALPS (Align Long-term by Planning Short-term), a hierarchical simulator inspired by planning-based agents for long-horizon tasks (Sutton, Precup, and Singh 1999; He et al. 2024; Zhao et al. 2024). Instead of generating trajectories action by action, ALPS decomposes them into semantically meaningful segments. A segment planner specifies the behavior for each upcoming segment, and an action generator realizes this plan via individual actions in the environment. This hierarchical decomposition maintains coherent behavior over long trajectories while preserving flexibility within each segment. We adapt ALPS to target profiles under two supervision settings: a data-sufficient setting, where real trajectories provide direct supervision, and a data-scarce setting, where a teacher model supplies supervision. In both settings, we compare in-context learning (ICL), supervised fine-tuning (SFT), and reward-ranked fine-tuning (RAFT) (Dong et al. 2023).
We evaluate ALPS in two OELEs, an inquiry-based physics game (TugLet) (Käser, Hallinen, and Schwartz 2017) and a pharmacy simulation (PharmaSim) (Radmehr, Singla, and Käser 2025), against turn-level generation. We evaluate behavioral density and coverage against held-out real data, and profile consistency using a human-aligned LLM judge. Across both environments and supervision settings, ALPS consistently produces more profile-consistent trajectories than turn-level generation, with further gains from adaptation. Our main contributions are:
-
A formulation of student simulation as profile-conditioned generation of long interaction trajectories, using observable, environment-specific behavior profiles.
-
ALPS, a hierarchical planner-generator architecture that maintains coherent behavior over long trajectories through segment-level planning.
-
Adaptation methods for two data settings, pairing ICL, SFT, and RAFT with real or teacher supervision.
-
A comprehensive empirical evaluation demonstrating improved density and profile consistency across two OELEs in data-sufficient and data-scarce settings.
Our implementation and evaluation code will be released publicly.
2.1 Defining Behavior Profiles
We derive behavior profiles from a set of real student trajectories, available in the data-sufficient setting (Figure 1, step 1). Following the behavior-based clustering approach of (Käser and Schwartz 2020), each trajectory is represented using action-specific behavioral features capturing the intensity, quality, and temporal distribution of student actions. We compute action-specific similarities from these features using Euclidean distance, embed their sum into a Euclidean space using multidimensional scaling, and cluster with k-means, selecting the number of clusters via the Bayesian Information Criterion (BIC) averaged over 200 seeds. Each trajectory is thereby assigned a behavior profile , where denotes the environment's set of profiles.
We then represent each behavior profile as to condition the simulated student. Here, is a concise description of the behavioral patterns characterizing the profile and is a set of behavioral signatures. We distinguish two types of signatures: hard signatures, behaviors exhibited by all students in the profile, and soft signatures, tendencies shared by at least two thirds of the students, a threshold fixed a priori. We prompt an LLM with cluster statistics and representative trajectories to generate an initial description and set of signatures, which a human domain expert subsequently reviews and refines. For environments with profiles established in prior work, we reuse the published descriptions as and derive the behavioral signatures using the same procedure.
2.2 ALPS
ALPS simulates a student of a target behavior profile p in a long-horizon learning environment. It consists of a hierarchical planner-generator architecture that generates coherent trajectory segments while maintaining alignment with , together with adaptation for both supervision settings.
Architecture. As shown in Figure 1 (Step 2), ALPS generates long trajectories by alternating between a segment planner, which maintains consistency with the target behavior profile, and an action generator, which realizes each planned segment through individual actions. A trajectory is generated segment by segment. A deterministic, environment-specific segmentation map partitions the trajectory into contiguous segments

Figure 1: Overview of the proposed simulation framework. (1) Real student trajectories are clustered into environment-specific behavior profiles. (2) Conditioned on a target profile, ALPS generates long trajectories through a hierarchical planner-generator architecture. (3) When real trajectories are available, ALPS is adapted under both data-sufficient and data-scarce settings using ICL, SFT, and RAFT.
, whose boundaries follow the natural structure of the learning task, such as transitions between environment modes or specific action types. The rules are fixed across profiles and applied identically to real and generated trajectories, producing only a handful of segments even for trajectories containing hundreds of actions.
At the beginning of segment , the segment planner generates a structured behavior plan , where is the current environment state and summarizes the behavior generated in preceding segments (Prompt D.1). The environment description is provided as fixed context and is omitted from the notation. The plan specifies target behavior statistics, whether the trajectory should terminate, and the segment termination condition, while leaving action selection to the generator. To ensure valid plans, we deterministically correct occasional inconsistencies, for example when the planned number of relevant actions of a type exceeds the planned total number of actions of that type.
Within segment , the action generator selects one action per turn: , where contains the actions available in the current state and summarizes the behavior generated within the current segment (Prompt D.2). The generator is conditioned on the target profile only indirectly through , which serves as a soft behavioral target because some planned actions may be infeasible in the current state. If the generated action is invalid, the model retries once; if the retry also fails, it uniformly samples an allowed action from that does not terminate the trajectory. At segment completion, the generated actions are deterministically summarized into for the next planner call. The planner and generator alternate until the planner terminates the trajectory or the action budget is exhausted. Appendix B describes the environment-specific segmentation rules and behavior plan fields.
Adaptation. Adaptation uses the available real data to improve alignment with the target behavior profile beyond prompting with alone (Figure 1, Step 3). We compare ICL, SFT, and RAFT, applying RAFT either to the base model or to the SFT-adapted model (SFT→RAFT). For SFT and RAFT, we train one LoRA adapter per profile, component, and environment. The three methods differ between data settings only in the context provided for ICL, the demon-
strations used for SFT, and the reward used by RAFT.
ICL requires no training and conditions the planner or action generator directly on examples from the corresponding data setting. For SFT, each demonstration trajectory is partitioned into segments using the rules from Section 2.2. Each segment provides one planner example, with a target plan extracted from the observed actions. Each action provides one action-generator example conditioned on and the interaction context at turn . Because trajectories differ in length, we up-sample underrepresented later segments, and train both components with token-level cross-entropy.
RAFT uses the same example format in a generate-filter-train cycle. The simulator generates complete trajectories, and a reward selects those that match the target profile. After removing near-duplicates in the feature space, the accepted ones are converted into training examples. The planner target for each accepted segment is its generated summary , so the planner learns from generated rather than intended behavior. Action-generator examples are retained only when matches the original plan within a tolerance, so the generator learns from segments that followed their plans.
In the data-sufficient setting, we augment the profile representation with quantitative summary statistics estimated from the real trajectories in , for example the range of test counts associated with grinding behavior. ICL also conditions the planner on few-shot examples from the intended profile. The profile-labeled trajectories in provide the demonstrations for SFT and the data for constructing the in-profile reward for RAFT. We implement the in-profile reward using a weighted -nearest-neighbor (KNN) classifier over the behavioral feature space (Section 2.1). We fit the classifier on , with neighbor votes weighted by inverse class frequency and inverse distance and selected by leave-one-out cross-validation on balanced accuracy. In-profile accepts a generated trajectory when its classifier score for the target profile exceeds 0.5 and it passes a within-profile outlier gate. The gate requires that the distance from to the real trajectories of the target profile does not exceed the 95th percentile of the distances observed among real students of that profile.
The data-scarce setting provides three real trajectories per profile in . Here, ICL conditions both components on the segmented trajectories in as in-context examples. Because little real supervision is available, a teacher LLM provides the reward for RAFT and demonstrations for SFT.
As reward, the teacher provides the teacher reward (TR). Given , the target examples in , contrast examples from the two most similar profiles, and a candidate trajectory , it evaluates the trajectory using a fixed checklist of binary questions. The questions cover behavioral realism, overall profile match, and the presence of signatures . Following recent work, each answer includes a one-sentence justification citing relevant trajectory segments because checklist-and rubric-based evaluation is more reliable than scalar judgments (Gunjal et al. 2025). It also receives a feature table comparing the candidate with target and contrast examples, avoiding the need for the LLM to count actions from the trajectory. No feedback is returned to the generator (Prompt D.5). Because the LLM may misjudge individual items, TR tolerates a small number of failed checks per question category. We calibrate this tolerance on per environment. Automated aggregation applies the same acceptance rule across profiles while keeping the reason for each rejection inspectable (See C.1). The same teacher generates demonstrations for SFT. Given and the segmented target-profile examples in , it generates candidate trajectories using the planner-generator architecture (Prompt D.4). Candidates accepted by TR form the teacher demonstration set used for SFT.
3 Experimental Protocol
We evaluate ALPS in two OELEs under the data-sufficient and data-scarce settings described in Section 2. For each condition, we generate simulated populations for every behavior profile and compare them with held-out real students using measures of density, coverage and an LLM judge evaluation.
3.1 Learning Environments and Data
All experiments use real interaction data from two open-ended environments that differ in interaction style and trajectory length: TugLet, an inquiry-based game in which students experiment with tug-of-war contests to discover that motion occurs toward the side with the greater net force (Käser and Schwartz 2020), and PharmaSim, a simulated pharmacy environment for practicing diagnostic conversations (Radmehr, Singla, and Käser 2025). Trajectories span tens of actions in PharmaSim (median 31, maximum 61) and up to 185 actions in TugLet (median 41, 90th percentile 124), requiring profiles to remain coherent over interactions of very different lengths. TugLet contains six behavior profiles adopted from prior work (Käser and Schwartz 2020), whereas we derived the five PharmaSim profiles using the procedure of Section 2.1 (See Appendix B).
The TugLet dataset comprises trajectories from 249 students, and the PharmaSim dataset from 234 students. We partition each into a development set (140 students in both environments) and a held-out test set (109 students in TugLet, 94 in PharmaSim), stratified by the profile labels so that every profile contains at least five test students. The development set provides all profile definitions, demonstrations, and rewards. For the data-scarce setting, we construct by sampling three trajectories per profile from . The held-out set is used exclusively for evaluation. Its trajectories are labeled by a weighted KNN classifier (Section 2.2) trained on , and no test-set information is used for training, adaptation, or rewards.
3.2 Models and Conditions
We use Qwen3-8B (Yang et al. 2025) as the simulated student. GPT-OSS-120B (OpenAI 2025) serves as the teacher LLM in the data-scarce setting and as a prompted ICL reference student. All adapters are trained on Qwen3-8B.
We compare ALPS against a turn-level student, a single LLM invoked with a fresh prompt at each turn to select the next action. Each prompt contains , the environment description, the current state, the valid actions, and a running summary of the generated behavior. The turn-level student has no segment planner and is adapted using the same methods as ALPS, with training examples constructed per turn (Prompt D.3). We evaluate ICL, SFT, RAFT, and SFT→RAFT using the setting-specific context, demonstrations, and rewards defined in Section 2.2.
3.3 Adaptation and Generation
For each fine-tuning run, we split the available examples 80/20 into training and validation sets and retain the checkpoint with the lowest validation loss. RAFT uses a single generate-filter-train cycle with the setting-specific reward, accepting up to 100 trajectories per profile and architecture. In the data-scarce setting, candidates are generated using the examples in , but these are excluded from the training inputs. Adapted models are therefore trained and evaluated without in-context examples.
For each condition, we generate 100 trajectories per profile at temperature 0.7 using identical decoding parameters. A trajectory terminates when the learning task ends or the environment's action budget is exhausted. Trajectories reaching the budget limit are completed using the same deterministic procedure for both architectures. We repeat the full pipeline three times with different training, generation, and evaluation seeds and report the mean and standard deviation.
3.4 Evaluation
We measure behavioral density and coverage in the feature space of Section 2.1 using Clipped Density (density) and Clipped Coverage (coverage), two standard metrics for evaluating generative models (Salvy, Talbot, and Thirion 2026). Density measures how frequently generated trajectories fall within the local neighborhoods of real trajectories. Coverage measures the fraction of real trajectories whose neighborhood contains at least one generated trajectory. We use neighbors by default and reduce this to for profiles with fewer than 10 test students. For profiles with few students, larger neighborhoods overlap substantially, causing coverage to saturate even when generated trajectories cover only a small portion of the profile. We report both the mean across profiles and the worst-profile score, since strong average performance can hide failure on an individual profile.
Feature-based metrics may miss unnatural behavior within individual actions. We therefore also evaluate every generated trajectory using the strict verdict (See
Appendix C.4). The blind profile-identification component measures whether a human-aligned LLM judge correctly infers the intended profile without seeing its label. The signature component verifies that satisfies every signature of the intended profile, while the rule-based component detects mechanical generation artifacts using deterministic checks. Two domain experts constructed the artifact list by reviewing generated trajectories and verifying each irregularity against the real data. The judge prompts, inputs, and components are independent of the adaptation reward TR, ensuring no condition is evaluated using its training signal (Prompt D.6).
The thresholds in are set at the observed extremes of real students, and the checks in are calibrated so that every real student passes the complete verdict. We report the pass rate on generated trajectories, i.e., the fraction satisfying the complete profile and realism rubric.
We aligned the LLM-based components with human judgments using 50 generated trajectories per environment, sampled across architectures and adaptation methods. Two raters independently annotated 25 PharmaSim and 18 TugLet trajectories. Human inter-rater agreement, measured by Cohen's , was high for blind profile identification (Cohen's and 0.87) and full signature coverage ( and 1.00), respectively. One rater annotated the remaining trajectories. The judge agreed with human blind profile labels on all annotated trajectory in both environments (). Agreement on hard-signature checks was high as well ( and 0.94).
4 Results
We evaluated ALPS across two learning environments under two data settings. Exp1 considered the data-sufficient setting, where real profile-labeled trajectories directly supervised model adaptation. Exp2 considered the data-scarce setting, where only three real trajectories per profile were available and a teacher LLM supplied the remaining supervision. In both experiments, we compared turn-level generation and ALPS using ICL, SFT, RAFT, and SFT→RAFT. For each experiment, we report feature-based metrics computed on the held-out along with the human-aligned LLM judge results and ablation studies.
4.1 Data-Sufficient Setting (Exp1)
First, we examined how architecture and adaptation affect profile alignment when real profile-labeled trajectories are available for direct supervision. Table 1 reports density, coverage and judge pass rate for turn-level generation and ALPS under ICL, SFT, RAFT, and SFT→RAFT. Per-profile results and statistical tests are reported in Appendix Tables 10, 11, and 17. Across both environments, an ALPS configuration achieves the strongest balance of density and coverage while maintaining realistic behavior.
Without fine-tuning, ALPS significantly improves density and judge pass rate over turn-level generation for GPT-OSS in both environments, with judge pass rates roughly tripling. It also significantly improves GPT-OSS coverage on PharmaSim, although coverage decreases on TugLet. Unlike ALPS, turn-level GPT-OSS fails completely on at least one difficult or long-horizon profile in each environment, driving its worst-profile scores to zero. None of the architecture comparisons is significantly positive for Qwen3.
For GPT-OSS, ALPS limits profile drift by maintaining the assigned profile through a small number of segment-level decisions rather than re-establishing it at every action. The trajectory-prefix analysis in Appendix E.2 supports this explanation: GPT-OSS ALPS becomes increasingly profile-aligned as trajectories unfold, while turn-level generation stagnates or declines toward chance. For Qwen3 on TugLet, turn-level generation achieves higher density and coverage but a very low judge pass rate, indicating mechanistic agreement with aggregate features rather than realistic profile behavior. Removing the three long examples makes Qwen3 ALPS significantly outperform turn-level generation in both density and judge pass rate (Appendix E.4), suggesting that the added context overloads the 8B model and makes segment planning less reliable.
We next examined how fine-tuning adaptations improved the prompted simulators. Among the adaptation methods, every improvement that remains significant after correction comes from adding SFT to the prompted model. No comparison involving RAFT is significantly positive. Compared with ICL, SFT improves all three metrics for ALPS in both environments, with significant gains in coverage, its weakest metric under ICL. Relative to turn-level SFT, ALPS significantly improves density and judge pass rate in both environments, as well as coverage on TugLet. Its coverage gain on PharmaSim is not significant, but, together with the substantially higher density, indicates a population that covers real students more faithfully. SFT therefore complements the hierarchical architecture by reducing mechanistic behavior and strengthening profile-aligned planning, making SFT-adapted ALPS the only configuration that performs strongly across all three metrics. It also changes the comparison with the much larger prompted GPT-OSS: although GPT-OSS achieves higher per-trajectory density, adapted Qwen3 covers more real students within each profile in both environments.
To isolate the source of the SFT gains, we separately ablate the planner and generator adapters (Appendix Table 16). The planner accounts for most profile alignment: replacing it with its prompted version returns PharmaSim to prompted density and coverage and sharply reduces all metrics on TugLet. This larger drop likely reflects co-adaptation, as the adapted generator receives plans that differ from those produced by the adapted planner during training. The generator primarily supports coverage: replacing it reduces coverage in both environments and worst-profile density, while mean density changes little. Thus, the planner maintains profile alignment, while the generator broadens coverage of real students within each profile.
RAFT applied directly to base model provides the least advantage compared to ICL adaptation among the fine-tuning adaptation variants. On PharmaSim, the acceptance filter admits no candidates for two of the five profiles, preventing adapter training for those profiles. On TugLet, RAFT is significantly worse than SFT on all three metrics. Applied after SFT, RAFT achieves the best nominal value in several
| Model | Architecture | Adaptation | Signal Source | Clipped Density↑ | Clipped Coverage↑ | Judge pass rate ↑ | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| mean | worst | mean | worst | mean | worst | |||||
| PharmaSim | GPT-OSS | Turn-level | ICL | 3-shot | 22.5±0.3 | 0.0±0.0 | 2.2±0.7 | 0.0±0.0 | 39.6±0.2 | 0.0±0.0 |
| ALPS | ICL | 3-shot | 76.0±2.3* | 47.9±4.5 | 9.7±0.3* | 3.0±0.0 | 95.6±0.8* | 86.9±1.5 | ||
| Qwen3 | Turn-level | ICL | 3-shot | 37.4±0.6 | 0.0±0.0 | 4.2±1.3 | 2.0±1.4 | 46.6±0.3 | 1.0±0.8 | |
| RAFT | in-profile | 21.1±2.5 | 0.0±0.0 | 13.7±6.0 | 0.0±0.0 | 28.1±2.2 | 0.0±0.0 | |||
| SFT | 37.7±4.3 | 8.6±5.2 | 43.0±6.5 | 6.3±2.8 | 53.2±5.6 | 23.8±11.3 | ||||
| SFT→RAFT | , in-profile | 29.3±8.8 | 2.9±2.9 | 27.2±14.1 | 2.9±2.4 | 44.3±7.7 | 10.9±5.2 | |||
| ALPS | ICL | 3-shot | 30.7±0.8 | 5.2±2.6 | 8.3±1.4 | 3.0±0.0 | 41.9±1.2 | 8.7±3.4 | ||
| RAFT | in-profile | 36.6±5.9* | 8.3±3.3 | 7.4±1.3 | 3.0±0.0 | 68.2±2.2* | 37.7±5.0 | |||
| SFT | 64.9±6.0* | 30.8±6.3 | 51.0±7.4 | 16.2±0.9 | 72.7±5.2* | 34.7±18.7 | ||||
| SFT→RAFT | , in-profile | 69.7±3.1* | 33.4±5.8 | 58.1±2.8* | 21.2±5.0 | 75.8±3.8* | 41.6±20.4 | |||
| TugLet | GPT-OSS | Turn-level | ICL | 3-shot | 48.7±4.0 | 2.0±2.0 | 48.8±7.8 | 3.0±0.0 | 20.6±0.3 | 0.0±0.0 |
| ALPS | ICL | 3-shot | 83.9±1.1* | 42.4±6.5 | 3.9±6.7 | 9.9±0.0 | 69.7±0.8* | 11.0±1.6 | ||
| Qwen3 | Turn-level | ICL | 3-shot | 48.4±2.3 | 0.4±0.6 | 69.1±0.2 | 1.0±1.4 | 6.9±0.9 | 0.0±0.0 | |
| RAFT | in-profile | 5.6±1.0 | 0.0±0.0 | 5.3±0.5 | 0.0±0.0 | 5.2±0.5 | 0.0±0.0 | |||
| SFT | 28.9±1.2 | 0.0±0.0 | 11.0±0.4 | 0.7±0.9 | 19.2±1.1 | 0.0±0.0 | ||||
| SFT→RAFT | , in-profile | 31.8±4.3 | 2.4±3.4 | 10.8±0.9 | 3.0±2.9 | 23.8±3.1 | 0.3±0.5 | |||
| ALPS | ICL | 3-shot | 15.7±0.2 | 4.2±2.4 | 13.5±5.4 | 3.0±0.0 | 15.4±0.4 | 3.3±1.2 | ||
| RAFT | in-profile | 34.8±4.4* | 2.1±1.3 | 7.5±1.3* | 4.0±0.8 | 25.9±3.2* | 4.3±2.5 | |||
| SFT | 46.3±6.3* | 22.2±4.6 | 47.7±5.1* | 16.8±4.0 | 47.6±2.2* | 27.7±4.8 | ||||
| SFT→RAFT | , in-profile | 52.9±7.1* | 9.1±4.1 | 46.4±7.3* | 5.0±0.8 | 41.2±5.3* | 11.0±7.3 | |||
Table 1: Exp1: Data-sufficient setting. Simulation quality in PharmaSim and TugLet, reported as percentages (mean±std over three seeds). Mean averages performance across behavior profiles, and worst reports the lowest-performing profile. denotes the real profile-labeled trajectories used for SFT, and in-profile denotes trajectories accepted by the RAFT reward and used for fine-tuning. Bold and underlined values indicate the best and second-best results, respectively, computed separately for GPT-OSS and Qwen3 within each environment. Almost all column-wise best result is achieved by an ALPS configuration. * indicates that ALPS significantly outperforms its turn-level counterpart ().
columns but does not significantly outperform SFT in either environment. We therefore attribute the adaptation gains to SFT. Because the in-profile classifier is built from also used for SFT, its reward provides little additional information. It also evaluates aggregate features without considering individual actions, allowing action-level errors to be reinforced. For the turn-level model, RAFT reverses the mean SFT gains. One third of its trajectories show mechanistic repetition, which ALPS largely avoids, but the trajectory-level reward cannot detect.
Overall, the data-sufficient results show that hierarchical generation is the primary driver of profile alignment, SFT consistently improves the simulation quality when real trajectories are available, and RAFT provides no reliable gains with or without SFT.
4.2 Data-Scarce Setting (Exp2)
In our second experiment, we assessed what remains achievable when only three real trajectories per profile are available. Table 2 reports density, coverage and judge pass rate for turn-level generation and ALPS under all adaptation methods. Per-profile results and statistical tests are reported in Appendix Tables 12, 13, and 19. Overall, teacher supervision substantially improves ALPS, whereas no adaptation method reliably improves the turn-level student.
Under ICL, the three trajectories in are included as in-context examples. For GPT-OSS, ALPS significantly improves density and judge pass rate over turn-level generation in both environments, as well as coverage on TugLet.
For Qwen3, however, the longer prompt limits the effectiveness of ICL, and ALPS provides no significant advantage. The zero-shot comparison in Appendix E.4 shows that the examples contribute little to density but consistently increase coverage.
Teacher-guided fine-tuning benefits only the ALPS architecture. Every significant gain over ICL in either environment comes from applying teacher supervision to ALPS, while no turn-level configuration improves significantly. Of the teacher's two roles, demonstration provides most of the benefit: SFT on teacher demonstrations significantly improves density and coverage in both environments and judge pass rate on PharmaSim. On TugLet, the judge pass rate increases nominally but does not differ significantly from the turn-level counterpart.
Teacher demonstrations convey profile information more reliably than few-shot prompting, which must fit the profile description and three examples into the 8B model's context. SFT instead transfers this information, including signature-consistent behavior, into the model weights. This transfer is particularly effective for ALPS, whose planner can learn and maintain the trajectory-level structure in the demonstrations. Consequently, the adapted 8B ALPS performs on par with its 120B teacher. No metric differs significantly on TugLet; on PharmaSim, it matches coverage, remains close to density, and achieves a higher judge pass rate. In contrast, teacher demonstrations do not reliably improve the turn-level student.
The teacher reward succeeds where the data-driven reward in section 4.1 fails because it evaluates each candidate against the profile description, its behavioral signatures, and the gen-
| Model | Architecture | Adaptation | Signal Source | Clipped Density↑ | Clipped Coverage↑ | Judge pass rate ↑ | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| mean | worst | mean | worst | mean | worst | |||||
| PharmaSim | GPT-OSS | Turn-level | ICL | |||||||
| ALPS | ICL | |||||||||
| ICL | ||||||||||
| Qwen3 | Turn-level | RAFT | TR | |||||||
| SFT | TD | |||||||||
| SFT→RAFT | TD→TR | |||||||||
| ALPS | ICL | |||||||||
| RAFT | TR | |||||||||
| SFT | TD | |||||||||
| SFT→RAFT | TD→TR | |||||||||
| TugLet | GPT-OSS | Turn-level | ICL | |||||||
| ALPS | ICL | |||||||||
| ICL | ||||||||||
| Qwen3 | Turn-level | RAFT | TR | |||||||
| SFT | TD | |||||||||
| SFT→RAFT | TD→TR | |||||||||
| ALPS | ICL | |||||||||
| RAFT | TR | |||||||||
| SFT | TD | |||||||||
| SFT→RAFT | TD→TR | |||||||||
Table 2: Exp2: Data-Scarce Setting. Simulation quality in PharmaSim and TugLet when only three real profile-labeled trajectories per profile are available and a teacher LLM provides additional supervision. Results are reported as percentages (mean±std over three seeds). Mean averages performance across behavior profiles, and worst reports the lowest-performing profile. denotes the three real trajectories per profile, TD teacher-generated demonstrations, and TR the teacher reward. Bold values are computed separately for GPT-OSS and Qwen3 within each environment. Almost all column-wise best values are achieved by an ALPS configuration. * indicates that ALPS significantly outperforms its turn-level counterpart ().
erated actions, rather than only measuring proximity to the same real trajectories already used for SFT in an aggregated feature space. Teacher-scored RAFT can therefore identify profile-consistent behavior that the in-profile reward cannot distinguish. Demonstrations nevertheless remain the stronger form of guidance: SFT beats RAFT on the base-model on judge pass rate in both environments because demonstrations add signature-consistent behavior that the prompted model does not sample reliably, whereas a reward can only reselect existing behavior. Applying RAFT after SFT adds no significant gain. Although SFT→RAFT reaches the best nominal judge pass rate in several conditions, no metric improves significantly over SFT alone, and coverage decreases in both environments. After SFT, the model already produces many trajectories that satisfy the teacher judge, so rejection sampling may retain only the most safely accepted candidates and narrow the demonstration-tuned distribution. The teacher is therefore best used to generate demonstrations.
Overall, the data-scarce results show that teacher-generated demonstrations allow ALPS to recover most of the profile fidelity lost from limited real data. ALPS therefore remains the key ingredient for transferring profile-consistent behavior under scarce supervision.
5 Conclusion
We introduced ALPS, a hierarchical simulated student that uses segment-level planning to maintain behavior profiles across long trajectories. Across two environments and two LLMs, it improved profile alignment over turn-level generation and was the only prompted approach to cover every profile. ICL further improved ALPS in both data settings, but recovering the coverage of real students required SFT on sufficient real student trajectories.
Although these results were consistent across the evaluated settings, further evaluation is needed beyond the two environments and model families studied here. ALPS also uses hand-designed segmentation rules and plan fields, and a single RAFT cycle. Future work should test automatic segmentation, ways to increase within-profile coverage under scarce data, iterative adaptation under a reward model, transfer across environments, and downstream uses such as testing adaptive tutors before deployment.
Beyond education, profile-conditioned simulation could support pre-deployment testing of long-horizon interactive systems while reducing the need to share real interaction logs. However, limited within-profile coverage under data scarcity and risks of misuse mean that simulated populations should complement studies with real users and be validated before deployment. Overall, ALPS provides a practical basis for simulating diverse, profile-aligned behavior across long interactions in education, with potential to extended to other human-centered domains.
References
Abdulhai, M.; et al. 2025. Consistently Simulating Human Personas with Multi-Turn Reinforcement Learning. arXiv.
Amershi, S.; and Conati, C. 2009. Combining Unsupervised and Supervised Classification to Build User Models for Exploratory Learning Environments. Journal of Educational Data Mining, 1(1): 18–71.
Baker, R. S.; and Hawn, A. 2022. Algorithmic Bias in Education. IJAIED.
Benedetto, L.; et al. 2024. Using LLMs to Simulate Students' Responses to Exam Questions. In Findings of EMNLP.
Biswas, G.; et al. 2005. Learning By Teaching: A New Agent Paradigm For Educational Software. Appl. Artif. Intell.
Botelho, A. F.; Adjei, S.; and Heffernan, N. T. 2016. Modeling Interactions Across Skills: A Method to Construct and Compare Models Predicting the Existence of Skill Relationships. In Proc. EDM.
Corbett, A. T.; and Anderson, J. R. 2005. Knowledge Tracing: Modeling the Acquisition of Procedural Knowledge. UMUAI.
Daheim, N.; et al. 2024. Stepwise Verification and Remediation of Student Reasoning Errors with Large Language Model Tutors. In Proc. EMNLP.
Diao, J.; et al. 2026. HIPIF: Hierarchical Planning and Information Folding for Long-Horizon LLM Agent Learning. arXiv.
Do, H.; Sonkar, S.; and Sachan, M. 2026. Simulating Students or Sycophantic Problem Solving? On Misconception Faithfulness of LLM Simulators. arXiv.
Dong, H.; et al. 2023. RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignment. TMLR.
Duan, Z.; et al. 2026. Who Am I? History-Aware Profiles for Student Simulation in Tutoring Dialogues. arXiv.
Erdogan, L. E.; et al. 2025. Plan-and-Act: Improving Planning of Agents for Long-Horizon Tasks. In Proc. ICML.
Faucon, L.; Kidzinski, L.; and Dillenbourg, P. 2016. Semi-Markov Model for Simulating MOOC Students. In Proc. EDM.
Fernandez, N.; et al. 2024. DiVERT: Distractor Generation with Variational Errors Represented as Text for Math Multiple-choice Questions. In Proc. EMNLP.
Gonnermann-Müller, J.; et al. 2026. LLM-Based Educational Simulation: Evaluating Temporal Student Persona Stability Across ADHD Profiles. arXiv.
Gunjal, A.; et al. 2025. Rubrics as Rewards: Reinforcement Learning Beyond Verifiable Domains. arXiv.
He, J.; et al. 2024. From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systems. In Proc. ICML.
He-Yueya, J.; et al. 2024. Psychometric Alignment: Capturing Human Knowledge Distributions via Language Models. arXiv.
Hu, M.; et al. 2025a. HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Model. In Proc. ACL.
Hu, T.; et al. 2025b. SimBench: Benchmarking the Ability of Large Language Models to Simulate Human Behaviors. arXiv.
Huang, X.; et al. 2024. Understanding the Planning of LLM Agents: A Survey. arXiv.
III, D. W.; Siddiqui, M. N.; and MacLellan, C. J. 2025. TutorGym: A Testbed for Evaluating AI Agents as Tutors and Students. In Proc. AIED.
Jin, H.; et al. 2025. TeachTune: Reviewing Pedagogical Agents Against Diverse Student Profiles with Simulated Students. In Proc. CHI.
Käser, T.; and Alexandron, G. 2024. Simulated Learners in Educational Technology: A Systematic Literature Review and a Turing-like Test. IJAIED.
Käser, T.; Hallinen, N. R.; and Schwartz, D. L. 2017. Modeling exploration strategies to predict student performance within a learning environment and beyond. In Proc. LAK.
Käser, T.; and Schwartz, D. L. 2020. Modeling and Analyzing Inquiry Strategies in Open-Ended Learning Environments. IJAIED.
Khalil, M.; Liu, Q.; and Jovanovic, J. 2025. AI for data generation in education: Towards learning and teaching support at scale. BJET.
Khalil, M.; et al. 2025. Creating Artificial Students that Never Existed: Leveraging Large Language Models and CTGANs for Synthetic Data Generation. In Proc. LAK.
Kwon, M.; et al. 2023. Reward Design with Language Models. In Proc. ICLR.
Laban, P.; et al. 2025. LLMs Get Lost In Multi-Turn Conversation. arXiv.
Li, K.; et al. 2024. Measuring and Controlling Instruction (In)Stability in Language Model Dialogs. In Proc. COLM.
Li, N.; et al. 2011. A Machine Learning Approach for Automatic Student Model Discovery. In Proc. EDM.
Liu, Q.; et al. 2025. Can Synthetic Data be Fair and Private? A Comparative Study of Synthetic Data Generation and Fairness Algorithms. In Proc. LAK.
Liu, Z.; et al. 2024. Personality-aware Student Simulation for Conversational Intelligent Tutoring Systems. In Proc. EMNLP.
Lu, X.; and Wang, X. 2024. Generative Students: Using LLM-Simulated Student Profiles to Support Question Item Evaluation. In Proc. L@S.
Ma, Y. J.; et al. 2024. Eureka: Human-Level Reward Design via Coding Large Language Models. In Proc. ICLR.
MacLellan, C. J.; and Koedinger, K. R. 2022. Domain-General Tutor Authoring with Apprentice Learner Models. IJAIED.
MacLellan, C. J.; Matsuda, N.; and Koedinger, K. R. 2013. Toward a reflective SimStudent: Using experience to avoid generalization errors. In Proc. AIED.
Maclellan, C. J.; et al. 2014. SimStudent: Authoring Expert Models by Tutoring.
MacLellan, C. J.; et al. 2016. The Apprentice Learner architecture: Closing the loop between learning theory and educational data. In Proc. EDM.
Mannekote, A.; et al. 2025. Can LLMs Reliably Simulate Human Learner Actions? A Simulation Authoring Framework for Open-Ended Learning Environments. In Proc. EAAI@AAAI.
McEneaney, J. E.; and Morsink, P. 2022. Curriculum Modelling and Learner Simulation as a Tool in Curriculum (Re)Design. JLA.
Mertz, J. 1997. Using A Simulated Student for Instructional Design.
Naous, T.; et al. 2026. Flipping the Dialogue: Training and Evaluating User Language Models. In Proc. ICLR.
Nazaretsky, T.; Hershkovitz, S.; and Alexandron, G. 2019. Kappa Learning: A New Item-Similarity Method for Clustering Educational Items from Response Data. In Proc. EDM.
Nguyen, B.; et al. 2025. QG-SMS: Enhancing Test Item Analysis via Student Modeling and Simulation. In Proc. ACL.
Nguyen, M. H.; Tschietschek, S.; and Singla, A. 2024. Large Language Models for In-Context Student Modeling: Synthesizing Student's Behavior in Visual Programming. In Proc. EDM.
OpenAI. 2025. gpt-oss-120b & gpt-oss-20b Model Card. arXiv.
Pareto, L. 2014. A Teachable Agent Game Engaging Primary School Children to Learn Arithmetic Concepts and Reasoning. IJAIED.
Park, J. S.; et al. 2023. Generative Agents: Interactive Simulacra of Human Behavior. In Proc. UIST.
Park, J. S.; et al. 2024. Generative Agent Simulations of 1,000 People. arXiv.
Pateria, S.; et al. 2021. Hierarchical Reinforcement Learning: A Comprehensive Survey. ACM Comput. Surv.
Prasad, A.; et al. 2024. ADaPT: As-Needed Decomposition and Planning with Language Models. In Findings of NAACL.
Radmehr, B.; Singla, A.; and Käser, T. 2024. Towards Generalizable Agents in Text-Based Educational Environments: A Study of Integrating RL with LLMs. In Proc. EDM.
Radmehr, B.; Singla, A.; and Käser, T. 2025. PharmaSimText: A Text-Based Educational Playground Filled with RL-LLM Agents That Work Together Even in Disagreement. EDM.
Robinson, K.; Jahanian, K.; and Reich, J. 2018. Using Online Practice Spaces to Investigate Challenges in Enacting Principles of Equitable Computer Science Teaching. In Proc. SIGCSE.
Ross, A.; and Andreas, J. 2025. Learning to Make MIS-TAKEs: Modeling Incorrect Student Thinking And Key Errors. arXiv.
Ross, A.; et al. 2025. Modeling Student Learning with 3.8 Million Program Traces. arXiv.
Salvy, N.; Talbot, H.; and Thirion, B. 2026. Enhanced Generative Model Evaluation with Clipped Density and Coverage. In Proc. ICML.
Scarlatos, A.; et al. 2025. SMART: Simulated Students Aligned with Item Response Theory for Question Difficulty Prediction. arXiv.
Scarlatos, A.; et al. 2026. Simulated Students in Tutoring Dialogues: Substance or Illusion? arXiv.
Schmucker, R.; et al. 2023. Ruffle&Riley: Towards the Automated Induction of Conversational Tutoring Systems. arXiv.
Shved, E.; et al. 2024. Teaching and Measuring Multidimensional Inquiry Skills Using Interactive Simulations. In Proc. AIED.
Sonkar, S.; et al. 2024. LLM-based Cognitive Models of Students with Misconceptions. arXiv.
Sun, S.; et al. 2025. A large language model-driven reward design framework via dynamic feedback for reinforcement learning. Knowl.-Based Syst.
Sutton, R. S.; Precup, D.; and Singh, S. 1999. Between MDPs and Semi-MDPs: A Framework for Temporal Abstraction in Reinforcement Learning. Artif. Intell.
VanLehn, K.; Ohlsson, S.; and Nason, R. 1994. Applications of Simulated Students: An Exploration. IJAIED.
Vizcaíno, A. 2005. A Simulated Student Can Improve Collaborative Learning. IJAIED.
Wang, H. D.; et al. 2026a. BEAGLE: Behavior-Enforced Agent for Grounded Learner Emulation. In Proc. IJCAI.
Wang, J.; et al. 2026b. Aligning Agents via Planning: A Benchmark for Trajectory-Level Reward Modeling. arXiv.
Xiao, Y.; et al. 2026. The Chameleon's Limit: Investigating Persona Collapse and Homogenization in Large Language Models. arXiv.
Xie, T.; et al. 2024. Text2Reward: Reward Shaping with Language Models for Reinforcement Learning. In Proc. ICLR.
Xie, Y.; et al. 2026. Evaluating the Statistical Realism of LLM-Generated Social Science Data. PNAS.
Xu, S.; et al. 2025. Classroom Simulacra: Building Contextual Student Generative Agents in Online Education for Learning Behavioral Simulation. In Proc. CHI.
Yang, A.; et al. 2025. Qwen3 Technical Report. arXiv.
Zhang, J.; et al. 2026. Chasing the Tail: Effective Rubric-Based Reward Modeling for Large Language Model Post-Training. arXiv.
Zhang, Q.; and MacLellan, C. 2021. Going Online: A simulated student approach for evaluating knowledge tracing in the context of mastery learning. In Proc. EDM.
Zhang, Z.; et al. 2025. Simulating Classroom Education with LLM-Empowered Agents. In Proc. NAACL.
Zhao, Q.; et al. 2024. EPO: Hierarchical LLM Agents with Environment Preference Optimization. In Proc. EMNLP.
Zheng, L.; et al. 2023. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. In Proc. NeurIPS.
Appendix
A Related Work
ALPS draws on four lines of work that fall into two groups. Simulated learners and human behavior simulation with LLMs define the problem, generating student behavior that is both faithful and diverse, and informs our evaluation by supplying the evidence on where such simulations break down. Hierarchical agents and LLM-based rewards offer the means: a two-level architecture for long horizons, and a reward that scores an entire trajectory against a target goal. These two groups' strengths have not yet been combined. Simulators that hold a behavior profile do so over short, language-centered tasks, while agents that stay coherent over long horizons do so in pursuit of a task goal. ALPS targets what neither achieves: holding a behavior profile across hundreds of actions.
A.1 Simulated Learners
Simulated learners are computational models that generate learner-like actions, responses, or trajectories in educational environments, enabling controlled and scalable experimentation when real student data are scarce, costly, or ethically constrained (Käser and Alexandron 2024; MacLellan et al. 2016). Such models have long supported the design and evaluation of instructional policies by encoding assumptions about learner knowledge, misconceptions, and progress (MacLellan et al. 2016), and thereby adaptive instruction (McEneaney and Morsink 2022; VanLehn, Ohlsson, and Nason 1994; Mertz 1997), error diagnosis (III, Siddiqui, and MacLellan 2025), and tutor development (MacLellan et al. 2014). They have also served as interactive counterparts for teachers and students: teachable agents in learning-by-teaching settings (Biswas et al. 2005; MacLellan, Matsuda, and Koedinger 2013), and virtual peers that support collaborative learning and reflection (Pareto 2014; Zhang et al. 2025; Vizcaíno 2005).
A 2024 review of roughly 200 studies since 2010 (Käser and Alexandron 2024) reports growing adoption alongside two persistent challenges: narrow learner representations that capture only a slice of behavior, and high data requirements for realism and validation. Validation itself often remains limited, leaving the behavioral fidelity of simulated traces open. Both challenges stem from trade-offs in rule-based, probabilistic, and heavily parameterized simulators such as SimStudent (MacLellan et al. 2014) and the Apprentice Learner architecture (MacLellan et al. 2016; MacLellan and Koedinger 2022). These offer strong control and interpretability, but encode learners through a small set of predefined states or parameters, which limits the range of behavior profiles they express. Broadening that range demands substantial interaction data for parameter fitting, calibration of learner variability, and validation beyond surface outcomes (Zhang and MacLellan 2021).
Generative approaches based on LLMs can address both challenges by increasing expressivity and reducing dependence on hand-crafted structure (e.g., (Nguyen, Tschietschek, and Singla 2024; Zhang et al. 2025; Liu et al. 2024)). They now span a wide range of educational settings. These include personality-aware student simulation for conversational tutoring systems, which combines cognitive and non-cognitive traits such as the Big Five to generate plausible responses and trigger adaptive scaffolding (Liu et al. 2024); generative students that support item evaluation and MCQ response generation (Lu and Wang 2024); and TeachTune, where teachers evaluate pedagogical agents against diverse simulated student profiles in a tutoring system (Jin et al. 2025). Others pair LLMs with GANs to synthesize tabular student data (Khalil et al. 2025), simulate classroom conversation with iterative reflection (Xu et al. 2025), align simulated students to item response theory for difficulty prediction (Scarlatos et al. 2025), coordinate role-based agents for classroom dialogue in SimClass (Zhang et al. 2025), and model students in-context to synthesize visual-programming behavior from few observations (Nguyen, Tschietschek, and Singla 2024).
Despite these gains, LLM-based simulators are built for short, language-centered exchanges, and three difficulties surface once a trajectory runs to hundreds of actions.
First, a behavior profile is hard to hold in long-horizons. Prompted simulators are sensitive to wording and lose trajectory-level consistency across multi-step interactions, succeeding instead on isolated responses or code outputs (Radmehr, Singla, and Käser 2024; Zhang et al. 2025), and over long interactions they drift from the profile they were assigned (Abdulhai et al. 2025). A related failure is a mismatch in competence: a strong model asked to act as a partial-knowledge learner produces errors real students do not make. Measured directly, simulators instructed to hold a misconception abandon it under tutoring feedback whether or not the feedback is relevant, and only supervised or reward-based training restores faithful behavior (Do, Sonkar, and Sachan 2026).
Second, the conditioning signal is rarely observable. Simulators are typically conditioned on generic learner attributes such as knowledge states or personality traits (Liu et al. 2024; Jin et al. 2025), which describe the student but not how the student acts in a particular environment. A generated trajectory therefore cannot be checked against the profile it was meant to express, and behaviors that arise from the available actions and constraints have no place in the specification. One response is to make the target explicit and testable. In HypMix, domain experts author a learner model as marginalized distributional hypotheses, each relating a learner characteristic to the probability of an action, such as a more persistent learner being less likely to abandon the task as measurements accumulate (Mannekote et al. 2025). The target is verifiable, but hand-written rather than derived from student data, and stated per action rather than over a trajectory.
Third, supervision is scarce in exactly the environments that motivate simulation, and prompting performs poorly under limited supervision with scarce data (Scarlatos et al. 2026). How to obtain faithful, diverse simulated learners when profile-labeled trajectories are few nonetheless remains open.
We address all three with ALPS, which treats learner simulation as profile-conditioned generation of long trajectories. Drift follows from choosing one action at a time under a prompt that must carry the whole profile, so ALPS instead plans a profile-aligned segment and then generates the actions that realize it: a few segment-level decisions carry the profile, and every action is chosen under the constraints of the current state. Because generic attributes leave nothing to verify, we condition on environment-specific behavior profiles derived from real trajectories, which give generation and evaluation the same observable target. And because supervision is often scarce, we adapt both components from whatever supervision is available and introduce an LLM-based reward that aligns profiles when profile-labeled trajectories are limited.
A.2 Human Behavior Simulation with LLMs
Beyond education, a broader literature simulates human behavior with LLMs. It supplies the generation methods that educational simulators build on, and the evidence on where those simulations fail. Generative agents maintain a persistent character description and act on it across a simulated community, producing behavior that observers rate as human (Park et al. 2023). Scaling this to a population, agents built from two-hour interviews with over 1,000 real individuals answer held-out General Social Survey items at 83% of those individuals' own two-week test-retest consistency, against 74% for agents given only demographics (Park et al. 2024).
A second literature asks whether such simulations are accurate. On a benchmark of twenty human-behavior datasets, the best model scores 40.8 out of 100, and its answers sit closer to a uniform distribution than to the real human one (Hu et al. 2025b); instruction tuning helps on questions with a clear majority answer and hurts where people disagree. Simulated survey respondents likewise fail to reproduce the summary statistics of real social-science data unless trained to (Xie et al. 2026). Both point to the same failure: LLMs reproduce the average respondent but not the variation between respondents.
Two responses to these findings shape our design. The first is to train the simulator rather than prompt it. Evaluating GPT-4o against a user model trained on real conversations, rather than against a prompted assistant playing the user, lowers its measured success from 74.6% to 57.4%, so the prompted simulator was flattering the system under test (Naous et al. 2026). In education, an evaluation of simulated students on 2,000 real tutoring dialogues across six dimensions finds that prompting reproduces student behavior poorly, that supervised fine-tuning improves most dimensions, and that preference optimization adds little beyond it, which the authors attribute to a sparse reward (Scarlatos et al. 2026). This matches our own result that SFT carries the gains. The second response is to measure coverage rather than assume it. Coverage across a simulated population can collapse even when each individual persona looks right: the model that matches personas most accurately one at a time produces the population that is most stereotyped and least varied (Xiao et al. 2026). fidelity and coverage therefore have to be measured separately.
Two studies show that a profile does not hold on its own over a long interaction, and both were run over dialogue rather than action trajectories. In the first, simulated learners were given profiles that differ in how easily attention is sustained. Asked about themselves, the models reported stable adherence, while observers rated their behavior as drifting over the conversation; scripting the conversation around explicit, task-relevant prompts removed up to 97% of that drift (Gonnermann-Müller et al. 2026). In the second, training against an automatic consistency reward across turns cut persona inconsistency by more than 55% over several roles, including a student (Abdulhai et al. 2025). Drift therefore yields to imposed structure or to training rather than to a larger base model, and self-report does not reveal it.
These findings set our evaluation. We report density and coverage separately, each on average and for the worst profile, because a simulator can be faithful on individual trajectories yet cover only a narrow part of a profile. We score whole trajectories with a judge, rather than individual turns or the simulator's own report, because drift appears only over long interactions.
A.3 Hierarchical Agents
Hierarchical agents split decision making into two levels. A high-level policy picks a behavior to follow for many steps, and a low-level policy turns it into single actions. The split appears in three literatures we draw on: classical RL, where it was formalized; LLM agents, where it plans long tasks; and behavior simulation, where it holds a character in place. We review each, then state what remains a gap.
Hierarchical decision-making was first formalized in reinforcement learning. The options framework models the two levels as a semi-Markov decision process in which each option defines where it can begin, the policy followed while active, and its termination condition (Sutton, Precup, and Singh 1999). Later work learns termination conditions or trains low-level policies against goals provided by a higher-level policy; Pateria et al. (2021) survey these approaches. Across these variants, hierarchy shortens the effective planning horizon, allowing outcomes to be attributed to a small number of high-level decisions rather than hundreds of individual actions.
With LLMs, the high-level policy is usually a planner that writes subgoals in text or in a fixed format, and a separate executor carries them out (Huang et al. 2024). Systems in this family decompose a task further only when the executor fails (Prasad et al. 2024), or train planner and executor on trajectories annotated with plans after the fact (Erdogan et al. 2025). In the design closest to ours, one LLM predicts subgoals and a second generates the low-level actions, with the subgoal model trained against environment preferences (Zhao et al. 2024; He et al. 2024). Throughout, the plan breaks a task goal into smaller goals, and the hierarchy is judged by whether the task succeeds.
A newer line of work treats the long horizon itself as the problem. Requiring the agent to state a subgoal before acting, then dropping completed subgoals from the context, doubles success rates on long tasks (Hu et al. 2025a), and folding completed subgoal histories while training with subgoal-level rewards extends this to RL (Diao et al. 2026). Independent evidence documents the need for such structure. LLMs lose
39% of their single-turn performance in multi-turn settings, mostly by becoming unreliable rather than less capable (Laban et al. 2025), and they drift from their system prompt within eight rounds as attention to it decays (Li et al. 2024).
Hierarchy has also been used for behavior simulation, though rarely as a learned policy. Generative agents break a daily plan into hour-level and then minute-level actions, all conditioned on a fixed character description (Park et al. 2023). Persona consistency is otherwise pursued at the training objective, for example through multi-turn RL against consistency rewards (Abdulhai et al. 2025). The closest system to ours is BEAGLE, a simulated student for Python programming tasks. A strategist turns each metacognitive segment, such as planning or debugging, into a goal and a directive; an executor implements it as code. To stop a capable model from quietly solving the task, the executor is prompted to implement rather than diagnose, and error traces are withheld while the student is enacting. A knowledge-tracing model separately sets what the student may get wrong (Wang et al. 2026a).
Two properties separate ALPS from this work. The first is what the plan contains. Prior planners decompose a task goal, so the hierarchy succeeds when the task succeeds; the behavior plan in ALPS specifies how the student should act over the next segment, as target counts and a stopping rule. This matters because a profile-matching trajectory often contains slow or mistaken behavior that a success-driven planner is built to avoid. The second is how the two levels are obtained. ALPS adapts both from real or teacher trajectories rather than prompting them, conditions them on observable, environment-specific behavior profiles rather than a symbolic knowledge state, and trains them with reward-ranked fine-tuning against a whole-trajectory judgment, because no per-action signal for profile fidelity exists. Otherwise the correspondence is exact: the behavior plan acts as an option and the action generator as the policy inside it, with segment boundaries fixed by the environment. To our knowledge, no prior work adapts a two-level plan-then-act policy to match a behavior profile over trajectories of hundreds of actions.
A.4 LLM-based Rewards
Recent work uses LLMs as proxies for reward functions in RL, replacing manual reward engineering where objectives are sparse, delayed, or semantically rich. Rather than defining task-specific metrics, these methods have LLMs generate, evaluate, or refine rewards through natural-language prompting, code synthesis, or iterative feedback.
Early studies used LLMs as reward models in data-scarce settings: the user describes the desired behavior in natural language, optionally with examples, and the LLM scores trajectories for RL (Kwon et al. 2023). The same idea underpins LLM-as-a-Judge for preference-based scoring (Zheng et al. 2023). Later work had LLMs synthesize executable reward functions by evolutionary code generation (Ma et al. 2024), or produce dense rewards from natural-language instructions with iterative refinement (Xie et al. 2024; Sun et al. 2025). In education, hybrid agents let an LLM constrain the action choices of a classical RL learner, yielding more human-like interaction in a simulated pharmacy task (Radmehr, Singla, and Käser 2025; Radmehr, Singla, and Käser 2024).
The field has since moved from scalar scores to structured judgments, and from short outputs to long trajectories. Splitting a judgment into weighted rubric criteria improves both the reward and the RL that follows (Gunjal et al. 2025). Two further findings constrain how such a reward can be used. First, a reward that is misspecified in its high-scoring range does the most harm (Zhang et al. 2026), and reward-ranked fine-tuning trains on precisely that range. Second, on a benchmark of whole-trajectory preferences, reward models and LLM judges alike lose accuracy sharply as trajectories grow longer (Wang et al. 2026b). We therefore keep the teacher reward a checklist with a written reason per item, calibrate its tolerance on , give it a precomputed feature table so it never counts actions itself, and evaluate with a judge whose prompts and inputs do not overlap with the reward.
These methods report strong results in robotics, control, games, and negotiation, but target non-educational settings with simple objectives and short horizons. Learner simulation differs: the reward must capture profile-level pedagogical behavior and enforce consistency across extended interaction, often where profile-labeled trajectories are limited. We therefore use an LLM-based reward as a trajectory-level signal for RL fine-tuning, scoring each generated interaction sequence against a textual behavior profile and using those scores to align simulated learners toward profile-consistent trajectories.
B Environments, Data, and Behavior Profiles
We evaluate on two open-ended learning environments that span distinct domains, interaction structures, and trajectory lengths. To the best of our knowledge, no publicly available dataset offers comparable breadth and scale of long-horizon student interactions across such diverse environments. TugLet is an inquiry-based game in which students experiment with tug-of-war contests to discover that motion occurs toward the side with the greater net force (Käser and Schwartz 2020), whereas PharmaSim is a simulated pharmacy environment for practicing diagnostic conversations (Radmehr, Singla, and Käser 2025). Together, they cover two distinct learning topics and interactions ranging from tens to nearly 200 actions. Agent-compatible implementations of both environments will be included in our code release; Appendix F.1 describes the released code, data representations, and generated populations.
For each environment we describe, in order, the learning task, the agent-facing representation used as fixed prompt context, the segmentation rules and behavior plan fields used by the hierarchical generator (Section 2.2), the dataset and its split, the behavioral features underlying the profile space (Section 2.1), and the resulting behavior profiles. Table 3 summarizes the environment-level quantities used by the experimental protocol.
B.1 TugLet
As shown in Figure 2 (Left), TugLet is an inquiry-based game in which students discover the physics rules governing

Figure 2: User interface of the two learning environments. Left (TugLet): an inquiry-based game where learners alternate between Explore for testing setups and Challenge for predicting outcomes. Right (PharmaSim): a simulated pharmacy scenario where learners gather information by discussing with characters and consulting the compendium, documents, shelf, and pharmacist.
tug-of-war contests (Käser and Schwartz 2020). Characters have three hidden force values: small (), medium (), and large (). The side with the greater total force wins, and equal forces result in a tie.
Students interact through two modes. In Explore, they construct and simulate teams of up to four characters per side. The game begins with a simplified Explore mode in which only one small and one large character are available for each side. In Challenge, students predict the outcomes of eight configurations of increasing difficulty. An incorrect answer returns the student to Explore, but the student may immediately re-enter Challenge. The game ends after eight consecutive correct answers or 15 minutes. The choice between exploration and repeated challenge attempts results in different inquiry strategies and long interaction trajectories.
For agent interaction, we represent the environment using three action types: simulating a configuration, entering Challenge, and answering a challenge question. Because a simulated student has no wall-clock time, the 15-minute limit of the original game is replaced by an action budget of 200 actions, slightly above the longest real trajectory (185 actions). A trajectory that reaches this budget is completed deterministically by answering the remaining Challenge questions correctly, so that every generated trajectory terminates in the same environment state as a completed real session. The same completion procedure is applied to ALPS and to the turn-level student.
Agent-facing representation. We expose TugLet as a turn-based environment in which the agent observes the current mode, game state, interaction history, and target profile and selects one valid action. The following representation is included in the environment-specific prompt context.
TugLet Environment Representation
Modes. The student is either in Explore or Challenge mode. An incorrect Challenge answer returns the student to Ex-
plore.
Environment rules. The environment uses the following relations: identical teams tie; identical characters on opposite sides cancel; more characters of the same type win; ; ; ; ; ; ; ; ; and . These rules determine outcomes but are hidden from real students, who must infer them through exploration.
Actions.
-
explore () constructs and simulates two teams; valid only in Explore.
-
start_challenge () enters Challenge; valid only in Explore.
-
submit_answer () predicts whether the left side wins, the right side wins, or the teams tie; valid only in Challenge.
Exploration phases. Before the first Challenge attempt, each side may contain only one small and one large character, with no repetitions. After the first attempt, small, medium, and large characters may be repeated, with at most four characters per side.
Exploration quality. Strong explorations use small, non-mirrored configurations that isolate a force relationship. Weak explorations use mirrored or cluttered configurations. The agent is instructed to match its exploration quality to the target profile.
Termination. A session is completed after eight consecutive correct Challenge answers.
Segmentation and planning. For hierarchical generation, a segment consists of one Explore phase followed by one Challenge phase. It ends when the student answers a Challenge question incorrectly or completes the game. Segment boundaries are therefore determined by the action sequence alone, which makes the segmentation map deterministic and identical for real and generated trajectories. The segment plan specifies the numbers of explorations, strong explorations, and Challenge questions; the rules explored and explored strongly; and how the segment ends. A deterministic normal-izer corrects violations of the planning schema, for example a planned number of strong explorations that exceeds the planned number of explorations, and malformed outputs are retried. Real trajectories in contain a median of 5 segments and at most 26, so a typical session is planned through a handful of planner calls and even the longest sessions, which span up to 185 actions, require fewer than 30.
Before planning the next segment, the planner receives compact summaries of the previously generated segments. These summaries retain the behavioral information needed to maintain the assigned profile without including the full action history:
Segment 1 (simplified mode): { "n_exp": 8, "n_strong": 2, "explored_rules": [ "cancellation", "identical_teams", "large_wins_small", "non-empty_wins_empty" ], "explored_strong_rules": [ "large_wins_small", "non-empty_wins_empty" ], "n_chal": 5, "end": "wrong" }
Segment 2 (full mode): { "n_exp": 2, "n_strong": 0, "explored_rules": [ "medium_wins_small", "two_small_equals_medium" ], "explored_strong_rules": [], "n_chal": 4, "end": "wrong" }
Dataset. The TugLet dataset comprises trajectories from 249 students. The original data pool contains 288 recorded sessions from two cohorts of 159 and 129 students. Following (Käser and Schwartz 2020), we excluded 27 students who did not complete the game. We split the remaining 261 students into development and held-out test sets using a 60/40 split stratified by the profile labels from an initial clustering (seed 52). We then re-ran clustering on the development set to ensure the held-out test set is not involved in any stage of development. Following that clustering we then excluded 12 development-set students with negative clustering silhouettes, because their profile assignment is ambiguous and they would provide unreliable supervision, and we then labeled the test set using the weighted KNN classifier described in Section 2.2. This yields a development set of 140 students and a held-out test set of 109 students. Real trajectories have a median of 41 actions, a 90th percentile of 124, and a maximum of 185. For the data-scarce setting, contains three trajectories per profile sampled uniformly from . (18 trajectories in total), and the
| TugLet | PharmaSim | |
|---|---|---|
| Action types | 3 | 7 |
| Behavior profiles | 6 | 5 |
| Students ( / ) | 140 / 109 | 140 / 94 |
| Trajectories in | 18 | 15 |
| Median trajectory length | 41 | 31 |
| 90th percentile length | 124 | 39 |
| Maximum trajectory length | 185 | 61 |
| Action budget | 200 | 60 |
| Segments per trajectory (median / max) | 5 / 26 | 2 / 9 |
| Behavioral features | 24 | 14 |
Table 3: Environment-level quantities. The action budget is the generation limit referenced in Section 3.3; trajectories that reach it are completed with the deterministic procedure described below. Segment counts are measured on the real trajectories in .
same is used for ICL, teacher demonstrations, and the teacher reward.
Behavioral features. Following (Käser and Schwartz 2020), each trajectory is reduced to a 24-dimensional vector with three feature groups of eight dimensions each, indexed by game level : challenge questions answered, explores performed, and strong explores performed. Dimension of a group holds the cumulative count at the moment level was first reached; levels never reached carry a sentinel that is masked out of every distance computation. An exploration is strong if its configuration is small enough to interpret and its outcome isolates exactly one rule that the student has not previously explored. Distances are computed separately within each group and summed, as in Section 2.1, and the same feature space is used for clustering, the in-profile reward (Appendix C.1), and the density and coverage metrics.
Profiles. We adopt the six behavior profiles established in prior work (Käser and Schwartz 2020) and reuse their published descriptions as ; profile labels for individual students are obtained by re-running the clustering procedure of Section 2.1 on the feature space above, which recovers the same six profiles. They differ primarily in exploration volume, the proportion of strong rule-isolating explorations, the phase in which exploration occurs, and session length. As summarized in Table 4, P1 explores extensively and systematically, particularly during the middle levels. P2 performs a brief period of high-quality exploration and completes the game efficiently. P3 performs almost no exploration and advances primarily through Challenge attempts. P4 concentrates a large, low-quality exploration burst in the initial simplified phase. P5 enters a prolonged final-phase grind but continues to explore occasionally, whereas P6 grinds primarily through trial and error with minimal exploration. Table 7 reports the corresponding development- and test-set sizes.
Each model-facing profile representation contains a natural-language description , a set of behavioral signatures , and aspects of behavior left unconstrained. Hard signatures state behaviors that hold for every student in the profile, whereas soft signatures state tendencies that are typ-
| Profile | Exploration volume | Strong-explore ratio | Phase concentration | Session length | Distinguishing behavior |
|---|---|---|---|---|---|
| P1: Thorough Learner | substantial | highest | middle (L3–L5) | moderate | most middle-phase exploration |
| P2: Efficient Learner | modest | second highest | opening (L1), then tapering | short | brief but high-quality exploration |
| P3: Challenge-First | lowest | near zero | almost entirely opening (L1) | short | advances mainly through Challenge attempts |
| P4: Early Burst | large initial burst | lowest | opening (L1) | moderate | largest opening-phase burst |
| P5: Persistent Grinder | modest | low | mostly early and middle, with sparse late exploration | long | continues exploring during the final grind |
| P6: Stubborn Grinder | lowest per segment | near zero | sparse throughout | long | highest Challenge-question volume |
Table 4: Qualitative summary of the six TugLet behavior profiles. Properties are stated relative to the other profiles rather than through fixed numeric thresholds. The complete model-facing descriptions and hard and soft signatures will be provided in our code release.
ical of the profile but not universal. Signatures are derived with the procedure of Section 2.1 and reviewed by a domain expert. The data-scarce representations state each profile's behavior through ordinal contrasts against the other profiles and definitional signatures, and contain no fitted numeric statistics; the only numbers they carry are fixed environment properties. The data-sufficient representations additionally include quantitative summaries estimated from : whole-session ranges and means for segment count, exploration count, strong-exploration count, and strong-exploration ratio; a per-phase breakdown of segments, explores, strong explores, and Challenge answers for each of L1, L1→L3, L3→L5, and L5→L8; explicit numeric contrasts against neighboring profiles; and a calibration key mapping the qualitative magnitude terms onto numeric bands, for example explores per phase as negligible (0), minimal (1–2), moderate (3–6), extensive (7–16), and heavy (17–40). Our code release will provide the exact profile representations supplied to the models.
B.2 PharmaSim
PharmaSim simulates a pharmacy consultation in which a mother visits the pharmacy with her baby and reports a breastfeeding problem. The student questions the mother and the baby and consults the available resources to determine the cause of the problem. The student may question either character, consult three research tools (a medicine compendium, shelf products, and health documents), and request hints from a pharmacist. We adapt the existing PharmaSimText implementation for agent interaction (Radmehr, Singla, and Käser 2025). The environment defines seven action types: questioning a character about a topic, consulting one of the three research tools, requesting a pharmacist hint, ending the current segment, and ending the session. Research relevance is defined against a fixed set of scenario-relevant targets comprising one medicine, five documents, and five products. Generation is limited to an action budget of 60 actions; a trajectory that reaches the budget is terminated deterministically with a session-ending action, using the same procedure for ALPS and the turn-level student.
Agent-facing representation. The following description summarizes the PharmaSim environment information provided in the prompt context. The exact component-specific prompts will be included in our code release.
PharmaSim Environment Representation
Task. A mother visits a pharmacy with a breastfeeding problem. The student interacts with the mother and the baby and consults the available resources to determine the cause of the problem.
Characters. The student may question the mother or the baby about an available topic. Questions are represented as character-topic pairs.
Research tools. The student may consult a medicine compendium, shelf products, or health documents. Each tool contains both scenario-relevant and irrelevant resources. The scenario-relevant targets comprise one medicine, five shelf products, and five health documents.
Pharmacist hints. The student may ask the pharmacist for help. The environment provides two distinct hints, although the student may request hints more than twice.
Actions. At each step, the student selects one of seven action types: question a character about a topic, consult one of the three research tools, request a pharmacist hint, end the current segment, or end the session.
Segmentation and planning. For hierarchical generation, a segment consists of a block of discussion actions targeting the patient followed by an optional tail containing discussion actions not targeting the patient, research or hint actions. It ends with an explicit segment- or session-ending action, so segment boundaries are again determined by the action sequence alone and the segmentation map is deterministic and identical for real and generated trajectories. The segment plan specifies the topics discussed about each main character mother or her baby, the number of side-character questions, per-tool research and relevance targets, pharmacist-hint usage, the ordering of the tail, and whether the segment is final. A deterministic normalizer corrects violations of the planning schema, for example a planned number of relevant document actions that exceeds the planned number of document actions, and malformed outputs are retried. Real trajectories in contain a median of 2 segments and at most 9.
As in TugLet, the planner receives compact summaries of the previously generated segments, which retain the behavioral information needed to maintain the assigned profile without including the full action history:
Segment 1: { "mother_topics": ["symptoms"], "baby_topics": ["symptoms"], "n_other": 0, "n_doc": 0, "n_doc_relevant": 0, "n_shelf": 0, "n_shelf_relevant": 0, "n_compendium": 0, "n_compendium_relevant": 0, "n_hint": 1, "tail_lead_category": "baby", "tail_composition": "blocked", "end": "segment" }
Dataset. The dataset contains 234 recorded sessions. We divide these into a development set of 140 students and a held-out test set of 94 students using a profile-stratified split with random seed 42, which leaves at least five test students in every profile. Profiles are derived exclusively from : we cluster the development trajectories with the procedure of Section 2.1, and the BIC averaged over 200 seeds selects five clusters. The stratification labels for the initial split are taken from a preliminary clustering of all 234 trajectories, and the trajectories in are labeled out of sample using the weighted KNN classifier trained on , so no test trajectory contributes to any profile definition, demonstration, or reward. Real trajectories have a median of 31 actions and a maximum of 61. For the data-scarce setting, contains three trajectories per profile sampled uniformly from . (15 trajectories in total).
Behavioral features. We represent each trajectory using 14 features organized into five groups (Table 5). Fractions are set to zero when their denominator is zero. Dissimilarities are computed separately within each group and summed, preventing larger groups from dominating the representation; the same feature space is used for clustering, for the in-profile reward and the KNN profile classifier (Appendix C.1), and for the density and coverage metrics.
Profiles. We derive five behavior profiles using the procedure in Section 2.1. They differ in how discussion is distributed between the mother and baby, the breadth and repetition of topic coverage, pharmacist-hint usage, research
| Group | Features |
|---|---|
| Discussion effort | mother share, baby share, and number of discussion actions |
| Research volume | numbers of document, shelf-product, and compendium actions |
| Research relevance | fraction of relevant actions for each research tool (3) |
| Hint usage | number of pharmacist hints |
| Topic variety | topic coverage and repetition rate for each character (4) |
Table 5: The 14 PharmaSim behavioral features organized into five groups.
behavior, and session structure. Table 6 summarizes these differences.
Each model-facing profile representation contains a natural-language description , a set of behavioral signatures , and aspects of behavior left unconstrained. Hard signatures state behaviors exhibited by every student in the profile and use absolute constraints such as “never” or “always,” whereas soft signatures describe tendencies that are typical of the profile but not universal. The data-scarce representations contain no fitted numeric statistics, while the data-sufficient representations additionally contain quantitative summary statistics estimated from : for each of the behavioral features, namely the discussion counts and mother and baby shares, the document, shelf, and compendium counts and their case-relevance rates, the hint count, and the mother and baby topic-coverage scores, a coarse band (none / low / typical / high) together with a numeric range, central value, or proportion, plus the typical segment count and tail composition. The two topic-repeat-rate features are the only behavioral features not given numerically. Our code release will provide the exact representations supplied to the models.
C Implementation Details
This appendix reports the details needed to reproduce our experiments. We first describe the two rewards used to filter candidate trajectories during adaptation (Appendix C.1): an in-profile classifier reward for the data-sufficient setting and the teacher reward TR for the data-scarce setting. We then describe how teacher demonstrations were generated and converted into training examples for SFT and RAFT (Appendix C.2), and list the fine-tuning hyperparameters and the seeds used for the three replicas (Appendix C.3).
C.1 Adaptation Rewards
We used two rewards to filter candidate trajectories during adaptation. Both were constructed from or and used no information from . The environment-specific behavioral feature spaces are defined in Appendix B.
In-profile reward. In the data-sufficient setting, we fit a weighted -nearest-neighbor classifier using the environment-specific behavioral features. We selected by leave-one-out cross-validation on balanced accuracy and
| Profile | Discussion | Hints | Coverage and repetition | Distinguishing behavior |
|---|---|---|---|---|
| P1: Hint-Heavy Deep Engagement | both characters, somewhat mother-weighted | highest; distributed across segments | broad coverage with limited repetition | substantial engagement over multiple varied segments |
| P2: Mother-Only | mother only | not defining | narrow, short discussion | never questions the baby and remains within one segment |
| P3: Hint-Seeking Wide Coverage | both characters, mother first | always at least one | broad coverage with almost no repetition | routinely checks understanding with the pharmacist |
| P4: Independent Balanced Learner | balanced across both characters | none | broadest coverage with the least repetition | works independently and targets relevant documents |
| P5: Baby-Only | baby only | not defining | very limited discussion | never questions the mother and ends after one short segment |
Table 6: Qualitative summary of the five PharmaSim behavior profiles. Our code release will provide the complete modeling descriptions and hard and soft behavioral signatures.
| Profile | TugLet | PharmaSim | ||
|---|---|---|---|---|
| P1 | 20 | 19 | 8 | 5 |
| P2 | 44 | 39 | 17 | 11 |
| P3 | 40 | 25 | 42 | 29 |
| P4 | 8 | 5 | 65 | 43 |
| P5 | 12 | 10 | 8 | 6 |
| P6 | 16 | 11 | — | — |
| Total | 140 | 109 | 140 | 94 |
Table 7: Students per behavior profile in the development set and held-out test set . Each student contributes one trajectory. Every profile contains at least five test students. Following Section 3.4, density and coverage use neighbor for the profiles with fewer than ten test students (TugLet P4, PharmaSim P1 and P5) and otherwise.
weighted votes by inverse class frequency and inverse distance. A candidate was accepted when its target-profile vote share exceeded 0.5 and it passed a within-profile outlier gate. The gate required its th-nearest within-profile distance not to exceed the 95th percentile of the corresponding distances among real students of that profile.
Teacher reward (TR). In the data-scarce setting, GPT-OSS-120B evaluated each candidate using the qualitative target-profile representation, three same-profile references, contrast references from the two closest profiles, and a feature table comparing the candidate with these references (Prompt D.5). Same-profile references were drawn from a fixed pool of three real students per profile sampled from with seed 42. Contrast profiles were the two profiles whose centroids were closest to the target profile in the standardized behavioral feature space. It answered a fixed checklist of binary realism, profile-match, and signature questions and provided a one-sentence justification for each answer. To accommodate occasional item-level errors, we used a soft acceptance threshold rather than requiring every check to pass. In TugLet, acceptance required at least three of four realism checks and three of four profile-match checks to pass. In PharmaSim, it required at least three of four realism checks and four of six profile-match checks. In both environments, acceptance additionally required no hard-signature violation and at most one soft-signature violation. We calibrated these thresholds on and then held them fixed across profiles. The evaluation judge in Appendix C.4 was constructed separately and was not used as an adaptation reward.
C.2 Teacher Demonstrations and Training Data
The teacher generated demonstrations using the same architecture as the simulated student being adapted. Generation used temperature 0.7, top-, and one sample per call. The teacher was conditioned on the qualitative profile representation and the three trajectories in . Candidate demonstrations accepted by TR formed the teacher-demonstration set .
Accepted trajectories were converted into training examples using the segmentation rules in Appendix B. Each segment provided one planner example whose target plan was extracted from the realized actions, and each action provided one action-generator example conditioned on that plan. Action-generator examples were retained only when the realized segment sufficiently matched its plan. We required at least 0.8 field agreement. Later segments were up-sampled to reduce their underrepresentation. In-context examples were removed from the prompts when constructing fine-tuning data.
For SFT, we split the available training examples 80/20 into training and validation sets and selected the checkpoint with the lowest validation loss.
For RAFT, we performed one generate-filter-train round. Candidate generation was capped at 1,000 trajectories per profile in the data-sufficient setting and 500 per profile due to cost constraints in prompting the teacher LLM for rewarding in the data-scarce setting, with at most 100 accepted trajectories retained per profile. When no candidate was accepted for a profile, we retained the corresponding base model and marked that profile in the result tables.
| Environment | Quantity | R1 | R2 | R3 |
|---|---|---|---|---|
| TugLet | Training seed | 4096 | 4097 | 4098 |
| Data-split seed | 42 | 43 | 44 | |
| Generation seed | 42 | 142 | 242 | |
| PharmaSim | Training seed | 4096 | 1234 | 5678 |
| Data-split seed | 42 | 43 | 44 | |
| Generation seed | 42 | 142 | 242 |
Table 8: Random seeds for the three replicas.
C.3 Fine-Tuning Hyperparameters
All adapters were trained on Qwen3-8B. Loss was computed on response tokens only. We trained one LoRA adapter per profile, environment, architecture component, and adaptation condition. In SFT→RAFT, RAFT continued from the corresponding SFT adapter.
| Setting | TugLet | PharmaSim |
|---|---|---|
| Base model | Qwen3-8B | |
| LoRA /dropout | 32 / 64 / 0 | |
| LoRA variant | rsLoRA | |
| Target modules | all attn. & MLP proj. | |
| Optimizer | AdamW | |
| Learning rate | ||
| Schedule | cosine, 25 warm-up | |
| Weight decay | 0.001 | |
| Batch/device | 16 | 4 (eval: 8) |
| Epochs (max) | 8 | 8 |
| Early-stop patience | 4 | 20 |
| Planner ctx. window | 8,192 | 4,096 |
| Action-gen. window | 4,096 | |
| Segment weighting | inverse frequency | |
| Weight power / max | 0.5 / 4.0 | |
| Checkpoint sel. | lowest val. loss |
Table 9: Fine-tuning hyperparameters. The TugLet planner used gradient accumulation to preserve an effective batch size of 16.
We ran three replicas of each condition, varying the training seed, training–validation split, and generation seed. All conditions used the same decoding parameters during population generation. Table 8 reports the training, data-split, generation seeds used for each replica.
C.4 Judge Construction
The evaluation judge was constructed independently of both adaptation rewards, so that no part of the reward signal was reused to score trajectories. It received abstracted action trajectories rather than the original interface text. Its inputs were the profile descriptions and signatures, the candidate trajectory, and a table of quantities measured from that trajectory. All judge calls used openai/gpt-oss-120b at
reasoning effort high and temperature 0.6, with one vote per trajectory and structured outputs enforced per stage.
Blind profile identification (G). The judge first received the candidate trajectory and the descriptions of all profiles, without being told which profile had been assigned. It selected the profile that best matched the trajectory. This stage passed when the selected profile matched the assigned one.
Signature checks (H). The assigned profile was then revealed, and the judge evaluated each of its signatures separately. Each judgment consisted of a binary answer and a short justification citing evidence from the trajectory.
Mechanical checks (R). Deterministic checks identified generation artifacts absent from real trajectories. Thresholds were calibrated on the real students of each environment and then fixed across all evaluated conditions. Each threshold was set at the corresponding real-student extreme, so that any violation falls outside the observed range of human behavior. The environment- and profile-specific signatures and checks will be given in our code release.
Verdict. A trajectory passed the judge only when its assigned profile was identified correctly, all signature checks passed, and no mechanical check fired; that is, .
D Prompt Templates
The segment planner and action generator used Prompt D.1 and Prompt D.2, respectively. The turn-level baseline used Prompt D.3. In the data-scarce setting, the teacher used Prompt D.4 to generate demonstrations and Prompt D.5 to score candidate trajectories. We evaluated profile alignment using the LLM-judge template in Prompt D.6.
Text enclosed in angle brackets denotes environment-, profile-, or trajectory-specific information inserted at runtime. The same templates were used in both environments with the corresponding environment-specific representations and output schemas. These are prompt templates and the per environment examples can be found in the code supplementary material. Both architectures use a reason-then-act output contract. The ALPS planner prompt contains the environment description, the segment and plan-schema definitions with worked examples, and the profile block; the action-generator prompt contains the action definitions, the current plan, running plan-consumption counters, and the environment state, and never contains the profile representation. The turn-level student's prompt contains the same profile representation the planner receives, the environment description, the current state, the valid actions, and running behavior summaries.
Two profile-block variants exist. The numeric variant embeds the quantitative statistics and is used in the data-sufficient setting. The qualitative variant replaces all numbers with qualitative signatures and appends the examples; it is used by the teacher and in all data-scarce conditions. Full prompt templates will be provided in our code release.
Prompt D.1: Segment-Planner Prompt Template
You are the segment planner for a simulated student interacting with the following learning environment.
Environment description: <environment description, action semantics, and segment definition>
Target behavior profile: <profile description>
Session history: <all previously generated segment plans, labelled by segment number>
Running totals: <cumulative counts across all prior segments and current phase>
Next segment: <segment number and available context>
Plan the simulated student's behavior during the next segment. Specify the intended quantity, quality, and structural properties of the relevant actions.
Reason first, then return the plan: <REASONING> ... </REASONING> <answer> <environment-specific segment-plan schema> </answer>
environment's constraints on the currently allowed actions. Reason first, then return the action: <REASONING> ... </REASONING> <answer> <environment-specific action schema> </answer>
Prompt D.3: Turn-Level Simulator Prompt Template
You are a simulated student interacting with the following learning environment.
Environment description: <environment description, allowed actions, and parameter constraints>
Target behavior profile: <profile description>
Current environment state and student progress: <environment state, learned information, and running totals>
Interaction history: <previous states and generated actions>
Generate exactly one action that is consistent with the target behavior profile and the current environment state.
Reason first, then return the action: <REASONING> ... </REASONING> <answer> <environment-specific action schema> </answer>
Prompt D.2: Action-Generator Prompt Template
You are generating the next action of a simulated student interacting with the following learning environment.
Environment description: <environment description, allowed actions, and parameter constraints>
Target behavior profile: <profile description>
Prior segments: <summaries of previously completed segments>
Current segment plan: <segment plan>
Current segment progress: <actions completed so far against the plan's targets>
Current environment state: <environment state, mode, learned information, and running totals>
Recent turns this segment: <current-segment action history>
Generate exactly one student action for the next turn, consistent with the current segment plan and the
Prompt D.4: Teacher-Demonstration Prompt Template
D.1-D.3 +
Few-shot examples: <three real profile-labeled trajectories>
Prompt D.5: Teacher Trajectory-Assessment Prompt Template
Assess whether the generated trajectory faithfully represents the specified behavior profile.
Environment description: <environment description>
Target behavior profile: <profile description, including its signature behaviors>
Reference trajectories: <three real trajectories from the target profile, each annotated with signature notes>
Contrast trajectories:
<two real trajectories from the most similar profiles, labeled>
Feature table:
<per-axis behavioral counts for the candidate, the references and the contrasts, with the reference min-max range per axis>
Generated trajectory:
<generated student trajectory>Read the feature table and the per-segment summaries rather than re-deriving counts from the trajectory. Answer every item below.
Realism" judged against all real trajectories shown, references and contrasts alike:
R1. the balance between high- and low-quality actions, and the overall action volume, sit within the range the real trajectories show;
R2. repeated or unsuccessful attempts stay in character -- neither an implausibly flawless run nor mechanical repetition beyond any real trajectory;
R3. activity comes in episodes tied to task progress, rather than at a rigid constant rate throughout;
R4. progression through the task tracks the student's actions the way the real trajectories show.
Profile match: judged against the single nearest reference:
TYP. the candidate's whole feature row could belong to one real student of this profile, with leniency per axis set by whether the profile description marks that axis as a signature or as incidental;
DISC. the candidate shares this profile's defining behaviors more than any contrast profile's;
DIST. the structure of the session and the distribution of behavior across the early, middle and late phases match the nearest reference and the profile description;
TERM. the session concludes with an amount of effort neither cut short nor extending well past where the nearest reference stops.
Signature match: against this profile's defining signatures only:
SIG1-SIGk. each listed signature behavior holds.
Answer every item "yes" or "no", each with one sentence of evidence citing segment numbers or the feature table. Return only:
<teacher-assessment schema>Prompt D.6: Profile-Alignment Judge Prompt Template
The judge runs as two independent calls per trajectory. Each receives its own system prompt and returns its own structured output; the assigned profile is withheld in the first call and revealed only in the second.
Call 1: Blind profile identification
You are an expert rater of <environment> trajectories.
<environment description>The behavior profiles and their signatures:
<descriptions of all profiles, with their behavioral signatures>
You can consult the following decision tree:
<decision tree over observable action counts>Trajectory to evaluate:
<rendered action sequence + measured facts>
Classify the trajectory blind: give the single most likely profile.
{
"reasoning": "<short chain of evidence>",
"guessed_profile": <profile identifier>
}
Call 2: Signature checklist (assigned profile revealed)
<environment description>The assigned profile of this trajectory is <assigned profile>.
Trajectory to evaluate:
<rendered action sequence + measured facts>
For EACH signature of the assigned profile below, decide whether it is PRESENT in the trajectory. Return one entry per signature, copying the signature text verbatim, with a one-sentence justification citing the evidence. Judge each signature on its own merits and only from the evidence in the trajectory.
<signatures of the assigned profile, each with its operational criterion>
{
"signatures": [
{"signature": "<verbatim>",
"present": <bool>,
"evidence": "<one sentence>"}
],
"comment": "<overall note>"
}
E Additional Results
This appendix reports the results that the main text summarizes: the per-profile breakdown of both experiments (Section E.1); the effect of the two contents of the profile prompt (Section E.4); how profile alignment evolves along a trajectory (Section E.2); the ablation of the two ALPS adapters (Section E.3); and the statistical tests behind every significance claim (Section E.5).
E.1 Results per Profile
Tables 10 and 11 break the data-sufficient results down by behavior profile, and Tables 12 and 13 do the same for the data-scarce setting. The four tables share one layout, and their rows follow Tables 1 and 2: each row averaged over profiles reproduces the corresponding mean column of the main table. The tables also carry additional ICL rows for the two ablated prompts; the aggregate prompt grid for both environments is given in Tables 14 and 15. Profiles scored with (PharmaSim P1 and P5, TugLet P4) saturate: any generator that reaches such a profile records 100.0 coverage, and its density is likewise optimistic.
Aggregate means hide which profiles a simulator abandons, and the per-profile tables show that the two architectures fail in different places. Under prompting, turn-level generation concentrates almost all of its mass on a single PharmaSim profile and scores zero density and zero judge pass rate on three of the other four, whereas ALPS reaches every profile (Table 10). On TugLet the abandoned profile is P1, the Thorough Learner, which every Qwen3 turn-level condition leaves near zero on both metrics (Table 11). The worst-profile columns of the main tables therefore report a structural failure rather than a weak tail.
Fine-tuning does not lift the profiles uniformly, and it relocates the bottleneck rather than removing it. On PharmaSim, adaptation repairs the profile that prompting handles worst and leaves a different one, P3, as the weakest. On TugLet the bottleneck is P6, the Stubborn Grinder, and there adaptation makes matters worse: both distributional metrics fall below their prompted values while every other profile rises. Both bottleneck profiles are defined by what the student does not do, which a planner can express only by suppressing behavior over many consecutive segments.
In the data-scarce setting, teacher demonstrations lift ALPS on every PharmaSim profile in density and judge pass rate, and most sharply on the profiles where prompting is weakest (Table 12). P3 is again the exception, in an informative way: it is the profile on which the demonstration-trained arms remain weakest distributionally (density 18.4 for ALPS (SFT), against 92.5 or above on every other profile), and the only profile on which the reward-trained arm overtakes them on either distributional metric (density 33.4 vs. 18.4; coverage 14.2 vs. 12.2), while falling behind on all four others. The two teacher signals are therefore weakest on different profiles: demonstrations on P3, the reward on P4.
E.2 Profile Drift over the Trajectory
We assess whether turn-level generation drifts away from the assigned profile over the course of a trajectory, and whether

Figure 3: Profile alignment along the trajectory (GPT-OSS-120B). Target-profile vote share of the in-profile classifier, outlier-masked, against position in the trajectory, for PharmaSim (top, chance = 1/5) and TugLet (bottom, chance = 1/6). Real students (black) align increasingly with their profile as the trajectory unfolds. Turn-level generation (gray, dashed) stagnates or decays toward chance, whereas ALPS (teal) tracks the real trend.
the segment planner prevents this drift. Each trajectory is scored at ten positions: the fraction of its own actions completed is binned into deciles, and the behavioral features of the corresponding prefix are scored by the in-profile classifier against the real basis. We report the vote share assigned to the target profile, set to zero when the within-profile outlier gate fires, so a prefix that leaves the real-data manifold counts as unaligned rather than as a weak match. As a reference, the same procedure is applied to the real test students, scored leave-one-out so that a trajectory is never its own nearest neighbor.
Figure 3 shows the results for GPT-OSS-120B ICL in both environments. Real students' alignment increases with trajectory position: profiles are expressed most clearly late in the interaction. The turn-level student does not follow this pattern; its alignment stagnates or decays toward chance as the trajectory grows long, ending well below the real students. ALPS instead tracks the rising alignment of the real students, closing most of the gap by the final position in PharmaSim and matching the real curve in TugLet. The two architectures therefore separate progressively, which is the pattern the segment planner is meant to produce: a profile carried by a few segment-level decisions survives a long trajectory, whereas one re-established at every action does not. Because the gap opens only late, it is invisible to any evaluation that scores short interactions or single turns.
E.3 Component Ablation
To locate the source of the fine-tuning gains, we ablate the two adapters of ALPS (SFT→RAFT) separately, running the removed component prompted while the other keeps its adapter (Table 16).
The planner adapter carries profile alignment. Removing it returns PharmaSim to roughly prompted performance and collapses TugLet on all three metrics. The larger TugLet drop is consistent with co-adaptation: the adapted generator is trained on plans produced by the adapted planner, and the prompted planner supplies plans it has not seen. The generator adapter instead broadens coverage within a profile. Removing it lowers coverage and worst-profile density in both environments, while mean density changes little in either direction. The two components are therefore complementary rather than redundant: the planner decides which behavior is generated, and the generator determines how much of the real within-profile variation that behavior spans. How far that complementarity goes differs by environment. On PharmaSim the planner-free model falls back to its prompted level, so the planner supplies the adaptation gain and the generator refines it; on TugLet it falls below the prompted level on every metric, so there the two adapters are co-dependent rather than merely complementary.
E.4 ICL Prompt Content
We vary the two contents of the profile prompt independently: the numeric profile descriptions, which state count ranges per behavior, and the three worked example trajectories. Tables 14 and 15 report the four combinations for both models and both architectures. The grid answers three questions: which content helps which model, whether the two metric families agree, and what no ICL variant fixes.
Both contents help the 120B model, and on TugLet they compose: numbers alone and examples alone each raise the ALPS judge pass rate over the bare prompt, and the two together give the best cell of that table in every column. On PharmaSim they do not combine the same way. Adding examples raises the judge pass rate whichever description accompanies them, numeric descriptions alone give the highest density, and examples without numeric descriptions the highest coverage, so each content is best on a different metric and no prompt is best on all three.
For the 8B student the ordering inverts. Numeric descriptions without examples give the best ALPS judge pass rate in both environments, and adding the three examples lowers it while leaving density essentially unchanged. The pattern is consistent with context overload happening by adding examples rather than with uninformative examples: the same examples that improve the larger model degrade the smaller one, and they degrade it most on the judge, which is the measure most sensitive to whether the planner still respects the profile.
The effect on the turn-level student runs the other way. GPT-OSS turn-level is insensitive to the prompt on PharmaSim, whereas Qwen3 turn-level depends on the examples alone: they raise its density in both data settings while halving its coverage, and numeric descriptions contribute almost nothing. The two metrics move in opposite directions, so the examples concentrate the turn-level population near typical real behavior at the cost of spanning fewer real students. The per-profile view shows what the examples supply: for Qwen3 turn-level the three-shot prompt is best on every PharmaSim profile, whereas for Qwen3 ALPS the best prompt differs by profile (Table 10). Examples give the unstructured architecture the pacing information that the behavior plan in ALPS otherwise provides.
No ICL variant repairs the worst profile. Every turn-level configuration in the PharmaSim grid scores zero worst-profile density under every prompt, and every turn-level configuration in the TugLet grid scores zero worst-profile judge under every prompt in both models, eight of eight cells; ALPS clears zero in five of its eight TugLet cells.
E.5 Statistical Tests
Tables 17, 18, 19 and 20 report every test behind the significance statements in the main text, one per environment and data setting.
Unit of analysis. One test is one contrast × metric over paired (profile, seed) cells, giving n = 15 on PharmaSim and n = 18 on TugLet. Pairing differences out profile difficulty and seed variation. We take the cell rather than the profile as the unit because the three replicas are not repetitions of one fit. Each varies the training seed, the training and validation split, and the generation and evaluation seeds, so the spread across replicas is the run-to-run variation a practitioner would meet, and aggregating it away would discard evidence the experiment was designed to collect.
Fallback cells. For twelve (condition, profile) combinations the acceptance filter admitted no candidate in any replica, so no adapter was trained and the deployed system falls back to the matched prompted model in all three replicas. On PharmaSim these are turn-level RAFT (P1, P4) in the data-sufficient setting and turn-level RAFT (P1), SFT (P1, P3, P4) and SFT→RAFT (P1, P3, P4) in the data-scarce setting. On TugLet they are turn-level RAFT (P5, P6) and ALPS (RAFT) on P6. We report these cells as the method delivers them, in the aggregate columns of the main tables and in the tests alike, so that a condition is scored on what it produces end to end rather than only on the profiles for which it trained an adapter. Under this intention-to-treat protocol the resulting zero differences are observations, so they are retained in n (pratt).
Families. Holm correction is applied within each (contrast block, metric) family. The architecture contrasts form two blocks in both experiments, one under prompting (GPT-OSS and Qwen3, two contrasts) and one at each adapted stage (SFT, RAFT and SFT→RAFT, three contrasts). Adaptation contrasts form a separate block per experiment, and the prompt-robustness contrast forms its own. The subheadings of each table give the membership, which is identical across experiments and environments.
Tied pairs. Every row reports the number of non-tied pairs alongside n. Rows in which at least 40% of pairs are tied carry , and rows with carry . Rows with either flag are read together with and the non-tied count.
Markers in the main tables. Every marker set in Tables 1 and 2 corresponds to a significant test here. Five further cells reach significance under the declared families: TugLet ALPS (RAFT) coverage and PharmaSim ALPS (RAFT) density in the data-sufficient setting, and TugLet ALPS (ICL) density, TugLet GPT-OSS ALPS coverage and TugLet ALPS (SFT) judge in the data-scarce setting, all with . The tests reported here give the significance status of every cell.
Data-Sufficient Analysis. Taken together, the data-sufficient tests support four claims and withhold one. Hierarchical generation is significant under prompting for the 120B model in both environments but not for the 8B one. With the numeric profile description and no in-context examples it is significant for the 8B model as well on TugLet, in density (+19.9) and coverage (+3.8), though not in judge pass rate (+7.8, ). Adding SFT to ALPS improves all three metrics in both environments. At every adapted stage ALPS beats its turn-level counterpart on the judge in both environments and on density in all but one of those six contrasts. What the tests withhold is any distributional gain from RAFT. No adaptation contrast shows RAFT improving density or coverage over prompting, SFT significantly outperforms RAFT on coverage in both environments (E1.11), and on the turn-level student RAFT significantly reduces density (E1.6b). Two RAFT contrasts do reach significance, and both are architecture comparisons rather than adaptation gains, since E1.10 holds the adaptation method fixed and therefore measures the hierarchy. The one adaptation-level RAFT effect is on the judge for ALPS on PharmaSim (E1.6a, +26.6), and it points the opposite way for the turn-level student, whose reward-selected trajectories lose judge pass rate (E1.6b, -15.7).
Data-Scarce Analysis. The data-scarce tests are simpler. Both teacher roles significantly raise ALPS on density and the judge in both environments. The coverage gain from demonstrations is significant on TugLet (+28.4) but not on PharmaSim (+20.9, ). Demonstrations beat the reward on the judge in both environments and on density on TugLet. No turn-level contrast improves significantly anywhere, and teacher demonstrations significantly reduce turn-level coverage in both environments. Applying RAFT after teacher SFT improves no metric and significantly reduces coverage in both (-1.0 on PharmaSim, -6.1 on TugLet), though both results rest on fewer than half the pairs. On the architecture side, the hierarchy is significant for GPT-OSS on all three metrics in both environments and, for Qwen3 under prompting, only on TugLet density (+8.4). At the adapted stages ALPS exceeds its turn-level counterpart on density in all six contrasts, and on coverage and the judge for SFT in both environments and additionally for SFT→RAFT on PharmaSim.
F Reproducibility Notes
This section describes the released artifacts, verification of the feature-extraction pipeline, sources of randomness, and computational environment. Together with the implementation and hyperparameter details in Appendix C, these mate-
rials support reproduction of the generation and evaluation pipeline without releasing the original student interaction logs.
F.1 Data and Code Availability
Our code release will include our code, prompts, agent-compatible implementations of both learning environments, and the student populations generated by our best-performing SFT-adapted models. For PharmaSim, we adapted the existing PharmaSimText implementation (Radmehr, Singla, and Käser 2025) to support interaction with simulated students.
The full original student interaction logs cannot be released due to data-protection restrictions. However, we released the examples and to support evaluation of newly generated student populations without exposing these logs, we provide the behavioral feature representations used as the real-data evaluation reference. These representations were obtained through an irreversible transformation and cannot be used to reconstruct individual trajectories. The trained adapters will be released in a subsequent version of the code release.
F.2 Compute Environment
Experiments ran on a Linux Kubernetes cluster using NVIDIA A100-SXM4 GPUs with 80 GB of memory. Each adapter-training job used one GPU, while inference and evaluation deployments used eight GPUs. Jobs requested one CPU and 10 GiB of RAM. The software environment used Python 3.12 with PyTorch 2.11.0, Transformers 4.57.2, PEFT 0.19.1, TRL 0.23.0, Unsloth 2025.11.1, Accelerate 1.13.0, Datasets 4.8.4, NumPy 2.4.4, SciPy 1.17.1, and scikit-learn 1.8.0. Models were served with vLLM using a GPU-memory-utilization setting of 0.90 or 0.92.
| Model | Architecture | Adaptation | Signal Source | P1 | P2 | P3 | P4 | P5 | |
|---|---|---|---|---|---|---|---|---|---|
| Clipped Density↑ | |||||||||
| PharmaSim | GPT-OSS | Turn-level | ICL | 3-shot | 0.0±0.0 | 12.5±1.4 | 0.0±0.0 | 0.0±0.0 | 100.0±0.0 |
| ICL | 0-shot numeric | 1.7±1.2 | 31.3±4.3 | 0.0±0.0 | 0.0±0.0 | 100.0±0.0 | |||
| ICL | 0-shot | 0.0±0.0 | 31.5±4.4 | 0.0±0.0 | 0.0±0.0 | 100.0±0.0 | |||
| ALPS | ICL | 3-shot | 100.0±0.0 | 68.6±3.5 | 58.5±9.9 | 52.7±11.2 | 100.0±0.0 | ||
| ICL | 0-shot numeric | 100.0±0.0 | 61.0±2.0 | 66.6±4.4 | 100.0±0.0 | 100.0±0.0 | |||
| ICL | 0-shot | 59.2±5.1 | 100.0±0.0 | 16.9±6.8 | 100.0±0.0 | 100.0±0.0 | |||
| Qwen3 | Turn-level | ICL | 3-shot | 1.7±1.2 | 84.7±3.9 | 0.2±0.3 | 0.3±0.4 | 100.0±0.0 | |
| ICL | 0-shot numeric | 0.0±0.0 | 26.2±4.6 | 0.0±0.0 | 0.0±0.0 | 100.0±0.0 | |||
| ICL | 0-shot | 0.0±0.0 | 19.2±6.2 | 0.0±0.0 | 0.0±0.0 | 100.0±0.0 | |||
| RAFT | in-profile† | 0.0±0.0 | 41.1±14.1 | 0.0±0.0 | 0.0±0.0 | 64.2±5.5 | |||
| SFT | 38.0±12.9 | 22.7±8.4 | 28.4±9.9 | 8.6±5.2 | 90.7±12.0 | ||||
| SFT→RAFT | , in-profile | 31.3±13.6 | 12.7±1.4 | 23.8±13.8 | 2.9±2.9 | 75.9±29.9 | |||
| ALPS | ICL | 3-shot | 6.7±1.2 | 29.9±3.5 | 7.9±0.9 | 9.2±6.0 | 100.0±0.0 | ||
| ICL | 0-shot numeric | 27.5±7.1 | 37.9±1.2 | 5.4±1.4 | 10.5±6.9 | 100.0±0.0 | |||
| ICL | 0-shot | 0.0±0.0 | 84.2±9.0 | 0.2±0.3 | 10.0±2.2 | 100.0±0.0 | |||
| RAFT | in-profile | 37.7±22.3 | 16.1±2.0 | 9.3±3.6 | 19.7±11.4 | 100.0±0.0 | |||
| SFT | 78.4±14.4 | 59.9±10.1 | 30.8±6.3 | 62.8±20.9 | 92.5±10.6 | ||||
| SFT→RAFT | , in-profile | 92.7±9.6 | 62.2±11.0 | 36.2±7.5 | 65.3±21.7 | 92.3±10.0 | |||
| Clipped Coverage↑ | |||||||||
| PharmaSim | GPT-OSS | Turn-level | ICL | 3-shot | 0.0±0.0 | 3.0±0.0 | 1.0±1.4 | 3.0±0.0 | 4.0±2.1 |
| ICL | 0-shot numeric | 1.3±0.9 | 6.6±0.5 | 0.0±0.0 | 1.0±1.4 | 7.3±6.1 | |||
| ICL | 0-shot | 0.0±0.0 | 5.3±0.5 | 0.0±0.0 | 3.0±0.0 | 11.6±6.1 | |||
| ALPS | ICL | 3-shot | 5.8±2.0 | 5.9±0.0 | 17.8±1.4 | 15.8±1.6 | 3.0±0.0 | ||
| ICL | 0-shot numeric | 6.9±0.0 | 5.6±0.5 | 19.8±0.8 | 17.5±0.5 | 3.0±0.0 | |||
| ICL | 0-shot | 9.9±4.2 | 5.0±0.0 | 4.3±0.5 | 11.2±0.5 | 3.0±0.0 | |||
| Qwen3 | Turn-level | ICL | 3-shot | 2.6±0.5 | 3.6±0.9 | 3.0±0.0 | 2.0±1.4 | 9.9±4.2 | |
| ICL | 0-shot numeric | 0.7±0.9 | 44.6±39.4 | 1.0±1.4 | 0.0±0.0 | 40.9±41.9 | |||
| ICL | 0-shot | 0.0±0.0 | 11.6±2.3 | 0.0±0.0 | 0.0±0.0 | 71.9±39.7 | |||
| RAFT | in-profile† | 0.7±0.9 | 46.3±38.4 | 1.1±1.5 | 0.0±0.0 | 20.5±7.5 | |||
| SFT | 69.0±43.9 | 18.7±13.0 | 18.8±6.4 | 8.3±3.8 | 100.0±0.0 | ||||
| SFT→RAFT | , in-profile | 39.5±43.1 | 7.5±1.3 | 12.8±6.0 | 4.4±4.1 | 71.9±39.7 | |||
| ALPS | ICL | 3-shot | 7.3±6.1 | 3.0±0.0 | 10.2±1.2 | 10.9±3.7 | 9.9±4.2 | ||
| ICL | 0-shot numeric | 3.0±0.0 | 3.0±0.0 | 11.2±0.9 | 9.6±3.3 | 3.0±0.0 | |||
| ICL | 0-shot | 2.3±0.5 | 3.3±0.5 | 3.0±0.0 | 7.6±0.9 | 3.0±0.0 | |||
| RAFT | in-profile | 4.5±1.9 | 3.0±0.0 | 11.0±1.7 | 15.3±6.1 | 3.0±0.0 | |||
| SFT | 72.3±39.2 | 17.9±3.0 | 31.0±11.2 | 33.6±8.2 | 100.0±0.0 | ||||
| SFT→RAFT | , in-profile | 100.0±0.0 | 22.5±3.5 | 34.1±18.4 | 34.2±5.5 | 100.0±0.0 | |||
| Judge pass rate↑ | |||||||||
| PharmaSim | GPT-OSS | Turn-level | ICL | 3-shot | 0.0±0.0 | 98.0±0.8 | 0.0±0.0 | 0.0±0.0 | 100.0±0.0 |
| ICL | 0-shot numeric | 0.3±0.5 | 89.0±2.2 | 0.0±0.0 | 0.0±0.0 | 99.3±0.5 | |||
| ICL | 0-shot | 0.0±0.0 | 86.7±1.7 | 0.0±0.0 | 0.0±0.0 | 100.0±0.0 | |||
| ALPS | ICL | 3-shot | 86.9±1.5 | 100.0±0.0 | 98.3±1.7 | 92.7±1.7 | 100.0±0.0 | ||
| ICL | 0-shot numeric | 69.7±5.6 | 97.7±0.5 | 79.0±2.9 | 47.7±3.3 | 100.0±0.0 | |||
| ICL | 0-shot | 60.7±0.5 | 98.3±1.2 | 59.3±3.9 | 63.0±4.3 | 100.0±0.0 | |||
| Qwen3 | Turn-level | ICL | 3-shot | 1.0±0.8 | 99.7±0.5 | 19.7±2.9 | 12.7±2.6 | 100.0±0.0 | |
| ICL | 0-shot numeric | 0.0±0.0 | 40.0±2.2 | 6.3±1.2 | 0.0±0.0 | 92.0±1.4 | |||
| ICL | 0-shot | 0.0±0.0 | 31.3±8.2 | 10.3±2.1 | 0.0±0.0 | 90.7±2.9 | |||
| RAFT | in-profile† | 0.0±0.0 | 43.4±11.2 | 11.4±1.3 | 0.0±0.0 | 86.0±1.4 | |||
| SFT | 28.0±14.5 | 57.9±13.4 | 62.0±12.8 | 32.4±13.3 | 85.6±2.1 | ||||
| SFT→RAFT | , in-profile | 20.4±15.2 | 35.8±16.9 | 48.9±25.7 | 24.8±19.8 | 91.4±5.9 | |||
| ALPS | ICL | 3-shot | 18.0±5.9 | 61.0±4.5 | 41.0±3.3 | 8.7±3.4 | 81.0±2.2 | ||
| ICL | 0-shot numeric | 49.7±4.0 | 99.7±0.5 | 43.3±3.4 | 53.7±2.9 | 90.0±1.4 | |||
| ICL | 0-shot | 11.3±2.6 | 97.0±1.4 | 3.3±1.2 | 36.0±1.6 | 95.7±1.7 | |||
| RAFT | in-profile | 56.0±8.2 | 100.0±0.0 | 40.6±6.5 | 46.9±8.8 | 99.3±0.9 | |||
| SFT | 34.7±18.7 | 92.3±2.4 | 56.8±14.9 | 86.9±7.2 | 92.6±7.1 | ||||
| SFT→RAFT | , in-profile | 41.6±20.4 | 93.3±2.0 | 61.4±5.3 | 90.0±7.3 | 92.5±6.0 | |||
Table 10: Exp1: Data-sufficient setting, per profile (PharmaSim). Simulation quality per behavior profile, as percentages (mean±std over three seeds, 100 trajectories per profile per seed). Rows follow Table 1, and each row averaged over the five profiles reproduces the corresponding mean column there. Rows in the GPT-OSS block are the prompted GPT-OSS reference; all other rows are Qwen3. The ICL rows add two ablated prompts to the 3-shot condition of the main table: 0-shot numeric (numeric profile descriptions, no examples) and 0-shot (neither). † Turn-level RAFT produced no trajectories for profiles 1 and 4 in any replica, so no adapter was trained for them; those cells (italic) are filled per replica with the prompted turn-level baseline from the 0-shot numeric condition.
| Model | Architecture | Adaptation | Signal Source | P1 | P2 | P3 | P4 | P5 | P6 | |
|---|---|---|---|---|---|---|---|---|---|---|
| Clipped Density↑ | ||||||||||
| TugLet | GPT-OSS | Turn-level | ICL | 3-shot | 2.0±2.0 | 33.7±9.6 | 65.2±3.3 | 21.7±12.5 | 83.6±11.1 | 86.2±9.3 |
| ICL | 0-shot numeric | 6.5±1.3 | 36.0±5.2 | 70.6±2.7 | 28.3±7.2 | 4.8±0.3 | 0.0±0.0 | |||
| ICL | 0-shot | 3.4±2.0 | 26.6±3.6 | 68.0±1.4 | 75.8±15.0 | 19.0±10.3 | 3.4±3.3 | |||
| ALPS | ICL | 3-shot | 42.4±6.5 | 100.0±0.0 | 100.0±0.0 | 100.0±0.0 | 100.0±0.0 | 61.3±4.0 | ||
| ICL | 0-shot numeric | 21.0±2.4 | 83.9±5.7 | 100.0±0.0 | 100.0±0.0 | 93.8±8.8 | 63.6±1.9 | |||
| ICL | 0-shot | 23.8±4.4 | 34.5±5.4 | 89.4±3.0 | 18.3±5.9 | 90.5±4.4 | 0.0±0.0 | |||
| Qwen3 | Turn-level | ICL | 3-shot | 0.4±0.6 | 16.7±6.0 | 47.7±6.9 | 98.3±2.4 | 28.1±6.1 | 99.1±1.2 | |
| ICL | 0-shot numeric | 1.6±0.7 | 26.4±1.6 | 4.7±1.0 | 0.0±0.0 | 0.0±0.0 | 1.0±1.0 | |||
| ICL | 0-shot | 1.4±0.3 | 19.3±1.1 | 10.2±2.4 | 32.5±5.4 | 17.1±3.6 | 100.0±0.0 | |||
| RAFT | in-profile | 2.0±2.0 | 10.6±0.5 | 6.8±0.9 | 14.2±5.1 | 0.0±0.0 | 1.0±1.0 | |||
| SFT | 0.0±0.0 | 23.4±4.5 | 77.8±10.3 | 3.3±3.1 | 57.1±1.0 | 11.8±1.3 | ||||
| SFT→RAFT | , in-profile | 4.2±3.0 | 30.1±8.5 | 73.9±6.1 | 25.8±20.4 | 44.8±20.1 | 12.0±7.1 | |||
| ALPS | ICL | 3-shot | 18.0±3.0 | 14.8±1.3 | 8.3±1.5 | 4.2±2.4 | 21.4±6.3 | 27.5±2.8 | ||
| ICL | 0-shot numeric | 12.3±1.1 | 60.1±5.3 | 29.5±4.4 | 30.8±7.7 | 12.6±5.3 | 7.9±2.3 | |||
| ICL | 0-shot | 3.2±1.6 | 22.7±0.6 | 54.5±1.9 | 0.8±1.2 | 6.9±1.8 | 1.3±1.3 | |||
| RAFT | in-profile | 12.3±6.1 | 66.0±3.9 | 59.7±16.9 | 45.8±7.2 | 22.9±9.1 | 2.1±1.3 | |||
| SFT | 31.5±5.3 | 50.4±14.2 | 58.5±14.2 | 59.2±21.4 | 55.7±6.9 | 22.8±5.0 | ||||
| SFT→RAFT | , in-profile | 23.9±6.5 | 64.6±5.8 | 68.6±22.3 | 53.3±17.4 | 95.7±4.2 | 11.3±7.1 | |||
| Clipped Coverage↑ | ||||||||||
| TugLet | GPT-OSS | Turn-level | ICL | 3-shot | 3.3±0.5 | 10.6±0.5 | 11.2±1.7 | 67.7±45.7 | 100.0±0.0 | 100.0±0.0 |
| ICL | 0-shot numeric | 6.3±1.2 | 9.2±0.9 | 6.6±0.5 | 15.8±0.0 | 3.0±0.0 | 1.0±1.4 | |||
| ICL | 0-shot | 4.3±0.9 | 8.3±0.5 | 6.3±0.5 | 40.9±41.9 | 4.6±1.2 | 6.6±6.2 | |||
| ALPS | ICL | 3-shot | 11.9±0.8 | 29.4±0.9 | 14.5±0.5 | 43.9±39.7 | 100.0±0.0 | 9.9±0.0 | ||
| ICL | 0-shot numeric | 9.9±1.4 | 33.7±0.8 | 16.8±5.7 | 100.0±0.0 | 15.2±3.3 | 10.9±0.8 | |||
| ICL | 0-shot | 9.2±0.5 | 17.2±3.3 | 5.6±0.5 | 4.3±1.9 | 18.2±4.1 | 0.0±0.0 | |||
| Qwen3 | Turn-level | ICL | 3-shot | 1.0±1.4 | 13.9±2.4 | 100.0±0.0 | 100.0±0.0 | 100.0±0.0 | 100.0±0.0 | |
| ICL | 0-shot numeric | 3.3±0.5 | 16.2±0.9 | 5.9±0.8 | 0.0±0.0 | 0.0±0.0 | 3.0±0.0 | |||
| ICL | 0-shot | 4.6±2.3 | 13.9±1.6 | 12.9±4.0 | 100.0±0.0 | 100.0±0.0 | 100.0±0.0 | |||
| RAFT | in-profile | 2.3±1.7 | 7.3±0.9 | 4.6±1.2 | 15.8±0.0 | 0.0±0.0 | 3.0±0.0 | |||
| SFT | 1.0±1.4 | 18.2±2.3 | 22.4±2.0 | 3.6±2.3 | 11.6±2.6 | 9.2±0.9 | ||||
| SFT→RAFT | , in-profile | 5.6±4.1 | 19.8±8.2 | 15.5±2.0 | 4.0±2.1 | 11.9±2.9 | 8.3±4.9 | |||
| ALPS | ICL | 3-shot | 8.3±1.9 | 6.9±0.8 | 4.3±0.5 | 3.0±0.0 | 5.9±1.4 | 52.8±33.9 | ||
| ICL | 0-shot numeric | 8.3±0.9 | 5.6±0.5 | 10.2±1.9 | 15.8±0.0 | 5.0±0.8 | 6.3±0.5 | |||
| ICL | 0-shot | 4.3±1.2 | 3.6±0.5 | 10.2±1.7 | 0.7±0.9 | 3.0±0.0 | 2.3±1.7 | |||
| RAFT | in-profile | 6.6±1.7 | 5.9±0.8 | 10.6±1.2 | 9.9±4.2 | 7.9±2.1 | 4.0±0.8 | |||
| SFT | 42.2±15.9 | 43.9±7.9 | 28.7±3.7 | 100.0±0.0 | 54.5±32.2 | 16.8±4.0 | ||||
| SFT→RAFT | , in-profile | 22.8±9.9 | 53.8±8.9 | 25.1±2.5 | 71.9±39.7 | 100.0±0.0 | 5.0±0.8 | |||
| Judge pass rate↑ | ||||||||||
| TugLet | GPT-OSS | Turn-level | ICL | 3-shot | 1.0±0.0 | 22.7±0.9 | 89.0±1.4 | 11.0±0.8 | 0.0±0.0 | 0.0±0.0 |
| ICL | 0-shot numeric | 5.3±1.2 | 19.0±2.8 | 99.7±0.5 | 3.0±0.8 | 0.0±0.0 | 0.7±0.9 | |||
| ICL | 0-shot | 0.7±0.9 | 8.7±1.7 | 98.7±0.5 | 8.7±2.1 | 0.0±0.0 | 0.3±0.5 | |||
| ALPS | ICL | 3-shot | 67.3±6.8 | 92.0±2.4 | 95.7±1.7 | 76.7±1.9 | 11.0±1.6 | 75.7±2.9 | ||
| ICL | 0-shot numeric | 57.0±1.4 | 74.0±5.7 | 91.7±1.9 | 74.0±2.8 | 7.0±1.6 | 72.3±4.9 | |||
| ICL | 0-shot | 51.3±10.5 | 26.3±5.4 | 100.0±0.0 | 0.0±0.0 | 3.0±1.4 | 0.7±0.5 | |||
| Qwen3 | Turn-level | ICL | 3-shot | 0.0±0.0 | 15.7±0.9 | 25.7±6.2 | 0.0±0.0 | 0.0±0.0 | 0.0±0.0 | |
| ICL | 0-shot numeric | 0.7±0.5 | 37.7±4.9 | 14.7±4.6 | 0.0±0.0 | 0.0±0.0 | 14.7±0.5 | |||
| ICL | 0-shot | 0.3±0.5 | 22.7±1.7 | 25.0±5.4 | 0.7±0.9 | 0.0±0.0 | 0.7±0.9 | |||
| RAFT | in-profile | 0.3±0.5 | 16.0±2.8 | 12.3±2.1 | 2.7±2.1 | 0.0±0.0 | 14.7±0.5 | |||
| SFT | 0.0±0.0 | 25.3±4.5 | 73.3±5.6 | 0.7±0.9 | 2.0±2.2 | 14.0±1.6 | ||||
| SFT→RAFT | , in-profile | 2.0±2.8 | 34.3±15.7 | 91.0±6.4 | 1.7±2.4 | 1.0±0.8 | 12.7±2.5 | |||
| ALPS | ICL | 3-shot | 39.3±0.5 | 6.3±0.5 | 9.7±0.9 | 11.0±6.2 | 4.7±2.1 | 21.7±3.9 | ||
| ICL | 0-shot numeric | 14.3±0.5 | 7.0±2.9 | 38.7±4.7 | 12.0±2.9 | 22.0±2.9 | 20.3±4.5 | |||
| ICL | 0-shot | 15.7±1.7 | 2.3±0.5 | 58.7±1.2 | 0.7±0.5 | 0.3±0.5 | 0.0±0.0 | |||
| RAFT | in-profile | 18.0±3.6 | 4.3±2.5 | 65.0±19.6 | 22.0±9.9 | 13.7±1.7 | 32.3±3.3 | |||
| SFT | 40.0±5.9 | 50.7±9.0 | 58.0±9.0 | 45.0±12.2 | 56.0±7.5 | 35.7±10.4 | ||||
| SFT→RAFT | , in-profile | 15.7±13.5 | 57.7±5.6 | 59.3±20.4 | 41.0±12.0 | 42.3±9.0 | 31.3±13.3 | |||
Table 11: Exp1: Data-sufficient setting, per profile (TugLet). Simulation quality per behavior profile, as percentages (mean±std over three seeds, 100 trajectories per profile per seed). Rows follow Table 1, and each row averaged over the six profiles reproduces the corresponding mean column there. The ICL rows add two ablated prompts to the 3-shot condition of the main table: 0-shot numeric (numeric profile descriptions, no examples) and 0-shot (neither). Turn-level RAFT produced no trajectories for profiles 5 and 6 in any replica, so no adapter was trained for them; those cells (italic) are filled per replica with the prompted turn-level baseline from the 0-shot numeric condition.
| Model | Architecture | Adaptation | Signal Source | P1 | P2 | P3 | P4 | P5 | |
|---|---|---|---|---|---|---|---|---|---|
| Clipped Density↑ | |||||||||
| PharmaSim | GPT-OSS | Turn-level | ICL | ||||||
| ICL | 0-shot | ||||||||
| ALPS | ICL | ||||||||
| ICL | 0-shot | ||||||||
| Qwen3 | Turn-level | ICL | |||||||
| ICL | 0-shot | ||||||||
| RAFT | |||||||||
| SFT | |||||||||
| ALPS | SFT→RAFT | ||||||||
| ICL | |||||||||
| ICL | 0-shot | ||||||||
| RAFT | TR | ||||||||
| SFT | TD | ||||||||
| SFT→RAFT | |||||||||
| Clipped Coverage↑ | |||||||||
| PharmaSim | GPT-OSS | Turn-level | ICL | ||||||
| ICL | 0-shot | ||||||||
| ALPS | ICL | ||||||||
| ICL | 0-shot | ||||||||
| Qwen3 | Turn-level | ICL | |||||||
| ICL | 0-shot | ||||||||
| RAFT | |||||||||
| SFT | |||||||||
| ALPS | SFT→RAFT | ||||||||
| ICL | |||||||||
| ICL | 0-shot | ||||||||
| RAFT | TR | ||||||||
| SFT | TD | ||||||||
| SFT→RAFT | |||||||||
| Judge pass rate↑ | |||||||||
| PharmaSim | GPT-OSS | Turn-level | ICL | ||||||
| ICL | 0-shot | ||||||||
| ALPS | ICL | ||||||||
| ICL | 0-shot | ||||||||
| Qwen3 | Turn-level | ICL | |||||||
| ICL | 0-shot | ||||||||
| RAFT | |||||||||
| SFT | |||||||||
| ALPS | SFT→RAFT | ||||||||
| ICL | |||||||||
| ICL | 0-shot | ||||||||
| RAFT | TR | ||||||||
| SFT | TD | ||||||||
| SFT→RAFT | |||||||||
Table 12: Exp2: Data-scarce setting, per profile (PharmaSim). Simulation quality per behavior profile, as percentages (mean±std over three seeds, 100 trajectories per profile per seed). The ICL rows report the prompt used in the main table and a 0-shot variant without the three example trajectories. † Turn-level RAFT produced no trajectories for profile 1, and turn-level SFT and SFT→RAFT none for profiles 1, 3 and 4, in any replica; those cells (italic) are filled per replica with the matched prompted turn-level baseline.
| Model | Architecture | Adaptation | Signal Source | P1 | P2 | P3 | P4 | P5 | P6 | |
|---|---|---|---|---|---|---|---|---|---|---|
| Clipped Density | ||||||||||
| TugLet | GPT-OSS | Turn-level | ICL | |||||||
| ICL | 0-shot | |||||||||
| ALPS | ICL | |||||||||
| ICL | 0-shot | |||||||||
| Turn-level | ICL | |||||||||
| ICL | 0-shot | |||||||||
| RAFT | TR | |||||||||
| SFT | TD | |||||||||
| Qwen3 | SFT RAFT | TD TR | ||||||||
| ICL | ||||||||||
| ICL | 0-shot | |||||||||
| ALPS | RAFT | TR | ||||||||
| SFT | TD | |||||||||
| SFT RAFT | TD TR | |||||||||
| Clipped Coverage | ||||||||||
| TugLet | GPT-OSS | Turn-level | ICL | |||||||
| ICL | 0-shot | |||||||||
| ALPS | ICL | |||||||||
| ICL | 0-shot | |||||||||
| Turn-level | ICL | |||||||||
| ICL | 0-shot | |||||||||
| RAFT | TR | |||||||||
| SFT | TD | |||||||||
| Qwen3 | SFT RAFT | TD TR | ||||||||
| ICL | ||||||||||
| ICL | 0-shot | |||||||||
| ALPS | RAFT | TR | ||||||||
| SFT | TD | |||||||||
| SFT RAFT | TD TR | |||||||||
| Judge pass rate | ||||||||||
| TugLet | GPT-OSS | Turn-level | ICL | |||||||
| ICL | 0-shot | |||||||||
| ALPS | ICL | |||||||||
| ICL | 0-shot | |||||||||
| Turn-level | ICL | |||||||||
| ICL | 0-shot | |||||||||
| RAFT | TR | |||||||||
| SFT | TD | |||||||||
| Qwen3 | SFT RAFT | TD TR | ||||||||
| ICL | ||||||||||
| ICL | 0-shot | |||||||||
| ALPS | RAFT | TR | ||||||||
| SFT | TD | |||||||||
| SFT RAFT | TD TR | |||||||||
Table 13: Exp2: Data-scarce setting, per profile (TugLet). Simulation quality per behavior profile, as percentages (mean std over three seeds, 100 trajectories per profile per seed). Rows follow Table 2, and each row averaged over the six profiles reproduces the corresponding mean column there. The ICL rows report the prompt used in the main table and a 0-shot variant with neither the three example trajectories nor numeric profile descriptions.
| Model | Architecture | Numeric | Examples | Clipped Density↑ | Clipped Coverage↑ | Judge pass rate↑ | |||
|---|---|---|---|---|---|---|---|---|---|
| mean | worst | mean | worst | mean | worst | ||||
| GPT-OSS | Turn-level | – | – | 26.3±0.9 | 0.0±0.0 | 4.0±1.3 | 0.0±0.0 | 37.3±0.3 | 0.0±0.0 |
| ✓ | – | 26.6±0.6 | 0.0±0.0 | 3.2±1.2 | 0.0±0.0 | 37.7±0.3 | 0.0±0.0 | ||
| – | ✓ | 22.9±0.2 | 0.0±0.0 | 1.9±0.2 | 0.0±0.0 | 39.7±0.1 | 0.0±0.0 | ||
| ✓ | ✓ | 22.5±0.3 | 0.0±0.0 | 2.2±0.7 | 0.0±0.0 | 39.6±0.2 | 0.0±0.0 | ||
| ALPS | – | – | 75.2±1.7 | 16.9±6.8 | 6.7±0.9 | 3.0±0.0 | 76.3±1.1 | 58.0±2.9 | |
| ✓ | – | 85.5±0.5 | 59.9±0.4 | 10.6±0.1 | 3.0±0.0 | 78.8±2.3 | 47.7±3.3 | ||
| – | ✓ | 83.7±0.7 | 18.4±3.3 | 25.9±0.2 | 3.0±0.0 | 90.5±0.7 | 67.0±2.2 | ||
| ✓ | ✓ | 76.0±2.3 | 47.9±4.5 | 9.7±0.3 | 3.0±0.0 | 95.6±0.8 | 86.9±1.5 | ||
| Qwen3 | Turn-level | – | – | 23.9±1.2 | 0.0±0.0 | 16.7±8.2 | 0.0±0.0 | 26.5±0.8 | 0.0±0.0 |
| ✓ | – | 25.2±0.9 | 0.0±0.0 | 17.4±16.0 | 0.0±0.0 | 27.7±0.6 | 0.0±0.0 | ||
| – | ✓ | 36.8±0.4 | 0.0±0.0 | 9.5±8.7 | 0.7±0.9 | 46.3±0.8 | 0.7±0.5 | ||
| ✓ | ✓ | 37.4±0.6 | 0.0±0.0 | 4.2±1.3 | 2.0±1.4 | 46.6±0.3 | 1.0±0.8 | ||
| ALPS | – | – | 38.9±2.2 | 0.0±0.0 | 3.8±0.2 | 2.3±0.5 | 48.7±1.4 | 3.3±1.2 | |
| ✓ | – | 36.3±2.7 | 3.7±1.0 | 5.9±0.5 | 3.0±0.0 | 67.3±0.7 | 42.0±1.6 | ||
| – | ✓ | 37.4±1.7 | 3.2±0.9 | 5.1±0.7 | 3.0±0.0 | 42.0±0.2 | 8.0±0.8 | ||
| ✓ | ✓ | 30.7±0.8 | 5.2±2.6 | 8.3±1.4 | 3.0±0.0 | 41.9±1.2 | 8.7±3.4 | ||
Table 14: Prompt-variant comparison (PharmaSim). The two prompt factors are crossed: Numeric indicates numeric profile descriptions (explicit count ranges per behavior), Examples indicates three worked example trajectories in context. Values are percentages (mean±std over three seeds); mean averages across the five behavior profiles and worst reports the lowest-scoring.
| Model | Architecture | Numeric | Examples | Clipped Density↑ | Clipped Coverage↑ | Judge pass rate↑ | |||
|---|---|---|---|---|---|---|---|---|---|
| mean | worst | mean | worst | mean | worst | ||||
| GPT-OSS | Turn-level | – | – | 32.7±3.6 | 1.6±1.8 | 11.8±6.6 | 2.6±2.0 | 19.5±0.3 | 0.0±0.0 |
| ✓ | – | 24.4±1.1 | 0.0±0.0 | 7.0±0.3 | 1.0±1.4 | 21.3±0.1 | 0.0±0.0 | ||
| – | ✓ | 31.3±5.4 | 2.4±0.5 | 11.7±6.7 | 3.0±0.0 | 20.5±1.2 | 0.0±0.0 | ||
| ✓ | ✓ | 48.7±4.0 | 2.0±2.0 | 48.8±7.8 | 3.0±0.0 | 20.6±0.3 | 0.0±0.0 | ||
| ALPS | – | – | 42.7±0.7 | 0.0±0.0 | 9.1±1.2 | 0.0±0.0 | 30.2±1.8 | 0.0±0.0 | |
| ✓ | – | 77.1±2.2 | 21.0±2.4 | 31.1±0.9 | 9.2±0.9 | 62.7±0.5 | 7.0±1.6 | ||
| – | ✓ | 58.9±1.5 | 0.0±0.0 | 16.6±6.9 | 3.0±0.0 | 43.2±1.0 | 3.0±0.8 | ||
| ✓ | ✓ | 83.9±1.1 | 42.4±6.5 | 34.9±6.7 | 9.9±0.0 | 69.7±0.8 | 11.0±1.6 | ||
| Qwen3 | Turn-level | – | – | 30.1±2.1 | 1.4±0.3 | 55.2±0.8 | 4.6±2.3 | 8.2±1.2 | 0.0±0.0 |
| ✓ | – | 5.6±0.3 | 0.0±0.0 | 4.7±0.1 | 0.0±0.0 | 11.3±1.5 | 0.0±0.0 | ||
| – | ✓ | 13.0±0.7 | 0.0±0.0 | 7.2±0.4 | 0.0±0.0 | 17.6±1.5 | 0.0±0.0 | ||
| ✓ | ✓ | 48.4±2.3 | 0.4±0.6 | 69.1±0.2 | 1.0±1.4 | 6.9±0.9 | 0.0±0.0 | ||
| ALPS | – | – | 14.9±0.5 | 0.3±0.4 | 4.0±0.5 | 0.7±0.9 | 12.9±0.3 | 0.0±0.0 | |
| ✓ | – | 25.5±0.7 | 7.5±2.2 | 8.5±0.6 | 5.0±0.8 | 19.1±1.3 | 7.0±2.9 | ||
| – | ✓ | 21.5±1.7 | 1.0±1.5 | 7.4±0.0 | 1.0±1.4 | 15.6±0.7 | 0.0±0.0 | ||
| ✓ | ✓ | 15.7±0.2 | 4.2±2.4 | 13.5±5.4 | 3.0±0.0 | 15.4±0.4 | 3.3±1.2 | ||
Table 15: Prompt-variant comparison (TugLet). The two prompt factors are crossed: Numeric indicates numeric profile descriptions (explicit count ranges per behavior), Examples indicates three worked example trajectories in context. Values are percentages (mean±std over three seeds); mean averages across the six behavior profiles and worst reports the lowest-scoring.
| Configuration | Clipped Density | Clipped Coverage | Judge | |||
|---|---|---|---|---|---|---|
| mean | worst | mean | worst | mean | worst | |
| PHARMASIM | ||||||
| ALPS (full) | ||||||
| - generator adapter | ||||||
| - planner adapter | ||||||
| TUGLET | ||||||
| ALPS (full) | ||||||
| - generator adapter | ||||||
| - planner adapter | ||||||
Table 16: Adapter ablation of ALPS (SFT→RAFT) in the data-sufficient setting. “- generator adapter” keeps only the planner adapter and “- planner adapter” only the generator adapter; the removed component runs prompted. Percentages, mean±std over 3 replicas; mean and worst aggregate over profiles; bold marks the best value per column within each environment.
| Contrast | Metric | n (inf.) | Δ | 95% CI | p | pHolm |
|---|---|---|---|---|---|---|
| PharmaSim Exp1: architecture under prompting (2 contrasts) | ||||||
| E1.1 GPT-OSS: ALPS vs. Turn | density | 15 (12) | +53.5 | [+36.9, +69.5] | .0004 | <.001 |
| coverage | 15 (14) | +7.5 | [+4.2, +10.9] | .0008 | .0015 | |
| judge | 15 (12) | +56.0 | [+31.9, +78.8] | .0004 | <.001 | |
| E1.2 Qwen3: ALPS vs. Turn | density | 15 (12) | -6.6 | [-19.8, +4.7] | .2622 | .2622 |
| coverage | 15 (10) | +4.0 | [+1.0, +6.9] | .0677 | .0677 | |
| judge | 15 (15) | -4.7 | [-16.2, +6.7] | .7556 | .7556 | |
| PharmaSim Exp1: adaptation, Qwen3 (8 contrasts) | ||||||
| E1.3 ALPS SFT vs. ALPS ICL | density | 15 (13) | +34.2 | [+18.6, +50.2] | .0013 | .0105 |
| coverage | 15 (15) | +42.7 | [+26.0, +60.7] | < .0001 | <.001 | |
| judge | 15 (15) | +30.7 | [+17.4, +45.5] | .0002 | .0015 | |
| E1.4 Turn SFT vs. Turn ICL | density | 15 (14) | +0.3 | [-19.0, +18.0] | .3599 | 1.0000 |
| coverage | 15 (15) | +38.7 | [+19.9, +59.3] | < .0001 | <.001 | |
| judge | 15 (15) | +6.6 | [-10.4, +22.9] | .2271 | .6814 | |
| E1.5 ALPS SFT→RAFT vs. ALPS SFT | density | 15 (14) | +4.8 | [-0.2, +9.6] | .1070 | .4280 |
| coverage | 15 (10) | +7.2 | [-0.7, +19.4] | .6387 | 1.0000 | |
| judge | 15 (14) | +3.1 | [+0.2, +6.8] | .1205 | .6027 | |
| E1.6a ALPS RAFT vs. ALPS ICL | density | 15 (12) | +5.2 | [-3.1, +15.4] | .8469 | 1.0000 |
| coverage | 15 (15) | -0.6 | [-3.7, +2.3] | .9341 | 1.0000 | |
| judge | 15 (15) | +26.6 | [+17.6, +34.8] | .0003 | .0018 | |
| E1.6b Turn RAFT vs. Turn ICL | density | 15 (7)‡ | -9.1 | [-20.1, -0.6] | .0020 | .0141 |
| coverage | 15 (14) | +19.8 | [+2.2, +39.8] | .5995 | 1.0000 | |
| judge | 15 (9)‡ | -15.7 | [-27.6, -5.9] | < .0001 | <.001 | |
| E1.7 ALPS ICL vs. Turn SFT→RAFT | density | 15 (14) | +1.4 | [-10.5, +14.5] | .3808 | 1.0000 |
| coverage | 15 (15) | -19.0 | [-37.3, -2.9] | .9723 | 1.0000 | |
| judge | 15 (15) | -2.3 | [-14.3, +10.3] | .7193 | .7193 | |
| E1.11 ALPS SFT vs. ALPS RAFT | density | 15 (13) | +29.0 | [+13.9, +43.7] | .0051 | .0256 |
| coverage | 15 (15) | +43.4 | [+24.4, +63.5] | < .0001 | <.001 | |
| judge | 15 (15) | +4.1 | [-8.9, +17.5] | .3394 | .6814 | |
| E1.12 ALPS SFT→RAFT vs. ALPS RAFT | density | 15 (14) | +33.8 | [+18.1, +49.5] | .0021 | .0141 |
| coverage | 15 (15) | +50.5 | [+31.1, +70.2] | < .0001 | <.001 | |
| judge | 15 (15) | +7.2 | [-5.5, +20.3] | .1514 | .6056 | |
| PharmaSim Exp1: architecture at each adapted stage, Qwen3 (3 contrasts) | ||||||
| E1.8 ALPS SFT vs. Turn SFT | density | 15 (14) | +27.2 | [+13.9, +41.3] | .0006 | .0012 |
| coverage | 15 (11) | +8.0 | [-10.1, +25.7] | .0844 | .1688 | |
| judge | 15 (15) | +19.5 | [+5.4, +34.5] | .0177 | .0177 | |
| E1.9 ALPS SFT→RAFT vs. Turn SFT→RAFT | density | 15 (15) | +40.4 | [+26.2, +55.1] | .0002 | <.001 |
| E1.10 ALPS RAFT vs. Turn RAFT | coverage | 15 (12) | +30.9 | [+16.4, +47.5] | .0004 | .0013 |
| judge | 15 (15) | +31.5 | [+14.3, +49.2] | .0034 | .0067 | |
| density | 15 (12) | +7.6 | [-4.3, +20.3] | .1384 | .1384 | |
| coverage | 15 (15) | -16.4 | [-38.9, +3.0] | .6807 | .6807 | |
| judge | 15 (15) | +37.7 | [+28.6, +46.9] | < .0001 | <.001 | |
Table 17: Exp1: data-sufficient test results, PharmaSim. Wilcoxon signed-rank over paired profile×seed cells, exact null. Zero differences are retained in n (zero_method=pratt), since ties arise from ceiling effects where both arms saturate a metric on a profile. Tests are one-sided where the claim is directional and two-sided for the RAFT contrasts and the reference comparison. n gives total pairs and, in parentheses, non-tied pairs. Δ is the mean paired difference in percentage points with a percentile-bootstrap 95% CI (2×10⁴ resamples). Holm correction is applied within each (contrast block, metric) family. Bold marks pHolm < .05. A ‡ on the n column marks at least 40% tied pairs, and a § on Δ marks |Δ| < 0.05. Rows with either flag should be read from Δ and the non-tied count rather than from p.
| Contrast | Metric | n (inf.) | Δ | 95% CI | p | pHolm |
|---|---|---|---|---|---|---|
| TugLet Exp1: architecture under prompting (2 contrasts) | ||||||
| E1.1 GPT-OSS: ALPS vs. Turn | density | 18 (18) | +35.2 | [+18.6, +50.9] | .0006 | .0013 |
| coverage | 18 (15) | -13.9 | [-36.6, +9.0] | .4325 | .8650 | |
| judge | 18 (18) | +49.1 | [+35.3, +62.1] | < .0001 | <.001 | |
| E1.2 Qwen3: ALPS vs. Turn | density | 18 (18) | -32.7 | [-51.6, -14.6] | .9962 | .9962 |
| coverage | 18 (17) | -55.6 | [-76.1, -34.5] | .9997 | .9997 | |
| judge | 18 (18) | +8.6 | [-0.2, +17.5] | .0770 | .0770 | |
| TugLet Exp1: adaptation, Qwen3 (8 contrasts) | ||||||
| E1.3 ALPS SFT vs. ALPS ICL | density | 18 (18) | +30.6 | [+19.7, +42.0] | < .0001 | <.001 |
| coverage | 18 (18) | +34.2 | [+13.4, +53.5] | .0010 | .0048 | |
| judge | 18 (18) | +32.1 | [+22.1, +41.8] | < .0001 | <.001 | |
| E1.4 Turn SFT vs. Turn ICL | density | 18 (16) | -19.5 | [-44.4, +4.1] | .7789 | 1.0000 |
| coverage | 18 (17) | -58.1 | [-77.4, -37.7] | .9996 | 1.0000 | |
| judge | 18 (12) | +12.3 | [+5.2, +20.9] | .0017 | .0118 | |
| E1.5 ALPS SFT→RAFT vs. ALPS SFT | density | 18 (17) | +6.6 | [-3.0, +16.5] | .2837 | .8512 |
| E1.6a ALPS RAFT vs. ALPS ICL | coverage | 18 (15) | -1.3 | [-16.3, +14.0] | .3038 | 1.0000 |
| judge | 18 (18) | -6.3 | [-13.3, +0.7] | .0987 | .3950 | |
| density | 18 (17) | +19.1 | [+4.3, +34.0] | .0342 | .1712 | |
| coverage | 18 (17) | -6.1 | [-18.8, +2.6] | .8317 | 1.0000 | |
| judge | 18 (18) | +10.4 | [-0.3, +22.8] | .1187 | .3950 | |
| E1.6b Turn RAFT vs. Turn ICL | density | 18 (18) | -42.8 | [-60.5, -25.8] | .0003 | .0018 |
| coverage | 18 (18) | -63.8 | [-83.3, -43.2] | .0001 | <.001 | |
| judge | 18 (9)‡ | -1.7 | [-4.8, +0.7] | .3465 | .6931 | |
| E1.11 ALPS SFT vs. ALPS RAFT | density | 18 (18) | +11.6 | [+0.5, +21.5] | .0665 | .2661 |
| coverage | 18 (18) | +40.2 | [+27.5, +54.1] | < .0001 | <.001 | |
| judge | 18 (18) | +21.7 | [+10.6, +32.1] | .0028 | .0168 | |
| E1.12 ALPS SFT→RAFT vs. ALPS RAFT | density | 18 (18) | +18.1 | [+4.5, +32.6] | .0237 | .1420 |
| E1.7 ALPS ICL vs. Turn SFT→RAFT | coverage | 18 (18) | +38.9 | [+23.2, +55.7] | < .0001 | <.001 |
| judge | 18 (18) | +15.3 | [+2.4, +27.6] | .0342 | .1712 | |
| density | 18 (18) | -16.1 | [-30.9, -2.4] | .9506 | 1.0000 | |
| coverage | 18 (17) | +2.7 | [-6.5, +16.1] | .8154 | 1.0000 | |
| judge | 18 (18) | -8.3 | [-27.3, +8.4] | .5000 | .6931 | |
| TugLet Exp1: architecture at each adapted stage, Qwen3 (3 contrasts) | ||||||
| E1.8 ALPS SFT vs. Turn SFT | density | 18 (17) | +17.4 | [+4.9, +30.7] | .0134 | .0134 |
| coverage | 18 (18) | +36.7 | [+21.7, +52.9] | < .0001 | <.001 | |
| judge | 18 (18) | +28.3 | [+16.6, +39.3] | .0003 | <.001 | |
| E1.9 ALPS SFT→RAFT vs. Turn SFT→RAFT | density | 18 (18) | +21.1 | [+8.8, +33.2] | .0020 | .0040 |
| E1.10 ALPS RAFT vs. Turn RAFT | coverage | 18 (18) | +35.6 | [+19.3, +53.1] | < .0001 | <.001 |
| judge | 18 (18) | +17.4 | [+3.8, +29.4] | .0118 | .0118 | |
| density | 18 (18) | +29.2 | [+19.2, +39.8] | < .0001 | <.001 | |
| coverage | 18 (16) | +2.1 | [-0.3, +4.3] | .0449 | .0449 | |
| judge | 18 (18) | +20.7 | [+11.1, +30.9] | .0003 | <.001 | |
| TugLet Exp1: prompt robustness (1 contrast) | ||||||
| E1.13 ALPS vs. Turn, numeric prompt (no examples) | density | 18 (18) | +19.9 | [+14.7, +25.1] | < .0001 | <.001 |
| coverage | 18 (18) | +3.8 | [+0.1, +7.3] | .0300 | .0300 | |
| judge | 18 (17) | +7.8 | [-1.6, +15.9] | .0594 | .0594 | |
Table 18: Exp1: data-sufficient test results, TugLet. Wilcoxon signed-rank over paired profile×seed cells, exact null. Zero differences are retained in n (zero_method=pratt), since ties arise from ceiling effects where both arms saturate a metric on a profile. Tests are one-sided where the claim is directional and two-sided for the RAFT contrasts and the reference comparison. n gives total pairs and, in parentheses, non-tied pairs. Δ is the mean paired difference in percentage points with a percentile-bootstrap 95% CI (2×10⁴ resamples). Holm correction is applied within each (contrast block, metric) family. Bold marks pHolm < .05. A ‡ on the n column marks at least 40% tied pairs, and a § on Δ marks |Δ| < 0.05. Rows with either flag should be read from Δ and the non-tied count rather than from p.
| Contrast | Metric | n (inf.) | Δ | 95% CI | p | pHolm |
|---|---|---|---|---|---|---|
| PharmaSim Exp2: teacher guidance, Qwen3 (8 contrasts) | ||||||
| E2.1 ALPS SFT(TD) vs. ALPS ICL | density | 15 (15) | +44.8 | [+29.2, +61.8] | < .0001 | < .001 |
| coverage | 15 (11) | +20.9 | [+2.8, +40.3] | .0177 | .1060 | |
| judge | 15 (14) | +54.1 | [+37.8, +69.1] | < .0001 | < .001 | |
| E2.2 Turn SFT(TD) vs. Turn ICL | density | 15 (3)‡ | -6.7 | [-17.2, +0.0] | < .0001 | < .001 |
| coverage | 15 (5)‡ | -7.1 | [-20.3, +0.0] | .0043 | .0299 | |
| judge | 15 (2)‡ | +0.0§ | [-0.2, +0.2] | .0084 | .0334 | |
| E2.3 ALPS SFT→RAFT vs. ALPS SFT | density | 15 (5)‡ | -1.6 | [-6.3, +2.3] | .0067 | .0269 |
| coverage | 15 (8)‡ | -1.0 | [-1.8, -0.3] | .0026 | .0210 | |
| E2.4 ALPS RAFT(TR) vs. ALPS ICL | judge | 15 (7)‡ | +0.8 | [-0.3, +2.1] | .9780 | .9780 |
| density | 15 (15) | +24.0 | [+12.6, +36.5] | .0009 | .0051 | |
| coverage | 15 (12) | +9.6 | [+1.5, +23.2] | .1876 | .7505 | |
| judge | 15 (13) | +27.2 | [+17.9, +37.3] | .0003 | .0021 | |
| E2.5 Turn RAFT(TR) vs. Turn ICL | density | 15 (9)‡ | +5.2 | [+0.7, +9.7] | .2524 | .5387 |
| coverage | 15 (11) | +4.5 | [-12.9, +22.0] | .0413 | .2063 | |
| judge | 15 (9)‡ | +19.9 | [+7.1, +33.9] | .2293 | .6879 | |
| E2.6 ALPS SFT(TD) vs. ALPS RAFT(TR) | density | 15 (10) | +20.8 | [+2.9, +40.5] | .2444 | .5387 |
| coverage | 15 (11) | +11.2 | [-0.5, +28.1] | .2807 | .8421 | |
| judge | 15 (13) | +26.9 | [+16.1, +38.1] | .0006 | .0035 | |
| E2.7 Qwen3 ALPS SFT(TD) vs. GPT-OSS ALPS ICL | density | 15 (5)‡ | -1.5 | [-4.1, +0.1] | .0054 | .0269 |
| coverage | 15 (8)‡ | +0.1 | [-0.5, +0.7] | .8469 | 1.0000 | |
| judge | 15 (12) | +5.6 | [-0.9, +13.0] | .2769 | .6879 | |
| E2.13 ALPS SFT→RAFT vs. ALPS RAFT(TR) | density | 15 (11) | +19.2 | [-0.1, +39.9] | .1796 | .5387 |
| coverage | 15 (9)‡ | +10.2 | [-1.8, +27.3] | .6606 | 1.0000 | |
| judge | 15 (13) | +27.7 | [+16.7, +39.2] | .0006 | .0035 | |
| PharmaSim Exp2: architecture under prompting (2 contrasts) | ||||||
| E2.8 GPT-OSS: ALPS vs. Turn | density | 15 (12) | +60.8 | [+38.8, +81.8] | .0004 | < .001 |
| coverage | 15 (13) | +24.0 | [+5.7, +43.8] | .0002 | < .001 | |
| judge | 15 (12) | +50.8 | [+22.3, +78.2] | .0128 | .0256 | |
| E2.9 Qwen3: ALPS vs. Turn | density | 15 (15) | +0.6 | [-5.8, +7.0] | .4452 | .4452 |
| coverage | 15 (14) | -4.4 | [-18.4, +3.6] | .0938 | .0938 | |
| judge | 15 (12) | -4.3 | [-14.5, +4.5] | .5765 | .5765 | |
| PharmaSim Exp2: architecture at each adapted stage, Qwen3 (3 contrasts) | ||||||
| E2.10 ALPS SFT vs. Turn SFT | density | 15 (12) | +52.1 | [+31.8, +72.8] | .0004 | .0013 |
| coverage | 15 (12) | +23.6 | [+5.9, +43.2] | .0017 | .0034 | |
| judge | 15 (10) | +49.7 | [+27.9, +70.3] | .0128 | .0384 | |
| E2.11 ALPS RAFT vs. Turn RAFT | density | 15 (13) | +19.3 | [+3.6, +37.7] | .0319 | .0319 |
| coverage | 15 (15) | +0.8 | [-18.2, +19.9] | .4452 | .4452 | |
| judge | 15 (13) | +2.9 | [-9.4, +16.5] | .5980 | .5980 | |
| E2.12 ALPS SFT→RAFT vs. Turn SFT→RAFT | density | 15 (12) | +50.1 | [+28.5, +72.0] | .0004 | .0013 |
| coverage | 15 (14) | +22.7 | [+4.6, +42.4] | .0010 | .0030 | |
| judge | 15 (11) | +50.5 | [+28.4, +71.1] | .0128 | .0384 | |
Table 19: Exp2: data-scarce test results, PharmaSim. Wilcoxon signed-rank over paired profile×seed cells, exact null. Zero differences are retained in n (zero_method=pratt), since ties arise from ceiling effects where both arms saturate a metric on a profile. Tests are one-sided where the claim is directional and two-sided for the RAFT contrasts and the reference comparison. n gives total pairs and, in parentheses, non-tied pairs. Δ is the mean paired difference in percentage points with a percentile-bootstrap 95% CI (2×10⁴ resamples). Holm correction is applied within each (contrast block, metric) family. Bold marks p_Holm < .05. A ‡ on the n column marks at least 40% tied pairs, and a § on Δ marks |Δ| < 0.05. Rows with either flag should be read from Δ and the non-tied count rather than from p.
| Contrast | Metric | n (inf.) | Δ | 95% CI | p | pHolm |
|---|---|---|---|---|---|---|
| TugLet Exp2: teacher guidance, Qwen3 (8 contrasts) | ||||||
| E2.1 ALPS SFT(TD) vs. ALPS ICL | density | 18 (18) | +36.1 | [+20.7, +51.6] | .0006 | .0045 |
| coverage | 18 (17) | +28.4 | [+11.2, +47.7] | .0033 | .0263 | |
| judge | 18 (18) | +33.7 | [+27.4, +39.6] | < .0001 | <.001 | |
| E2.2 Turn SFT(TD) vs. Turn ICL | density | 18 (15) | +8.1 | [-3.1, +20.2] | .8317 | 1.0000 |
| coverage | 18 (15) | -3.4 | [-5.3, -1.6] | .0034 | .0263 | |
| judge | 18 (15) | +15.1 | [+1.7, +29.5] | .5226 | 1.0000 | |
| E2.3 ALPS SFT→RAFT vs. ALPS SFT | density | 18 (13) | -0.4 | [-6.8, +4.5] | .7019 | 1.0000 |
| coverage | 18 (7)‡ | -6.1 | [-16.7, -0.3] | .0066 | .0395 | |
| judge | 18 (16) | +1.8 | [-2.7, +6.6] | .7019 | 1.0000 | |
| E2.4 ALPS RAFT(TR) vs. ALPS ICL | density | 18 (15) | +13.1 | [+7.3, +19.7] | .0003 | .0026 |
| coverage | 18 (10)‡ | +6.0 | [+0.1, +17.1] | .5509 | .6495 | |
| judge | 18 (14) | +7.3 | [+3.7, +11.7] | .0016 | .0079 | |
| E2.5 Turn RAFT(TR) vs. Turn ICL | density | 18 (15) | +7.9 | [-2.8, +19.1] | .2645 | 1.0000 |
| coverage | 18 (14) | +21.5 | [+5.4, +40.6] | .1815 | .5444 | |
| judge | 18 (12) | -3.4 | [-11.7, +5.6] | .0208 | .0833 | |
| E2.6 ALPS SFT(TD) vs. ALPS RAFT(TR) | density | 18 (18) | +23.0 | [+5.7, +40.1] | .0080 | .0478 |
| coverage | 18 (16) | +22.4 | [+6.7, +40.7] | .0134 | .0671 | |
| judge | 18 (18) | +26.4 | [+21.0, +31.4] | < .0001 | <.001 | |
| E2.13 ALPS SFT→RAFT vs. ALPS RAFT(TR) | density | 18 (18) | +22.6 | [+4.2, +40.8] | .0237 | .1184 |
| coverage | 18 (15) | +16.3 | [+2.5, +32.5] | .1084 | .4335 | |
| judge | 18 (18) | +28.2 | [+21.9, +34.6] | < .0001 | <.001 | |
| E2.7 Qwen3 ALPS SFT(TD) vs. GPT-OSS ALPS ICL | density | 18 (14) | -1.4 | [-6.1, +2.8] | .7019 | 1.0000 |
| coverage | 18 (13) | +19.3 | [+4.5, +37.6] | .3247 | .6495 | |
| judge | 18 (15) | +6.1 | [+0.2, +11.8] | .1187 | .3561 | |
| TugLet Exp2: architecture under prompting (2 contrasts) | ||||||
| E2.8 GPT-OSS: ALPS vs. Turn | density | 18 (18) | +27.6 | [+13.5, +41.5] | .0014 | .0028 |
| coverage | 18 (17) | +4.8 | [-10.9, +18.6] | .0216 | .0432 | |
| judge | 18 (17) | +22.7 | [+13.5, +32.2] | < .0001 | <.001 | |
| E2.9 Qwen3: ALPS vs. Turn | density | 18 (18) | +8.4 | [+1.5, +15.9] | .0269 | .0269 |
| coverage | 18 (14) | +0.2 | [-3.5, +4.2] | .7101 | .7101 | |
| judge | 18 (13) | -2.1 | [-11.7, +6.4] | .5675 | .5675 | |
| TugLet Exp2: architecture at each adapted stage, Qwen3 (3 contrasts) | ||||||
| E2.10 ALPS SFT vs. Turn SFT | density | 18 (17) | +36.4 | [+21.3, +52.7] | .0002 | <.001 |
| coverage | 18 (17) | +32.0 | [+14.3, +52.1] | < .0001 | <.001 | |
| judge | 18 (17) | +16.5 | [+4.8, +29.3] | .0152 | .0455 | |
| E2.11 ALPS RAFT vs. Turn RAFT | density | 18 (18) | +13.6 | [+0.7, +26.9] | .0241 | .0241 |
| coverage | 18 (18) | -15.3 | [-34.7, +4.5] | .9406 | .9406 | |
| judge | 18 (14) | +8.7 | [-0.9, +18.9] | .0837 | .0837 | |
| E2.12 ALPS SFT→RAFT vs. Turn SFT→RAFT | density | 18 (18) | +40.1 | [+20.5, +59.5] | .0010 | .0019 |
| coverage | 18 (15) | +23.6 | [+5.9, +43.9] | .0333 | .0665 | |
| judge | 18 (16) | +18.8 | [+2.9, +35.0] | .0333 | .0665 | |
Table 20: Exp2: data-scarce test results, TugLet. Wilcoxon signed-rank over paired profile×seed cells, exact null. Zero differences are retained in n (zero_method=pratt), since ties arise from ceiling effects where both arms saturate a metric on a profile. Tests are one-sided where the claim is directional and two-sided for the RAFT contrasts and the reference comparison. n gives total pairs and, in parentheses, non-tied pairs. Δ is the mean paired difference in percentage points with a percentile-bootstrap 95% CI (2×10⁴ resamples). Holm correction is applied within each (contrast block, metric) family. Bold marks pHolm < .05. A ‡ on the n column marks at least 40% tied pairs, and a § on Δ marks |Δ| < 0.05. Rows with either flag should be read from Δ and the non-tied count rather than from p.