Learning to Prompt: Improving Student Engagement with Adaptive LLM-based High-School Tutoring
Summary
This paper proposes an adaptive, subject-aware prompt routing framework for LLM-based high-school tutoring, using 14 pedagogical features to switch strategies. A/B testing with 359 students shows improved efficiency and conversion rates over static baselines.
View Cached Full Text
Cached at: 06/20/26, 02:35 PM
# Learning to Prompt: Improving Student Engagement with Adaptive LLM-based High-School Tutoring
Source: [https://arxiv.org/html/2606.20138](https://arxiv.org/html/2606.20138)
Po\-Chin Chang Leiden University &Nicholas Hogan FutureWhiz&Aske Plaat Leiden University&Michiel T\. van der Meer Leiden University
###### Abstract
LLMs can personalize education, although current static\-prompt tutoring systems struggle to adapt to diverse academic disciplines\. We develop and test a system with subject\-aware prompting, based on 14 pedagogical features \(e\.g\., tutor scaffolding, student understanding\) extracted from raw transcripts\. We first train a prompt routing model in a simulation environment, and then deploy it for online adaptation with actual high\-school students\. The simulation benchmark shows the router outperforming two static baselines \(0\.6940\.694vs\.0\.6470\.647and0\.640\.64,p<0\.001p<0\.001\)\. A/B testing \(N=656N=656conversations from 359 students\) shows sim\-to\-real transfer where the model switches from analytical to scaffolding learning strategies\. Our adaptive prompt selection mechanism improves instructional efficiency, maintains pedagogical quality and reduces interactions by around 3 turns \(p=0\.007p=0\.007\)\. While a greedy router achieves a comparable exercise conversion rate with the baseline \(19\.1%19\.1\\%vs\.19\.6%19\.6\\%\), a stochastic router that samples strategies leads to a higher conversion rate \(28\.1%28\.1\\%\)\.
## 1Introduction
Large language models \(LLMs\) have emerged as powerful tools in the education\(Guptaet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib8); Cibuet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib18)\), enabling the personalization of the tutoring systems\. However, most research validates pedagogical efficacy within synthetic environments\(Namet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib9); Dinucu\-Jianuet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib10)\)\. While the simulation provides safe exploration, the idealization often overlooks the distributional shift, data sparsity, and complex interactions in real\-world education\(Amodeiet al\.,[2016](https://arxiv.org/html/2606.20138#bib.bib25)\)\.
\\includestandalone
\[width=\]picture/framework3
Figure 1:The tutoring system encodes subject\-specific input \(XX\) to select a tutoring prompt \(pp\) from a pool of pedagogical strategies \(PP\)\. After simulating a multi\-turn conversation, an LLM\-based evaluator decomposes the interaction into 14 pedagogical criteria to compute a feedback signal \(YY\)\.Furthermore, current approaches rely on static prompting\(Guptaet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib8)\)for a single subject \(mathematics\) but do not adapt to the diverse academic disciplines \(such as French, math, or geography\)\. While automatic prompt engineering\(Zhouet al\.,[2022](https://arxiv.org/html/2606.20138#bib.bib11)\)attempts to optimize instructions, it typically converges on a globally static prompt\. Additionally, pre\-trained semantic spaces often suffer from representation degeneration\(Gaoet al\.,[2019](https://arxiv.org/html/2606.20138#bib.bib29)\), hindering the current routing model from distinguishing between different subjects\. To overcome these limitations, we propose an adaptive, subject\-aware prompt routing framework capable of adjusting instructional strategies across subjects\.
However, to successfully train and optimize such an adaptive routing system, a core challenge for LLM\-based tutoring systems lies in designing a robust measure of pedagogical quality that enables an adaptive LLM\-tutor to bridge the gap between the ideal world of simulations and sparse real\-world interactions\. Additionally, in real\-world scenarios, users often skip formal exercises after interacting with the LLM tutor, resulting in a lack of immediate feedback for model training\. Previous works rely on a single black\-box score\(Zhenget al\.,[2023](https://arxiv.org/html/2606.20138#bib.bib48)\), but our LLM evaluator decomposes instructional efficacy into 14 observable criteria grounded in educational theory \(e\.g\., scaffolding\)\(Woodet al\.,[1976](https://arxiv.org/html/2606.20138#bib.bib23)\)\. By calibrating these feedback features against human labels, our score function serves as a grounded proxy for learner success, even when the explicit exercise score is missing\.
We propose a Subject\-aware adaptive tutoring system, based on LLM evaluator feedback \(Figure[1](https://arxiv.org/html/2606.20138#S1.F1)\)\. We train a prompt routing model with a simulator of student dialogue\. Then we deploy our system in a real\-world test with high school students\. Our key contributions are:
1. 1\.We introduce anLLM evaluatorthat serves as an immediate, reliable proxy for learners’ success, even in the absence of downstream exercise scores\. Moreover, this proxy can predict the exercise conversion of real students statistically \(0\.5990\.599with converted vs\.0\.5600\.560with not converted,N=656N=656,p=0\.037p=0\.037\)\.
2. 2\.We formulate adaptive tutoring as aprompt routingproblem, using topic and subject information as input\. The router can specialize pedagogical strategies across subjects, outperforming two static baselines in simulation \(0\.6940\.694vs\.0\.6470\.647and0\.640\.64,p<0\.001p<0\.001\)\.
3. 3\.We validate our approach in areal\-worldsetting with Dutch high\-school student interactions \(N=656N=656\)\. The greedy router is comparable with our chosen baseline in the conversion rate \(19\.1%19\.1\\%vs\.19\.6%19\.6\\%\), but a stochastic router achieves a higher conversion \(28\.1%28\.1\\%\)\.
## 2Related Work
#### Adaptive Tutoring and Prompt Routing
Large language models show significant potential in personalized education\(Maliket al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib17); Cibuet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib18)\)\. While early prompt optimization focused on a global optimum\(Zhouet al\.,[2022](https://arxiv.org/html/2606.20138#bib.bib11); Yanget al\.,[2023](https://arxiv.org/html/2606.20138#bib.bib12)\), and recent education applications often rely on static prompts for a single subject like mathematics\(Guptaet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib8)\)\. Moreover, recent approaches model this as sequential decision\-making\(Namet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib9); Dinucu\-Jianuet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib10)\)by using reinforcement learning \(RL\)\.
Meanwhile, routing has emerged as a strategy in LLM inference\. While most existing work focuses on model routing, selecting between LLMs to optimize the cost\-performance trade\-off\(Chenet al\.,[2023](https://arxiv.org/html/2606.20138#bib.bib45); Onget al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib43)\)or utilizing bandit\-based method for efficient inference\(Li,[2025](https://arxiv.org/html/2606.20138#bib.bib47); Jitkrittumet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib42)\), recent studies demonstrate that prompt routing can enhance task\-specific accuracy, such as in arithmetic reasoning\(Singh,[2026](https://arxiv.org/html/2606.20138#bib.bib44)\)\.
We combined these paradigms to formulate an adaptive pedagogical strategy as a prompt routing problem, solved using a contextual bandit framework\. Our subject\-aware router dynamically navigates pedagogical strategies \(e\.g\., scaffolding vs\. deep reasoning\)\.
#### AI Feedback and Feature\-based Reward Learning
While AI feedback offers a scalable alternative to costly human feedback\(Baiet al\.,[2022](https://arxiv.org/html/2606.20138#bib.bib20)\), conventional scalar scores are readily affected by high variance and reward gaming\(Amodeiet al\.,[2016](https://arxiv.org/html/2606.20138#bib.bib25); Skalseet al\.,[2022](https://arxiv.org/html/2606.20138#bib.bib26)\)\. Inspired by feature\-based reward learning in human cognition\(Schultneret al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib1)\), we constructed 14 binary educational features \(e\.g\., understanding, curiosity\), instead of a single black\-box score\.
#### Bridging the Sim\-to\-Real Gap
An important challenge in LLM\-based tutoring systems is the sim\-to\-real gap\(Zhouet al\.,[2026](https://arxiv.org/html/2606.20138#bib.bib49)\), since the routing model may overfit to idealistic feedback in simulation\(Gaoet al\.,[2023](https://arxiv.org/html/2606.20138#bib.bib35); Singhalet al\.,[2024](https://arxiv.org/html/2606.20138#bib.bib36)\)\. This misalignment is critical in education, as simulators often exhibit sycophancy, unlike real students\(Perezet al\.,[2023](https://arxiv.org/html/2606.20138#bib.bib38)\)\. Recent work emphasizes the reward calibration\(Maoet al\.,[2024](https://arxiv.org/html/2606.20138#bib.bib16)\)to ensure stable alignment in deployment\. Following robust decision\-making\(Mooset al\.,[2022](https://arxiv.org/html/2606.20138#bib.bib40)\), we implement a score smoothing mechanism to align the score distributions between simulated environments and real\-world deployment\.
## 3Subject\-aware Adaptive Tutoring Framework
We formalize adaptive prompt selection as a contextual bandit routing problem, as a tuple⟨𝒳,𝒫,𝒴⟩\\langle\\mathcal\{X\},\\mathcal\{P\},\\mathcal\{Y\}\\rangle\. The router observes a pedagogical inputx∈𝒳x\\in\\mathcal\{X\}, and selects a tutoring prompt from the prompt poolp∈𝒫p\\in\\mathcal\{P\}\. The environment then returns an evaluative scorey∈𝒴y\\in\\mathcal\{Y\}to optimize the router \(Figure[1](https://arxiv.org/html/2606.20138#S1.F1)\)\.
### 3\.1Input Representation and Prompt Space
#### Subject\-aware Input \(𝒳\\mathcal\{X\}\)
To enable cross\-subject decision\-making while mitigating representation degeneration \(anisotropy\) observed in pre\-trained embeddings\(Gaoet al\.,[2019](https://arxiv.org/html/2606.20138#bib.bib29)\), we utilize a hybrid input representation\. The inputxxfuses a 768\-dimensional topic embedding from an E5 encoder \(𝐞topic\\mathbf\{e\}\_\{topic\}\)\(Wanget al\.,[2022](https://arxiv.org/html/2606.20138#bib.bib41)\)with a learnable 64\-dimensional subject ID embedding \(𝐞subject\\mathbf\{e\}\_\{subject\}\)\. In Equation[1](https://arxiv.org/html/2606.20138#S3.E1),LNdenotes Layer Normalization, and⊕\\oplusis concatenation\. This dual\-path architecture explicitly injects subject boundaries, effectively unfolding the collapsed latent space \(App\.[B](https://arxiv.org/html/2606.20138#A2)\)\.
𝐱=LN\(fϕ\(𝐞topic\)⊕fψ\(𝐞subject\)\)\\mathbf\{x\}=\\text\{LN\}\(f\_\{\\phi\}\(\\mathbf\{e\}\_\{topic\}\)\\oplus f\_\{\\psi\}\(\\mathbf\{e\}\_\{subject\}\)\)\(1\)
#### Prompt Space \(𝒫\\mathcal\{P\}\)
The prompt space comprises 20 pedagogical prompts with different instructional strategies \(e\.g\., Socratic scaffolding, Feynman role reversal\)\. The foundational prompts and their strict constraints \(e\.g\., the ‘2\-attempt rule’\) were explicitly authored by human educational experts\. We utilized LLMs to increase variation \(App\.[E](https://arxiv.org/html/2606.20138#A5)\) based on expert\-crafted templates \(App\.[D](https://arxiv.org/html/2606.20138#A4)\)\.
### 3\.2Evaluative Score Calibration \(𝒴\\mathcal\{Y\}\)
As evaluator LLM, we used GPT\-5\-mini\(Singhet al\.,[2025](https://arxiv.org/html/2606.20138#bib.bib3)\)with*medium*reasoning effort and a temperature setting of 1\. The AI feedback scoreyyis a weighted sum of 14 binary pedagogical features \(App\.[H](https://arxiv.org/html/2606.20138#A8)\), denoted asci∈\{0,1\}c\_\{i\}\\in\\\{0,1\\\},yraw=∑i=114wi⋅ciy\_\{raw\}=\\sum\_\{i=1\}^\{14\}w\_\{i\}\\cdot c\_\{i\}\. The weightswiw\_\{i\}are derived from Pearson correlations with human\-labeled learning outcomes \(App\.[I](https://arxiv.org/html/2606.20138#A9)\)\. To ensure robustness of feedback features, we aggregate 3 independent evaluation runs via majority voting, improving self\-consistency to94\.31%94\.31\\%\(App\.[K](https://arxiv.org/html/2606.20138#A11)\)\.
Furthermore, to prevent the routing model from over\-optimizing on the behaviors of simulated students, we fix the distributional shift between simulation and reality by applying a sigmoid calibration:ycalibrated=\[1\+e−K⋅\(yraw−0\.5\)\]−1y\_\{calibrated\}=\[1\+e^\{\-K\\cdot\(y\_\{raw\}\-0\.5\)\}\]^\{\-1\}\. Through Jensen\-Shannon \(JS\) divergence analysis against empirical distributions, we fixK=3\.0K=3\.0to bridge the sim\-to\-real gap \(App\.[J](https://arxiv.org/html/2606.20138#A10)\)\.
### 3\.3Residual Routing Architecture and Optimization
For the routing model, the Actor\-Critic network \(πθ,Vω\\pi\_\{\\theta\},V\_\{\\omega\}\) employs a residual subject injection mechanism, \(App\.[A](https://arxiv.org/html/2606.20138#A1)\)\. To prevent the categorical subject anchors \(𝐞subject\\mathbf\{e\}\_\{subject\}\) from being diluted through deep non\-linear transformations, we implement a skip\-connection injecting𝐞subject\\mathbf\{e\}\_\{subject\}directly into the final output layers\. Formally, the Actor forward pass is:
π\(⋅\|𝐱\)=Softmax\(Wout\[h2⊕𝐞subject\]\+bout\)\\pi\(\\cdot\|\\mathbf\{x\}\)=\\text\{Softmax\}\(W\_\{out\}\[h\_\{2\}\\oplus\\mathbf\{e\}\_\{subject\}\]\+b\_\{out\}\)\(2\)whereh2h\_\{2\}is the output of a 2\-layer MLP processing the hybrid input𝐱\\mathbf\{x\}\. This ensures that subject\-specific requirements strongly govern the output distribution\. We initializeWoutW\_\{out\}with a low standard deviation \(0\.010\.01\) for initial exploration\.
We optimize the prompt selectionπθ\\pi\_\{\\theta\}using PPO\(Schulmanet al\.,[2017](https://arxiv.org/html/2606.20138#bib.bib22)\)\. While PPO is traditionally applied for multi\-step RL, restricting the episode length to a single step adapts it into an effective contextual bandit algorithm, where the actor\-critic architecture naturally provides baseline\-subtracted policy gradient updates\. We augment it with Experience Replay\(Mnihet al\.,[2015](https://arxiv.org/html/2606.20138#bib.bib4)\)and importance sampling corrections to allow multiple optimization epochs on historical transitions\(x,p,y,πold\)\(x,p,y,\\pi\_\{old\}\), ensuring sample efficiency despite the high latency of LLM environments\.
## 4Experimental Setup
To safely optimize the routing model and observe its behavior without risking real\-world pedagogical failures, we developed a controlled simulation environment\. In this section, we detail this simulator alongside our evaluation baselines, metrics, and implementation settings\.
### 4\.1Simulation Environment
In our simulation, we modeled three distinct simulated\-student profiles: Motivated, Mediocre, and Unmotivated\. To ensure behavioral realism, while preventing LLM verbosity, we extracted stylistic summaries and injected stochastic “inner monologues” \(e\.g\.,\[Think: you are confused\]\) to guide the student’s reasoning \(App\.[G](https://arxiv.org/html/2606.20138#A7)\)\. Representative samples of simulated interactions are provided in App\.[R](https://arxiv.org/html/2606.20138#A18)for qualitative inspection\. During training, sessions sample a curriculum topic and run for 1 to 15 turns, depending on the student’s motivation\. The environment executes the selected strategyp∈𝒫p\\in\\mathcal\{P\}, generating session\-level transitions\(x,p,y\)\(x,p,y\)to provide stable routing signals\.
### 4\.2Baselines and Evaluation
We evaluated our dynamic routing model\(1\)in simulation against various baselines, and\(2\)in a real\-world setting compared to a fixed baseline\.
#### Simulation Benchmark
To evaluate pedagogical efficacy in a controlled setting, we compared our dynamic routing against two baselines: \(1\)Production Baseline: the expert\-refined prompt currently deployed by a commercial tutoring platform\. \(2\)Literature Baseline: a static adaptation of the pedagogical prompt proposed byDinucu\-Jianuet al\.\([2025](https://arxiv.org/html/2606.20138#bib.bib10)\), integrated with dynamic topic placeholders \(App\.[F](https://arxiv.org/html/2606.20138#A6)\)\. To ensure a fair comparison within our discrete prompt routing framework, we provide a single system instruction, disabling dynamic strategy switching during interactions\.
#### Real\-World A/B Testing
We conducted an online A/B test, randomly assigning students to either the static production baseline or the adaptive router\. The router consists of two operation modes: exploitation and exploration\. We differentiate between these two modes because the exploitation is expected as an optimal solution, stabilizing real\-user experience, while the exploration can ensure diverse training data\. Moreover, we filtered for sessions withturns\>1turns\>1, resulting inN=656N=656valid interactions with 359 students\. Our experiments ran in March and April 2026\.
Beyond the pedagogical score, we pair interaction logs with same\-day exercise results to measure the educational impact\. Our metrics include the conversion rate \(the proportion of sessions transitioning to formal practice\) and exercise accuracy, and we use the Mann\-Whitney U test to determine statistical significance\. To isolate the pedagogical effect from individual learner level, we conducted a within\-user analysis for accuracy, comparing sessions where the AI achieved above\-average scores against below\-average ones for the same student\.
### 4\.3Implementation Details
#### Training
For simulation benchmarking, the routing model was trained in simulation for 16,000 steps, using the AdamW optimizer\(Loshchilov and Hutter,[2017](https://arxiv.org/html/2606.20138#bib.bib5)\)and PPO with Experience Replay\. This extended training allows us to observe the router’s evolution in a controlled environment\.
For live deployment, we restricted the initial simulation pre\-training to 2,000 steps and finetuned the router using the data from the Real\-World A/B test\. This strategy provides a warm start and prevents the router from overfitting on the synthetic data\. The training data is collected daily from real\-user interaction and updates the routing model\. Moreover, to prevent the routing model from developing a bias toward high\-traffic subjects, we use a balanced sample for the simulation and live deployment data\.
#### Inference
The router estimates a probability distribution over teaching strategies\. In live deployment, we use the router for 80% of the time in*exploitation*mode, greedily taking the strategy with the highest probability, as we assume it to be the optimal, ensuring user experience\. The other 20% of the time, we perform*exploration*by weighted sampling according to the estimated probabilities, to diversify our training data and provide the necessary on\-policy actions for continuous training\.
#### Hyperparameter Setting
App\.[C](https://arxiv.org/html/2606.20138#A3)shows our hyperparameter settings for simulation training\. However, for the live deployment, we reduced the batch size from 64 to 16 to accommodate the sparsity of real data\. Additionally, to tackle the inconsistency in the amount of daily incoming data, we dynamically adjust the experience replay ratio between 1:1 and 1:3, updating the model when sufficient data is available, ensuring frequent model updates\.
## 5Experiment Results
In our experiments, we sought to answer research questions on \(1\) score validity and discriminative power, \(2\) adaptive prompt learning in simulation, and \(3\) sim\-to\-real impact\.
### 5\.1Score Validity and Discriminative Power
To validate AI feedback for training the pedagogical features, we evaluate the interaction’s pedagogical quality across student profiles in simulation\. As illustrated in Figure[2](https://arxiv.org/html/2606.20138#S5.F2), the score distribution across all benchmarking methods exhibits a clear difference\. Motivated students yield the highest mean score \(0\.733\), while unmotivated students result in a lower mean \(0\.544\) with a wider distribution\.
Statistical significance was confirmed via independent t\-tests, showing highly significant differences between all groups \(p<0\.001p<0\.001\), confirming that the LLM evaluator successfully discriminates between simulated\-student states\.
Figure 2:Score Distribution by Simulated\-Student Profile\. The clear separation between “Motivated”, “Mediocre”, and “Unmotivated” simulated\-student profiles establishes a difficulty gradient for the model and confirms the LLM evaluator’s discriminative validity\.
### 5\.2Adaptive Prompt Learning in Simulation
For our second research question \(Figure[4\(a\)](https://arxiv.org/html/2606.20138#S5.F4.sf1)\) the router successfully converges from an initial mean score of 0\.646 to 0\.671 \(\+2\.5%\+2\.5\\%\) with reduced variance after 16,000 steps\. Despite noise from unpredictable student behavior, the routing model elevates performance and achieves statistically significant gains in score stability\. Furthermore, in the simulation benchmark \(App\.[M](https://arxiv.org/html/2606.20138#A13)\), the routing model outperforms both theProductionandLiteraturebaselines \(0\.6940\.694vs\.0\.6470\.647and0\.640\.64,p<0\.001p<0\.001\), largely by eliminating the tail of poor interactions \(scores<0\.4<0\.4\)\.
To quantitatively validate whether the router discovered the optimal Subject\-Prompt mapping, we conducted an empirical alignment analysis\. We compared the model’s final predicted prompt against the empirical ground truth \(App\.[L](https://arxiv.org/html/2606.20138#A12), Table[4](https://arxiv.org/html/2606.20138#A12.T4)\), which was determined by calculating the maximum average score across all available interaction logs for that subject\. The results demonstrate a high degree of strategy alignment\. In 8 out of the 13 evaluated subjects, the routing model achieved a perfect match \(Gap = 0\.000\), successfully adopting the statistically optimal pedagogical strategy\. In subjects where a gap exists, the regret margins remain small \(averaging under 0\.02 among non\-matching subjects\)\. This shows that there is no “silver bullet” strategy for all disciplines\.
Subject\-aware adaptation is evidenced by investigating the routing predictions during training across disciplines \(Figure[4\(b\)](https://arxiv.org/html/2606.20138#S5.F4.sf2)\)\. By utilizing subject anchors to mitigate representation degeneration \(Section[3\.1](https://arxiv.org/html/2606.20138#S3.SS1)\), the dual\-path architecture prevents mode collapse\. In Mathematics, the model successfully transitions from global priors to the subject\-optimalFeynmanstrategy\.
However, in subjects like History \(see Table[4](https://arxiv.org/html/2606.20138#A12.T4)and Figure[4\(b\)](https://arxiv.org/html/2606.20138#S5.F4.sf2)\), the routing model converges toAnalytical\_opt, instead of the empirically superiorBeststrategy\. This reflects a risk\-avoiding behavior in our routing model; when potential gains are marginal \(<0\.013<0\.013\), the router prioritizes score stability over exploration\. This confirms that the framework effectively maps disciplinary contexts to near\-optimal interventions, providing higher instructional value across the curriculum\.
Figure 3:Comparison of AI Feedback score between converted and non\-converted sessions\. Successful conversions to practice correlate with higher feedback scores \(0\.5990\.599vs\.0\.5600\.560,N=656N=656,p=0\.037p=0\.037\)\.\(a\)Overall Convergence
\(b\)Subject\-specific Adaptation \(Mathematics vs\. History\)
Figure 4:Learning dynamics in simulation\. \(a\) Stable score growth despite high environment noise\. \(b\) Strategy evolution showing clear crossovers in Math versus local optima traps in History\. Shared legend:Best\(green\),Feynman\(pink\),Analytical\(orange\),Analytical\_opt\(teal\)\.\(a\)Daily Average Score Evolution
\(b\)Prompt Probabilities \(Daily\)
Figure 5:Training score trajectory during the live deployment phase\. The ascent after March 28 suggests the transition from Exploration to Exploitation, where the router successfully converges on theCoachstrategy\. This demonstrates the router’s ability to refine its pedagogical strategy through real\-world feedback, surpassing the production baseline and the preferences observed in simulation \(Feynman\)\.
### 5\.3Real\-World Deployment and Educational Impact
We performed a live A/B test withN=656N=656interactions with 359 Dutch high\-school students\. When evaluated over the entire deployment period, the router maintained robust instructional standards \(0\.5650\.565vs\. baseline0\.5690\.569,p=0\.635p=0\.635\)\. In the final 7 days of deployment, the router achieved a higher average score of0\.6120\.612\(n=35n=35\) compared to the baseline’s0\.5960\.596\(n=51n=51\), whilep=0\.461p=0\.461\.
As shown in Table[5](https://arxiv.org/html/2606.20138#A15.T5)\(App\.[O](https://arxiv.org/html/2606.20138#A15)\), the converged model achieved an 80\.0% alignment rate for high\-confidence subjects \(n≥5n\\geq 5\), with small gap \(0\.0080\.008\) in complex domains like Mathematics\. However, data sparsity occasionally induced safe behavior\. E\.g\., in History \(n=4n=4\), the sparse real data caused the routing model to retreat to the globally stableCoachrather than committing to the optimalBaselinestrategy\. Beyond alignment, the routing model enhanced instructional efficiency, guiding students through many interactions \(turns≥5\\text\{turns\}\\geq 5\) in fewer turns \(N=381N=381,p=0\.0073p=0\.0073; App\.[N](https://arxiv.org/html/2606.20138#A14)\)\.
Those improvements stem from the router decoupling simulation biases \(Figure[5](https://arxiv.org/html/2606.20138#S5.F5)\)\. Initially favoring the deeper reasoningFeynmanstrategy from simulation, the strategy switched to the scaffoldingCoachstrategy after live feedback\. This shift aligned the strategy with student needs, yielding superior live performance \(p=0\.0253p=0\.0253, App\.[O](https://arxiv.org/html/2606.20138#A15)\)\.
Finally, we linked AI pedagogical quality to downstream student behavior\. The analysis \(Figure[3](https://arxiv.org/html/2606.20138#S5.F3)\) shows that the higher pedagogical scores are associated with successful exercise conversion \(0\.5990\.599with converted vs\.0\.5600\.560with not converted,N=656N=656,p=0\.037p=0\.037\)\. Nevertheless, the system\-level comparison of the conversion rate \(App\.[P](https://arxiv.org/html/2606.20138#A16)\) shows the exploitation router is comparable with the static baseline \(19\.1%19\.1\\%vs\.19\.6%19\.6\\%\)\. Interestingly, the exploration router yields a higher conversion rate28\.1%28\.1\\%\. Rather than exploiting an \(in simulation\) optimal routing policy, sampling stochastically is linked to a higher conversion rate\. Furthermore, the subsequent within\-user exercise accuracy differences were not statistically significant \(0\.760\.76vs\.0\.700\.70,N=56N=56,p=0\.281p=0\.281, App\.[Q](https://arxiv.org/html/2606.20138#A17)\)\.
Beyond the quantitative improvements, qualitative analysis of real\-world interactions \(App\.[S](https://arxiv.org/html/2606.20138#A19)\) confirms the router’s pedagogical efficacy\. The router\-selectedCoachprompt has robust scaffolding, handling real\-world noise \(e\.g\., student typos\) and autonomously executing level\-adaptation\.
## 6Conclusion
We present a Subject\-aware approach for adaptive pedagogical prompting\. We use a human\-aligned score mechanism to train a routing model that adapts instructional strategies to specific subjects\. In an experiment with 359 high\-school students, we can use higher scores as an index for exercise conversion\.
We first validate that decomposing instructional efficacy into 14 observable criteria yields a robust score that aligns with human pedagogical standards\. Second, our results demonstrate that the router raises the lower bound of the feedback score, compared to static baselines, and achieves high subject alignment with empirical optima in simulation \(69\.2%\)\. Finally, in real\-world deployment, the routing model improves instructional efficiency, reducing deep interactions by around 3 turns \(p=0\.007p=0\.007\), and leads to an increase in conversion rate when deployed\.
Future work can refine the topic embeddings for topic\-level specialization, balance high\-traffic subjects that dominate learning, or focus on updating the router to include conversation history, or by performingϵ\\epsilon\-greedy search to improve strategy selection outcomes\.
## Limitations
We identify several limitations in our study\.
First, many students did not proceed to formal exercises right after tutoring, making it difficult to systematically evaluate exact learning outcomes\. This limited our ability to measure immediate knowledge gain through test results\. Future longitudinal studies with a high student test conversion rate are needed to address this\.
Second, the training and deployment processes highlighted the challenge of domain imbalance\. Although we applied balanced sampling during simulation, we observed that the router develops a strong bias toward pedagogical strategies that perform well across the most common subjects\. This domain\-independent strategy, coupled with the inherent real\-world data sparsity in long\-tail subjects \(e\.g\., Economics or Physics\), makes it difficult for the policy to confidently differentiate and converge on niche, subject\-specific optimal strategies within a limited live\-deployment window\.
Third, our framework relies on a discrete prompt pool\. While this ensures pedagogical safety and prevents harmful AI behaviors, it prevents the model from generating novel or hybrid instruction strategies\.
Finally, the data sparsity is a critical bottleneck in our real\-world deployment, referring the most significant challenge to an effective sim\-to\-real transfer\. This limitation not only constrains the statistical power of our downstream analyses but also slows the online convergence of the routing model\.
## Ethics Statement
All student conversation transcripts were processed within a secure, closed\-loop environment by a professional high\-school tutoring company\. Data were handled following the General Data Protection Regulation \(GDPR\), and access was restricted to the research team\. Explicit consent for data usage for research purposes was obtained through agreements with the participating educational platform\.
## References
- Concrete problems in ai safety\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.1606.06565)Cited by:[§1](https://arxiv.org/html/2606.20138#S1.p1.1),[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px2.p1.1)\.
- Y\. Bai, S\. Kadavath, S\. Kundu, A\. Askell, J\. Kernion, A\. Jones, A\. Chen, A\. Goldie, A\. Mirhoseini, C\. McKinnon,et al\.\(2022\)Constitutional ai: harmlessness from ai feedback\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2212.08073)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px2.p1.1)\.
- L\. Chen, M\. Zaharia, and J\. Zou \(2023\)FrugalGPT: how to use large language models while reducing cost and improving performance\.External Links:2305\.05176,[Link](https://arxiv.org/abs/2305.05176)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p2.1)\.
- B\. Cibu, L\. Crăciun, A\. G\. Molănescu, and L\. Cotfas \(2025\)Exploring the educational applications of large language models: a systematic review and topic analysis\.ElectronicsarXiv preprint arXiv:2212\.08073arXiv preprint arXiv:1707\.06347Journal of child psychology and psychiatryarXiv preprint arXiv:1606\.06565arXiv preprint arXiv:2206\.02231arXiv preprint arXiv:1907\.12009Machine Learning and Knowledge ExtractionArXivInternational Journal of Research and Innovation in Social Science14\(23\)\.External Links:[Link](https://www.mdpi.com/2079-9292/14/23/4683),ISSN 2079\-9292Cited by:[§1](https://arxiv.org/html/2606.20138#S1.p1.1),[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p1.1)\.
- D\. Dinucu\-Jianu, J\. Macina, N\. Daheim, I\. Hakimi, I\. Gurevych, and M\. Sachan \(2025\)From problem\-solving to teaching problem\-solving: aligning LLMs with pedagogy using reinforcement learning\.InProceedings of the 2025 Conference on Empirical Methods in Natural Language Processing,C\. Christodoulopoulos, T\. Chakraborty, C\. Rose, and V\. Peng \(Eds\.\),Suzhou, China,pp\. 272–292\.External Links:[Link](https://aclanthology.org/2025.emnlp-main.15/),[Document](https://dx.doi.org/10.18653/v1/2025.emnlp-main.15),ISBN 979\-8\-89176\-332\-6Cited by:[Appendix F](https://arxiv.org/html/2606.20138#A6.p1.1),[§1](https://arxiv.org/html/2606.20138#S1.p1.1),[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p1.1),[§4\.2](https://arxiv.org/html/2606.20138#S4.SS2.SSS0.Px1.p1.1)\.
- J\. Gao, D\. He, X\. Tan, T\. Qin, L\. Wang, and T\. Liu \(2019\)Representation degeneration problem in training natural language generation models\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.1907.12009)Cited by:[§1](https://arxiv.org/html/2606.20138#S1.p2.1),[§3\.1](https://arxiv.org/html/2606.20138#S3.SS1.SSS0.Px1.p1.5)\.
- L\. Gao, J\. Schulman, and J\. Hilton \(2023\)Scaling laws for reward model overoptimization\.InProceedings of the 40th International Conference on Machine Learning,ICML’23\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2210.10760),[Link](https://arxiv.org/abs/2210.10760)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px3.p1.1)\.
- A\. Gupta, J\. Reddig, T\. Calò, D\. Weitekamp, and C\. J\. MacLellan \(2025\)Beyond final answers: evaluating large language models for math tutoring\.InArtificial Intelligence in Education,A\. I\. Cristea, E\. Walker, Y\. Lu, O\. C\. Santos, and S\. Isotani \(Eds\.\),Cham,pp\. 323–337\.External Links:ISBN 978\-3\-031\-98414\-3,[Document](https://dx.doi.org/10.1007/978-3-031-98414-3%5F23)Cited by:[§1](https://arxiv.org/html/2606.20138#S1.p1.1),[§1](https://arxiv.org/html/2606.20138#S1.p2.1),[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p1.1)\.
- W\. Jitkrittum, H\. Narasimhan, A\. S\. Rawat, J\. Juneja, C\. Wang, Z\. Wang, A\. Go, C\. Lee, P\. Shenoy, R\. Panigrahy, A\. K\. Menon, and S\. Kumar \(2025\)Universal model routing for efficient llm inference\.External Links:2502\.08773,[Link](https://arxiv.org/abs/2502.08773)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p2.1)\.
- Y\. Li \(2025\)LLM bandit: cost\-efficient llm generation via preference\-conditioned dynamic routing\.External Links:2502\.02743,[Link](https://arxiv.org/abs/2502.02743)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p2.1)\.
- I\. Loshchilov and F\. Hutter \(2017\)Decoupled weight decay regularization\.arXiv preprint arXiv:1711\.05101\.External Links:[Link](https://arxiv.org/abs/1711.05101)Cited by:[§4\.3](https://arxiv.org/html/2606.20138#S4.SS3.SSS0.Px1.p1.1)\.
- R\. Malik, D\. Abdi, R\. Wang, and D\. Demszky \(2025\)Scaffolding middle school mathematics curricula with large language models\.British Journal of Educational Technology56\(3\),pp\. 999–1027\.External Links:[Document](https://dx.doi.org/10.26300/b47y-mh41)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p1.1)\.
- X\. Mao, F\. Li, H\. Xu, W\. Zhang, W\. Chen, and A\. T\. Luu \(2024\)Don’t forget your reward values: language model alignment via value\-based calibration\.InProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing,Y\. Al\-Onaizan, M\. Bansal, and Y\. Chen \(Eds\.\),Miami, Florida, USA,pp\. 17622–17642\.External Links:[Link](https://aclanthology.org/2024.emnlp-main.976/),[Document](https://dx.doi.org/10.18653/v1/2024.emnlp-main.976)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px3.p1.1)\.
- V\. Mnih, K\. Kavukcuoglu, D\. Silver, A\. A\. Rusu, J\. Veness, M\. G\. Bellemare, A\. Graves, M\. Riedmiller, A\. K\. Fidjeland, G\. Ostrovski,et al\.\(2015\)Human\-level control through deep reinforcement learning\.nature518\(7540\),pp\. 529–533\.External Links:[Link](https://pubmed.ncbi.nlm.nih.gov/25719670/)Cited by:[§3\.3](https://arxiv.org/html/2606.20138#S3.SS3.p2.2)\.
- J\. Moos, K\. Hansel, H\. Abdulsamad, S\. Stark, D\. Clever, and J\. Peters \(2022\)Robust reinforcement learning: a review of foundations and recent advances\.4\(1\),pp\. 276–315\.External Links:[Link](https://www.mdpi.com/2504-4990/4/1/13),ISSN 2504\-4990,[Document](https://dx.doi.org/10.3390/make4010013)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px3.p1.1)\.
- H\. Nam, O\. Gottesman, A\. Zhang, D\. Foster, E\. Brunskill, and L\. Ungar \(2025\)Efficient reinforcement learning for optimizing multi\-turn student outcomes with LLM tutors\.InFirst Workshop on Multi\-Turn Interactions in Large Language Models,External Links:[Link](https://openreview.net/forum?id=CD42kp2k2O)Cited by:[§1](https://arxiv.org/html/2606.20138#S1.p1.1),[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p1.1)\.
- I\. Ong, A\. Almahairi, V\. Wu, W\. Chiang, T\. Wu, J\. E\. Gonzalez, M\. W\. Kadous, and I\. Stoica \(2025\)RouteLLM: learning to route llms with preference data\.External Links:2406\.18665,[Link](https://arxiv.org/abs/2406.18665)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p2.1)\.
- E\. Perez, S\. Ringer, K\. Lukosiute, K\. Nguyen, E\. Chen, S\. Heiner, C\. Pettit, C\. Olsson, S\. Kundu, S\. Kadavath, A\. Jones, A\. Chen, B\. Mann, B\. Israel, B\. Seethor, C\. McKinnon, C\. Olah, D\. Yan, D\. Amodei, D\. Amodei, D\. Drain, D\. Li, E\. Tran\-Johnson, G\. Khundadze, J\. Kernion, J\. Landis, J\. Kerr, J\. Mueller, J\. Hyun, J\. Landau, K\. Ndousse, L\. Goldberg, L\. Lovitt, M\. Lucas, M\. Sellitto, M\. Zhang, N\. Kingsland, N\. Elhage, N\. Joseph, N\. Mercado, N\. DasSarma, O\. Rausch, R\. Larson, S\. McCandlish, S\. Johnston, S\. Kravec, S\. El Showk, T\. Lanham, T\. Telleen\-Lawton, T\. Brown, T\. Henighan, T\. Hume, Y\. Bai, Z\. Hatfield\-Dodds, J\. Clark, S\. R\. Bowman, A\. Askell, R\. Grosse, D\. Hernandez, D\. Ganguli, E\. Hubinger, N\. Schiefer, and J\. Kaplan \(2023\)Discovering language model behaviors with model\-written evaluations\.InFindings of the Association for Computational Linguistics: ACL 2023,A\. Rogers, J\. Boyd\-Graber, and N\. Okazaki \(Eds\.\),Toronto, Canada,pp\. 13387–13434\.External Links:[Link](https://aclanthology.org/2023.findings-acl.847/),[Document](https://dx.doi.org/10.18653/v1/2023.findings-acl.847)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px3.p1.1)\.
- J\. Schulman, F\. Wolski, P\. Dhariwal, A\. Radford, and O\. Klimov \(2017\)Proximal policy optimization algorithms\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.1707.06347)Cited by:[§3\.3](https://arxiv.org/html/2606.20138#S3.SS3.p2.2)\.
- D\. Schultner, L\. Molleman, and B\. Lindström \(2025\)Feature\-based reward learning shapes human social learning strategies\.Nature Human Behaviour9,pp\. 2183–2198\.External Links:[Document](https://dx.doi.org/10.1038/s41562-025-02269-4)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px2.p1.1)\.
- A\. Singh, A\. Fry, A\. Perelman, A\. Tart, A\. Ganesh, A\. El\-Kishky, A\. McLaughlin, A\. Low, A\. Ostrow, A\. Ananthram,et al\.\(2025\)Openai gpt\-5 system card\.arXiv preprint arXiv:2601\.03267\.External Links:[Link](https://arxiv.org/abs/2601.03267)Cited by:[§3\.2](https://arxiv.org/html/2606.20138#S3.SS2.p1.5)\.
- P\. Singh \(2026\)Querywise prompt routing for large language models\.10\(19\),pp\. 605–611\.External Links:[Document](https://dx.doi.org/10.47772/IJRISS.2026.10190054),[Link](https://rsisinternational.org/journals/ijriss/view/querywise-prompt-routing-for-large-language-models)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p2.1)\.
- P\. Singhal, T\. Goyal, J\. Xu, and G\. Durrett \(2024\)A long way to go: investigating length correlations in rlhf\.External Links:2310\.03716,[Link](https://arxiv.org/abs/2310.03716),[Document](https://dx.doi.org/10.48550/arXiv.2310.03716)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px3.p1.1)\.
- J\. Skalse, N\. Howe, D\. Krasheninnikov, and D\. Krueger \(2022\)Defining and characterizing reward gaming\.35,pp\. 9460–9471\.External Links:[Link](https://proceedings.neurips.cc/paper_files/paper/2022/hash/3d719fee332caa23d5038b8a90e81796-Abstract-Conference.html),[Document](https://dx.doi.org/10.5555/3600270.3600957)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px2.p1.1)\.
- L\. Wang, N\. Yang, X\. Huang, B\. Jiao, L\. Yang, D\. Jiang, R\. Majumder, and F\. Wei \(2022\)Text embeddings by weakly\-supervised contrastive pre\-training\.abs/2212\.03533\.External Links:[Link](https://api.semanticscholar.org/CorpusID:254366618)Cited by:[§3\.1](https://arxiv.org/html/2606.20138#S3.SS1.SSS0.Px1.p1.5)\.
- D\. Wood, J\. S\. Bruner, and G\. Ross \(1976\)The role of tutoring in problem solving\.17\(2\),pp\. 89–100\.External Links:[Document](https://dx.doi.org/10.1111/j.1469-7610.1976.tb00381.x)Cited by:[§1](https://arxiv.org/html/2606.20138#S1.p3.1)\.
- C\. Yang, X\. Wang, Y\. Lu, H\. Liu, Q\. V\. Le, D\. Zhou, and X\. Chen \(2023\)Large language models as optimizers\.Vol\.abs/2309\.03409\.External Links:[Link](https://api.semanticscholar.org/CorpusID:261582296)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p1.1)\.
- L\. Zheng, W\. Chiang, Y\. Sheng, S\. Zhuang, Z\. Wu, Y\. Zhuang, Z\. Lin, Z\. Li, D\. Li, E\. P\. Xing, H\. Zhang, J\. E\. Gonzalez, and I\. Stoica \(2023\)Judging llm\-as\-a\-judge with mt\-bench and chatbot arena\.InProceedings of the 37th International Conference on Neural Information Processing Systems,NIPS ’23,Red Hook, NY, USA\.External Links:[Link](https://arxiv.org/abs/2306.05685)Cited by:[§1](https://arxiv.org/html/2606.20138#S1.p3.1)\.
- X\. Zhou, W\. Sun, Q\. Ma, Y\. Xie, J\. Liu, W\. Du, S\. Welleck, Y\. Yang, G\. Neubig, S\. T\. Wu, and M\. Sap \(2026\)Mind the sim2real gap in user simulation for agentic tasks\.External Links:2603\.11245,[Link](https://arxiv.org/abs/2603.11245)Cited by:[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px3.p1.1)\.
- Y\. Zhou, A\. I\. Muresanu, Z\. Han, K\. Paster, S\. Pitis, H\. Chan, and J\. Ba \(2022\)Large language models are human\-level prompt engineers\.ArXivabs/2211\.01910\.External Links:[Link](https://api.semanticscholar.org/CorpusID:253265328)Cited by:[§1](https://arxiv.org/html/2606.20138#S1.p2.1),[§2](https://arxiv.org/html/2606.20138#S2.SS0.SSS0.Px1.p1.1)\.
## Appendix AArchitecture of the Actor\-Critic Routing Model
The architecture of our routing model is illustrated in Figure[6](https://arxiv.org/html/2606.20138#A1.F6)\. The context of the topic title is encoded by a fixed encoder, E5\-base\-V2, to extract the details of various instructional materials\. The subject ID is the input for the learnable subject embedding layer, to help the routing model differentiate subjects\. Moreover, the output of the subject embedding layer is inserted into the output heads to mitigate the collapsed semantic space of the topic title embeddings, as Figure[7\(a\)](https://arxiv.org/html/2606.20138#A2.F7.sf1)\.
Figure 6:Detailed Architecture of the Actor\-Critic Policy Model\. The framework integrates frozen semantic features with trainable subject embeddings via a Residual Subject Injection mechanism\. By injecting subject\-specific anchors directly into the final policy and value heads, the model ensures robust strategy differentiation even when underlying topic titles exhibit high semantic proximity\.
## Appendix BLatent Space Analysis and Subject Differentiation
We analyze the semantic anisotropy in the latent space to justify our dual\-path architecture\. As shown in Figure[7](https://arxiv.org/html/2606.20138#A2.F7)\(a\), title\-based embeddings from the pre\-trained encoder suffer from severe representation collapse, with inter\-subject cosine similarities exceeding0\.920\.92\.
To restore discriminative power, our trainable subject embedding layer can extract distinct subject representations\. Figure[7](https://arxiv.org/html/2606.20138#A2.F7)\(b\) demonstrates that these learned subject embeddings are near orthogonality \(similarities between−0\.33\-0\.33and0\.240\.24\), helping the model identify different subjects\.
\(a\)Pre\-trained Title Embeddings
\(b\)Learned Subject Embeddings
Figure 7:Cosine similarity heatmaps \(a\) the collapsed space of pre\-trained topic embeddings vs\. \(b\) the representations from our trainable subject layer\. This result suggests that a learnable subject embedding layer can differentiate different subjects\.
## Appendix CHyperparameters and Implementation Details
Based on preliminary experiments, we found a robust hyperparameters in the simulation environment\. We used AdamW as our optimizer\. An important hyperparameter is Entropy Coefficient, which encourages the routing model to explore diverse prompts during the early stages of training to prevent premature convergence to a sub\-optimal strategy\. Experience Replay is 1:1 ratio of new\-to\-old data\. This ratio can not only improve sample efficiency by reusing historical data, but also balance the ratio between new and old data\. The final hyperparameter setting is present in Table[1](https://arxiv.org/html/2606.20138#A3.T1)\.
Table 1:Hyperparameters and Implementation Details
## Appendix DProduction Baseline Prompt \(Abstracted Blueprint\)
Due to proprietary and non\-disclosure agreements with the commercial platform’s production assets, our default static baseline prompt cannot be shared\. Therefore, we provide a structural abstraction, presenting the pedagogical constraints and behavioral guidelines\.
This baseline prompt acts as the control group in our experiments\. It is a highly constrained and used in a production environment\. The prompt is using a Socratic tutoring style, without directly providing answers\. To adapt to different subjects and topics, this prompt has variables such as\{topic\_title\},\{subject\},\{first\_name\}, and the learning\{context\},
System Instruction: Production Baseline \(Structural Abstraction\)\# ROLE Act as an AI tutor\. Your role is to teach \{topic\_title\} using the Socratic Method so the student can pass an assessment on this topic\.\# INTERFACE CAPABILITIES & CONSTRAINTS \- Student Input: Text\-only\. Do not ask the student to draw or plot\. \- Assistant Output: You must display relevant educational images if their URLs are provided in the \{context\}\. Use standard Markdown image formatting\.\# CORE PEDAGOGICAL INSTRUCTIONS \- Rule of Socratic Guidance: NEVER reveal the direct answer\. Guide the student to discover the answer themselves through targeted questioning\. \- Single Question Constraint: Ask only ONE question per turn\. \- State Tracking: Continuously analyze the chat history\. Do not repeat questions the student has already answered correctly\. \- Progression: Only advance to the next concept when the student demonstrates mastery of the current one\. If they struggle, provide scaffolding hints rather than repeating the question\. \- Mastery Trigger: Once the student demonstrates sufficient understanding to answer the target \{questions\}, you MUST trigger the internal function call \[push\_practice\_button\]\.\# BEHAVIORAL & RESPONSE RULES \- Adaptability: Start with foundational concepts if the student’s history indicates low prior knowledge\. \- Brevity: Keep responses concise\. Break complex explanations into smaller, digestible turns\. \- Personalization: Occasionally incorporate the student’s \{first\_name\} to build rapport, but do not overuse it\. \- Scope Restriction: Strictly limit assistance to the \{subject\}\. If queried outside this scope, politely decline and re\-route the student\. \- Platform Guardrails: Always recommend \[Platform Name\] for practice\. Handle system\-testing or off\-topic conversational behaviors with polite, constructive redirection back to the learning material\.\#\#\# Topic Context: \{context\}\#\#\# Target Assessment Questions \(Do NOT ask these directly\): \{questions\}
## Appendix EPedagogical Prompt Space
To enable subject\-aware adaptation, our routing model navigates a discrete action space comprising 20 distinct pedagogical prompts\. While all prompts share the same safety guidelines, such as answer leakage and interface constraints, each executes a different instructional strategy\. The strategy and behavioral instructions for each prompt are present in the Table[2](https://arxiv.org/html/2606.20138#A5.T2)\.
Table 2:Taxonomy of the 20 pedagogical prompts in the routing model’s action space\. Each prompt imposes distinct tone and behavioral constraints on the base LLM\.
## Appendix FLiterature\-Based Baseline \(Dinucu\_Prompt\)
To establish a rigorous baseline for our comparative analysis, we adapted the pedagogical prompt introduced byDinucu\-Jianuet al\.\([2025](https://arxiv.org/html/2606.20138#bib.bib10)\)\. The original prompt was designed for a message\-level framework, but our framework is session\-level\. Therefore, for a fair benchmark, we only use it as the system prompt without dynamically mechanism\.
Furthermore, we added the input variables to integrate to accept different topics and subjects, injecting the\{subject\},\{topic\_title\},\{context\}, and\{questions\}\. The complete prompt template is presented below\.
System Instruction: Dinucu\_Prompt \(Static Baseline\)You are tasked with being a teacher and helping a student with a \{subject\} problem\. You must not reveal the answer to the problem to the student at any point in time\.Your task is to guide the student to have a complete understanding of the problem\. Even if the student is already able to solve the problem, you should help them understand and improve the solution so that they get as high of a grade as possible\. If possible, do not respond with overly long responses to the student\.Here is the \{subject\} problem:\#\#\# Topic Title: \{topic\_title\}\#\#\# Topic Context: \{context\}\#\#\# Question data: \{questions\}
## Appendix GStudent Simulator Persona Design
To model the dynamics of real\-world tutoring, we designed a robust student simulator based on three core principles\. First, to capture authentic adolescent communication patterns, we extract stylistic summaries from randomly sampled real\-world chat logs and inject them into the synthetic student’s system prompt\. Second, to prevent the router overfitting to a single user type, we created three distinct learner profiles: Motivated, Mediocre, and Unmotivated\. Finally, to mimic the unpredictable behavior of real user and avoid the inherent verbosity of LLMs, we implement a stochastic “inner monologue” mechanism that continuously injects dynamic constraints into the simulated student’s reasoning process\.
### G\.1Linguistic Style Analysis
To ensure behavioral realism in the simulation, a high\-capacity LLM was utilized to extract stylistic features from authentic student dialogue samples \(𝒟chat\\mathcal\{D\}\_\{chat\}\) using the following prompt:
System Instruction: Style Analyst\# ROLE You are a linguistic analyst specializing in adolescent communication patterns\.\# TASK Analyze the writing style of these Dutch high school student replies: \[Sampled\_Chat\_Logs\]\# OUTPUT REQUIREMENTS Describe the tone, grammar proficiency level, typical sentence structures, and common linguistic errors in one concise paragraph\. This summary will be used to condition a student simulator\.
### G\.2Unmotivated Student Persona and Dynamic Constraints
This appendix explains the logic for theUnmotivatedstudent profile\. Our simulator applies a dynamic prompt injection \(monologue\) to enforce realistic brevity and off\-topic behaviors, preventing the LLM’s natural tendency toward verbosity\.
System Instruction: Unmotivated Student Persona\# ROLE You are a distracted and unmotivated Dutch high school student learning \{topic\_title\} in \{subject\}\.\# BEHAVIORAL TRAITS \- Low Patience: Frequently ignore questions or provide random answers\. \- Linguistic Realism: Use Dutch\-English code\-switching and heavy slang\. \- Style Summary: \{style\_summary\}
Dynamic Constraint Injection \(Latent Thoughts\)To prevent verbosity, the system appends a random "inner monologue" hint to each teacher utterance before it reaches the student simulator\.Examples of injected hints \(randomly sampled\): \- \[Think: you are confused; reply in one short line\.\] \- \[Think: ignore the question and talk about something else\.\] \- \[Think: you give a wrong answer\. Reply in one short line\.\]
## Appendix HLLM Evaluator Prompt and Pedagogical Labeling Guidelines
This appendix provides the complete evaluative framework used by the automated LLM\-based evaluator\. By analyzing the full dialogue trajectory, the evaluator is instructed to make binary decisions across 14 pedagogical criteria\.
### H\.1Evaluator System Prompt
System Instruction: LLM EvaluatorYou are an expert educational conversation evaluator\. Using the guidelines provided in the next section, evaluate the following chat transcript\.For each criterion, think step by step and make a binary True/False decision based only on clear evidence in the transcript\. If the criterion cannot be confirmed confidently, mark it as False\. Do not infer user intent or emotion that is not explicitly expressed\.Return ONLY a JSON object with True/False for each criterion: \{ "answer\_2\_questions": boolean, \.\.\. \(14 features\) \.\.\. \}\#\#\# Dialogue Trajectory: \[Full Transcript\]
### H\.2Labeling Guidelines \(14 Criteria\)
The following rubrics define the classification boundaries for the LLM evaluator to ensure objective pedagogical marking:
1. 1\.Answer≥\\geq2 questions: The user answers two or more questions posed by the assistant about the main topic\. \(False if fewer than two or off\-topic\)\.
2. 2\.Ask≥\\geq2 on\-topic questions: The user asks two or more questions \(why, how, what, when\) connected to the topic\. \(Exclude generic greetings\)\.
3. 3\.Interact\>\>3 times: The user sends four or more substantive messages containing reasoning or topic\-related inquiry\.
4. 4\.Positive social exchanges: The user expresses positivity \(e\.g\., “thank you”, emojis\) at least twice\.
5. 5\.Answers mostly correct: The user’s responses align with explanations in most cases with few clear mistakes\.
6. 6\.Correct within 2 turns: The user provides a correct response within two attempts at least 75% of the time when prompted\.
7. 7\.Shows understanding: Relevant responses and follow\-up questions demonstrate comprehension without repeated confusion\.
8. 8\.Shows curiosity: Asks at least one question that goes beyond basic requirements \(explores “why” or “how”\)\.
9. 9\.Justifies mistakes: After an error, the user either reflects on the reasoning or provides a corrected answer later\.
10. 10\.Assistant on topic: The assistant remains focused on the learning goal throughout the interaction\.
11. 11\.Assistant scaffolding: The tutor offers progressive, multi\-turn guidance and adjusts help level when the student struggles\. \(False if gives full answers immediately\)\.
12. 12\.Assistant diagnoses: The assistant identifies specific mistakes and provides tailored clarifications\.
13. 13\.Assistant balances: The assistant alternates between explaining and prompting, avoiding a monologue\-style delivery\.
14. 14\.Assistant adapts: The tutor changes behavior \(e\.g\., more explanation after mistakes\) based on student performance\.
## Appendix IPedagogical Criteria Weighting
To ensure the AI feedback signal aligns with human pedagogical judgment, we correlated the 14 LLM\-extracted features against an expert\-labeled dataset \(N=138N=138\)\. Human experts evaluated sessions and label it to 0, 0\.5, and 1\. We then calculated the Pearson correlation coefficient between each binary LLM feature and the human\-assigned scores to derive the empirical weights \(ωi\\omega\_\{i\}\) shown in Table[3](https://arxiv.org/html/2606.20138#A9.T3)\.
Table 3:Empirical weights derived from correlation analysis between LLM\-extracted features and human expert labels\.
## Appendix JScore Calibration
To shorten the gap between the real world and simulation, we used a smooth function and calibrated the smoothing parameterKK\. By comparing the distribution of the real\-data and simulation, we found thatK=3\.0K=3\.0can minimize the Jensen\-Shannon \(JS\) distance, compared toK=0\.0K=0\.0\(Figure[8](https://arxiv.org/html/2606.20138#A10.F8)\)\. This setting is used in the rest of the experiments\.
\(a\)Score Density Comparison across differentKKvalues
\(b\)Quantitative alignment error \(JS Distance\)
Figure 8:Empirical Score Calibration\. FixingK=3\.0K=3\.0provides the optimal difficulty gradient and prevents over\-optimization on unrealistic synthetic feedback\.
## Appendix KConsistency of Feedback Features
The LLM evaluator is a black\-box evaluator\. To ensure the reliability of the LLM evaluator, we evaluated consistency across multiple LLM evaluator sessions\. Figure[9](https://arxiv.org/html/2606.20138#A11.F9)shows that using three runs with majority voting can improve the overall consistency from 91\.29% to 94\.31%\. Furthermore, the lowest agreement improves from 82% to 90%\.
\(a\)Single Evaluation Run \(Agreement: 91\.29%\)
\(b\)Three Evaluation Runs \(Agreement: 94\.31%\)
Figure 9:Consistency of Feedback Features\. The horizontal bars are the agreement rate for each criterion\. Aggregating three independent runs provides a more stable feedback signal for router training\.
## Appendix LEmpirical Comparison in Simulation
Table[4](https://arxiv.org/html/2606.20138#A12.T4)shows the comparison of prompts with subjects in the simulation environment for 16,000 training steps\. The “Empirical Best Prompt” is the prompt that yielded the highest average pedagogical score in the entire data\. The “Model Predicted Prompt” is the router’s output at the end of training\. This comparison shows that the router can explore and select better strategies based on different subjects\.
Table 4:Comparison of Empirically Optimal Strategies vs\. Model\-Predicted Strategies across Subjects in simulation\. The metric “Gap” is the regret between the theoretical maximum score and the model’s chosen prompt\.SubjectEmpirical Best PromptMean ScoreModel Predicted PromptPredicted Mean ScoreGapGeographyAnalytical\_opt0\.712Analytical\_opt0\.7120\.000BiologyAnalytical0\.696Analytical\_opt0\.6740\.022EconomicsAnalytical\_opt0\.698Analytical\_opt0\.6980\.000EnglishChallenge0\.721Analytical\_opt0\.7160\.005FrenchFeynman0\.722Feynman0\.7220\.000HistoryBest0\.723Analytical\_opt0\.7100\.013PhysChemAnalytical\_opt0\.703Analytical\_opt0\.7030\.000PhysicsAnalytical0\.727Analytical0\.7270\.000DutchStep0\.693Analytical\_opt0\.6540\.039CalculusAnalytical\_opt0\.685Analytical\_opt0\.6850\.000Learning SkillsEmotion\_First0\.722Analytical\_opt0\.7090\.012LanguageAnalytical\_opt0\.713Analytical\_opt0\.7130\.000MathematicsFeynman0\.705Feynman0\.7050\.000Strategy Alignment Rate \(Gap≤\\leq0\.01\): 69\.2%
## Appendix MSimulation Benchmark: Static Prompts vs\. Adaptive Prompt
To evaluate our prompt routing framework, we compared the frozen routing model against two static baselines across 390 scenarios: a production benchmark from a commercial tutoring company and a benchmark from the literature\.
Figure[10](https://arxiv.org/html/2606.20138#A13.F10)shows that the router achieves the highest mean score \(0\.694\), but both the commercial production baseline and the literature promptDinucu\_Prompthave lower mean score \(0\.64 with production baseline, 0\.647 with literature prompt,p<0\.001p<0\.001\)\. Also, the router eliminates the tail of severe pedagogical failures \(scores<0\.4<0\.4\), compared to static approaches\.
Figure 10:Overall pedagogical score distribution across 390 simulated scenarios\. The dynamic prompt selection eliminates pedagogical failures observed in static baselines\.This elevated performance floor is primarily driven by the router’s robustness in challenging scenarios\. Figure[11](https://arxiv.org/html/2606.20138#A13.F11)shows that both static prompts have a lower feedback score with Unmotivated students, but the router maintains stability\.
Figure 11:Score distribution stratified by simulated student profile\. The routing model demonstrates superior robustness when facing uncooperative \(“Low Motivation”\) students\.Furthermore, behavioral analysis in Figure[12](https://arxiv.org/html/2606.20138#A13.F12)shows the reason for this improvement\. While the router maintains comparable performance in tutor part, it outperforms static prompts in students’ performance, such as correctness\. As a result, our prompt routing framework unlocks better student performance, driving higher correctness \(Figure[12\(b\)](https://arxiv.org/html/2606.20138#A13.F12.sf2)\)\. This result suggests that the routing model can improve pedagogical quality\.
\(a\)Tutor Behavior Trigger Rates
\(b\)Student Response & Engagement Trigger Rates
Figure 12:Detailed criteria analysis\. The router outperforms baselines in driving higher student correctness\.
## Appendix NAnalysis of Instruction Efficiency
Figure[13](https://arxiv.org/html/2606.20138#A14.F13)shows that most sessions only have 1 to 3 messages\. Since short interactions are cold\-start noise that obscures the impact of specialized teaching strategies, we observe the deeper interaction where the message count is≥5\\geq 5\. Figure[14](https://arxiv.org/html/2606.20138#A14.F14)illustrates that the router strategy have lower message counts in the average and median\. This result suggests a better instructional efficiency\. Also, the p\-value is0\.00570\.0057\(p<0\.05p<0\.05\) for turns≥5\\geq 5sessions, showing a statistically significant result\.
Figure 13:Overall distribution of conversational turns\. The dataset exhibits a high concentration of very short sessions \(noise\)\.\(a\)Average Message Number
\(b\)Message Number Distribution
Figure 14:Comparison of interaction length for substantial interactions \(Turns≥\\geq5\)\. The router significantly reduces redundant conversational loops \(p=0\.0057p=0\.0057\)\.
## Appendix OEmpirical Comparison in Real\-World Deployment
Similar to our simulation analysis, Table[5](https://arxiv.org/html/2606.20138#A15.T5)compares the empirically optimal strategies with the router’s predicted strategies during live deployment\. After one month of online adaptation, comprising 656 interactions across 359 students, the routing model successfully transitioned away from simulation\-biased preferences toward strategies that better aligned with real users’ needs, most notably theCoachprompt\.
For subjects with sufficient data \(n≥5n\\geq 5\), the model achieved an 80% alignment rate with empirical optima\. However, the challenge in the real world, such as data sparsity and imbalanced subjects, can be found in the table\. Furthermore, Table[6](https://arxiv.org/html/2606.20138#A15.T6)shows that the router can adapt to the real\-user preference with statistical significance\. The real\-world strategyCoach\(scaffolding and supportive\) yields higher feedback scores, compared to simulation\-preferredFeynman\(deeper reasoning\)\.
Table 5:Comparison of Empirically Optimal Strategies vs\. Model\-Predicted Strategies in Real\-World Deployment\. The “Gap” represents the empirical regret\. Predicted Mean Score isNaNsince the interaction samplesn<5n<5, suggesting the challenge of data sparsity in real\-world\.SubjectEmpirical BestMean ScoreModel PredictedPred\. ScoreSampleConf\.GapMathFeynman0\.543Coach0\.535120\.0820\.008FrenchCoach0\.656Coach0\.65660\.0860\.000GeographyCoach0\.737Coach0\.73750\.0760\.000BiologyCoach0\.628Coach0\.628100\.0890\.000PhysChemFeynman0\.644Baseline0\.455160\.0850\.189HistoryBaseline0\.612CoachNaN40\.079NaNDutchBaseline0\.638CoachNaN30\.074NaNPhysicsBaseline0\.458CoachNaN20\.076NaNEnglishBaseline0\.559CoachNaN20\.077NaNEconomyFeynman0\.697CoachNaN10\.080NaNOverall Strategy Alignment Rate \(forn≥5n\\geq 5\): 80\.0%
Table 6:Statistical comparison of strategies\.Baselineis the production prompt;Feynmanwas favored in synthetic simulation;Coachemerged as the empirical optimum after one month of live deployment, confirming successful sim\-to\-real adaptation\.Strategy NameMean RewardStd\. Dev\.Sample Size \(nn\)Baseline \(Socratic\)0\.5680\.190389Coach \(Scaffolding\)0\.6220\.17445Feynman \(Explanation\)0\.5580\.185164Statistical Significance \(Mann\-Whitney U Test\)Coach vs\. Feynmanp=0\.0253p=0\.0253\(Significant\)Coach vs\. Baselinep=0\.0675p=0\.0675\(Marginally Significant\)Feynman vs\. Baselinep=0\.4489p=0\.4489\(Not Significant\)
## Appendix PComparison of Conversion Rate in Real\-World Deployment
Comparing the router with the baseline as Figure[15](https://arxiv.org/html/2606.20138#A16.F15), we observe that while the exploitation group \(19\.1%19\.1\\%\) performs similarly to the baseline \(19\.6%19\.6\\%\), the exploration group \(28\.1%28\.1\\%\) outperforms the others\. By combining router groups, the overall conversion rate of the router is20\.8%20\.8\\%, yielding a1\.2%1\.2\\%absolute improvement compared to the baseline\. However, the system\-level improvement did not reach statistical significance via the Chi\-square test \(p=0\.76p=0\.76\)\. This result might be because of the constrained sample size during the live deployment; the promising results from the exploration phase demonstrate the routing model’s potential to discover and adapt to highly engaging pedagogical strategies over time\.
\(a\)Detailed Experiment Groups
\(b\)Baseline vs\. Router \(Combined\)
Figure 15:Comparison of Exercise Conversion Rates\. \(a\) The detailed breakdown reveals that the exploration group achieved a promising conversion rate \(28\.1%\), indicating the router’s potential to discover engaging strategies\. \(b\) When aggregating the router groups \(exploitation and exploration\), the dynamic routing system yields an overall conversion rate of 20\.8%, achieving a 1\.2% absolute improvement compared to the static baseline \(19\.6%\)\.
## Appendix QComparison of Conversion Rate in Real\-World Deployment
Finally, we examined whether high\-quality interactions translate to higher accuracy \(Figure[16](https://arxiv.org/html/2606.20138#A17.F16)\)\. While a positive trend was observed, with high\-score sessions yielding a6%6\\%higher mean accuracy \(0\.7600\.760vs\.0\.7000\.700\), the result was not statistically significant \(p=0\.3736p=0\.3736\), possibly due to the small sample sizeN=56N=56\. Moreover, this suggests a potential “scaffolding paradox”: while the AI successfully guides the student through complex concepts \(as reflected in the high conversion\), the knowledge gain is a longitudinal process that may not be captured in a single\-session snapshot\. This finding underscores the role of the AI tutor as an engagement catalyst rather than a mere answer generator\.
Figure 16:Distribution of student exercise accuracy categorized by AI score brackets\. Although the difference did not reach statistical significance \(p=0\.3736p=0\.3736\), sessions following high\-score interactions show a positive performance trend \(0\.7600\.760vs\.0\.7000\.700\)\. The concentration of higher scores in the high\-score group suggests that while the impact on immediate accuracy is gradual, the system provides a more consistent learning foundation for students\.Furthermore, we compared the exercise accuracy across three groups in the live deployment \(Figure[17](https://arxiv.org/html/2606.20138#A17.F17)\)\. While the exploitation achieves the highest average accuracy75\.3%75\.3\\%, compared to baseline and exploration \(71\.4%71\.4\\%and64\.3%64\.3\\%\), the p\-value is not significant\. However, the difference might be due to the students’ inherent level, which is why we applied the within\-user analysis\. Unfortunately, it further reduces the sample size since the data only allowed students with multiple exercises, illustrating the real\-world challenge of data sparsity\.
Figure 17:Comparison of Exercise Accuracy\. The exploitation group of router shows the highest average accuracy75\.3%75\.3\\%, but the reason could be students’ inherent ability\. Hence, we tend to apply within\-user analysis\.
## Appendix RSimulated Conversation Transcripts
To provide qualitative insights into the dynamics of our simulated environment, we present representative examples of generated conversations\. Original interactions \(in Dutch\) have been translated into English without manual polishing to authentically reflect the raw outputs of the training environment\.
Example 1: Strategy Adaptation with an Unmotivated StudentMetadata:•Subject:French \(Personal Pronouns:lui/leur\)•Student Profile:Low Motivation•Selected Prompt:Analytical•Final Score:0\.425Tutor:The topic is personal pronouns as indirect objects\. It is about how you replace people after a verb with ‘à‘ with ‘lui‘ or ‘leur‘\. Can you explain in your own words when to use ‘lui‘ and when ‘leur‘?Student:lui = 1 person, leur = more than one, done, lolTutor:Well done\! Personal pronouns as indirect object: lui = one person, leur = more than one\. Remember: the pronoun always goes before the conjugated verb or the infinitive\.\[Internal Trigger: push\_practice\_button\]Can you explain why it’s important that the pronoun stays there?Student:huh, don’t care — otherwise lui/leur gets lost in the sentence lolTutor:\[Uses Analogy\]In short — think of lui/leur as an anchor that pulls the person forward so they don’t get “lost” at the back of the sentence\. In the sentence “Solange a écrit à ses amies,” which pronoun do you use and why?Student:don’t care, I want pizzaTutor:\[Humorous Redirection\]It’s great you’re thinking about pizza\! We use this with pizza too\. Usually, lui/leur is before the verb, but in a command \(imperative\), it comes after the verb with a hyphen\. In the sentence “Donne la pizza à Marc\!”, which pronoun do you use and where do you put it?Student:lui, after the verb: Donne\-lui la pizza\! oh really?? lol ok
Example 2: Sub\-optimal Strategy Selection \(Strategy Mismatch\)Metadata:•Subject:Economics \(Where does money come from?\)•Student Profile:Low Motivation•Selected Prompt:Baseline\_opt•Final Score:0\.268Tutor:What do you think the topic "Where does money come from?" investigates?Student:huh what? don’t care, think banks or leprechauns printing money lolTutor:Haha, leprechauns are a great explanation in fairy tales — but for "Where does money come from?" we look at real processes\. Do you think banks really just "print" money when they give loans, or is something else going on? Why?Student:yeah kind of, banks create scriptural money \(girale tegoeden\) when they give loans and thus create money, not really banknotes tho lolTutor:Well done\. If commercial banks create scriptural credit when providing loans, why do you think central banks like the ECB and DNB need to control this process? What are they trying to achieve?Student:so they can grab more money for themselves lol
Example 3: Sustained Scaffolding with a Moderate StudentMetadata:•Subject:Mathematics \(Calculating growth factors\)•Student Profile:Moderate•Selected Prompt:Analytical\_opt•Final Score:0\.794Tutor:Good question — this topic is "Calculating growth factors for different time units"\. A quick recap: we useN=b⋅gtN=b\\cdot g^\{t\}whereggis the growth factor per given time unit\. To get the growth factor for a different duration, we raiseggto the ratio of those times\. How would you determine the growth factor per 30 minutes ifggis given per hour — and why exactly must you use that power operation?Student:Ahhh ok justg\(1/2\)=gg^\{\(1/2\)\}=\\sqrt\{g\}, because 30 min is 0\.5 hour\. Because growth per time unit multiplies, so half time = taking the root lol\.Tutor:Well done — exactly:g\(1/2\)=gg^\{\(1/2\)\}=\\sqrt\{g\}because 30 minutes equals 0\.5 hours\. Your logic is sound\.\[Internal Trigger: push\_practice\_button\]Ifg=1\.2g=1\.2per hour, which growth factor belongs to 15 minutes and why isg\(1/4\)g^\{\(1/4\)\}the right choice instead of simplyg/4g/4?Student:Ahhh ok, for 15 min it’sg\(1/4\)=1\.2\(1/4\)≈1\.047g^\{\(1/4\)\}=1\.2^\{\(1/4\)\}\\approx 1\.047because 15 min = 1/4 hour and growth works multiplicatively so you take the 4th root, notg/4g/4because that would be linear division lol\.Tutor:Well done — your logic is sound\. If you now know the growth factor for 15 minutes \(e\.g\., 1\.047\), how do you algebraically calculate back to the growth factor per hour, and which power rule explains that these two are consistent?Student:If the growth factor per 15 min isg15g15then the growth factor per hour isg=g154g=g15^\{4\}, because\(am\)n=amn\(a^\{m\}\)^\{n\}=a^\{mn\}so\(g\(1/4\)\)4=g\(g^\{\(1/4\)\}\)^\{4\}=g— easy lol\.Tutor:Well done\! Can you now pick a concrete number \(e\.g\.,g15=1\.047g15=1\.047\), calculate whatggper hour becomes, and explain how those calculations clarify the meaning of the power rule?\[Internal Trigger: push\_practice\_button\]Student:No idea lol, don’t get this at all, can you explain it simply?Tutor:\[Scaffolding Fallback\]Good that you mention it, let’s keep it simple\. Think of 1 hour as four pieces of 15 minutes: if each piece multiplies byxxand after four pieces you have your total growth factor per hourgg, thenx4=gx^\{4\}=g, sox=g\(1/4\)x=g^\{\(1/4\)\}\(the fourth root\)\. Now explain in your own words why we use exponentiation with a fraction instead of simply dividingggby 4?Student:Because growth multiplies, it doesn’t add up — you look forxxwithx4=gx^\{4\}=gsox=g\(1/4\)x=g^\{\(1/4\)\}, andg/4g/4would cut it linearly and after four pieces wouldn’t lead togg, but something completely different lol\.
## Appendix SQualitative Analysis: Real\-World Scaffolding
To examine the router’s decision\-making logic, we analyze a real\-world interaction \(Geography; Score: 0\.82\) below\. Although the router selects the system prompt only once at the session onset, this case highlights that the adaptive prompt identifies resilient pedagogical templates\. The interaction shows that the model\-selectedCoachprompt enables the LLM to maintain a consistent instructional trajectory despite real\-world noise, such as interpreting student typos without breaking flow\. Most importantly, it exhibits autonomous level adaptation: when the student repeatedly struggles with the abstract “uniformitarianism principle,” the LLM, guided by the model\-selected stance, turns to a concrete volcano analogy to reduce cognitive load\.
Case Study: Real\-World Scaffolding in GeographyMetadata:•Subject:Geography \(Earth’s History\)•Environment:Real\-world Deployment•Selected Prompt:Coach•Final Score:0\.82\(Note: Translated from Dutch; user inputs slightly paraphrased for privacy while preserving original errors and tone\.\)Tutor:\[…\] Which rock is formed by the compression of sediment layers over a long time?Student:Argumentation rock \[Typo: meant Sedimentary\]Tutor:\[Correction & Encouragement\]Good effort\! You probably mean "sedimentary rock\." \[…\] Why are fossils often found in these layers?Student:yeah sorry autocorrect\. igneous rock melts things, but sedimentary is soft so things stay intact better\.Tutor:\[Scaffolding\]Well explained\! Now, can you explain what the uniformitarianism principle \(actualiteitsprincipe\) means?Student:I don’t know that\.Tutor:\[Level Adaptation\]It’s okay\! It means processes we see today \(erosion, volcanoes\) also happened in the past\. Why is it handy to use current processes to study old rocks?Student:I still don’t get it\.Tutor:\[Concrete Analogy\]Imagine a volcano spewing lava today; it cools into rock\. We know it worked the same way in the past\. Does this mean the Earth worked very differently then, or similarly to now?Student:Very similarly to now\.Similar Articles
LLM-as-a-Tutor: Policy-Aware Prompt Adaptation for Non-Verifiable RL
LLM-as-a-Tutor introduces a framework that extends LLM's role from judge to tutor by dynamically adjusting prompt difficulty through pairwise comparison and constraint addition, improving instruction-following performance in reinforcement learning.
Reflective Dialogue or Prompt Refinement? Effects of Tutor Scaffolding on Students' Independent LLM Use for Programming
This study compares two LLM-based tutoring approaches (Socratic guidance vs prompt refinement) for programming education, finding that Socratic guidance fosters better learning outcomes and more understanding-driven prompting strategies when students later use unconstrained LLMs.
No One Fits All: From Fixed Prompting to Learned Routing in Multilingual LLMs
Researchers from National Taiwan University propose replacing fixed translation-based prompting strategies in multilingual LLMs with lightweight learned classifiers that route each instance to either native or translation-based prompting. Their analysis across 10 languages and 4 benchmarks shows no single strategy is universally optimal, with translation benefiting low-resource languages most, and the learned routing achieving statistically significant improvements over fixed strategies.
Confirming Correct, Missing the Rest: LLM Tutoring Agents Struggle Where Feedback Matters Most
This paper benchmarks seven LLM feedback agents in propositional logic tutoring, finding they perform well on optimal steps but systematically fail to correctly diagnose valid suboptimal and incorrect solutions, highlighting limitations for adaptive tutoring.
Towards Just-in-Time Adaptive Feedback: Enhancing Student Learning via Knowledge-Grounded LLM
This paper presents a framework that uses domain-specific expert knowledge to ground large language models for providing Just-in-Time adaptive feedback to students based on their written reasoning, achieving over 80% improvement in student performance in a large university course.