Abstract
Large language models (LLMs) can empower teachers to build pedagogical conversational agents (PCAs) customized for their students. As students have different prior knowledge and motivation levels, teachers must review the adaptivity of their PCAs to diverse students. Existing chatbot reviewing methods (e.g., direct chat and benchmarks) are either manually intensive for multiple iterations or limited to testing only single-turn interactions. We present TeachTune, where teachers can create simulated students and review PCAs by observing automated chats between PCAs and simulated students. Our technical pipeline instructs an LLM-based student to simulate prescribed knowledge levels and traits, helping teachers explore diverse conversation patterns. Our pipeline could produce simulated students whose behaviors correlate highly to their input knowledge and motivation levels within 5% and 10% accuracy gaps. Thirty science teachers designed PCAs in a between-subjects study, and using TeachTune resulted in a lower task load and higher student profile coverage over a baseline.
Introduction
The advent of Large Language Models (LLMs) has made it remarkably easy for educators to construct Pedagogical Conversational Agents (PCAs)—bots designed to act as tutors, peers, or motivators. However, the primary challenge has shifted from building these agents to effectively reviewing them. A successful educational bot must be adaptive, handling a high-achieving, confident student differently than one who is struggling and unmotivated.
The Reviewing Bottleneck
Currently, teachers evaluate these bots using two primary methods:
- Direct Chat: The teacher role-plays as a student. While this provides depth, it is manually exhausting and narrow in scope.
- Benchmark/Single-turn Tests: Testing the bot against a list of static questions. This provides breadth but fails to capture how a conversation evolves over multiple turns.
Methodology: The TeachTune Approach
TeachTune addresses the "breadth vs. depth" trade-off by introducing a system that automates the student side of the conversation. The core of the system is a novel LLM-prompting pipeline called Personalized Reflect-Respond. Unlike simple system prompts, this pipeline breaks student simulation into three distinct steps:
- Interpret: It translates numerical trait scores (e.g., a 1/5 on motivation) into a rich, natural language "trait overview." This prevents the LLM from acting like a robot and encourages nuanced, believable behavior.
- Reflect: The system maintains a "knowledge state"—a checklist of what the simulated student currently knows. After each turn, it updates this state based on the conversation.
- Respond: Finally, the LLM generates a response by combining the trait overview, the current knowledge state, and the conversation history.
The TeachTune interface also utilizes a graph-based state machine for PCA creation, allowing teachers to define specific logic (e.g., providing a simpler analogy if a student fails to explain a concept).
Key Results and Insights
The effectiveness of TeachTune was evaluated through both technical validation and a user study with thirty science teachers.
Simulation Accuracy
In a blinded study, teachers could predict the configured traits of simulated students with high accuracy, showing a median error of only 5% for knowledge and 10% for traits. This suggests the simulation is highly representative of teacher expectations.
User Experience and Coverage
Teachers using the automated chat feature reported a significantly lower physical and temporal task load ($\eta^2 = 0.395$) compared to those using traditional manual testing. Furthermore, users with access to simulated students tested a significantly broader range of student profiles, covering nearly double the unique student configurations compared to the baseline group.
Ideation and Logic Gaps
Automated chats acted as a mirror, helping teachers identify gaps in their bot's logic that they hadn't considered, such as how a bot should respond to a student who becomes uncooperative or starts "bullying" the AI.
Discussion and Future Work
While TeachTune shows promise, several areas for future development remain:
- Domain Specificity: Current testing focused on middle school science. Simulating students for humanities, where "correctness" is more subjective, may require more complex knowledge modeling.
- Malleable Traits: In the current model, student traits are static. Future work aims to make traits change based on the PCA's performance (e.g., a good tutor increasing a student's motivation).
- Stereotyping Risks: There is a risk that LLM simulations might reinforce cultural or academic stereotypes. The authors suggest using actual student interaction logs to ground and refine simulations over time.
Summary updated