anhtld commited on
Commit
ba65345
·
verified ·
1 Parent(s): 7544924

Document selector calibration ECE diagnostic

Browse files
Files changed (1) hide show
  1. workspace/reports/2026-07-03.md +22 -10
workspace/reports/2026-07-03.md CHANGED
@@ -35,7 +35,9 @@
35
  - Extended `scripts/eval_learned_dominance_selector.py` with `--fit-objective {pointwise,pairwise,hybrid_pairwise}`. The pairwise objectives train the ridge selector on within-chart measured causal comparisons from calibration rows only, then calibrate execute/fallback thresholds on candidate-row predictions. Added regression coverage in `tests/test_dominance_selector.py` for pairwise design rows outnumbering candidate rows.
36
  - Extended `scripts/eval_learned_dominance_selector.py` with deployment-visible chart-compatibility feature sets and `--selector-chart-feature-mode`. The new path loads target/source chart features without hidden outcomes, compares whole/base/RGB-stat/object-layout segments, logs selector/source split hashes, and has regression coverage in `tests/test_dominance_selector.py`.
37
  - Fixed `scripts/eval_nonlinear_dominance_selector.py` to load deployment-visible chart-compatibility maps via `--selector-chart-feature-mode` and to record source/index hashes when chart compatibility or source evidence is used. Added regression coverage that nonlinear chart-compat provenance records the default train source index.
 
38
  - Fixed `scripts/summarize_ctt_runs.py` so summary artifacts include `ctt*_learned_dominance*/metrics.json` runs such as `ctt_base_context_obs_learned_dominance_*`, not only the older `ctt_learned_dominance*` naming pattern.
 
39
  - Extended `scripts/eval_dominance_selector.py` with `--score-source checkpoint`, cached chart embeddings/base scores, and single-thread torch scoring so a standalone train-only utility-energy checkpoint can be used for dominance evaluation.
40
  - Updated `scripts/train_utility_energy.py` to save `chart_dim` in checkpoints.
41
  - Added `scripts/slurm/train_utility_energy_selector.sbatch` to train full train-only utility energy and evaluate validation-calibrated dominance on held-out test measured rows.
@@ -717,7 +719,8 @@ Action-bound audit status: new rollout artifacts now log action-bound safety lab
717
  - `runs/ctt_base_context_obs_learned_dominance_tangent_success_weighted_hybrid_task_envclip_k16_train_to_test`: selected success `0.3056`, coverage `0.4653`, selector gap `0.2778`
718
  - `runs/ctt_base_context_obs_learned_dominance_source_success_weighted_hybrid_task_envclip_k16_train_to_test`: selected success `0.2917`, coverage `0.5694`, selector gap `0.2986`
719
  - chart-compatibility K=16 ridge diagnostics:
720
- - `runs/ctt_base_context_obs_learned_dominance_chartcompat_obs_utility_task_envclip_k16_train_to_test`: selected success `0.3542`, coverage `0.6597`, selector gap `0.2431`
 
721
  - `runs/ctt_base_context_obs_learned_dominance_chartcompat_obs_success_weighted_task_envclip_k16_train_to_test`: selected success `0.3333`, coverage `0.7222`, selector gap `0.2569`
722
  - `runs/ctt_base_context_obs_learned_dominance_chartcompat_obj_success_weighted_task_envclip_k16_train_to_test`: selected success `0.3125`, coverage `0.5486`, selector gap `0.2847`
723
  - `runs/ctt_base_context_obs_learned_dominance_chartcompat_success_weighted_task_envclip_k16_train_to_test`: selected success `0.3264`, coverage `0.5486`, selector gap `0.2639`
@@ -726,16 +729,17 @@ Action-bound audit status: new rollout artifacts now log action-bound safety lab
726
  - `runs/ctt_base_context_obs_nonlinear_dominance_chartcompat_obs_success_weighted_envclip_k16_train_to_test`: selected success `0.2847`, coverage `0.3542`, selector gap `0.2986`
727
  - `runs/ctt_base_context_obs_nonlinear_dominance_chartcompat_obs_positive_envclip_k16_train_to_test`: selected success `0.2847`, coverage `0.3542`, selector gap `0.2986`
728
  - `runs/ctt_base_context_obs_nonlinear_dominance_chart_sourcecompat_obs_utility_envclip_k16_train_to_test`: selected success `0.2639`, coverage `0.5278`, selector gap `0.3264`
729
- - regressor-only follow-up `runs/ctt_base_context_obs_nonlinear_dominance_chartcompat_obs_success_weighted_reg_envclip_k16_train_to_test`: selected success `0.3264`, coverage `0.3403`, selector gap `0.2639`
 
730
 
731
  ### Best Metric Table
732
 
733
- | Row | Rows | Base | Selected | Proposal oracle | Hidden oracle | OutcomePTR | Support gap | Selector gap | Action-bound unsafe |
734
- | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
735
- | validation K=16 env_clip | 207 | 0.2754 | 0.2464 | 0.4638 | 0.6667 | 0.5362 | 0.2174 | 0.2174 | 0.0000 |
736
- | train-cal K=16 env_clip | 432 | 0.2778 | 0.2477 | 0.5370 | 0.6597 | 0.5463 | 0.1759 | 0.2894 | 0.0000 |
737
- | held-out test K=16 env_clip | 144 | 0.2917 | 0.2778 | 0.5694 | 0.7292 | 0.5486 | 0.2014 | 0.2917 | 0.0000 |
738
- | test K=16 best train-clean selector | 144 | 0.2917 | 0.3542 | 0.5694 | 0.7292 | 0.5486 | 0.2014 | 0.2431 | 0.0000 |
739
 
740
  Interpretation: K=16 is the first action-bound-clean held-out support result
741
  that clears the proposal-oracle target from the advisor comment: the measured
@@ -744,12 +748,16 @@ support evidence for the CTT/Atlas thesis. It is not a selected-action
744
  deployment success: score-only selection remains below base, and the best
745
  train-clean K=16 selector now reaches 35.42% with a 24.31-point selector gap.
746
  The gain comes from train-only RGB-stat target--source chart compatibility
747
- with a utility-margin ridge model and task-specific Mondrian thresholds. The
 
 
 
748
  previous basic success-weighted task-threshold row reached 32.64%, and the
749
  RGB-stat success-weighted row reaches 33.33%. Object-layout, source-evidence,
750
  nonlinear, pairwise within-chart ranking, and hybrid pointwise-plus-pairwise
751
  variants do not resolve the selector bottleneck. After fixing nonlinear
752
- chart-compat feature loading, HGB/RF nonlinear selectors still peak at 32.64%,
 
753
  so the remaining issue is not merely nonlinear model capacity over the current
754
  hand-built chart statistics.
755
 
@@ -775,6 +783,10 @@ hand-built chart statistics.
775
  `latex/main.tex`: nonlinear selectors now load the same deployment-visible
776
  chart maps and source hashes as the ridge selector, but do not improve over
777
  the linear chart-compat row.
 
 
 
 
778
 
779
  ### Leakage and Data Status
780
 
 
35
  - Extended `scripts/eval_learned_dominance_selector.py` with `--fit-objective {pointwise,pairwise,hybrid_pairwise}`. The pairwise objectives train the ridge selector on within-chart measured causal comparisons from calibration rows only, then calibrate execute/fallback thresholds on candidate-row predictions. Added regression coverage in `tests/test_dominance_selector.py` for pairwise design rows outnumbering candidate rows.
36
  - Extended `scripts/eval_learned_dominance_selector.py` with deployment-visible chart-compatibility feature sets and `--selector-chart-feature-mode`. The new path loads target/source chart features without hidden outcomes, compares whole/base/RGB-stat/object-layout segments, logs selector/source split hashes, and has regression coverage in `tests/test_dominance_selector.py`.
37
  - Fixed `scripts/eval_nonlinear_dominance_selector.py` to load deployment-visible chart-compatibility maps via `--selector-chart-feature-mode` and to record source/index hashes when chart compatibility or source evidence is used. Added regression coverage that nonlinear chart-compat provenance records the default train source index.
38
+ - Updated learned and nonlinear dominance selector artifacts to report pairwise causal calibration ECE from within-chart candidate contrasts. The reporting path records per-row calibration fields, exact global ECE/pair counts in `metrics.json`, and a `Calibration ECE` column in generated selector tables/reports.
39
  - Fixed `scripts/summarize_ctt_runs.py` so summary artifacts include `ctt*_learned_dominance*/metrics.json` runs such as `ctt_base_context_obs_learned_dominance_*`, not only the older `ctt_learned_dominance*` naming pattern.
40
+ - Fixed `scripts/summarize_ctt_runs.py` so `nonlinear_dominance_selector_eval` artifacts are routed through the dominance summary path instead of being misclassified as generic `ctt` train/proxy rows.
41
  - Extended `scripts/eval_dominance_selector.py` with `--score-source checkpoint`, cached chart embeddings/base scores, and single-thread torch scoring so a standalone train-only utility-energy checkpoint can be used for dominance evaluation.
42
  - Updated `scripts/train_utility_energy.py` to save `chart_dim` in checkpoints.
43
  - Added `scripts/slurm/train_utility_energy_selector.sbatch` to train full train-only utility energy and evaluate validation-calibrated dominance on held-out test measured rows.
 
719
  - `runs/ctt_base_context_obs_learned_dominance_tangent_success_weighted_hybrid_task_envclip_k16_train_to_test`: selected success `0.3056`, coverage `0.4653`, selector gap `0.2778`
720
  - `runs/ctt_base_context_obs_learned_dominance_source_success_weighted_hybrid_task_envclip_k16_train_to_test`: selected success `0.2917`, coverage `0.5694`, selector gap `0.2986`
721
  - chart-compatibility K=16 ridge diagnostics:
722
+ - `runs/ctt_base_context_obs_learned_dominance_chartcompat_obs_utility_task_envclip_k16_train_to_test`: selected success `0.3542`, coverage `0.6597`, selector gap `0.2431`, pairwise causal calibration ECE `0.0150`
723
+ - `runs/ctt_base_context_obs_learned_dominance_chartcompat_obs_success_task_envclip_k16_train_to_test`: selected success `0.2986`, coverage `0.2778`, selector gap `0.2778`, pairwise causal calibration ECE `0.0115`
724
  - `runs/ctt_base_context_obs_learned_dominance_chartcompat_obs_success_weighted_task_envclip_k16_train_to_test`: selected success `0.3333`, coverage `0.7222`, selector gap `0.2569`
725
  - `runs/ctt_base_context_obs_learned_dominance_chartcompat_obj_success_weighted_task_envclip_k16_train_to_test`: selected success `0.3125`, coverage `0.5486`, selector gap `0.2847`
726
  - `runs/ctt_base_context_obs_learned_dominance_chartcompat_success_weighted_task_envclip_k16_train_to_test`: selected success `0.3264`, coverage `0.5486`, selector gap `0.2639`
 
729
  - `runs/ctt_base_context_obs_nonlinear_dominance_chartcompat_obs_success_weighted_envclip_k16_train_to_test`: selected success `0.2847`, coverage `0.3542`, selector gap `0.2986`
730
  - `runs/ctt_base_context_obs_nonlinear_dominance_chartcompat_obs_positive_envclip_k16_train_to_test`: selected success `0.2847`, coverage `0.3542`, selector gap `0.2986`
731
  - `runs/ctt_base_context_obs_nonlinear_dominance_chart_sourcecompat_obs_utility_envclip_k16_train_to_test`: selected success `0.2639`, coverage `0.5278`, selector gap `0.3264`
732
+ - regressor-only follow-up `runs/ctt_base_context_obs_nonlinear_dominance_chartcompat_obs_success_weighted_reg_envclip_k16_train_to_test`: selected success `0.3264`, coverage `0.3403`, selector gap `0.2639`, pairwise causal calibration ECE `0.0222`
733
+ - regressor-only follow-up `runs/ctt_base_context_obs_nonlinear_dominance_chartcompat_obs_utility_reg_envclip_k16_train_to_test`: selected success `0.3056`, coverage `0.4792`, selector gap `0.2639`, pairwise causal calibration ECE `0.0086`
734
 
735
  ### Best Metric Table
736
 
737
+ | Row | Rows | Base | Selected | Proposal oracle | Hidden oracle | OutcomePTR | Support gap | Selector gap | Calibration ECE | Action-bound unsafe |
738
+ | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
739
+ | validation K=16 env_clip | 207 | 0.2754 | 0.2464 | 0.4638 | 0.6667 | 0.5362 | 0.2174 | 0.2174 | n/a | 0.0000 |
740
+ | train-cal K=16 env_clip | 432 | 0.2778 | 0.2477 | 0.5370 | 0.6597 | 0.5463 | 0.1759 | 0.2894 | n/a | 0.0000 |
741
+ | held-out test K=16 env_clip | 144 | 0.2917 | 0.2778 | 0.5694 | 0.7292 | 0.5486 | 0.2014 | 0.2917 | n/a | 0.0000 |
742
+ | test K=16 best train-clean selector | 144 | 0.2917 | 0.3542 | 0.5694 | 0.7292 | 0.5486 | 0.2014 | 0.2431 | 0.0150 | 0.0000 |
743
 
744
  Interpretation: K=16 is the first action-bound-clean held-out support result
745
  that clears the proposal-oracle target from the advisor comment: the measured
 
748
  deployment success: score-only selection remains below base, and the best
749
  train-clean K=16 selector now reaches 35.42% with a 24.31-point selector gap.
750
  The gain comes from train-only RGB-stat target--source chart compatibility
751
+ with a utility-margin ridge model and task-specific Mondrian thresholds. Its
752
+ pairwise causal calibration ECE is 0.0150 over 12,434 within-chart candidate
753
+ comparisons, so the remaining gap is not just an unreported calibration issue.
754
+ The
755
  previous basic success-weighted task-threshold row reached 32.64%, and the
756
  RGB-stat success-weighted row reaches 33.33%. Object-layout, source-evidence,
757
  nonlinear, pairwise within-chart ranking, and hybrid pointwise-plus-pairwise
758
  variants do not resolve the selector bottleneck. After fixing nonlinear
759
+ chart-compat feature loading, HGB/RF nonlinear selectors still peak at 32.64%
760
+ with rerun calibration ECEs 0.0086--0.0222,
761
  so the remaining issue is not merely nonlinear model capacity over the current
762
  hand-built chart statistics.
763
 
 
783
  `latex/main.tex`: nonlinear selectors now load the same deployment-visible
784
  chart maps and source hashes as the ridge selector, but do not improve over
785
  the linear chart-compat row.
786
+ - Updated `latex/main.tex` and selector-generated tables to report pairwise
787
+ causal calibration ECE for train-clean dominance selectors; the best K=16
788
+ chart-compat row has ECE `0.0150` but still leaves a `0.2431` success
789
+ selector gap.
790
 
791
  ### Leakage and Data Status
792