When a student answers a problem wrong, an automated tutor has to guess why before it can respond well. The student may not understand the concept, in which case they need a hint or a correction. Or the student may understand it and have slipped because they were frustrated, bored, or rushing, in which case more of the same content makes things worse. Current tutors mostly skip this question. Classic tutoring systems assume every error is a knowledge gap (Schatten et al.). Affect-aware tutors detect emotion and switch between two canned moves, "challenge" or "motivate" (MathBuddy). Multi-agent tutors let specialist agents vote on a reply, but when the vote ties they fall back to a fixed rule that ranks cognitive scaffolding above motivation (Qiu et al.).
We propose making error attribution an explicit, checkable decision, and resolving it through structured debate only when a cheap statistical learner model cannot decide. Two advocate agents each receive a different slice of evidence. One sees the content of the student's work and their mastery history. The other sees behavioral affect signals such as response latency, attempt patterns, and dialogue tone. Each argues for its explanation of the error, and a judge rules. The ruling then decides which specialist agent writes the next tutoring turn. What makes this more than another debate-for-tutoring system is that the question being debated has a delayed but observable answer: the student's next few attempts on the same skill reveal whether the error was a slip or a gap. That gives debate a ground-truth signal in a pedagogical setting, where debate has so far lacked one (A Diagnostic Study of Multi-Agent LLMs for Real-World Debates).
Core Claim
Our claim is that attribution accuracy, meaning correctly telling a knowledge gap from an affect-driven slip, is the bottleneck that decides whether affective and multi-agent tutors help. We further claim that adversarial debate improves attribution beyond a well-calibrated knowledge-tracing model specifically on the ambiguous cases where the error's content and the student's behavior point in different directions. Knowledge tracing here means a sequence model that predicts, from a student's past answers, the probability they will answer the next item on a skill correctly. Outside those ambiguous cases, the cheap model should decide and debate should not run. The testable form of the claim is that debate earns its cost only inside a band of learner-model uncertainty. If a single model given all the evidence matches the debate inside that band, the debate component should be dropped.
Positioning Against Prior Work
The closest work is Qiu et al.. It splits tutoring into Scaffolding, Misconception, Motivation and Metacognitive agents that propose, blindly review, revise and vote. Deliberation changes the winning proposal in 56–70% of cases. We take two lessons from it. Motivating: deliberation changes decisions. Constraining: debating over whole candidate replies is expensive, runs against static simulated personas, and resolves disagreement with a fixed priority order. We differ in what is debated. We debate a hidden-state hypothesis about the learner that can later be verified, not which reply is best. The reply is then produced by a decomposed pipeline conditioned on the verdict.
MathBuddy supplies the affect-sensing side and motivates the gap. Its detector reaches 98% recall on negative affect but only 60% overall accuracy, and its policy is binary. High recall on negative affect is exactly what produces false "motivate" moves when a frustrated student also has a real misconception.
On the learner-model side we reuse methods. DASKT derives Frustration, Concentration, Boredom and Confusion states from ordinary platform logs and reports an area under the ROC curve (AUC) of 0.8529 on ASSISTchall. Wang shows that predicted emotion can re-estimate guess and slip parameters. DEKT gates knowledge gain by affect. Together these give us a cheap probability that an error is a slip. None of them can inspect what the student actually wrote.
The debate design borrows from FORD: alternating rounds in which each side must defend with new evidence or concede, followed by a judge. It is constrained by two negative results. FORD found that a stubborn weaker agent can pull a stronger one off a correct answer. Qiao et al. identified an "aleatoric barrier": reading peers' arguments raises within-agent reasoning noise, so agents flip correct answers to wrong ones. We respond to both in the design. Advocates hold disjoint evidence, so neither can simply echo the other. We also track how often a correct initial attribution gets flipped to a wrong one.
For the decomposition stage, KELE separates a planning Consultant from an executing Teacher, and MACM separates mining conditions, judging them and executing them. We reuse the plan-then-execute split. Unlike both, our pipeline changes shape depending on the verdict, and KELE has no affect channel at all.
Research Program
The system has three stages that run on every student error.
The first stage is a cheap attribution model. It is a DASKT-style affect-aware knowledge tracer extended with an output head that gives $p_t$, the probability that the error at step $t$ is a slip rather than a gap. It is trained on the delayed labels described below.
The second stage is a gate. Debate runs only when $|p_t - 0.5| < \delta$, where $\delta$ sets the width of the uncertainty band. We choose $\delta$ on validation data to trade attribution accuracy against the fraction of turns that trigger debate. This directly targets the $N \times T$ cost of $N$ agents debating for $T$ rounds, which grows as $N \cdot T$ (Qiao et al.), and the latency tension between deliberation and affective responsiveness.
The third stage is the debate. The content advocate sees the problem, the student's worked answer, and mastery estimates on the skill and its prerequisites. The prerequisite structure comes from a MAGE-KT-style concept graph. The affect advocate sees DASKT's affect trajectory, timing and attempt features, and dialogue tone. Each argues for its hypothesis for at most three rounds, and a judge that sees both transcripts but no raw evidence gives a verdict with a confidence.
The verdict then routes generation. A "gap" verdict sends the turn to a misconception-diagnosis and hint pipeline, with a separate check that blocks the final answer from being revealed, since MathDial reports that ChatGPT gives away the solution in 66% of turns. A "slip" verdict sends it to a motivation-and-retry pipeline that re-presents a similar item without re-teaching. A split decision produces a combined move: brief acknowledgment followed by a single probing question.
The feedback loop closes when the student responds. Their next attempts on the skill provide the delayed label. That label updates the learner model, recalibrates $\delta$ online, and scores the debate's verdict. We also plan to use these labels as a reward for training the advocates with Group Relative Policy Optimization (GRPO), a reinforcement-learning method that compares groups of sampled responses, as UMAD does. This last step comes only after the untrained system has shown value.
The delayed label is defined as follows. An error at step $t$ on skill $s$ is labeled a slip if the student's next $k$ first attempts on $s$ are correct without hints. It is labeled a gap if those attempts need hints or fail. We will report sensitivity to $k \in \{1,2,3\}$. This label is a noisy proxy, and a human-annotated subset measures how noisy.
We use three testbeds. The first is ASSISTchall and ASSIST09 logs, where attribution uses behavior only and the labels come from real students. The second is simulated students built on MathDial problems. Each simulated student is an LLM persona with a controlled latent cause: an injected misconception, an injected affect-driven slip with timing traces sampled from distributions fitted on ASSISTments, or both. Here the ground truth is known by construction. The third is the SciQ and HumanEval tutoring environments of Qiu et al., used to measure end-to-end learning gain.
Baselines
The naive reference point never attributes errors to affect. It treats every error as a gap and always sends the turn to the hint pipeline, as a classic tutoring system would. A second weak reference is a single LLM tutor with no affect input, run with the same backbone model.
The strongest competitor for attribution is the calibrated affect-aware knowledge tracer alone, meaning stage one with no gate and no debate. It sees every behavioral feature the affect advocate sees, it is cheap, and DASKT reports AUC 0.8529 on ASSISTchall for next-answer prediction. No reported result was found on Lacuna for slip-versus-gap attribution accuracy by any method, so we will establish that number ourselves. It is trained on the same labels and splits as our system. We count the debate as beating it only if accuracy inside the uncertainty band rises by a margin whose confidence interval over student-level bootstrap resamples excludes zero.
The strongest competitor for end-to-end tutoring is the Qiu et al. voting system. They report learning gains of +0.10 with Approval Voting on SciQ and +0.21 (prose) and +0.30 (code execution) with Ranked Voting on HumanEval. We re-run their protocol with our backbone model, with the same simulated students and the same per-turn token budget. Beating it means higher learning gain at equal or lower answer-leakage rate.
A MathBuddy-style monolithic tutor is a third baseline. It is a single LLM given the affect label, run with the binary challenge-or-motivate policy.
Two ablations isolate the key ingredients. The first gives one LLM the union of both advocates' evidence and asks for a verdict with chain-of-thought. The second uses self-consistency, sampling that single-LLM verdict as many times as the debate's token budget allows and taking a majority vote. A third ablation removes the gate so debate runs on every error. All LLM conditions get the same backbone, the same prompt-tuning budget of a fixed number of development iterations, and matched tokens per decision where the comparison is about compute.
Why not just…?
Why not just threshold the learner model's slip probability? This is the most serious threat. On ASSISTments, where no text of student work exists, we expect the learner model to match or beat debate, and we will report that openly. The proposal's bet is narrower: when an error's content carries information that behavioral logs lack, such as a systematic sign error that points to a misconception despite fast, frustrated responding, a model trained only on logs cannot see it. The simulated-student testbed contains exactly such cue-conflict cases. If debate gives no gain even there, the debate component is cut and the contribution shrinks to gated attribution with a routed pipeline.
Why not just give one LLM all the evidence and ask it to decide? The literature suggests monolithic prompts struggle. MathBuddy reports smaller models being overwhelmed by composite affect prompts, and Qiu et al. find single-agent tutors collapse competing goals. Neither measured attribution specifically, though. The union-evidence ablation and its compute-matched self-consistency variant answer this directly. If either matches the debate inside the uncertainty band, we will conclude that splitting the evidence between advocates is not what drives the gain.
Why not just route replies by the affect label and let Qiu-style agents vote? Routing by affect label reproduces MathBuddy's failure: negative affect co-occurs with real misconceptions, and a 98%-recall detector will over-trigger motivation. Voting over whole replies also leaves the cause unresolved and depends on a fixed tie-break order. Our end-to-end comparison against the re-run voting system, broken down by the simulated student's true latent cause, will show whether explicit attribution fixes the cases where voting picks the wrong kind of move.
Proposed Experiments
The first experiment measures attribution. We report accuracy and calibration of slip-versus-gap verdicts on held-out ASSISTments students and on simulated students, broken down into cases where content and behavior agree and cases where they conflict. The decisive check is whether the debate's advantage over the learner model alone and over the union-evidence single LLM is concentrated in the conflict cases and inside the uncertainty band. A uniform gain would suggest the debate is just adding compute. No gain in the conflict cases would refute the core claim.
The second experiment tests robustness to the aleatoric barrier. We measure the rate at which a correct initial advocate position is abandoned after an exchange, and relate it to Qiao et al.'s token-level uncertainty measure computed on advocate turns. We also run heterogeneous pairings, a strong content advocate against a weak affect advocate and the reverse, to test FORD's distraction effect in this setting.
The third experiment covers cost and latency. We report the fraction of errors that trigger debate, tokens and seconds per turn, and attribution accuracy as functions of $\delta$. The target is to recover most of the full-debate accuracy while debating on a minority of turns.
The fourth experiment measures tutoring outcomes. In the SciQ and HumanEval environments and the MathDial-based simulations, we measure learning gain, answer-leakage rate, and whether the simulated student disengages, comparing against the naive tutor, the MathBuddy-style tutor, and re-run Qiu voting. We add a small human-rated subset of dialogues to check that routed replies fit the true cause.
The fifth experiment checks label validity. Annotators label a sample of ASSISTments errors and simulated dialogues as slip or gap, and we report agreement between those labels and the delayed labels for each $k$. This bounds how much any attribution result can be trusted.
References
- Integration and Evaluation of a Matrix Factorization Sequencer in Large Commercial ITS
- MathBuddy: A Multimodal System for Affective Math Tutoring
- Voting Protocols as Coordination Mechanisms for Role-Constrained Multi-Agent Tutoring Systems
- A Diagnostic Study of Multi-Agent LLMs for Real-World Debates
- DASKT: A Dynamic Affect Simulation Method for Knowledge Tracing
- Boosting Neural Cognitive Diagnosis with Student's Affective State Modeling
- Dual-State Personalized Knowledge Tracing With Emotional Incorporation
- Examining Inter-Consistency of Large Language Models Collaboration: An In-depth Analysis via Debate
- Epistemic Gain, Aleatoric Cost: Uncertainty Decomposition in Multi-Agent Debate for Math Reasoning
- KELE: A Multi-Agent Framework for Structured Socratic Teaching with Large Language Models
- MACM: Utilizing a Multi-Agent System for Condition Mining in Solving Complex Mathematical Problems
- MAGE-KT: Multi-Agent Graph-Enhanced Knowledge Tracing with Subgraph Retrieval and Asymmetric Fusion
- MathDial: A Dialogue Tutoring Dataset with Rich Pedagogical Properties Grounded in Math Reasoning Problems