MoE_detector / aug_study /PREREG.md
assa8945's picture
Augmentation study: RUNBOOK v2.1 complete (Phase 2b, final models, pre-registered selection, mix_setting_v1 Phase 4, band reliance, DINOv2 references)
f06a441 verified
|
Raw History Blame Contribute Delete
2.1 kB
# PREREG: Phase 3b selection rule (RUNBOOK v2.1, Section 7b)
Written 2026-10-27 21:43:10 MST, before any Phase 3b metric was computed (no F model is trained yet; no mixval score exists).
Do not edit after Phase 4 starts.
## Data facts fixed before the rule
- Step G0 (`phase3b/g0_summary.md`): 100% of the G source groups overlap with mix_setting_v1 (> 30%), so G is NOT used.
The primary metric therefore uses `mixval_main` alone (RUNBOOK 7b, rule 2, second sentence).
- mixval = `lists/mixval_main.csv` (1,210 clips: 656 real, 554 fake; one chain12 depth per clip, 4:3:2:1) and
`lists/mixval_depth.csv` (all clips at depths 1 / 5 / 10 / 20).
## Fusion protocol (the same as for mix)
Platt for each expert on router `calib_fit` gives z; fused score = mean of z with E2 (D3, score = -dis_std); threshold = Youden J
point on router `calib_select`. No mixval or mix label is fitted.
## Selection rule
1. Candidates for the main model: F1 (the mean over its two seeds) and F3 (if trained). F2 is a control, not a candidate.
2. Primary metric: the fused AUC on `mixval_main` (G is not usable).
3. If |delta| < 0.005: the fused real TNR on `mixval_depth_20` at the fixed threshold.
4. If still tied: the router_val AUC of the candidate alone.
5. The main checkpoint for Phase 4 is seed 0 of the winner. Report seed 1 too.
6. Stop for a human (RUNBOOK Rule 9) if F2 beats F1 by more than 0.005 in the primary metric.
## Selection result (2026-10-28 12:03 MST; `phase3b/selection.md`, `logs/phase3b_eval.log`)
- Fused main AUC: F1 (mean of s0, s1) 0.9634, F3 0.9660 -> |delta| = 0.0026 < 0.005 (tie).
- Tie rule 3: fused real TNR on mixval_depth_20: F1 0.4169, F3 0.4375 -> **winner F3**. Main checkpoint: F3_s0.
- F2 - F1 (fused main AUC) = -0.0073 -> no NEEDS HUMAN (Rule 9).
## Models for Phase 4 (filled 2026-10-28 12:03 MST)
- F3_s0 (main, `final/F3_s0/best.pt`)
- F1_s0 (`final/F1_s0/best.pt`)
- F1_s1 (`final/F1_s1/best.pt`)
- F2_s0 (`final/F2_s0/best.pt`, control)
- Reused stored scores (not scored again): E2 (D3, `csv/mix_setting_v1_d3_scores.csv`), E3' (`wr3/v3_5s300/mix6_scores_*.csv`).