Datasets:

ArXiv:
File size: 94,365 Bytes
380b1f6
 
 
 
17f273c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
380b1f6
 
 
4714153
380b1f6
17f273c
 
 
 
 
 
 
 
 
 
 
37a8ea3
 
 
 
 
17f273c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37a8ea3
17f273c
 
 
 
 
 
 
 
 
 
 
 
 
380b1f6
17f273c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37a8ea3
17f273c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f2c7c4c
 
 
 
92e7238
4edd61d
92e7238
 
f2c7c4c
f3145c9
0f034c1
92e7238
 
4edd61d
 
 
 
 
 
 
 
 
0f034c1
 
4edd61d
 
 
 
 
0f034c1
f3145c9
f2c7c4c
17f273c
0f034c1
17f273c
 
0f034c1
892e6be
 
 
 
 
3106187
6659e55
892e6be
3c61a63
 
 
892e6be
17f273c
0f034c1
f2c7c4c
79c1a96
ee8f352
f3b4ff2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d8a1c7c
f3b4ff2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6fa3e65
d8a1c7c
20f01d4
67f1027
992c970
33f7f56
daab827
9f062ca
894fd10
8d324eb
4edd61d
19686e2
0f034c1
f3b4ff2
31f83af
 
 
 
892e6be
3106187
eea8a9b
6659e55
31f83af
f3b4ff2
 
0aa6bb2
 
 
 
 
 
 
 
 
 
 
e897688
063c702
0aa6bb2
0a20c31
 
0aa6bb2
 
 
 
 
 
 
 
d956b5d
0aa6bb2
6bd96b5
0aa6bb2
0a20c31
 
 
 
 
 
 
 
 
 
ac5a572
0aa6bb2
 
4be7be7
 
f1d2533
 
 
 
 
 
 
 
 
 
 
 
33f7f56
 
9f062ca
 
894fd10
8d324eb
4be7be7
17f273c
 
 
 
 
 
6fa3e65
f1d2533
d8a1c7c
f1d2533
20f01d4
f1d2533
67f1027
f1d2533
992c970
33f7f56
 
9f062ca
 
894fd10
 
8d324eb
 
17f273c
 
24afcf2
 
daab827
 
37a8ea3
 
 
f510c47
 
33f7f56
 
f510c47
 
37a8ea3
 
79c1a96
f295b16
 
 
 
 
 
 
f2c7c4c
f295b16
 
 
87be110
 
a478bb3
 
09f9d5c
a478bb3
 
 
4714153
a478bb3
4714153
a478bb3
4714153
 
 
 
 
 
 
96e20c1
a478bb3
4714153
a478bb3
 
 
 
 
 
4714153
 
 
 
e5e153b
 
4714153
 
 
 
e5e153b
 
 
 
 
 
 
 
4714153
 
a478bb3
 
 
eaf0843
a478bb3
09f9d5c
 
 
 
 
 
 
eaf0843
 
 
 
 
09f9d5c
a478bb3
 
 
 
 
 
0a20c31
 
 
 
 
 
 
 
 
 
 
17f273c
a478bb3
96e20c1
4714153
96e20c1
 
 
4714153
eaf0843
 
 
 
4714153
eaf0843
96e20c1
 
4714153
a478bb3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79ad80a
a478bb3
 
 
 
 
 
 
 
 
 
 
 
17f273c
360b2b4
62a1afe
380b1f6
17f273c
 
 
380b1f6
 
360b2b4
2934f3b
279aeb0
a054623
45c1ba1
0ec770e
87465c9
8e67c6d
e449435
64c6528
ba482d1
3a3cf67
327039d
196ffa3
63ef9d0
234ca91
39403dc
94a9c5f
60d8fa3
3dc772f
e8c27b2
b9f85e8
0338b09
79ad80a
8dccdd8
e897688
063c702
d8a1c7c
c88d40c
3a7d3e1
380b1f6
17f273c
 
4714153
a478bb3
b9b1e1d
 
8b5210b
 
62a1afe
6eace1b
17f273c
360b2b4
17f273c
2934f3b
380b1f6
 
 
17f273c
380b1f6
17f273c
b09d463
17f273c
380b1f6
17f273c
380b1f6
17f273c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
380b1f6
 
17f273c
 
 
380b1f6
 
 
17f273c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
380b1f6
17f273c
380b1f6
 
 
 
17f273c
37a8ea3
 
 
380b1f6
17f273c
 
 
37a8ea3
17f273c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
---
pretty_name: Recursive judge evidence and GRPO outcomes
viewer: false
---
# Verifying a verifier of a verifier

**An experimental study of three recursive LLM judges as online GRPO rewards**

Verifying a verifier of a verifier! Instead of just a second verifier verifying a first verifier, also have a third verifier verifying the second verifier of the first verifier!

DeepSeek and others showed that in LLM RLVR, when you have an LLM as a judge, you can also try a second LLM as a judge that judges the first LLM as a judge.

So I thought of adding a third LLM as a judge that judges the second judge that judges the first judge.

Earlier work on judges that check judges: [DeepSeekMath-V2, §2.1.2 (meta-verifier)](https://arxiv.org/html/2511.22570v1) · [Wen et al., Recursive Self-Critiquing](https://arxiv.org/html/2502.04675v4) · [Wu et al., Meta-Rewarding Language Models](https://arxiv.org/html/2407.19594v2)

[Paper (PDF)](reports/paper.pdf) · [Preregistration](reports/preregistration.md) · [Interactive explorer](https://burnycoder.github.io/verifying-verifier-of-verifier-llm-reinforcement-learning/) · [Hugging Face collection](https://huggingface.co/collections/BurnyCoder/recursive-llm-judges-for-grpo-6b081abfdc1b0975ad60b14a) · [Raw data and logs](https://huggingface.co/datasets/BurnyCoder/recursive-judge-grpo-study) · [LoRA adapters](https://huggingface.co/BurnyCoder/recursive-judge-grpo-adapters)

## At a glance

Verifying a verifier of a verifier! Instead of just a second verifier verifying a first verifier, also have a third verifier verifying the second verifier of the first verifier! 

DeepSeek and others showed that in LLM RLVR, when you have an LLM as a judge, you can also try a second LLM as a judge that judges the first LLM as a judge. 

So I thought of adding a third LLM as a judge that judges the second judge that judges the first judge. 

An experimental study of three recursive LLM judges as online GRPO rewards with exact evidence audits.

A small language model solves numbered arithmetic problems. A second call judges the solution, a third checks that judgment, and a fourth checks the review. An exact integer evaluator can check each answer and each piece of evidence. We measure whether the final reviewer catches errors and whether its reward improves a solver trained with Group Relative Policy Optimization. [Preregistration](reports/preregistration.md)

For example, a solver can give the right final answer to (4 + 3) × 2 while recording 8 in the first step. A reviewer can endorse the correct rejection and still give the wrong correction. [Compare the two trained solvers’ answers and each judge’s actual output](#what-did-the-solvers-and-judges-actually-write).

- **In plain words.** A student (the solver) does arithmetic homework. Teacher 1 grades it, Teacher 2 checks Teacher 1's grading, and Teacher 3 checks Teacher 2. The student practises and is rewarded by the last teacher's grade. A calculator knows every correct step and can check every teacher's claim, so we see exactly where each teacher goes wrong and whether adding Teacher 3 makes the student better or worse.
- **Motivation.** LLM judges supply rewards where no program can check an answer, but a policy trained against a learned reward can be paid for incorrect completions ([Huang et al.](https://arxiv.org/html/2505.22203v3)). DeepSeekMath-V2 added a meta-verifier that checks the verifier, and Meta-Rewarding added a meta-judge. Whether a further level helps when its verdict is the online reinforcement-learning reward had not been measured against exact ground truth.
- **Method.** GRPO trains a LoRA adapter on a 4-bit Qwen2.5-1.5B-Instruct solver. The reward is the solution verdict of the last judge in a chain of one, two or three frozen judges. Baselines, controls and ablations change only the reward: one judge, two judges, a majority of three independent first-level votes, the exact checker, Judge 3 gated by the checker, Judge 3's rewards shuffled within each group, and judges first fine-tuned on exact labels or on the next judge's audits. Two judge families were run: the solver's own Qwen2.5-1.5B-Instruct backbone and a separately screened frozen Qwen3.5-4B.
- **Novelty.** Every judge writes a fixed numeric record: a verdict, the first wrong step and its correction, and for upper judges the first wrong field of the report below. An integer checker labels every field, so the third judge's audit is scored and not only its verdict, and each reward's effect on the solver is measured on the same problems with paired intervals. Wen et al. evaluated recursive critique through best-of-N selection and Wu et al. used meta-judgments as preference data; in [our literature review](reports/literature-review.md) we found no study that used a third-level judge as the online GRPO reward with every evidence field checked by a program.
- **Results.** [Key results](#key-results) lists positive and negative findings with intervals; [Results at a glance](#results-at-a-glance) labels every arm as method, baseline, control or ablation. All numbers there are regenerated from `results/` by `uv run study report`.
- **Features and technologies.** [Features](#features) · [Technologies](#technologies) · [Installation and usage](#installation-and-usage)

<!-- HIGHLIGHTS:START -->
## Key results

- **Positive: a second judge helped.** With frozen Qwen3.5-4B judges, the solver trained on Judge 2's verdict solved 29/32 development problems, against 18/32 with Judge 1 alone (+34.38 percentage points, paired 95% interval +15.6 to +53.1). Single seed; the one-judge arm was registered after the two- and three-judge scores were known.
- **Negative: a third judge did not help.** Rewarding Judge 3's verdict gave 27/32, against 29/32 for Judge 2 (-6.25 percentage points, paired 95% interval -15.6 to +0.0). Replayed on the three-judge run's own training answers, Judge 3 fixed 4 of Judge 2's verdicts, introduced 0 errors and changed the relative GRPO credit in 0/256 groups. The replay swaps the reward on logged answers without retraining. Single seed.
- **Negative: with Qwen2.5-1.5B-Instruct judges, the third judge collapsed training.** The three-judge solver solved 3/32 development problems, against 25/32 for two judges (two minus three: +68.75 percentage points, paired 95% interval +50.0 to +84.4). On the same 1,024 training answers, Judge 3 rewarded 61.1% of correct and 64.7% of wrong answers; Judge 2 rewarded 72.2% and 68.1%. In the last quarter of training, 15/256 of the three-judge run's samples were exactly correct, against 186/256 for the two-judge run, and Judge 3 rewarded 169 of its 241 wrong samples. Single seed 17; post hoc diagnosis.
- **Controls: the solver can learn this task; the judge reward limits it.** With the same Qwen2.5-1.5B-Instruct judges and seed, the solver reached 32/32 with the exact checker as reward (control) and 31/32 with Judge 3's verdict gated by the checker (ablation), against 5/32 with Judge 3's rewards shuffled within each group (control) and 3/32 with Judge 3 alone. Paired differences from Judge 3 alone, in percentage points with 95% intervals: exact checker +90.62 [+78.1, +100.0], gated +87.50 [+75.0, +96.9], shuffled +6.25 [-6.2, +18.8]. Single seed; each arm changes only the reward.
- **Negative: judges trained on exact labels learned to approve everything.** The fitted exact-label stack approved 32, 32, 32 of 32 starting-solver answers at depths one, two and three, including 12, 12, 12 of the 12 incorrect ones. Fixed-answer replay: the solver's answers stay fixed and only the judges change.
- **Evidence audit: Judge 3 rarely checks the evidence it reviews.** When one number in Judge 2's report was altered, frozen Qwen3.5-4B endorsed the sound report and located and repaired the altered one on 10/64 fresh pairs, against 1/64 for Qwen2.5-1.5B-Instruct (+14.06 percentage points, paired 95% interval +6.25 to +23.44). With the evidence masked, both passed 0/64 and 0/64. Fixed solver answers on a confirmation cohort specified before inference with these judges.
- **Still open.** The preregistered three-seed held-out comparison has not run, so every result above is a single-seed development estimate on 32 problems.

Role-labelled scores for every arm are in [Results at a glance](#results-at-a-glance). [Preregistration](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/preregistration.md) · [Paper](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/paper.pdf)

## The study in one picture

<table><tr><td width="50%"><a href="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/twitter-summary.png"><img src="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/twitter-summary.png" alt="The study in one image, sized for an X/Twitter post"></a></td><td width="50%"><a href="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/poster.png"><img src="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/poster.png" alt="NeurIPS-style poster of the study"></a></td></tr></table>

Left: summary card for an X/Twitter post. Right: conference poster. Click an image for full size.

## Animated walkthrough

![Animated replay of one logged GRPO update](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/walkthrough.gif)

The animation replays logged update 20 of the seed-17 three-judge run with Qwen2.5-1.5B-Instruct judges: the problem, the four sampled answers, the exact checker, the rewards Judge 2 and Judge 3 gave, the GRPO credit each reward produces, and the whole-run totals. [MP4 video](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/walkthrough.mp4)

## Architecture

![Training loop: solver, three recursive judges, exact checker, reward rule and GRPO update](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/architecture.png)
<!-- HIGHLIGHTS:END -->

## How it works

**Plain-language version.** At every training step the solver sees one arithmetic problem of the form (a ± b) ± c and writes four attempts, one integer per step. Each attempt goes to Judge 1, which says whether every step is right and, if not, which step is wrong and what it should be. Judge 2 reads the problem, the attempt and Judge 1's report, says whether Judge 1 was right, and grades the attempt again. Judge 3 does the same for Judge 2. The attempt earns one point if the last judge accepts it and zero otherwise. Attempts that score above the group's average become more likely, the rest less likely. Finally, every trained solver answers the same development problems and a program checks every step.

**Expert version.** For each prompt, TRL's `GRPOTrainer` samples a group of completions, scores each with the arm's reward rule and computes group-relative advantages A<sub>i</sub> = (r<sub>i</sub> − mean(r)) / (std(r) + 10<sup>−4</sup>) with `scale_rewards="group"` and a sample standard deviation ([TRL advantage computation](https://huggingface.co/docs/trl/grpo_trainer#computing-the-advantage); [GRPO, Shao et al. §4](https://arxiv.org/html/2402.03300v3)). With binary rewards, a group whose rewards are all equal has zero advantage, so a reward teaches only when it separates attempts within a group. The loss is the clipped GRPO surrogate with no KL penalty; group size, clipping, learning rate, completion length and sampling temperature are set in [`src/study/training.py`](src/study/training.py). The solver is a LoRA adapter on the attention projections ([Hu et al.](https://arxiv.org/abs/2106.09685)) of NF4-quantized Qwen2.5-1.5B-Instruct at a pinned revision ([Dettmers et al., QLoRA](https://arxiv.org/abs/2305.14314); [`src/study/backend.py`](src/study/backend.py)). Judges stay frozen while the solver learns. Judge 1 returns `valid,step,value`. Judges 2 and 3 return `sound,field,replacement,valid,step,value`: the first three fields audit the report below, the last three re-grade the solution ([`src/study/prompts.py`](src/study/prompts.py)). The first-error format follows [ProcessBench](https://arxiv.org/html/2412.06559v1). The exact checker re-executes every step and labels every field. It supplies the oracle and hybrid rewards and the primary metric, complete-trace accuracy: a solution counts only if every intermediate value is correct.

```mermaid
flowchart TB
    P["Problem sampler<br/>(a ± b) ± c"] --> S["Solver<br/>Qwen2.5-1.5B-Instruct<br/>NF4 + LoRA"]
    S -->|"group of sampled answers"| J1["Judge 1<br/>valid, step, value"]
    J1 --> J2["Judge 2<br/>audits Judge 1,<br/>re-grades the answer"]
    J2 --> J3["Judge 3<br/>audits Judge 2,<br/>re-grades the answer"]
    J1 & J2 & J3 --> R{"Reward rule<br/>one, two or three judges,<br/>flat vote, oracle,<br/>hybrid, shuffled"}
    X["Exact integer checker"] -.->|"labels every field"| J1 & J2 & J3
    X -.->|"oracle and hybrid rewards"| R
    R --> G["GRPO group-relative<br/>advantages (TRL)"]
    G -->|"LoRA update"| S
    S -->|"greedy answers"| E["Evaluation on development<br/>and sealed held-out problems"]
    X -.->|"complete-trace accuracy"| E
```

<!-- RESULTS:START -->
## Results at a glance

| Judges | Role | Arm | Solver reward or treatment | Exact development solutions | Wilson 95% (%) | Minus three judges (pp) | Paired 95% interval (pp) |
| --- | --- | --- | --- | --- | --- | --- | --- |
| Frozen Qwen3.5-4B judges | **Method** | `d3` | Three judges: Judge 3's verdict is the reward | 27/32 (84.4%) | 68.2–93.1 | — | — |
| Frozen Qwen3.5-4B judges | Baseline | `d2` | Two judges: Judge 2's verdict | 29/32 (90.6%) | 75.8–96.8 | +6.25 | +0.0 to +15.6 |
| Frozen Qwen3.5-4B judges | Baseline | `d1` | One judge: Judge 1's verdict | 18/32 (56.2%) | 39.3–71.8 | -28.12 | -46.9 to -9.4 |
| Frozen Qwen3.5-4B judges | Control | `base` | Starting solver, no training | 20/32 (62.5%) | 45.3–77.1 | -21.88 | -37.5 to -9.4 |
| Qwen2.5-1.5B-Instruct judges | **Method** | `d3-17` | Three judges: Judge 3's verdict is the reward | 3/32 (9.4%) | 3.2–24.2 | — | — |
| Qwen2.5-1.5B-Instruct judges | Baseline | `d2-17` | Two judges: Judge 2's verdict | 25/32 (78.1%) | 61.2–89.0 | +68.75 | +50.0 to +84.4 |
| Qwen2.5-1.5B-Instruct judges | Baseline | `d1-17` | One judge: Judge 1's verdict | 21/32 (65.6%) | 48.3–79.6 | +56.25 | +37.5 to +71.9 |
| Qwen2.5-1.5B-Instruct judges | Baseline | `flat-17` | Majority of three independent Judge 1 votes | 24/32 (75.0%) | 57.9–86.7 | +65.62 | +46.9 to +81.2 |
| Qwen2.5-1.5B-Instruct judges | Control | `base` | Starting solver, no training | 20/32 (62.5%) | 45.3–77.1 | +53.12 | +34.4 to +68.8 |
| Qwen2.5-1.5B-Instruct judges | Control | `oracle-17` | Exact checker reward (upper reference) | 32/32 (100.0%) | 89.3–100.0 | +90.62 | +78.1 to +100.0 |
| Qwen2.5-1.5B-Instruct judges | Control | `shuffle-17` | Judge 3 rewards shuffled within each group of four | 5/32 (15.6%) | 6.9–31.8 | +6.25 | -6.2 to +18.8 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `hybrid-17` | Judge 3 verdict multiplied by the exact checker | 31/32 (96.9%) | 84.3–99.4 | +87.50 | +75.0 to +96.9 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `exact-prefix1` | Three calls, Judge 1 first trained on exact labels | 24/32 (75.0%) | 57.9–86.7 | +65.62 | +46.9 to +84.4 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `exact-prefix2` | Three calls, Judges 1–2 first trained on exact labels | 4/32 (12.5%) | 5.0–28.1 | +3.12 | -6.2 to +12.5 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `exact-prefix3` | Three calls, Judges 1–3 first trained on exact labels | 25/32 (78.1%) | 61.2–89.0 | +68.75 | +53.1 to +84.4 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `top-prefix1` | Three calls, Judge 1 first trained top-down | 2/32 (6.2%) | 1.7–20.1 | -3.12 | -15.6 to +9.4 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `top-prefix2` | Three calls, Judges 1–2 first trained top-down | 31/32 (96.9%) | 84.3–99.4 | +87.50 | +75.0 to +96.9 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `top-prefix3` | Three calls, Judges 1–3 first trained top-down | 28/32 (87.5%) | 71.9–95.0 | +78.12 | +62.5 to +90.6 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `exact-depth1` | One judge, trained on exact labels | 20/32 (62.5%) | 45.3–77.1 | +53.12 | +34.4 to +68.8 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `exact-depth2` | Two judges, trained on exact labels | 20/32 (62.5%) | 45.3–77.1 | +53.12 | +34.4 to +68.8 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `top-depth1` | One judge, trained top-down | 25/32 (78.1%) | 61.2–89.0 | +68.75 | +50.0 to +84.4 |
| Qwen2.5-1.5B-Instruct judges | Ablation | `top-depth2` | Two judges, trained top-down | Pending | — | — | — |
| Qwen2.5-1.5B-Instruct judges | Ablation | `alt-exact-solver` | Continues exact-prefix3 against refreshed exact-route judges | 2/32 (6.2%) | 1.7–20.1 | -3.12 | -9.4 to +0.0 |

**In plain words.** "Higher" or "lower" means the whole paired 95% interval lies above or below zero.

- **Frozen Qwen3.5-4B judges.** Lower than three judges: one judge (`d1`, -28.12 pp); starting solver, no training (`base`, -21.88 pp). Not distinguishable from three judges: two judges (`d2`, +6.25 pp).
- **Qwen2.5-1.5B-Instruct judges.** Higher than three judges: two judges (`d2-17`, +68.75 pp); one judge (`d1-17`, +56.25 pp); majority of three independent Judge 1 votes (`flat-17`, +65.62 pp); starting solver, no training (`base`, +53.12 pp); exact checker reward (`oracle-17`, +90.62 pp); judge 3 verdict multiplied by the exact checker (`hybrid-17`, +87.50 pp); three calls, Judge 1 first trained on exact labels (`exact-prefix1`, +65.62 pp); three calls, Judges 1–3 first trained on exact labels (`exact-prefix3`, +68.75 pp); three calls, Judges 1–2 first trained top-down (`top-prefix2`, +87.50 pp); three calls, Judges 1–3 first trained top-down (`top-prefix3`, +78.12 pp); one judge, trained on exact labels (`exact-depth1`, +53.12 pp); two judges, trained on exact labels (`exact-depth2`, +53.12 pp); one judge, trained top-down (`top-depth1`, +68.75 pp). Not distinguishable from three judges: judge 3 rewards shuffled within each group of four (`shuffle-17`, +6.25 pp); three calls, Judges 1–2 first trained on exact labels (`exact-prefix2`, +3.12 pp); three calls, Judge 1 first trained top-down (`top-prefix1`, -3.12 pp); continues exact-prefix3 against refreshed exact-route judges (`alt-exact-solver`, -3.12 pp).

These are descriptive, post hoc comparisons on one training seed, each arm answering the same development problems as its family's three-judge solver. Intervals resample problems within that seed and are not corrected for the number of comparisons; the two judge families are not compared with each other. Pending rows have no finished development evaluation. [Preregistered primary comparison](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/preregistration.md) · [Run matrix](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/planned-runs.md)

<table><tr><td width="50%"><a href="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/online-solvers.png"><img src="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/online-solvers.png" alt="Exact solver accuracy with frozen Qwen3.5-4B judges and the fraction of groups with mixed rewards"></a></td><td width="50%"><a href="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/outcomes.png"><img src="https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/outcomes.png" alt="Development solver accuracy for every arm, coloured by role"></a></td></tr></table>

## Concrete inputs and outputs

### What each solver wrote on the same calculation

| Expression | Exact steps | One-judge solver | Two-judge solver | Three-judge solver |
| --- | --- | --- | --- | --- |
| (7 - 7) + 12 | 0, 12 | `0,19` (wrong) | `0,19` (wrong) | `0,19` (wrong) |
| (39 + 12) - 5 | 51, 46 | `51,46` (correct) | `51,46` (correct) | `51,46` (correct) |
| (47 - 9) - 7 | 38, 31 | `38, 21` (wrong) | `38,31` (correct) | `38,31` (correct) |
| (12 - 12) + 11 | 0, 11 | `0,13` (wrong) | `0,11` (correct) | `0,13` (wrong) |
| (1 + 6) - 6 | 7, 1 | `7,1` (correct) | `7,-5` (wrong) | `7, -5` (wrong) |

Each row is the first development problem with that combination of successes and failures. The entries give the predicted first and second step. The explorer shows the literal judge reports for every answer in these rows. [Interactive explorer](https://burnycoder.github.io/verifying-verifier-of-verifier-llm-reinforcement-learning/)

![Every run's output on one common development problem, against the exact steps](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/examples.png)

[Both trained solvers' answers with each judge's literal report](#what-did-the-solvers-and-judges-actually-write) · [The four answers and rewards behind one logged update](#what-changed-during-training) · [Every verdict Judge 3 changed on the starting solver's answers](#development-judge-verdict-accuracy) · [Interactive explorer with every judge report](https://burnycoder.github.io/verifying-verifier-of-verifier-llm-reinforcement-learning/)

## Solvers trained with frozen Qwen3.5-4B judges

| Solver reward | Updates | Groups with mixed rewards | Exact development solutions |
| --- | --- | --- | --- |
| Starting solver | 0 | — | 20/32 (62.5%) |
| Frozen Qwen3.5-4B Judge 1 | 256 | 17/256 | 18/32 (56.2%) |
| Frozen Qwen3.5-4B Judge 2 | 256 | 17/256 | 29/32 (90.6%) |
| Frozen Qwen3.5-4B Judge 3 | 256 | 15/256 | 27/32 (84.4%) |

Relative to the one-judge solver, the two-judge solver gained 12 solutions and lost 1. The three-judge solver gained 10 and lost 1. Three minus two was -6.25 percentage points. The one-judge baseline was registered after the deeper scores were known. On the two-judge run’s own training answers, Judge 2 changed relative credit in 1/256 groups compared with Judge 1. On the three-judge run’s own answers, Judge 3 fixed 4 verdicts and introduced 0 errors, changing relative credit in 0/256 groups. The one- and two-judge runs first sampled different answers at update 8. Their actual relative credit first differed at update 22. The logs leave the cause of the initial divergence unresolved. The paired intervals describe these seed-17 checkpoints on the development cohort. [Protocol and decoder](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/newer-frozen-judges.md#online-solver-comparison) · [Rollouts, rewards and exact scores](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges).

The single-judge arm uses Judge 1's first verdict directly. Each additional judge reads the earlier reports. Only the solver learns. All runs use matched initialization, seed, prompt order and update budget. [One-judge addendum](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/newer-frozen-judges.md#one-judge-baseline-addendum).

| Solver comparison | Gained | Lost | Difference (pp) | Paired 95% interval (pp) |
| --- | --- | --- | --- | --- |
| One minus starting solver | 3 | 5 | -6.25 | -25.0 to +9.4 |
| Two minus one | 12 | 1 | +34.38 | +15.6 to +53.1 |
| Three minus one | 10 | 1 | +28.12 | +9.4 to +46.9 |
| Three minus two | 0 | 2 | -6.25 | -15.6 to +0.0 |

Gains and losses compare the same problem across checkpoints. Intervals resample problems within this one seed.

### Grading each checkpoint's fixed answers

| Whose written answers? | Exact solver answers | Correct J1 verdicts | Correct J2 verdicts | Correct J3 verdicts | J3 fixes | J3 new errors |
| --- | --- | --- | --- | --- | --- | --- |
| Solver trained with Judge 1 | 18/32 | 20/32 | 20/32 | 20/32 | 0 | 0 |
| Solver trained with Judge 2 | 29/32 | 28/32 | 28/32 | 28/32 | 0 | 0 |
| Solver trained with Judge 3 | 27/32 | 26/32 | 26/32 | 26/32 | 0 | 0 |

A correct verdict accepts correct arithmetic or rejects an arithmetic or format error. Changing a verdict in this replay leaves the solver’s written answer fixed. All three graders returned the same solution verdict on 96/96 saved development answers across the three checkpoints.

[Paired effects and independent reward checks](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/reviews/online-solvers.md).

<details>
<summary>Solver precision and pretraining-only hardware checks</summary>

### Solver precision and pretraining-only hardware checks

| Solver | Precision | GPU test | Parsed | Exact | Peak solver allocation |
| --- | --- | --- | --- | --- | --- |
| Qwen2.5-1.5B-Instruct | NF4 | One update completed | 16/16 | 10/16 | 1,990 MiB |
| Qwen2.5-1.5B-Instruct | BF16 | One update completed | 16/16 | 9/16 | 3,161 MiB |
| Qwen3.5-2B-Base | NF4 | One update completed | 16/16 | 12/16 | 3,587 MiB |

Starting accuracy uses greedy decoding on the same train-split calibration problems before the disposable update. The 4B judge ran on the same GPU. Peak allocation is PyTorch memory for the solver process alone. Against the original NF4 solver, Qwen2.5-1.5B-Instruct at BF16 gained 0 and lost 1 exact answers on the same 16 starting prompts. The descriptive paired difference was -6.2 percentage points (95% resampling interval -18.8 to +0.0). Against the original NF4 solver, Qwen3.5-2B-Base at NF4 gained 4 and lost 2 exact answers on the same 16 starting prompts. The descriptive paired difference was +12.5 percentage points (95% resampling interval -18.8 to +43.8). The pretraining-only base model received rewards [1, 0, 1, 1] and an optimizer gradient norm of 6.062. It is the candidate for a future matched comparison starting before RLVR. The longer-term effect on solver accuracy remains open. [Hardware protocol](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/solver-precision.md) · [Measured costs and outcomes](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/solver-fit).

[Precision trials, paired arithmetic scores and the actual optimizer groups](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/reviews/solver-precision.md).

</details>

**Independent frozen-judge confirmation.** On 64 fresh problems, frozen Qwen3.5-4B correctly audited both reviews on 10/64 evidence pairs, compared with 1/64 for Qwen2.5-1.5B-Instruct. Their third judges correctly graded 73/128 and 61/128 fixed solver traces, respectively. For Qwen3.5-4B, Judge 3 agreed with Judge 2 on every solution verdict. The paired 95% intervals for the differences were +6.25 to +23.44 percentage points for evidence and +1.56 to +17.97 for verdicts. The selected judge qualified for the online solver comparison.

[Run inventory, including upcoming experiments](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/run-inventory.md) · [Newer frozen Qwen protocol](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/newer-frozen-judges.md) · [Paused solver checkpoint, update 16](https://huggingface.co/BurnyCoder/recursive-judge-grpo-adapters/tree/5274be501a83e4c881664370cfe75f912c69413f/resumable/calibrated/top-depth2/checkpoint-16)

<details>
<summary>All runs, their results, and what is still scheduled</summary>

The original solver and judge adapters all use Qwen2.5-1.5B-Instruct. A solver score counts complete arithmetic traces. A trained judge score counts complete evidence records. Stack replays report verdict agreement at each depth on the same saved answers. Pending means the phase has no completed measurement. A dash marks an inapplicable endpoint. Timing and calibration are outside the primary comparison.

### Original signed arithmetic

| Run | Treatment or measurement | Status | Development or pilot result | Held-out result |
| --- | --- | --- | --- | --- |
| [original/base](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/base) | Untrained solver | Archived | 0/32 (0.0%) | Deferred |
| [original/d3-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/d3-17) | Fresh solver, frozen J3, seed 17 | Archived | 0/32 (0.0%) | Deferred |
| [original/timing](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/timing/trained.json) | Disposable solver, frozen J3, wall-clock pilot | Complete | 4 updates in 153.2 s | — |
| original/registered-only | Other original signed treatments and sealed evaluation | Superseded in this campaign | See calibrated arms below | Deferred |

### Difficulty and learning controls

| Run | Treatment or measurement | Status | Development or pilot result | Held-out result |
| --- | --- | --- | --- | --- |
| [screen/one-registered](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/screen.json) | Frozen solver, greedy trace | Complete | 0/16 (0.0%) | — |
| [screen/one-demonstrated](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/screen.json) | Frozen solver, greedy trace | Complete | 15/16 (93.8%) | — |
| [screen/two-add-registered](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/screen.json) | Frozen solver, greedy trace | Complete | 0/16 (0.0%) | — |
| [screen/two-add-demonstrated](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/screen.json) | Frozen solver, greedy trace | Complete | 9/16 (56.2%) | — |
| [screen/two-mixed-registered](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/screen.json) | Frozen solver, greedy trace | Complete | 0/16 (0.0%) | — |
| [screen/two-mixed-demonstrated](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/screen.json) | Frozen solver, greedy trace | Complete | 12/16 (75.0%) | — |
| [screen/registered-registered](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/screen.json) | Frozen solver, greedy trace | Complete | 0/16 (0.0%) | — |
| [screen/registered-demonstrated](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/screen.json) | Frozen solver, greedy trace | Complete | 2/16 (12.5%) | — |
| [learnability/confirm](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/confirm.json) | Fresh difficulty confirmation, greedy trace | Complete | 31/48 (64.6%) | — |
| [learnability/audit](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/audit.json) | Frozen balanced verdicts at J1/J2/J3 and visible J3 twins | Complete | 46.9% / 40.6% / 40.6%, twins 0/16 | — |
| [validation/base](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/evaluations/base.json) | Frozen solver, independent validation | Complete | 153/256 (59.8%) | — |
| [validation/learn-oracle-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/evaluations/learn-oracle-17.json) | Solver, exact reward, independent validation | Complete | 246/256 (96.1%) | — |
| [validation/learn-shuffle-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/results/learnability/evaluations/learn-shuffle-17.json) | Solver, shuffled exact reward, independent validation | Complete | 68/256 (26.6%) | — |

### Main solver and judge study

| Run | Treatment or measurement | Status | Development or pilot result | Held-out result |
| --- | --- | --- | --- | --- |
| [calibrated/base](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/base) | Frozen starting solver | Development complete | 20/32 (62.5%) | Deferred |
| [calibrated/d3-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/d3-17) | Fresh solver, D3, seed 17 | Development complete | 3/32 (9.4%) | Deferred |
| [calibrated/d2-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/d2-17) | Fresh solver, D2, seed 17 | Development complete | 25/32 (78.1%) | Deferred |
| [calibrated/d1-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/d1-17) | Fresh solver, D1, seed 17 | Development complete | 21/32 (65.6%) | Deferred |
| [calibrated/flat-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/flat-17) | Fresh solver, three independent votes, seed 17 | Development complete | 24/32 (75.0%) | Deferred |
| [calibrated/oracle-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/oracle-17) | Fresh solver, exact trace, seed 17 | Development complete | 32/32 (100.0%) | Deferred |
| [calibrated/hybrid-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/hybrid-17) | Fresh solver, J3 and checker, seed 17 | Development complete | 31/32 (96.9%) | Deferred |
| [calibrated/shuffle-17](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/shuffle-17) | Fresh solver, within-group shuffled J3, seed 17 | Development complete | 5/32 (15.6%) | Deferred |
| [calibrated/exact-j1](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/exact-j1) | J1 learns from exact full report | Development complete | 20/32 (62.5%) | Deferred |
| [calibrated/exact-j2](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/exact-j2) | J2 learns from exact full report | Development complete | 15/32 (46.9%) | Deferred |
| [calibrated/exact-j3](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/exact-j3) | J3 learns from exact full report | Development complete | 10/32 (31.2%) | Deferred |
| [calibrated/top-j2](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/top-j2) | J2 learns from exact-j3 | Development complete | 14/32 (43.8%) | Deferred |
| [calibrated/top-j1](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/top-j1) | J1 learns from top-j2 | Development complete | 16/32 (50.0%) | Deferred |
| [calibrated/exact-prefix1](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/exact-prefix1) | Fresh solver, D3, 1 exact-trained judge, seed 17 | Development complete | 24/32 (75.0%) | Deferred |
| [calibrated/exact-prefix2](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/exact-prefix2) | Fresh solver, D3, 2 exact-trained judges, seed 17 | Development complete | 4/32 (12.5%) | Deferred |
| [calibrated/exact-prefix3](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/exact-prefix3) | Fresh solver, D3, 3 exact-trained judges, seed 17 | Development complete | 25/32 (78.1%) | Deferred |
| [calibrated/top-prefix1](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/top-prefix1) | Fresh solver, D3, 1 top-down judge, seed 17 | Development complete | 2/32 (6.2%) | Deferred |
| [calibrated/top-prefix2](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/top-prefix2) | Fresh solver, D3, 2 top-down judges, seed 17 | Development complete | 31/32 (96.9%) | Deferred |
| [calibrated/top-prefix3](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/top-prefix3) | Fresh solver, D3, 3 top-down judges, seed 17 | Development complete | 28/32 (87.5%) | Deferred |
| [calibrated/alt-exact-j1](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/alt-exact-j1) | J1 learns from exact full report, continuing exact-j1 | Development complete | 20/32 (62.5%) | Deferred |
| [calibrated/alt-exact-j2](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/alt-exact-j2) | J2 learns from exact full report, continuing exact-j2 | Development complete | 15/32 (46.9%) | Deferred |
| [calibrated/alt-exact-j3](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/alt-exact-j3) | J3 learns from exact full report, continuing exact-j3 | Development complete | 10/32 (31.2%) | Deferred |
| [calibrated/alt-exact-solver](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/alt-exact-solver) | Continue solver, D3, 3 exact-trained judges, seed 17 | Development complete | 2/32 (6.2%) | Deferred |
| [calibrated/alt-top-j3](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/alt-top-j3) | J3 learns from exact full report, continuing exact-j3 | Development complete | 10/32 (31.2%) | Deferred |
| calibrated/alt-top-j2 | J2 learns from alt-top-j3, continuing top-j2 | Deferred | Pending | Deferred |
| calibrated/alt-top-j1 | J1 learns from alt-top-j2, continuing top-j1 | Deferred | Pending | Deferred |
| calibrated/alt-top-solver | Continue solver, D3, 3 top-down judges, seed 17 | Deferred | Pending | Deferred |
| calibrated/d3-29 | Fresh solver, D3, seed 29 | Deferred | Pending | Deferred |
| calibrated/d2-29 | Fresh solver, D2, seed 29 | Deferred | Pending | Deferred |
| calibrated/flat-29 | Fresh solver, three independent votes, seed 29 | Deferred | Pending | Deferred |
| calibrated/d3-43 | Fresh solver, D3, seed 43 | Deferred | Pending | Deferred |
| calibrated/d2-43 | Fresh solver, D2, seed 43 | Deferred | Pending | Deferred |
| calibrated/flat-43 | Fresh solver, three independent votes, seed 43 | Deferred | Pending | Deferred |

### Matched trained judge depths

| Run | Treatment or measurement | Status | Development or pilot result | Held-out result |
| --- | --- | --- | --- | --- |
| [calibrated/exact-depth1](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/exact-depth1) | Fresh solver, D1, 1 exact-trained judge, seed 17 | Development complete | 20/32 (62.5%) | Deferred |
| [calibrated/exact-depth2](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/exact-depth2) | Fresh solver, D2, 2 exact-trained judges, seed 17 | Development complete | 20/32 (62.5%) | Deferred |
| [calibrated/top-depth1](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/top-depth1) | Fresh solver, D1, 1 top-down judge, seed 17 | Development complete | 25/32 (78.1%) | Deferred |
| [calibrated/top-depth2](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/top-depth2) | Fresh solver, D2, 2 top-down judges, seed 17 | Paused · 20/256 logged, checkpoint 16 | Pending | Deferred |
| [replay/exact](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/matched-depth) | Frozen fitted stack, J1/J2/J3 on identical base traces | Development complete | 20/32 · 20/32 · 20/32 | Deferred |
| [replay/top](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/calibrated/matched-depth) | Frozen fitted stack, J1/J2/J3 on identical base traces | Development complete | 20/32 · 18/32 · 18/32 | Deferred |

### Final evaluation and transfer

| Run | Treatment or measurement | Status | Development or pilot result | Held-out result |
| --- | --- | --- | --- | --- |
| analysis/primary | D3 minus D2, paired across seeds 17, 29 and 43 | Deferred | — | Pending |
| analysis/flat | D3 minus three independent votes, same seeds | Deferred | — | Pending |
| cohort/test | Primary arithmetic, 2,048 questions per solver | Deferred | — | Pending |
| cohort/layout | Reserved tree layouts, 128 questions per solver | Deferred | — | Pending |
| cohort/long | Longer expressions, 128 questions per solver | Deferred | — | Pending |
| cohort/original-difficulty | Signed arithmetic, 2,048 questions per solver | Deferred | — | Pending |
| cohort/mechanism | Familiar evidence and layout, 128 evidence pairs, visible and masked | Deferred | — | Pending |
| cohort/unseen-evidence | Unseen error pattern, 128 evidence pairs, visible and masked | Deferred | — | Pending |
| cohort/layout-evidence | Reserved layout, 128 evidence pairs, visible and masked | Deferred | — | Pending |
| cohort/transfer-evidence | Unseen error and reserved layout, 128 evidence pairs, visible and masked | Deferred | — | Pending |

### Newer frozen Qwen judges

| Run | Treatment or measurement | Status | Development or pilot result | Held-out result |
| --- | --- | --- | --- | --- |
| [new-judges/runtime-format-pilot](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/runtime-format-pilot) | Qwen3.5-9B server-output formatting diagnostic | Archived, invalid scoring | Empty reasoning wrapper on 65/65 delivered messages. No accuracy estimate. | — |
| [new-judges/q35-9b-ollama](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/q35-9b-ollama) | Qwen3.5-9B frozen, Ollama Q4_K_M deployment replicate | Complete | J3 verdict 43/64, twins 1/32, masked 0/32 | — |
| [new-judges/q35-4b-ollama](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/q35-4b-ollama) | Qwen3.5-4B frozen, Ollama Q4_K_M deployment replicate | Complete | J3 verdict 32/64, twins 1/32, masked 0/32 | — |
| [new-judges/q25-1p5b](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/q25-1p5b) | Qwen2.5-1.5B-Instruct frozen, same-runtime screen | Complete | J3 verdict 28/64, twins 0/32, masked 0/32 | — |
| [new-judges/q35-4b](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/q35-4b) | Qwen3.5-4B frozen, same-runtime screen | Complete | J3 verdict 35/64, twins 7/32, masked 0/32 | — |
| [new-judges/q35-9b](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/q35-9b) | Qwen3.5-9B frozen, same-runtime screen | Complete | J3 verdict 43/64, twins 4/32, masked 0/32 | — |
| [new-judges/q38-27b](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/q38-27b) | Qwen3.8-27B frozen, same-runtime screen | Incomplete, sustained latency | The 4 pilot calls averaged 2.56 seconds. Stopped after 51 scored requests. Consecutive requests exceeded the 30-second ceiling and the slowdown persisted after reloading the same file. No cohort accuracy estimate | — |
| [new-judges/q38-27b-iq1s](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/q38-27b-iq1s) | Frozen 27B IQ1_S, fresh screen conditional on sustained latency at higher precision | Complete | J3 verdict 36/64, twins 5/32, masked 0/32 | — |
| [new-judges/confirm-control](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/confirm-control) | Frozen Qwen2.5 control, fresh confirmation | Complete | J3 verdict 61/128, twins 1/64, masked 0/64 | — |
| [new-judges/confirm-winner](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/confirm-winner) | Selected newer frozen judge, fresh confirmation · Qwen3.5-4B | Complete | J3 verdict 73/128, twins 10/64, masked 0/64 | — |
| [new-judges/winner-d1](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/winner-d1) | Fresh Qwen2.5 solver, selected frozen J1 reward, seed 17 (addendum) · Qwen3.5-4B | Evaluated | 18/32 (56.2%) exact solver traces | — |
| [new-judges/winner-d2](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/winner-d2) | Fresh Qwen2.5 solver, selected frozen J2 reward, seed 17 · Qwen3.5-4B | Evaluated | 29/32 (90.6%) exact solver traces | — |
| [new-judges/winner-d3](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/new-judges/winner-d3) | Fresh Qwen2.5 solver, selected frozen J3 reward, seed 17 · Qwen3.5-4B | Evaluated | 27/32 (84.4%) exact solver traces | — |

### Solver hardware and train-split calibration

| Run | Treatment or measurement | Status | Development or pilot result | Held-out result |
| --- | --- | --- | --- | --- |
| [solver-fit/original-nf4](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/solver-fit/original-nf4) | Qwen/Qwen2.5-1.5B-Instruct, NF4, disposable GRPO update | One update completed | 10/16 exact before the update | — |
| [solver-fit/original-bf16](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/solver-fit/original-bf16) | Qwen/Qwen2.5-1.5B-Instruct, BF16, disposable GRPO update | One update completed | 9/16 exact before the update | — |
| solver-fit/original-int8 | Qwen/Qwen2.5-1.5B-Instruct, INT8, disposable GRPO update | Skipped after BF16 fit | — | — |
| [solver-fit/base-2b](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/tree/main/results/solver-fit/base-2b) | Qwen/Qwen3.5-2B-Base, NF4, disposable GRPO update | One update completed | 12/16 exact before the update | — |

</details>

## Matched accuracy by judge depth

Each column adds one review of the preceding judge. Judge 1 checks the solver, Judge 2 checks Judge 1, and Judge 3 checks Judge 2. Across a solver-training row only the depth of its reward changes. All solver comparisons here use seed 17.

### Development solver accuracy

Every solver answers the same 32 questions. A solution is correct when every intermediate value is correct. Fitted judges stay frozen during solver updates.

| Training condition | One judge · J1 | Two judges · J2 checks J1 | Three judges · J3 checks J2 |
| --- | --- | --- | --- |
| Only solver trained · original judges | 21/32 (65.6%) | 25/32 (78.1%) | 3/32 (9.4%) |
| Exact-trained judges, then solver | 20/32 (62.5%) | 20/32 (62.5%) | 25/32 (78.1%) |
| Top-down-trained judges, then solver | 25/32 (78.1%) | Pending | 28/32 (87.5%) |

With judges first trained on exact labels, the one-judge and two-judge solver runs wrote identical text on 1,024/1,024 training completions. Their applied rewards matched on 1,024/1,024, with 1,024 and 1,024 positive rewards respectively. Their solver outputs also matched on 32/32 development questions.

### Development judge verdict accuracy

Every judge grades the same 32 saved responses from the starting solver. A verdict is correct when it agrees with the arithmetic checker. In all judge-only conditions the solver itself stays at 20/32 (62.5%) on the 32 solver-evaluation questions.

| Training condition | One judge · J1 | Two judges · J2 checks J1 | Three judges · J3 checks J2 |
| --- | --- | --- | --- |
| Original frozen judges | 19/32 (59.4%) | 19/32 (59.4%) | 17/32 (53.1%) |
| Exact labels · only final judge trained | 20/32 (62.5%) | 19/32 (59.4%) | 18/32 (56.2%) |
| Exact labels · all participating judges trained | 20/32 (62.5%) | 20/32 (62.5%) | 20/32 (62.5%) |
| Top-down supervision · only final judge trained | 20/32 (62.5%) | 19/32 (59.4%) | 18/32 (56.2%) |
| Top-down supervision · all participating judges trained | 20/32 (62.5%) | 18/32 (56.2%) | 18/32 (56.2%) |

On the original frozen judges’ row, Judge 3 fixed Judge 2’s verdict on 0/32 answers and introduced a grading error on 2/32. Always accepting scores 20/32 (62.5%) on these same responses. The stack trained on exact labels approved all 32 answers at every depth, including all 12 incorrect solutions. The stack trained top-down approved 32, 30, 30 answers at depths one, two and three, respectively. It accepted all 12 incorrect solutions at every depth.

<details><summary>Every verdict Judge 3 changed on the starting solver’s saved answers</summary>

| Problem | Starting solver wrote | Correct steps | Judge 2 | Judge 3 | Effect |
| --- | --- | --- | --- | --- | --- |
| <code>(46 + 3) - 10</code> | <code>56,46</code> | <code>49,39</code> | Endorses Judge 1 and supports the value 46. Rejects the solver and says step 1 should be 46.<br><code>1,0,46,0,1,46</code> | Flags field 3 of Judge 2 and proposes 46. Accepts the solver and gives 46 as its final value.<br><code>0,3,46,1,0,46</code> | Introduced a grading error |
| <code>(1 + 6) - 6</code> | <code>-5,-1</code> | <code>7,1</code> | Invalid review flag -1. Its solver fields say “Accepts the solver and gives -5 as its final value.” The effective verdict is reject.<br><code>-1,-1,-5,1,0,-5</code> | Endorses Judge 2 and supports the value -5. Accepts the solver and gives -5 as its final value.<br><code>1,0,-5,1,0,-5</code> | Introduced a grading error |

</details>

“Only final judge trained” fits the judge used for that column’s terminal decision and uses original judges for preceding calls. “All participating judges trained” uses fitted adapters at every depth. Top-down training uses the shared exact-trained Judge 3. Pending cells have no completed matched measurement. [Matched comparison protocol](reports/matched-depth-protocol.md)

## Newer frozen judges on fixed solver answers

Every depth grades the same solver responses within a cohort. A visible-pair success requires both complete audit records and the exact numerical correction. Each balanced problem contributes one valid trace and one invalid trace. The last column counts Judge 2 errors that Judge 3 fixed, followed by correct Judge 2 verdicts that Judge 3 overturned.

| Model and cohort | J1 verdict | J2 verdict | J3 verdict | J3 visible pairs | J3 masked pairs | J3 fixes / new errors |
| --- | --- | --- | --- | --- | --- | --- |
| Qwen3.5-9B · deployment replicate · balanced | 37/64 | 44/64 | 43/64 | 1/32 | 0/32 | 0 / 1 |
| Qwen3.5-9B · deployment replicate · natural | 23/32 | 24/32 | 24/32 | — | — | 0 / 0 |
| Qwen3.5-4B · deployment replicate · balanced | 32/64 | 32/64 | 32/64 | 1/32 | 0/32 | 0 / 0 |
| Qwen3.5-4B · deployment replicate · natural | 26/32 | 26/32 | 26/32 | — | — | 0 / 0 |
| Qwen2.5-1.5B-Instruct · screen · balanced | 32/64 | 28/64 | 28/64 | 0/32 | 0/32 | 16 / 16 |
| Qwen2.5-1.5B-Instruct · screen · natural | 23/32 | 19/32 | 13/32 | — | — | 4 / 10 |
| Qwen3.5-4B · screen · balanced | 35/64 | 35/64 | 35/64 | 7/32 | 0/32 | 0 / 0 |
| Qwen3.5-4B · screen · natural | 24/32 | 24/32 | 24/32 | — | — | 0 / 0 |
| Qwen3.5-9B · screen · balanced | 36/64 | 45/64 | 43/64 | 4/32 | 0/32 | 3 / 5 |
| Qwen3.5-9B · screen · natural | 24/32 | 23/32 | 24/32 | — | — | 1 / 0 |
| Qwen3.8-27B · amended screen · balanced | 35/64 | 35/64 | 36/64 | 5/32 | 0/32 | 1 / 0 |
| Qwen3.8-27B · amended screen · natural | 20/32 | 14/32 | 13/32 | — | — | 0 / 1 |
| Qwen2.5-1.5B-Instruct · confirmation · balanced | 64/128 | 63/128 | 61/128 | 1/64 | 0/64 | 23 / 25 |
| Qwen3.5-4B · confirmation · balanced | 72/128 | 73/128 | 73/128 | 10/64 | 0/64 | 0 / 0 |

Qwen3.5-9B · Archived, invalid scoring. Empty reasoning wrapper on 65/65 delivered messages. No accuracy estimate.

Qwen3.8-27B · Incomplete, sustained latency. The 4 pilot calls averaged 2.56 seconds. Stopped after 51 scored requests. Consecutive requests exceeded the 30-second ceiling and the slowdown persisted after reloading the same file. No cohort accuracy estimate.

<details>
<summary>Tokens and time used by each scored model file</summary>

Qwen3.5-9B (deployment replicate, Ollama-Qwen3.5-9B-Q4_K_M.gguf) used 191,377 input and 4,963 output tokens in 241.4 seconds of end-to-end calls.

Qwen3.5-4B (deployment replicate, Ollama-Qwen3.5-4B-Q4_K_M.gguf) used 191,363 input and 4,918 output tokens in 158.2 seconds of end-to-end calls.

Qwen2.5-1.5B-Instruct (screen, qwen2.5-1.5b-instruct-q4_k_m.gguf) used 189,653 input and 5,036 output tokens in 61.3 seconds of end-to-end calls.

Qwen3.5-4B (screen, Qwen3.5-4B-Q4_K_M.gguf) used 191,362 input and 4,918 output tokens in 162.2 seconds of end-to-end calls.

Qwen3.5-9B (screen, Qwen3.5-9B-Q4_K_M.gguf) used 191,371 input and 5,018 output tokens in 251.2 seconds of end-to-end calls.

Qwen3.8-27B (amended screen, Qwen3.8-27B-UD-IQ1_S.gguf) used 197,374 input and 4,029 output tokens in 866.0 seconds of end-to-end calls.

Qwen2.5-1.5B-Instruct (confirmation, qwen2.5-1.5b-instruct-q4_k_m.gguf) used 298,364 input and 7,883 output tokens in 101.4 seconds of end-to-end calls.

Qwen3.5-4B (confirmation, Qwen3.5-4B-Q4_K_M.gguf) used 301,038 input and 7,660 output tokens in 262.0 seconds of end-to-end calls.

</details>

Qwen3.8-27B-UD-IQ2_XS.gguf failed the GPU fit check before generating any answers. The process has 7094.4 MiB in dedicated GPU memory, below 7539.8 MiB of weights and state.

Qwen3.8-27B-UD-IQ2_XXS.gguf failed the GPU fit check before generating any answers. The process has 7034.1 MiB in dedicated GPU memory, below 7139.4 MiB of weights and state.

<details>
<summary>Exploratory comparison of two conversions of the same model</summary>

The comparison of two conversions of the same model was exploratory. Both used the same llama.cpp CUDA executable. The experiment varies each complete model file, so a specific conversion difference cannot be identified as the cause.

Qwen3.5-9B passed 4/32 whole pairs with the Unsloth release and 1/32 with the Ollama release. Of 64 matched visible reviews, 64 had identical messages, 64 had identical rendered prompts, 64 had equal input token counts and 39 produced identical output text.

Qwen3.5-4B passed 7/32 whole pairs with the Unsloth release and 1/32 with the Ollama release. Of 64 matched visible reviews, 64 had identical messages, 64 had identical rendered prompts, 64 had equal input token counts and 27 produced identical output text.

</details>

Among the completed original screens, Qwen3.5-4B ranked first. The amended ranking included the completed lower-precision 27B screen.

The screen selected Qwen3.5-4B (Qwen3.5-4B-Q4_K_M.gguf) for independent confirmation against the original frozen model.

The candidate-minus-control difference in twins was +14.06 percentage points on 64 paired problems (95% interval +6.25 to +23.44).

The candidate-minus-control difference in balanced verdict was +9.38 percentage points on 64 paired problems (95% interval +1.56 to +17.97).

Intervals resample confirmation problems in pairs and condition on the deployed model files. The solver responses were fixed throughout this measurement. The online comparison measures learning from those rewards.

[Case identities, selection and interval audit](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/reviews/frozen-confirmation.md).

![Frozen verdict and whole-pair accuracy](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/frozen-judge-scores.png)

## Why did the two-judge and three-judge solvers diverge?

**With seed 17, training the solver with two frozen judges gave 25/32 correct solutions (78.1%). Training it with three gave 3/32 (9.4%).** The gap was 22 complete solutions (-68.75 percentage points, three minus two). Only the solver adapter learned. All judging used the frozen, original Qwen instruction model. Both solvers started from the same model and saw the same problems in the same order. An integer program graded every intermediate step. On the paired problems, only the two-judge solver was correct on 23, only the three-judge solver on 1, both on 2, and neither on 6. These are development results on the calibrated arithmetic benchmark.

The same evaluation gave 20/32 for the starting solver, 21/32 for one judge, 24/32 for three independent votes, 32/32 for the exact checker, 31/32 for the third judge gated by the exact checker, 5/32 for shuffled three-judge rewards.

### What changes if we remove Judge 3 during training or during grading?

**During training**, the final judge rewards the solver after each group of answers. Two copies of the starting solver learned separately. They then answered the same 32 development questions and earned different arithmetic scores. **During grading**, we took each copy’s saved answers and read Judge 2’s and Judge 3’s decisions on exactly that text. Each row below holds the written answers fixed.

| Final judge used for training | Solutions exactly correct | Judge 2 approved | Judge 3 approved | Grading errors Judge 3 fixed | Grading errors Judge 3 introduced |
| --- | --- | --- | --- | --- | --- |
| Judge 2 | 25/32 | 19/32 | 19/32 | 0 | 0 |
| Judge 3 | 3/32 | 21/32 | 21/32 | 1 | 1 |

The solver trained with Judge 3 earns **3/32** from the integer checker whichever grader reads it. Judge 3 changed 2 decisions on that solver’s answers. It fixed 1 and introduced 1. The **22-solution gap** comes from comparing the answers the two solvers wrote after separate training runs.

On the Judge 2-trained solver’s answers, Judges 2 and 3 agreed with the checker on 16/32 and 16/32, respectively. On the Judge 3-trained solver’s answers those figures were 12/32 and 12/32. Their entire six-number reports were identical on 24/32 of the latter answers. The accept/reject decision matched on 30/32. [Two-judge answers](results/calibrated/d2-17/replay.jsonl) · [Three-judge answers](results/calibrated/d3-17/replay.jsonl)

Judge 3 changed the following verdicts on the three-judge-trained solver’s saved answers.

| Problem | Submitted steps | Correct steps | Judge 2 | Judge 3 |
| --- | --- | --- | --- | --- |
| (36 - 7) + 7 | 8,15 | 29,36 | Accepted | Rejected |
| (1 + 6) - 6 | -5,-1 | 7,1 | Rejected (invalid audit flag -1) | Accepted |

### What did the solvers and judges actually write?

On 23 problems only the two-judge-trained solver wrote a correct solution. When the graders read the other solver’s wrong answers on those problems, both approved 15, both rejected 7, Judge 3 caught 1 that Judge 2 approved, and Judge 3 approved 0 that Judge 2 rejected. In the reverse direction, only the three-judge-trained solver solved 1/32.

Judge 1 writes three numbers. The first is its verdict (1 means accept, 0 means reject). The second is the first wrong step (0 means none). The third is the final value it certifies on acceptance or the correct value at the first faulty step on rejection. On <code>(39 + 12) - 5</code>, <code>1,0,46</code> means “accept, no wrong step, final value is 46.” For <code>16,11</code> on the same problem, the checker gives <code>0,1,51</code> because step 1 should be 51. Judge 1 actually wrote <code>1,0,16</code>, meaning “accept, no wrong step, final value is 16.” The solver’s own final value was 11.

Each pair shows the same question answered by each solver. The judge cells give the decision on the solver and the literal output, including any incorrect evidence. For Judges 2 and 3, the first three numbers review the preceding judge. Field four gives the verdict on the solution. Judge 3 also read the two-judge-trained solver’s answers in this replay.

| Problem → exact steps | Training reward | Solver wrote | Judge 1 | Judge 2 | Judge 3 |
| --- | --- | --- | --- | --- | --- |
| <code>(39 + 12) - 5</code> → <code>51,46</code> | Judge 2 | <code>51,46</code> · correct | Accepts the solver and gives 46 as its final value.<br><code>1,0,46</code> | Endorses Judge 1 and supports the value 46. Accepts the solver and gives 46 as its final value.<br><code>1,0,46,1,0,46</code> | Endorses Judge 2 and supports the value 46. Accepts the solver and gives 46 as its final value.<br><code>1,0,46,1,0,46</code> |
| ↳ same problem | Judge 3 | <code>16,11</code> · wrong | Accepts the solver and gives 16 as its final value.<br><code>1,0,16</code> | Endorses Judge 1 and supports the value 16. Accepts the solver and gives 16 as its final value.<br><code>1,0,16,1,0,16</code> | Endorses Judge 2 and supports the value 16. Accepts the solver and gives 16 as its final value.<br><code>1,0,16,1,0,16</code> |
| <code>(36 - 7) + 7</code> → <code>29,36</code> | Judge 2 | <code>29,36</code> · correct | Accepts the solver and gives 36 as its final value.<br><code>1,0,36</code> | Endorses Judge 1 and supports the value 36. Accepts the solver and gives 36 as its final value.<br><code>1,0,36,1,0,36</code> | Endorses Judge 2 and supports the value 36. Accepts the solver and gives 36 as its final value.<br><code>1,0,36,1,0,36</code> |
| ↳ same problem | Judge 3 | <code>8,15</code> · wrong | Accepts the solver and gives 15 as its final value.<br><code>1,0,15</code> | Endorses Judge 1 and supports the value 15. Accepts the solver and gives 15 as its final value.<br><code>1,0,15,1,0,15</code> | Endorses Judge 2 and supports the value 15. Rejects the solver and says step 1 should be 15.<br><code>1,0,15,0,1,15</code> |
| <code>(35 + 8) - 1</code> → <code>43,42</code> | Judge 2 | <code>43,42</code> · correct | Accepts the solver and gives 42 as its final value.<br><code>1,0,42</code> | Endorses Judge 1 and supports the value 42. Rejects the solver and says step 1 should be 42.<br><code>1,0,42,0,1,42</code> | Endorses Judge 2 and supports the value 42. Rejects the solver and says step 1 should be 42.<br><code>1,0,42,0,1,42</code> |
| ↳ same problem | Judge 3 | <code>6,59</code> · wrong | Accepts the solver and gives 59 as its final value.<br><code>1,0,59</code> | Endorses Judge 1 and supports the value 59. Rejects the solver and says step 1 should be 59.<br><code>1,0,59,0,1,59</code> | Endorses Judge 2 and supports the value 59. Rejects the solver and says step 1 should be 59.<br><code>1,0,59,0,1,59</code> |
| <code>(22 - 10) + 12</code> → <code>12,24</code> | Judge 2 | <code>12,14</code> · wrong | Accepts the solver and gives 14 as its final value.<br><code>1,0,14</code> | Endorses Judge 1 and supports the value 14. Accepts the solver and gives 14 as its final value.<br><code>1,0,14,1,0,14</code> | Endorses Judge 2 and supports the value 14. Accepts the solver and gives 14 as its final value.<br><code>1,0,14,1,0,14</code> |
| ↳ same problem | Judge 3 | <code>12,24</code> · correct | Accepts the solver and gives 24 as its final value.<br><code>1,0,24</code> | Endorses Judge 1 and supports the value 24. Accepts the solver and gives 24 as its final value.<br><code>1,0,24,1,0,24</code> | Endorses Judge 2 and supports the value 24. Accepts the solver and gives 24 as its final value.<br><code>1,0,24,1,0,24</code> |

The examples show the first well-formatted case available for each observed verdict pattern and the first reverse outcome. [All 32 paired outputs and judge reports](reports/reviews/paired-outputs-seed-17.md)

### What changed during training?

On the same 1,024 training answers sampled by the three-judge solver, Judge 3 fixed 58 of Judge 2’s verdicts and spoiled 44. Both judges made the same reward decision on 922 samples and different decisions on 102 (10.0%). A previously correct grade became wrong on 4.3% of all samples. Substituting Judge 2’s reward would have changed the relative credits in **81/256 optimizer updates**. Each GRPO update compares four answers to one question. When gradings change early on, the solvers can learn different answers and receive different training data at subsequent updates. [GRPO advantage calculation](https://huggingface.co/docs/trl/grpo_trainer#computing-the-advantage)

Reading each frozen verdict on exactly the same sampled answers measures the change in reward for correct and incorrect arithmetic. A positive rate difference means correct answers receive reward more often.

| Frozen reward source | Correct answers rewarded | Wrong answers rewarded | Correct minus wrong rate (pp) |
| --- | --- | --- | --- |
| Judge 2 | 104/144 (72.2%) | 599/880 (68.1%) | +4.2 |
| Judge 3 | 88/144 (61.1%) | 569/880 (64.7%) | -3.5 |

| Exact grade of the training answer | Judge 2 rejected → Judge 3 accepted | Judge 2 accepted → Judge 3 rejected |
| --- | --- | --- |
| Correct | 1 | 17 |
| Wrong | 27 | 57 |

During its own training run, the two-judge solver generated 648/1,024 exact answers and received 751 positive rewards. The three-judge solver generated 144/1,024 exact answers and received 657 positive rewards. Each run sampled from its own evolving solver.

| Within the same training question | Correct answer ranks higher | Tied | Wrong answer ranks higher |
| --- | --- | --- | --- |
| Judge 2 on those answers | 28 | 81 | 25 |
| Judge 3 on those answers | 22 | 84 | 28 |

Each column pair below splits the assigned rewards by the independent arithmetic grade. All four training quarters use the same question schedule across runs, and each solver samples its own answers.

| Updates | J2-trained solver correct | J2 paid correct | J2 paid wrong | J3-trained solver correct | J3 paid correct | J3 paid wrong |
| --- | --- | --- | --- | --- | --- | --- |
| 1–64 | 105/256 | 83 | 103 | 80/256 | 59 | 114 |
| 65–128 | 170/256 | 130 | 56 | 42/256 | 24 | 134 |
| 129–192 | 187/256 | 141 | 49 | 7/256 | 3 | 152 |
| 193–256 | 186/256 | 136 | 53 | 15/256 | 2 | 169 |

In the last quarter Judge 3 rewarded **2/15 correct attempts** and **169/241 wrong attempts**. On these identical late answers, Judge 2 would have rewarded 4/15 correct attempts and 176/241 wrong ones. Both grades depend on which answers the evolving solver produces. These trajectories establish when the gap appeared. The contributions of individual updates and seed variation remain distinct questions.

![Fraction of training answers exactly correct and fraction rewarded in each quarter for both solvers](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/depth-trajectory.png)

We also compared the **two actual training runs** while matching the prompt, all four solver texts and all Judge 1 and Judge 2 reports word for word. This held at 29/256 updates. The reward used in each run gave the samples different relative credit at 9 of these matched updates.

At optimizer update 20, the three-judge run sampled four answers to `(18 - 11) - 3`. The table shows the first group in which Judge 2 graded every sample correctly and Judge 3 both removed a correct answer’s reward and awarded a wrong answer. Each duplicate was a separate sampled completion with its own sampled judge reports. Both runs sampled these same four answers and produced the same lower reports. The last two columns show the rewards used in the two training runs.

| Solver wrote | Exact checker | Judge 2 reward used for training | Judge 3 reward used for training |
| --- | --- | --- | --- |
| 7,4 | correct | **1** · Endorses Judge 1 and supports the value 4. Accepts the solver and gives 4 as its final value.<br><code>1,0,4,1,0,4</code> | **0** · Flags field 2 of Judge 2 and proposes 4. Rejects the solver and says step 1 should be 0.<br><code>0,2,4,0,1,0</code> |
| 7,4 | correct | **1** · Endorses Judge 1 and supports the value 4. Accepts the solver and gives 4 as its final value.<br><code>1,0,4,1,0,4</code> | **1** · Endorses Judge 2 and supports the value 4. Accepts the solver and gives 4 as its final value.<br><code>1,0,4,1,0,4</code> |
| 5,2 | wrong | **0** · Endorses Judge 1 and supports the value 3. Rejects the solver and says step 1 should be 5.<br><code>1,0,3,0,1,5</code> | **0** · Endorses Judge 2 and supports the value 3. Rejects the solver and says step 1 should be 5.<br><code>1,0,3,0,1,5</code> |
| 5,2 | wrong | **0** · Endorses Judge 1 and supports the value 3. Rejects the solver and says step 1 should be 2.<br><code>1,0,3,0,1,2</code> | **1** · Flags field 2 of Judge 2 and proposes 3. Accepts the solver and gives 3 as its final value.<br><code>0,2,3,1,0,3</code> |

Judge 2 rewarded **2/2 correct attempts** and **0/2 wrong attempts**. Judge 3 rewarded **1/2 correct attempts** and **1/2 wrong attempts**. Each individual attempt received either one point or zero. Across the run, **1/256 groups** met the selection rule for this example. In **219/256 groups**, Judge 3 introduced zero new grading errors.

[Two-judge training records](results/calibrated/d2-17/rollouts.jsonl) · [Three-judge training records](results/calibrated/d3-17/rollouts.jsonl)

The two-judge solver gave the correct first value on 32/32 development problems. The three-judge solver gave a wrong first value on 28 and a malformed answer on 1. In 20 cases it applied the second operation correctly to its own wrong intermediate value. Judge 3 rewarded 357/508 training answers with that error pattern.

### Could a code bug or a training seed explain it?

The audit independently regraded 2,048 training answers and 64 development answers, checked the effective solution-verdict field against each assigned reward, and matched every group mean to TRL’s optimizer log. Prompts and outputs matched the training records for all 7,168 calls, including the solver answer and preceding reports shown to each judge. Both evaluated adapter hashes matched the saved weights. [Transcript and weight checks](results/calibrated/diagnostics/depth-transcripts-17.json)

These checks support a training-signal explanation. The three-judge reward frequently approved incorrect arithmetic and gave little preference to correct answers within a question. The checker-gated control shows that this solver can learn with the same three judge calls when incorrect solutions receive zero reward. The depth analysis is exploratory. The contribution of a particular stochastic update cannot be identified from these trajectories.

### Did Judge 3 actually audit the preceding review?

On a separate replay of the starting solver’s 32 development responses, Judges 1, 2 and 3 agreed with the arithmetic checker on 19, 19 and 17 verdicts, respectively. Three independent first-order votes agreed on 22. On these fixed starting responses Judge 3 repaired 0 earlier verdicts and overturned 2 correct ones.

The paired audit changes a numerical claim in Judge 2’s report while preserving the verdict on the solver. To pass a pair, Judge 3 must endorse the sound report and reject the altered one with the correct location, replacement and solution verdict.

| Judge 3 | Cohort | Correct solver verdict | Altered review located and repaired | Whole pairs correct | Whole pairs with evidence masked |
| --- | --- | --- | --- | --- | --- |
| Frozen | Development | 14/16 | 0/8 | 0/8 | 0/8 |
| Trained on exact labels | Development | 15/16 | 0/8 | 0/8 | 0/8 |
| Alternating, exact route | Development | 16/16 | 0/8 | 0/8 | 0/8 |
| Alternating, top-down route | Development | 16/16 | 0/8 | 0/8 | 0/8 |

A separate experiment keeps **all three judge calls** and varies which reviewers had already been trained before a fresh solver learned. These development scores are exact solver solutions.

| Judge supervision | Only Judge 1 trained | Judges 1 and 2 trained | All three trained |
| --- | --- | --- | --- |
| Exact verdict and evidence | 24/32 | 4/32 | 25/32 |
| Top-down learned supervision | 2/32 | 31/32 | 28/32 |

The preregistered three-seed comparison on 2,048 unseen problems is pending. [Raw training and development audit](reports/reviews/depth-diagnosis.md) · [Preregistration and decision rule](reports/preregistration.md)

## Study results

![Learning validation for the exact-reward and shuffled controls](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/raw/refs/heads/main/docs/assets/learnability.png)

Amended primary comparison is pending. Every arm uses two-add problems and demonstrated prompts.

<details>
<summary>Updates and development and held-out accuracy for every run</summary>

| Run | Updated role | Updates | Development exact | Development n | Held-out exact | Held-out n |
|---|---|---:|---:|---:|---:|---:|
| base | solver | — | 62.5% | 32 | — | 0 |
| d3-17 | solver | 256 | 9.4% | 32 | — | 0 |
| d2-17 | solver | 256 | 78.1% | 32 | — | 0 |
| d1-17 | solver | 256 | 65.6% | 32 | — | 0 |
| flat-17 | solver | 256 | 75.0% | 32 | — | 0 |
| oracle-17 | solver | 256 | 100.0% | 32 | — | 0 |
| hybrid-17 | solver | 256 | 96.9% | 32 | — | 0 |
| shuffle-17 | solver | 256 | 15.6% | 32 | — | 0 |
| exact-j1 | j1 | 256 | 62.5% | 32 | — | 0 |
| exact-j2 | j2 | 256 | 46.9% | 32 | — | 0 |
| exact-j3 | j3 | 256 | 31.2% | 32 | — | 0 |
| top-j2 | j2 | 256 | 43.8% | 32 | — | 0 |
| top-j1 | j1 | 256 | 50.0% | 32 | — | 0 |
| exact-prefix1 | solver | 256 | 75.0% | 32 | — | 0 |
| exact-prefix2 | solver | 256 | 12.5% | 32 | — | 0 |
| exact-prefix3 | solver | 256 | 78.1% | 32 | — | 0 |
| top-prefix1 | solver | 256 | 6.2% | 32 | — | 0 |
| top-prefix2 | solver | 256 | 96.9% | 32 | — | 0 |
| top-prefix3 | solver | 256 | 87.5% | 32 | — | 0 |
| alt-exact-j1 | j1 | 256 | 62.5% | 32 | — | 0 |
| alt-exact-j2 | j2 | 256 | 46.9% | 32 | — | 0 |
| alt-exact-j3 | j3 | 256 | 31.2% | 32 | — | 0 |
| alt-exact-solver | solver | 256 | 6.2% | 32 | — | 0 |
| alt-top-j3 | j3 | 256 | 31.2% | 32 | — | 0 |
| exact-depth1 | solver | 256 | 62.5% | 32 | — | 0 |
| exact-depth2 | solver | 256 | 62.5% | 32 | — | 0 |
| top-depth1 | solver | 256 | 78.1% | 32 | — | 0 |
| top-depth2 | solver | — | — | 0 | — | 0 |
| learn-oracle-17 | solver | 128 | — | 0 | — | 0 |
| learn-shuffle-17 | solver | 128 | — | 0 | — | 0 |

</details>

[How the third judge changed actual training rewards and worked examples](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/reviews/depth-diagnosis.md). [Side-by-side solver outputs and judge reports](https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning/blob/main/reports/reviews/paired-outputs-seed-17.md).

**Benchmark difficulty.** The frozen-model screen selected two-add with demonstrated prompts. On 16 screening problems it produced a mix of correct and incorrect answers on 2 problems. [All difficulty levels](reports/learnability.md).

**Solver learning.** Exact-reward training changed complete-trace accuracy on 256 fresh problems by +36.3 percentage points relative to the starting solver (paired 95% interval +30.1 to +42.6). [Shuffled control and arithmetic corrections](reports/learnability.md).

On the original signed development population, base solved 0/32, d3-17 solved 0/32.

**Untrained solver.** Every step was correct on 20 of 32 development problems. It wrote no malformed outputs. Judge 3 corrected 0 of Judge 2’s verdicts and introduced 2 errors on these traces.

**First three-judge-trained solver.** Every step was correct on 3 of 32 development problems. Of its 1 malformed output, 0 contained all correct numbers as named assignments. Judge 3 corrected 1 of Judge 2’s verdicts and introduced 1 error on these traces.

[Interactive results explorer](https://burnycoder.github.io/verifying-verifier-of-verifier-llm-reinforcement-learning/) · [Paper](reports/paper.pdf)
<!-- RESULTS:END -->

## Methodology

**Models.** The solver is [Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) at a pinned revision, loaded in NF4 with a fresh LoRA adapter per run. In the original judge family, all three judges are the same frozen backbone without an adapter, or with judge adapters fine-tuned in earlier runs. The second family uses frozen [Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B) GGUF judges served by a pinned llama.cpp build. That model was chosen by a cross-model screen, specified before inference with these judges, and confirmed on fresh problems before any solver used it. [Newer frozen Qwen protocol](reports/newer-frozen-judges.md) · [Pinned models](src/study/frozen_models.py)

**Data.** Problems come from an arithmetic sampler derived from [Reasoning Gym](https://arxiv.org/html/2505.24760v1) ([generator source](https://github.com/open-thought/reasoning-gym/blob/5aea50d292a6427f12c63c77873ec8ae945cd2c0/reasoning_gym/arithmetic/basic_arithmetic.py), Apache-2.0 notice in [`third_party/reasoning-gym`](third_party/reasoning-gym)). A learnability screen measures formatting, exact arithmetic and within-problem reward variation at increasing difficulty. A matched exact-reward and shuffled-reward pilot then checks whether training improves accuracy on fresh problems. The selected problem family and prompt style apply to every amended arm, and the frozen decision and source digests are in `results/calibrated/profile.json`. Training, development, evidence-audit and held-out problems come from disjoint ID populations. The held-out test stays sealed until a digest of every checkpoint is recorded. [Learnability protocol](reports/learnability-preregistration.md) · [Data routing](src/study/benchmark.py)

**Rewards per arm.** Every arm uses the same solver initialization, seed, prompt order and update budget, and changes only the reward. Implementation: [`src/study/training.py`](src/study/training.py).

| Arm | Role | Reward for each sampled answer |
| --- | --- | --- |
| `d3` | Method | Judge 3's solution verdict, after Judge 3 reads Judge 1's and Judge 2's reports |
| `d2`, `d1` | Baselines | Judge 2's or Judge 1's solution verdict |
| `flat` | Baseline | Majority of three independent Judge 1 votes, the same number of judge calls as `d3` |
| `oracle` | Control | Exact checker (upper reference) |
| `shuffle` | Control | Judge 3's rewards permuted within each group, which keeps the reward count and breaks the link to particular answers ([Shao et al.](https://proceedings.mlr.press/v306/shao26d.html)) |
| `base` | Control | No training |
| `hybrid` | Ablation | Judge 3's verdict multiplied by the exact checker |
| `exact-prefixN`, `top-prefixN` | Ablations | Three-judge chain whose first N judges were fine-tuned on exact labels, or top-down on the next judge's audits |
| `exact-depthN`, `top-depthN` | Ablations | Chain of depth N built from those fine-tuned judges |
| `alt-*` | Ablations | Judges and solver refreshed in alternating blocks |
| `new-judges/winner-d1`, `-d2`, `-d3` | Method and baselines | One, two or three frozen Qwen3.5-4B judges |

**Training.** TRL `GRPOTrainer` with binary rewards, group-scaled advantages, a clipped ratio and no KL term. Adapter, optimizer, RNG and Trainer state are saved at group boundaries, so an interrupted run resumes at the next complete group. Every sampled answer, every judge report, the reward used and the exact label are logged to the run's `rollouts.jsonl`. [Training code](src/study/training.py) · [Resume test](tests/test_resume.py)

**Evaluation.** The primary metric is complete-trace accuracy, the fraction of problems whose every intermediate value is correct, on the same problems for every arm. Per-arm intervals are Wilson score intervals. Differences between arms use a seeded paired bootstrap over problems ([`learnability_analysis.paired_change`](src/study/learnability_analysis.py)), so a single-seed interval describes these checkpoints and not seed-to-seed variation. Judges are scored on verdict agreement with the checker, on whole-record evidence accuracy, and on twin interventions that change one number in Judge 2's report while holding the solver's answer fixed. The registered primary estimand is the paired difference in complete-trace accuracy between three and two frozen judges on the same sealed held-out problems, averaged over seeds 17, 29 and 43. [Preregistration](reports/preregistration.md) · [Amendments](reports/amendments.md) · [Matched-depth protocol](reports/matched-depth-protocol.md)

**Scope.** Earlier work established third-order pairwise critique and proof meta-verification. We test an online reward with an executable truth label for each review field. Results apply to this shared-backbone arithmetic system and to one frozen 4B judge family. [Literature review](reports/literature-review.md) · [State-of-the-art review](reports/state-of-the-art-review.md)

## What happens when you run it

1. **`study campaign`** reads the registered manifest in [`src/study/design.py`](src/study/design.py) and runs every pending block on one GPU in dependency order. It measures a disposable timing block, locks the update budget, runs the learnability screen and then the matched matrix. Each training run writes `results/<run>/rollouts.jsonl`, `metrics.jsonl` and `monitor.jsonl`. Adapters and resumable trainer snapshots go under `STUDY_STATE`. Each development evaluation writes `replay.jsonl` and `development.json` and links to its checkpoint. Final evaluation runs only after the checkpoint seal.
2. **`study frozen-judges`** screens newer frozen GGUF judges on fixed solver answers and confirms the winner on fresh problems. **`study online-solvers`** trains solvers rewarded by that judge. Both write to `results/new-judges/`.
3. **Every model call** prints its prompt and full output to the terminal and to timestamped JSONL under `logs/`. `study dashboard` serves a live local explorer that refreshes during training.
4. **`study report`** runs on CPU. It re-verifies the raw records, recomputes every table and interval, and redraws every figure, the summary card, the poster and the animation in `docs/assets/`. It then rewrites the generated regions of this README, `reports/summary.md`, `reports/progress.md`, `reports/paper.pdf`, the experiment pages and the explorer data.
5. **`study publish --milestone NAME`**, run from `main`, rebuilds the report, commits and pushes it, and uploads the results, logs, dataset card and adapters to Hugging Face.

## Features

- A recursive judge chain with fixed numeric evidence records, where an exact checker labels every field of every report.
- One dependency-ordered run manifest that drives training, evaluation, publication and analysis.
- Role-labelled baselines, controls and ablations that change only the reward, with matched initialization, seed, prompt order and budget.
- Resumable GRPO training at group boundaries, a sealed held-out test and a checkpoint digest seal.
- Full prompt and output logs in timestamped JSONL, a live dashboard and a static explorer on [GitHub Pages](https://burnycoder.github.io/verifying-verifier-of-verifier-llm-reinforcement-learning/).
- A cross-model screen of frozen GGUF judges with independent confirmation before online use.
- One command that regenerates every number, table, figure, animation, the paper and this README's results from `results/`.
- Publication of results, logs and adapters to one [Hugging Face collection](https://huggingface.co/collections/BurnyCoder/recursive-llm-judges-for-grpo-6b081abfdc1b0975ad60b14a).

## Technologies

Exact versions are pinned in [`pyproject.toml`](pyproject.toml) and [`uv.lock`](uv.lock).

| Purpose | Library or tool |
| --- | --- |
| Environment and dependencies | Python 3.12, [uv](https://docs.astral.sh/uv/) |
| Training | [PyTorch](https://pytorch.org/) (CUDA 13.2 wheel), [Transformers](https://huggingface.co/docs/transformers), [TRL `GRPOTrainer`](https://huggingface.co/docs/trl/grpo_trainer), [PEFT LoRA](https://huggingface.co/docs/peft), [bitsandbytes NF4](https://huggingface.co/docs/bitsandbytes), [Accelerate](https://huggingface.co/docs/accelerate), [Datasets](https://huggingface.co/docs/datasets) |
| Frozen GGUF judges | [llama.cpp](https://github.com/ggml-org/llama.cpp) server (build pinned in [`src/study/frozen_gpu.py`](src/study/frozen_gpu.py)) |
| Problems | [Reasoning Gym](https://github.com/open-thought/reasoning-gym) arithmetic generator (vendored, Apache-2.0) |
| Analysis, figures and media | NumPy, [Matplotlib](https://matplotlib.org/) (Pillow GIF writer, FFmpeg MP4 writer via [imageio-ffmpeg](https://github.com/imageio/imageio-ffmpeg)) |
| Paper | [ReportLab](https://www.reportlab.com/opensource/), [pypdf](https://pypdf.readthedocs.io/) |
| Tests | [pytest](https://docs.pytest.org/) |
| Publication | GitHub, GitHub Pages, [Hugging Face Hub](https://huggingface.co/docs/huggingface_hub) |

## Installation and usage

Requirements: Python 3.12, [uv](https://docs.astral.sh/uv/getting-started/installation/), and for training an NVIDIA GPU whose driver supports the locked CUDA 13.2 PyTorch wheel. The study ran on one 8 GB GPU. Tests of the oracle logic, the report and publication run on CPU.

```sh
git clone https://github.com/BurnyCoder/verifying-verifier-of-verifier-llm-reinforcement-learning
cd verifying-verifier-of-verifier-llm-reinforcement-learning
uv sync --extra gpu          # CPU only: uv sync
uv run --extra gpu pytest
```

Copy `.env.example` to `.env` to move checkpoints and the model cache to a larger disk. Keep GitHub and Hugging Face credentials in their own credential stores, not in `.env`.

| Command | What it does |
| --- | --- |
| `uv run --extra gpu study campaign` | Runs or resumes every registered block (add `--publish` only on the owning account) |
| `uv run --extra gpu study train --run d3-17` | Trains one registered run |
| `uv run --extra gpu study evaluate --run d3-17` | Scores a trained run on development problems |
| `uv run --extra gpu study frozen-judges` | Screens and confirms frozen GGUF judges |
| `uv run --extra gpu study online-solvers` | Trains solvers rewarded by the confirmed frozen judge |
| `uv run --extra gpu study solver-fit` | One-update hardware probes of other solver precisions and backbones |
| `uv run study dashboard` | Live local explorer during training |
| `uv run study report` | Regenerates every table, figure, animation, the paper and the README results from `results/` |
| `uv run study publish --milestone NAME` | Rebuilds, pushes and uploads a milestone (owner only) |

For an independent replication next to the published results, set `STUDY_STATE` and `STUDY_RESULTS` to a fresh pair of directories, as described in `.env.example`. To load a released adapter, see [Using a published adapter](docs/usage.md#using-a-published-adapter). [Implementation guide](docs/usage.md) · [Study plan](reports/plan.md) · [Progress](reports/progress.md)

## Repository layout

| Path | Contents |
| --- | --- |
| [`src/study/`](src/study) | Sampler, prompts, judging, training, evaluation, analysis, report, figures and publication |
| [`tests/`](tests) | Tests for arithmetic, review semantics, data separation, design, statistics, resume and the full report |
| [`results/`](results) | Raw training and evaluation records for each run; every reported number is computed from here |
| [`reports/`](reports) | Preregistration, amendments, run matrix, reviews, experiment notes, summary and paper |
| [`docs/`](docs) | GitHub Pages explorer, generated figures and media, usage guide |
| `logs/` | Timestamped prompt and output logs (local; compressed copies are on Hugging Face) |
| [`third_party/reasoning-gym/`](third_party/reasoning-gym) | License and notice for the vendored generator |

## Run matrix

The first run trains only the solver against three frozen judges. Subsequent runs compare depth, flat voting, programmatic rewards, a hybrid gate and shuffled rewards. We then train the judges one at a time with exact supervision or supervision from the next judge. The final stage trains solvers against partial and complete sets of trained judges and refreshes all four roles in alternating blocks. The primary metric is complete-trace accuracy on the same held-out problems. [Run matrix](reports/planned-runs.md) · [Analysis protocol](reports/preregistration.md)

One manifest, `matrix()` in [`src/study/design.py`](src/study/design.py), lists every registered run and its dependencies. The full matrix, with model, data, training and evaluation for each run, is in [reports/planned-runs.md](reports/planned-runs.md). The status of each run is in the collapsed run inventory above and in [reports/run-inventory.md](reports/run-inventory.md).

| Group | Runs | What differs |
| --- | --- | --- |
| Solver reward, seed 17 | `d3-17`, `d2-17`, `d1-17`, `flat-17`, `oracle-17`, `hybrid-17`, `shuffle-17` | The reward rule |
| Judge fine-tuning | `exact-j1`–`exact-j3`, `top-j2`, `top-j1` | Which judge learns, from exact labels or from the next judge |
| Solver with fine-tuned judge prefixes | `exact-prefix1`–`3`, `top-prefix1`–`3` | How many of the three judges were fine-tuned |
| Alternating refresh | `alt-exact-*`, `alt-top-*` | Judges and solver retrained in turn |
| Matched depth | `exact-depth1`, `exact-depth2`, `top-depth1`, `top-depth2` | Chain depth with fine-tuned judges |
| Seed replication | `d3`, `d2` and `flat` with seeds 29 and 43 | The seed |
| Frozen Qwen3.5-4B judges | `new-judges/winner-d1`, `-d2`, `-d3` | Depth with a stronger frozen judge |
| Hardware probes | `solver-fit/original-nf4`, `original-bf16`, `base-2b` | Solver precision and backbone, one update each |

## To-do

- [ ] Complete the frozen-judge solver comparison.
- [ ] Evaluate Judge 3 on natural reviews and paired evidence changes.
- [ ] Compare exact and top-down judge supervision and alternating training.
- [ ] Resume the paused top-down two-judge solver (`top-depth2`) from its saved checkpoint.
- [ ] Train the three-judge, two-judge and flat solvers with seeds 29 and 43.
- [ ] Train the alternating top-down judges and solver (`alt-top-*`).
- [ ] Evaluate every finished checkpoint once on the sealed held-out problems.
- [ ] Release complete paired held-out results, positive and negative examples, and the reproducible analysis.
- [ ] Repeat the frozen Qwen3.5-4B solver comparison with more seeds.
- [ ] Train matched solvers from the pretraining-only [Qwen3.5-2B-Base](https://huggingface.co/Qwen/Qwen3.5-2B-Base) candidate. [Hardware protocol](reports/solver-precision.md)

The first eight items are ticked automatically by `study report` from the result files.

## References

- Shao et al. [DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models](https://arxiv.org/html/2402.03300v3), §4 (GRPO).
- Shao et al. (DeepSeek-AI). [DeepSeekMath-V2: Towards Self-Verifiable Mathematical Reasoning](https://arxiv.org/html/2511.22570v1), §2.1.2 and Appendix A.3 (meta-verification).
- Wen et al. [Scalable Oversight for Superhuman AI via Recursive Self-Critiquing](https://arxiv.org/html/2502.04675v4), §§2 and 5.
- Wu et al. [Meta-Rewarding Language Models: Self-Improving Alignment with LLM-as-a-Meta-Judge](https://arxiv.org/html/2407.19594v2), §2.
- Meta FAIR. [RLLM](https://facebookresearch.github.io/RAM/blogs/rllm/).
- Huang et al. [From Accuracy to Robustness: A Study of Rule- and Model-based Verifiers in Mathematical Reasoning](https://arxiv.org/html/2505.22203v3), §§4–5.
- Shao et al. [Spurious Rewards: Rethinking Training Signals in RLVR](https://proceedings.mlr.press/v306/shao26d.html).
- Zheng et al. [ProcessBench: Identifying Process Errors in Mathematical Reasoning](https://arxiv.org/html/2412.06559v1), §3.
- Stojanovski et al. [Reasoning Gym: Reasoning Environments for Reinforcement Learning with Verifiable Rewards](https://arxiv.org/html/2505.24760v1).
- Hu et al. [LoRA: Low-Rank Adaptation of Large Language Models](https://arxiv.org/abs/2106.09685).
- Dettmers et al. [QLoRA: Efficient Finetuning of Quantized LLMs](https://arxiv.org/abs/2305.14314).
- Wilson. [Probable Inference, the Law of Succession, and Statistical Inference](https://doi.org/10.1080/01621459.1927.10502953), JASA 22, 1927.
- Hugging Face. [TRL GRPO Trainer documentation](https://huggingface.co/docs/trl/grpo_trainer).
- Methodology guides: [Lones](https://arxiv.org/abs/2108.02497), [Lipton and Steinhardt](https://arxiv.org/abs/1807.03341), [Henderson et al.](https://arxiv.org/abs/1709.06560), [NeurIPS checklist](https://neurips.cc/public/guides/PaperChecklist).