Persistent tutoring agents do more than answer questions: they manage course files, practice records, and learner profiles that govern future lessons. In such stateful settings, knowing what to teach does not guarantee knowing what to change. We identify a pervasive failure mode, content-state decoupling, where agents deliver pedagogically sound responses while silently corrupting workspace state through unwarranted updates, missed prerequisites, or unintended side effects. Text-level judges overlook these state errors, whereas isolated tool-call checks break down because whether a write action is valid depends jointly on the learner request, prior state, and execution order. We propose State-Verified Reinforcement Learning, which supervises online policy optimization directly through verifiable workspace transitions. Within isolated sandboxes that snapshot state around every tool call, a deterministic verifier audits tool effects, workflow ordering, and native auto-sync side effects, pairing graded partial credit with a hard gate that zeroes episode reward upon any critical violation. Whenever no critical violation occurs, an evidence-grounded judge scores actual saved artifacts rather than agent claims. We pair 1,000 verifiable training instances with an independently authored, human-reviewed evaluation benchmark of 60 tasks spanning 11 educational categories and 16 native tools. After online GRPO training, Qwen3.8-27B raises category-weighted strict success on our benchmark from 51.47% to 80.74% (+29.27 points), cutting content-pass-only execution failures from 45.6% to 13.7% and required state-check failures from 63 to 1 across 180 trials. The resulting policy outperforms seven reference baselines by over 20 points while reducing output tokens by 17-39% across seven of eight external benchmarks without regressing on general reasoning or tool use.
Figures & tables
Figure 1: (a) Content–state decoupling in stateful tutoring. On a representative explanation task (Appendix B ), Qwen3.8-27B saves an accurate handout that passes content assessment, yet logs a learning event and triggers an automatic profile update without a student submission. Across 180 Qwen3.8-27B trials, 77 of 169 content passes (45.6%) fail strict execution. (b) Strict success across all 11 educational task categories. State-Verified RL lifts category-weighted strict success from 51.47% to 80.74%, reaching 100% on four categories and raising clarification and planning from 0% to 76.2%.
Figure 2: Overview of State-Verified Reinforcement Learning. (1) Each task pairs a learner request q and an initial workspace s0 with a private verification contract C specifying target effects, workflow order, and protected state. (2) Policy πθ samples G=8 isolated rollouts from identical copies of s0 over 16 native tools, recording workspace state snapshots ( s0→⋯→sT ) around every tool call. (3) A deterministic verifier scores tool effects Ti and workflow order Pi , and detects critical violations Ci via native auto-sync replay; when Ci=0 , an evidence-grounded judge inspects saved artifacts and tool returns to compute Ji , yielding the hard-gated terminal reward Ri . (4) Online GRPO normalizes rewards within each group and updates only policy-generated tokens while masking tool observations and learner turns.
Read history before logging; unique attempt records
Practice creation
120
7
12%
Single-turn
Read sources first; save valid target exercise file
Clarification & planning
120
7
12%
Clarify (5/7)
Elicit goal & budget before writing; keep reminders intact
Practice reuse
80
5
8%
Follow-up
Link existing practice; forbid creating new files
History recall
80
5
8%
Follow-up
Cite latest L3 session; no unrequested reminders
Table 1: Taxonomy of the 1,000 verifiable training instances and the 60-task InnoBench benchmark. Category weights match training proportions; Interaction reports the number of follow-up tasks (320 in training / 20 in InnoBench ), and five of seven clarification tasks withhold constraints upfront.
Reasoning
Instruction
Interactive Agent Tasks
Model
AIME
MATH
GPQA
Olym.
IFEval
IFBench
BFCL
τ2 -Tel.
InnoBench
Items
30
500
198
236
541
300
800
114
60×3
Open-Weight Reference Models
GLM-4.7-Flash
60.00
91.40
47.47
36.44
75.79
45.33
56.38
96.49
39.21
Muse Glimmer 30B High
76.67
94.80
82.83
34.75
92.79
72.67
34.50
89.47
55.20
Gemma 4 26B-A4B Thinking
76.67
87.80
51.01
18.64
74.68
44.33
54.38
45.61
60.20
Table 2: Comparison of eight models across nine benchmarks (%). Single-response suites use a 32,768-token budget; GPQA denotes GPQA Diamond, Olym. denotes OlympiadBench, IFEval and IFBench use strict prompt-level scoring, BFCL denotes BFCL-v4, τ2 -Tel. denotes τ2 -bench Telecom, and InnoBench reports category-weighted strict success. Bold values indicate column maxima.
Metric
Qwen3.8-27B
+SVRL
Δ
Weighted strict success (%)
51.47
80.74
+29.27
Strict passes (of 180)
92
145
+53
All-3 consistency (of 60)
23
42
+19
0/3 consistent failures (of 60)
21
6
− 15
Content pass (judged)
169/180
168/179
0.0 pp
Content-pass-only failures
77/169
23/168
− 31.9 pp
Table 3: Paired comparison between Qwen3.8-27B and Qwen3.8-27B-SVRL (+SVRL) on InnoBench (60 tasks × 3 trials). The paired 95% bootstrap confidence interval for the category-weighted strict gain is [21.80,36.64] percentage points. One Qwen3.8-27B-SVRL trial was unjudged after an objective check failure.
Figure 3: Behavioral shift after State-Verified RL on InnoBench (60 tasks × 3 trials; Base: Qwen3.8-27B, SVRL: Qwen3.8-27B-SVRL). (a) Matched-trial comparison: 64 Qwen3.8-27B failures flip to strict passes under Qwen3.8-27B-SVRL against 11 regressions (net +53). (b) Three-trial consistency: All-3 tasks rise from 23 to 42 while 0/3 failures fall from 21 to 6. (c) Failure rates by verification check: required state-check failures drop from 63/180 to 1/180, and side-effect failures drop from 84/180 to 18/180.
Figure 4: Training dynamics across 250 online GRPO updates and out-of-domain generalization. (a) On-policy reward and training success (raw values and 10-update moving averages) climb steadily from Qwen3.8-27B; diamonds mark the three completed full-suite periodic evaluations without interpolation. (b) Mean per-turn policy response length decreases by 58.3% (from 738 to 308 tokens). (c) Output token change (%) and paired accuracy difference ( Δ score, in percentage points) from Qwen3.8-27B to Qwen3.8-27B-SVRL across eight unseen benchmarks: Qwen3.8-27B-SVRL reduces output tokens by 17–39% on seven suites without capability regression.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Category
Tasks
Weight (%)
Qwen3.8-27B
Qwen3.8-27B-SVRL
Δ (pp)
Explanation
10
16
13/30 (43.3%)
30/30 (100.0%)
+56.7
Diagnostic feedback
10
16
12/30 (40.0%)
12/30 (40.0%)
0.0
Practice creation
7
12
21/21 (100.0%)
20/21 (95.2%)
− 4.8
Clarification and planning
7
12
0/21 (0.0%)
16/21 (76.2%)
+76.2
Practice reuse
5
8
3/15 (20.0%)
15/15 (100.0%)
+80.0
History recall
5
8
13/15 (86.7%)
13/15 (86.7%)
0.0
Appendix
Table 4: Category-level strict pass counts (passes/trials) for Qwen3.8-27B and Qwen3.8-27B-SVRL on InnoBench . Each restored task is evaluated over three independent trials.
Updates
Weighted (%)
Strict (%)
Exec. (%)
Quality (/100)
10
52.26
52.22
54.44
98.02
240
78.24
78.89
82.22
95.52
250
80.03
80.56
82.78
94.65
Appendix
Table 5: Completed full-suite periodic evaluations during online GRPO training (60 tasks × 3 trials each, without interpolation). Periodic evaluations use non-reasoning judging, whereas Table 3 reports final results under the unified reasoning-enabled protocol.
BFCL-v4 Multi-Turn Subset
Qwen3.8-27B
Qwen3.8-27B-SVRL
Δ (pp)
Base tasks
141/200
147/200
+3.00
Long context
102/200
113/200
+5.50
Missing function
82/200
89/200
+3.50
Missing parameter
82/200
87/200
+2.50
Combined (4 subsets)
407/800 (50.88%)
436/800 (54.50%)
+3.62
Appendix
Table 6: BFCL-v4 multi-turn breakdown (200 tasks per subset). Qwen3.8-27B-SVRL improves performance across all four subsets.
Benchmark
Qwen3.8-27B only
SVRL only
95% CI ( Δ pp)
p
pHolm
BFCL-v4 ( N=800 )
60
89
[+0.63,+6.63]
0.021
0.172
τ2 -bench Telecom ( N=114 )
10
8
[−8.77,+5.26]
0.815
1.000
IFEval ( N=541 )
17
22
[−1.29,+3.14]
0.522
1.000
IFBench ( N=300 )
26
24
[−5.33,+4.00]
0.888
1.000
AIME 2026 ( N=30 )
1
2
[−6.67,+16.67]
1.000
1.000
MATH-500 ( N=500 )
3
4
[−0.80,+1.20]
1.000
1.000
Appendix
Table 7: Paired comparison between Qwen3.8-27B and Qwen3.8-27B-SVRL across all eight external benchmarks. Qwen3.8-27B only and SVRL only count discordant items passed exclusively by one model. Confidence intervals use 20,000 paired bootstrap resamples (seed 42); p denotes exact two-sided McNemar p -values, and pHolm denotes Holm-adjusted values across the eight-benchmark family.
Benchmark
Paired N
Qwen3.8-27B
Qwen3.8-27B-SVRL
Change (%)
BFCL-v4
800
4,142
2,516
− 39.3%
τ2 -bench Telecom
113
7,058
4,304
− 39.0%
IFEval
541
2,358
2,404
+2.0%
IFBench
300
8,506
6,766
− 20.5%
AIME 2026
30
16,254
12,367
− 23.9%
MATH-500
500
1,942
1,611
− 17.0%
Appendix
Table 8: Mean output tokens per task for Qwen3.8-27B and Qwen3.8-27B-SVRL (including unsuccessful items and returned reasoning tokens, excluding user-simulator tokens). On τ2 -bench Telecom, 113 tasks retain complete paired trajectories; success counts include the 114th task whose Qwen3.8-27B failure has no recoverable dialogue.
Reinforcement learning studies how agents learn sequential decisions from rewards and interaction, balancing exploration, performance, safety, and adaptation.