readme-plan-check · 4b0a8de96b6c
Browse filesFiles changed (10)
40 unmodified lines414243444546474849505122 unmodified lines7475767778798041 unmodified lines122123124125126127128286 unmodified lines415416417418419420421422423424425426319 unmodified lines74674774874975075175275375475575640 unmodified lines## 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.- **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%. 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.- **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.- **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.- **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)22 unmodified lines**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.```mermaidflowchart LRP["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"]41 unmodified lines- **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 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>286 unmodified linesQwen3.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.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.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.319 unmodified lines- [ ] 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.- [ ] 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 five items are ticked automatically by `study report` from the result files.## References40 unmodified lines414243444546474849505122 unmodified lines7475767778798041 unmodified lines122123124125126127128286 unmodified lines415416417418419420421422423424425426427428429430431319 unmodified lines75175275375475575675775875976076176276376440 unmodified lines## 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)22 unmodified lines**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.```mermaidflowchart TBP["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"]41 unmodified lines- **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>286 unmodified linesQwen3.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.319 unmodified lines- [ ] 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
47 unmodified lines48495051525354555657585947 unmodified linesQwen3.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.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.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.47 unmodified lines484950515253545556575859606162636447 unmodified linesQwen3.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.
123version https://git-lfs.github.com/spec/v1oid sha256:a1496e20a7da17129965943e31c9ae8098c9a1074153e2ae2369083eccfd8060size 1250339123version https://git-lfs.github.com/spec/v1oid sha256:26c276fa51af00fd0ba253a8e64502fa472ad73ce3ff02964100176f0e498539size 1250319
117 unmodified lines118119120121122123124125126127128129117 unmodified linesQwen3.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.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.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.117 unmodified lines118119120121122123124125126127128129130131132133134117 unmodified linesQwen3.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.
28 unmodified lines29303132333428 unmodified lines- Key results label their evidence type. The one-judge frozen arm was registered after the two- and three-judge scores were known. The original-judge reward-rate comparison is a post hoc diagnosis. The controls are interventions on the reward.- Bars in the card, poster and `outcomes.png` start at zero and show Wilson intervals. Colours encode role (method, baseline, control, ablation) consistently across these figures.## Remaining limitations- Every reported solver result is one seed on 32 development problems. Seeds 29 and 43 and the sealed held-out comparison have not run.28 unmodified lines2930313233343536373839404142434445464748495028 unmodified lines- Key results label their evidence type. The one-judge frozen arm was registered after the two- and three-judge scores were known. The original-judge reward-rate comparison is a post hoc diagnosis. The controls are interventions on the reward.- Bars in the card, poster and `outcomes.png` start at zero and show Wilson intervals. Colours encode role (method, baseline, control, ablation) consistently across these figures.## Plan completeness checkA second pass checked every item of the approved restructuring plan against the repository. Gaps it found and closed:| Plan item | Gap | Fix || --- | --- | --- || Each Key results bullet states its interval and evidence type | The controls bullet had no intervals. Several bullets did not name their evidence type. | Paired differences from Judge 3 alone, with 95% intervals, for the exact, gated and shuffled arms. Each bullet now names its evidence: single seed, reward swap on logged answers, fixed-answer replay, post hoc diagnosis, or a confirmation cohort specified before inference. || Collapse bullet reports late-quarter reward rates | It reported only whole-run rates on the same answers | Added the last training quarter: 15/256 exact samples in the three-judge run against 186/256 in the two-judge run, with 169 of 241 wrong samples rewarded by Judge 3. These were re-counted from `results/calibrated/*/rollouts.jsonl`. || Glance table labelled descriptive and post hoc | "Post hoc" was missing | Added to the table note || Conversion comparisons collapsed | Only the token and time lines were collapsed | The exploratory conversion comparison is collapsed in the markdown outputs. The PDF keeps plain sentences, because ReportLab would print the HTML tag. || Data-driven to-do items for seeds 29 and 43, alternating top-down arms and sealed held-out evaluation | Only the `top-depth2` item was added | Three items added, each ticked from `results/` by `study report`. The Qwen3.5-2B-Base item stays manual because no matched run exists yet. || Tests draw the card, poster, GIF and MP4 on synthetic data | The release fixture has no starting-solver replay, so these were never drawn in tests | `tests/test_overview.py` draws all five outputs from synthetic outcomes and one synthetic logged group. It checks the GIF's seven stages and that missing evidence removes everything except the architecture figure. || Paper text | The paper still printed "No accuracy estimate.." | Fixed |Deviation kept on purpose: the Pages overview is static HTML in `docs/index.html`, and `docs/explorer.js` needed no change.## Remaining limitations- Every reported solver result is one seed on 32 development problems. Seeds 29 and 43 and the sealed held-out comparison have not run.
207 unmodified lines208209210211212213214215216217218219207 unmodified linesQwen3.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.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.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.207 unmodified lines208209210211212213214215216217218219220221222223224207 unmodified linesQwen3.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.
133 unmodified lines134135136137138139140141142143144145146147148133 unmodified linesparts.append(f"{r['model']} · {r['status']}. {r['result'].rstrip('.')}.")if usage:parts.append("<details>\n<summary>Tokens and time used by each scored model file</summary>\n\n"+"\n\n".join(usage)+"\n\n</details>")parts.extend(interpretation(study))return "\n\n".join(parts)def interpretation(study):"""Keep the matched confirmation distinct from the exploratory comparison of file conversions."""parts = [f"{f['file']} failed the GPU fit check before generating any answers. {f['reason']}." for f in study.get("fit_failures",[])]if study.get("conversions"):parts += ["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.",*study["conversions"]]decision = study["decision"]if decision:if decision.get('original_completed_selection'):133 unmodified lines134135136137138139140141142143144145146147148149150151152153133 unmodified linesparts.append(f"{r['model']} · {r['status']}. {r['result'].rstrip('.')}.")if usage:parts.append("<details>\n<summary>Tokens and time used by each scored model file</summary>\n\n"+"\n\n".join(usage)+"\n\n</details>")parts.extend(interpretation(study, collapse=True))return "\n\n".join(parts)def interpretation(study, collapse=False):"""Keep the matched confirmation distinct from the exploratory comparison of file conversions.collapse=True folds the conversion details into a markdown <details> block; the PDF keeps plain sentences."""parts = [f"{f['file']} failed the GPU fit check before generating any answers. {f['reason']}." for f in study.get("fit_failures",[])]if study.get("conversions"):notes = ["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.",*study["conversions"]]parts += (["<details>\n<summary>Exploratory comparison of two conversions of the same model</summary>\n\n"+"\n\n".join(notes)+"\n\n</details>"] if collapse else notes)decision = study["decision"]if decision:if decision.get('original_completed_selection'):
170 unmodified lines17117217317417517618 unmodified lines1951961971981992002012026 unmodified lines2092102112122132142152163 unmodified lines2202212222232242252262272282292302312322335 unmodified lines239240241242243244245170 unmodified linesf"{100*change['interval'][0]:+.1f} to {100*change['interval'][1]:+.1f}")def score(row):return f"{row['correct']}/{row['n']}"18 unmodified linesif audit:text += (f" Replayed on the three-judge run's own training answers, Judge 3 fixed {audit['fixed']} of "f"Judge 2's verdicts, introduced {audit['harmed']} errors and changed the relative GRPO credit "f"in {audit['changed_credit_groups']}/{audit['groups']} groups.")bullets.append(text)review = (data.get("depth_review") or [None])[0]deep, shallow = find.get(("original", "d3-17")), find.get(("original", "d2-17"))if deep and shallow and shallow["change"]:6 unmodified linesj2, j3 = review["same_answers_paid"]text += (f" On the same {review['n']:,} training answers, Judge 3 rewarded {100*j3['correct']/valid:.1f}% "f"of correct and {100*j3['wrong']/wrong:.1f}% of wrong answers; Judge 2 rewarded "f"{100*j2['correct']/valid:.1f}% and {100*j2['wrong']/wrong:.1f}%. Post hoc diagnosis.")bullets.append(text)controls = [(find.get(("original", key)), label) for key, label in(("oracle-17", "the exact checker"), ("hybrid-17", "Judge 3 gated by the checker"),("shuffle-17", "within-group shuffled Judge 3 rewards"))]3 unmodified linesf"Qwen2.5-1.5B-Instruct judges and seed, the solver reached {score(oracle)} with the exact "f"checker as reward (control) and {score(hybrid)} with Judge 3's verdict gated by the checker "f"(ablation), against {score(shuffle)} with Judge 3's rewards shuffled within each group "f"(control) and {score(deep) if deep else 'no score'} with Judge 3 alone.")grid = next((g for g in data.get("matched_depth", []) if g["phase"] == "development"), None)stack = (grid or {}).get("stacks", {}).get("exact")if stack:bullets.append(f"**Negative: judges trained on exact labels learned to approve everything.** The fitted "f"exact-label stack approved {', '.join(map(str, stack['approved']))} of {stack['n']} "f"starting-solver answers at depths one, two and three, including "f"{', '.join(map(str, stack['false']))} of the {stack['invalid']} incorrect ones.")frozen = data.get("newer_judges") or {}if frozen.get("review"):records = {r["key"]: r for r in frozen["results"]}5 unmodified linesf"against {c['visible']}/{c['n']} for {records['confirm-control']['model']} "f"({100*estimate['delta']:+.2f} percentage points, paired 95% interval "f"{100*estimate['ci'][0]:+.2f} to {100*estimate['ci'][1]:+.2f}). With the evidence masked, "f"both passed {w['masked']}/{w['n']} and {c['masked']}/{c['n']}.")primary = data.get("primary", {})sizes = sorted({r["n"] for r in table if r["n"]})cohort = f" on {' or '.join(map(str, sizes))} problems" if sizes else ""170 unmodified lines17117217317417517617717817918018118218 unmodified lines2012022032042052062072082096 unmodified lines2162172182192202212222232242252262272282292303 unmodified lines2342352362372382392402412422432442452462472482492505 unmodified lines256257258259260261262263170 unmodified linesf"{100*change['interval'][0]:+.1f} to {100*change['interval'][1]:+.1f}")def gap(row):"""Short form of a row's paired difference from three judges: +90.62 [+78.1, +100.0]."""c = row["change"]return f"{100*c['delta']:+.2f} [{100*c['interval'][0]:+.1f}, {100*c['interval'][1]:+.1f}]"def score(row):return f"{row['correct']}/{row['n']}"18 unmodified linesif audit:text += (f" Replayed on the three-judge run's own training answers, Judge 3 fixed {audit['fixed']} of "f"Judge 2's verdicts, introduced {audit['harmed']} errors and changed the relative GRPO credit "f"in {audit['changed_credit_groups']}/{audit['groups']} groups. The replay swaps the reward on ""logged answers without retraining.")bullets.append(text + " Single seed.")review = (data.get("depth_review") or [None])[0]deep, shallow = find.get(("original", "d3-17")), find.get(("original", "d2-17"))if deep and shallow and shallow["change"]:6 unmodified linesj2, j3 = review["same_answers_paid"]text += (f" On the same {review['n']:,} training answers, Judge 3 rewarded {100*j3['correct']/valid:.1f}% "f"of correct and {100*j3['wrong']/wrong:.1f}% of wrong answers; Judge 2 rewarded "f"{100*j2['correct']/valid:.1f}% and {100*j2['wrong']/wrong:.1f}%.")late = {arm: review[arm]["quarters"][-1] for arm in ("two", "three")}last = late["three"]text += (f" In the last quarter of training, {last['correct']}/{last['n']} of the three-judge run's "f"samples were exactly correct, against {late['two']['correct']}/{late['two']['n']} for the "f"two-judge run, and Judge 3 rewarded {last['rewarded_wrong']} of its "f"{last['n']-last['correct']} wrong samples.")seed = f" {review['seed']}" if review else ""bullets.append(text + f" Single seed{seed}; post hoc diagnosis.")controls = [(find.get(("original", key)), label) for key, label in(("oracle-17", "the exact checker"), ("hybrid-17", "Judge 3 gated by the checker"),("shuffle-17", "within-group shuffled Judge 3 rewards"))]3 unmodified linesf"Qwen2.5-1.5B-Instruct judges and seed, the solver reached {score(oracle)} with the exact "f"checker as reward (control) and {score(hybrid)} with Judge 3's verdict gated by the checker "f"(ablation), against {score(shuffle)} with Judge 3's rewards shuffled within each group "f"(control) and {score(deep) if deep else 'no score'} with Judge 3 alone. Paired differences "f"from Judge 3 alone, in percentage points with 95% intervals: exact checker {gap(oracle)}, "f"gated {gap(hybrid)}, shuffled {gap(shuffle)}. Single seed; each arm changes only the reward.")grid = next((g for g in data.get("matched_depth", []) if g["phase"] == "development"), None)stack = (grid or {}).get("stacks", {}).get("exact")if stack:bullets.append(f"**Negative: judges trained on exact labels learned to approve everything.** The fitted "f"exact-label stack approved {', '.join(map(str, stack['approved']))} of {stack['n']} "f"starting-solver answers at depths one, two and three, including "f"{', '.join(map(str, stack['false']))} of the {stack['invalid']} incorrect ones. Fixed-answer ""replay: the solver's answers stay fixed and only the judges change.")frozen = data.get("newer_judges") or {}if frozen.get("review"):records = {r["key"]: r for r in frozen["results"]}5 unmodified linesf"against {c['visible']}/{c['n']} for {records['confirm-control']['model']} "f"({100*estimate['delta']:+.2f} percentage points, paired 95% interval "f"{100*estimate['ci'][0]:+.2f} to {100*estimate['ci'][1]:+.2f}). With the evidence masked, "f"both passed {w['masked']}/{w['n']} and {c['masked']}/{c['n']}. Fixed solver answers on a ""confirmation cohort specified before inference with these judges.")primary = data.get("primary", {})sizes = sorted({r["n"] for r in table if r["n"]})cohort = f" on {' or '.join(map(str, sizes))} problems" if sizes else ""
44 unmodified lines45464748495051515 unmodified lines567568569570571572573166 unmodified lines74074174274374474544 unmodified linesreturn f"<details>\n<summary>{summary}</summary>\n\n{body.strip()}\n\n</details>\n\n" if body.strip() else ""GLANCE_NOTE = ("These are descriptive 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. "f"Pending rows have no finished development evaluation. [Preregistered primary comparison]"515 unmodified linesline(escape(f"{name}. J1, J2 and J3 verdict scores were {', '.join(scores[:3])}. Visible and masked whole-pair scores were {', '.join(scores[3:5])}. Judge 3 fixes / new errors relative to Judge 2 were {scores[5]}."))for r in data["newer_judges"]["results"]:if not r.get("metrics"):line(escape(f"{r['model']}: {r['result']}."))for finding in interpretation(data["newer_judges"]):line(escape(finding))line(f"Model sizes, pinned weights, inclusion rules and the separate follow-up protocol are available in the <link href='{GITHUB}/blob/main/reports/newer-frozen-judges.md'>newer frozen judge protocol</link>. The calibrated final assessment includes paired depth and flat-vote contrasts, signed-difficulty, layout and length transfer, natural verdict changes and visible/masked evidence interventions.")166 unmodified lines("Evaluate Judge 3 on natural reviews and paired evidence changes.", {"base","exact-j3","alt-exact-j3","alt-top-j3"} <= completed_final),("Compare exact and top-down judge supervision and alternating training.", all(r.name in completed_dev for r in schedule if not r.name.rsplit("-",1)[-1].isdigit())),("Resume the paused top-down two-judge solver (`top-depth2`) from its saved checkpoint.", "top-depth2" in completed_dev),("Release complete paired held-out results, positive and negative examples, and the reproducible analysis.",data["completed"] and "delta" in primary)]for label, done in milestones:44 unmodified lines45464748495051515 unmodified lines567568569570571572573166 unmodified lines74074174274374474574674774874975075144 unmodified linesreturn f"<details>\n<summary>{summary}</summary>\n\n{body.strip()}\n\n</details>\n\n" if body.strip() else ""GLANCE_NOTE = ("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. "f"Pending rows have no finished development evaluation. [Preregistered primary comparison]"515 unmodified linesline(escape(f"{name}. J1, J2 and J3 verdict scores were {', '.join(scores[:3])}. Visible and masked whole-pair scores were {', '.join(scores[3:5])}. Judge 3 fixes / new errors relative to Judge 2 were {scores[5]}."))for r in data["newer_judges"]["results"]:if not r.get("metrics"):line(escape(f"{r['model']}: {r['result'].rstrip('.')}."))for finding in interpretation(data["newer_judges"]):line(escape(finding))line(f"Model sizes, pinned weights, inclusion rules and the separate follow-up protocol are available in the <link href='{GITHUB}/blob/main/reports/newer-frozen-judges.md'>newer frozen judge protocol</link>. The calibrated final assessment includes paired depth and flat-vote contrasts, signed-difficulty, layout and length transfer, natural verdict changes and visible/masked evidence interventions.")166 unmodified lines("Evaluate Judge 3 on natural reviews and paired evidence changes.", {"base","exact-j3","alt-exact-j3","alt-top-j3"} <= completed_final),("Compare exact and top-down judge supervision and alternating training.", all(r.name in completed_dev for r in schedule if not r.name.rsplit("-",1)[-1].isdigit())),("Resume the paused top-down two-judge solver (`top-depth2`) from its saved checkpoint.", "top-depth2" in completed_dev),("Train the three-judge, two-judge and flat solvers with seeds 29 and 43.",all(r.name in completed_dev for r in schedule if r.seed != 17)),("Train the alternating top-down judges and solver (`alt-top-*`).",all(r.name in completed_dev for r in schedule if r.name.startswith("alt-top"))),("Evaluate every finished checkpoint once on the sealed held-out problems.",bool(completed_dev) and completed_dev <= completed_final),("Release complete paired held-out results, positive and negative examples, and the reproducible analysis.",data["completed"] and "delta" in primary)]for label, done in milestones:
78 unmodified lines79808178 unmodified linesdef test_every_registered_family_has_exactly_one_method_arm():for family in {a.family for a in ARMS}:assert sum(a.role == "Method" for a in ARMS if a.family == family) == 178 unmodified lines79808182838485868788899091929394959697989910010110210310410510610710810978 unmodified linesdef test_every_registered_family_has_exactly_one_method_arm():for family in {a.family for a in ARMS}:assert sum(a.role == "Method" for a in ARMS if a.family == family) == 1def test_summary_media_are_drawn_from_outcomes_and_removed_without_evidence(tmp_path):from PIL import Imagefrom study.visual_summary import OUTPUTS, draw_allsource = tmp_path/"calibrated"for key, outcomes in (("base", [1, 0]*16), ("d3-17", [0]*30+[1, 1]), ("d2-17", [1]*25+[0]*7),("oracle-17", [1]*32), ("shuffle-17", [0]*27+[1]*5)):write_replay(source/key, outcomes)table = glance_rows(solver_scores(source, tmp_path))quarter = dict(last_update=256, correct=15, n=256, rewarded_correct=2, rewarded_wrong=169)# One logged group in the format depth_review.group_evidence produces: (answer, exact label, J2 reward, J3 reward).example = dict(update=20, expression="(2+3)*4",samples=[("5,20", 1, 1, 0), ("5,20", 1, 1, 1), ("6,20", 0, 0, 0), ("6,20", 0, 0, 1)],reports=[["1,0,20,1,0,20", "0,2,20,0,1,5"]])review = dict(seed=17, groups=256, fixes=1, harms=2, changed_groups=3, credit_example=example,two=dict(quarters=[dict(quarter, correct=186)]), three=dict(quarters=[quarter]))out = tmp_path/"assets"out.mkdir()draw_all(table, dict(depth_review=[review], primary={}), out)for name in OUTPUTS:assert (out/name).stat().st_size > 1000, name# Pillow merges repeated frames, so one frame remains per walkthrough stage.assert Image.open(out/"walkthrough.gif").n_frames == 7draw_all(glance_rows(solver_scores(tmp_path/"empty", tmp_path)), {}, out)assert sorted(p.name for p in out.iterdir()) == ["architecture.png"]
README.md+16-8
reports/experiments/new-judges/experiment.md+5
reports/paper.pdf+2-2
reports/progress.md+5
reports/reviews/readme-audit.md+16
reports/summary.md+5
src/study/frozen_report.py+9-4
src/study/overview.py+25-7
src/study/report.py+8-2
tests/test_overview.py+28