v3 (two-stage labeling) progress — fills in after rollout 90491 completes
Recipe
- Algorithm:
chosen iff (verdict matches planner correctness) AND (fix-with-critique → correct SQL), rejected otherwise. ALL chosen × ALL rejected pairs (no truncation). - Data builder:
scripts/build_orpo_v3_fast.py+scripts/merge_v3_chunks.py - Sbatch:
slurm_logs/build_orpo_v3_chunk.sbatch, launcherslurm_logs/launch_v3_4chunks.sh - Training:
recipes/iter1-paper/orpo-val-{sel,cond}-v3-paper.yaml- lr=5e-7, beta=0.05, grad_accum=16, warmup=200, max_grad_norm=0.3
- 2000 max_steps, save_steps=100
- Eval:
slurm_logs/rollout_v3.sbatch(gpu-large, 80GB), 6h time limit, BIRD-dev K=8 T=1.0- fixer = Qwen-2.5-72B-Instruct-AWQ + smart prompt (SAME as v8 baseline)
- NO --fixer_gate_exec_ok (fixer always reads critique)
Dataset stats (CONFIRMED before training)
| Side | n_train | n_test | chosen verdict=correct | rejected verdict=correct | verdict gap |
|---|---|---|---|---|---|
| sel | 64025 | 3371 | 90.65% | 4.10% | +86.55pp |
| cond | 56066 | 2953 | 91.65% | 4.70% | +86.95pp |
Compared to old iter1 (Llama-1B fixer): −0.3pp (sel), +1.5pp (cond) Compared to v8 collab_72b (Qwen-72B fixer, single-stage): −2.9pp (sel), −1.9pp (cond) Compared to iter1 INDEP (verdict-heuristic only): +26.6pp (sel), +29.4pp (cond)
The +86pp gap is large because two-stage labeling adds the INDEP verdict-matching gate on top of the COLLAB fix-success gate — chosen must hit both, rejected misses at least one.
Training stats
| Side | Init from | Steps reached | Final loss | Notes |
|---|---|---|---|---|
| sel | sft-validator-sel-llama1b-paper-v1 | 1900 (95%) | ~0.13 | hit 4h time limit, ckpt-1900 promoted to root |
| cond | sft-validator-cond-llama1b-paper-v1 | 1700 (85%) | ~0.15 | hit 4h time limit, ckpt-1700 promoted to root |
Loss decreased smoothly (sel: 0.33→0.13, cond: 0.23→0.15). No NaN, no collapse.
Final lr=5e-7 / beta=0.05 / grad_clip=0.3 — needed because earlier lr=8e-6 / lr=2e-6 produced NaN at steps 60-500 with bf16 + the strong v3 signal.
Eval rollout (TODO)
job: 90491
Comparison vs v8 INDEP iter2 (227MB jsonl, 953/1534 questions):
| Config | pass@8 | verdict acc | recall on CORRECT | recall on INCORRECT |
|---|---|---|---|---|
| v8 INDEP iter2 (baseline) | 72.94% | 70.58% | 73.07% | 68.54% |
| v8 COLLAB iter2 (collapsed) | 73.37% | 56.57% | 6.79% | 97.76% |
| v3 (two-stage) | TBD | TBD | TBD | TBD |
Bootstrap CI on (v3 − v8_INDEP) gap — TBD.
Pass criterion
- v3 pass@8 ≥ v8 INDEP iter2 pass@8 + 1.0pp at the 2.5%-ile bootstrap bound → SHIP
- v3 pass@8 ≥ v8 INDEP iter2 pass@8 + 0pp (point) but CI < +1pp → WEAK PASS (more epochs)
- v3 pass@8 < v8 INDEP iter2 pass@8 → FAIL (escalate to multi-objective COLLAB+INDEP mix)