add score-chart utility selector diagnostic
Browse files- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/command.txt +1 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/config.yaml +18 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/data_hash.txt +7 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/eval.log +3 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/git_hash.txt +1 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/metrics.json +0 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/metrics_by_seed.json +0 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/metrics_by_task.json +137 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/split_hash.txt +14 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/table.tex +8 -0
- runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/train.log +5 -0
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/command.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
python scripts/eval_learned_dominance_selector.py --calibration-input runs/ctt_base_context_obs_train_cal_envclip_k16_rollout_comparison/combined_measured_candidates.json --calibration-target-index data/cil_charts_rgb_refs/train/index.json --eval-input runs/ctt_base_context_obs_test_envclip_k16_rollout_comparison/combined_measured_candidates.json --eval-target-index data/cil_charts_rgb_refs/test/index.json --source-index data/cil_charts_rgb_refs/train/index.json --checkpoint-template runs/ctt_residual_base_context_obs_seed{seed}/model.pt --out-dir runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test --feature-set score_chart_compat --selector-chart-feature-mode base_context_obs --target utility_margin --threshold-scope task --k 16 --bootstrap-samples 300 --no-markdown-report
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/config.yaml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
bootstrap_samples: 300
|
| 2 |
+
calibration_input: runs/ctt_base_context_obs_train_cal_envclip_k16_rollout_comparison/combined_measured_candidates.json
|
| 3 |
+
calibration_target_index: data/cil_charts_rgb_refs/train/index.json
|
| 4 |
+
checkpoint_template: runs/ctt_residual_base_context_obs_seed{seed}/model.pt
|
| 5 |
+
eval_input: runs/ctt_base_context_obs_test_envclip_k16_rollout_comparison/combined_measured_candidates.json
|
| 6 |
+
eval_target_index: data/cil_charts_rgb_refs/test/index.json
|
| 7 |
+
feature_set: score_chart_compat
|
| 8 |
+
fit_objective: pointwise
|
| 9 |
+
k: 16
|
| 10 |
+
no_markdown_report: True
|
| 11 |
+
out_dir: runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test
|
| 12 |
+
pairwise_weight: 1.0
|
| 13 |
+
ridge_lambdas: 0,0.01,0.1,1,10,100
|
| 14 |
+
selector_chart_feature_mode: base_context_obs
|
| 15 |
+
source_index: data/cil_charts_rgb_refs/train/index.json
|
| 16 |
+
success_bonus: 1.0
|
| 17 |
+
target: utility_margin
|
| 18 |
+
threshold_scope: task
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/data_hash.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"calibration_input": "d79e275b896eb98caa128470d4614b76960cab12407faa157c583224be7abe80",
|
| 3 |
+
"calibration_target_index": "67973c50072aa87a3b97533b6292b08a8b4d88a95571dc22e91b6e8fd19e0d85",
|
| 4 |
+
"eval_input": "541d5a928da5f7ee04ca3dea570e04208830dffde431edfe5b5e38b692634045",
|
| 5 |
+
"eval_target_index": "dee1b5225485df6624747dd4c5074bcf514685b54017d05e698d2051638fbf36",
|
| 6 |
+
"source_index": "67973c50072aa87a3b97533b6292b08a8b4d88a95571dc22e91b6e8fd19e0d85"
|
| 7 |
+
}
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/eval.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
evaluated learned fallback rule on held-out measured rollout rows
|
| 2 |
+
eval_input=runs/ctt_base_context_obs_test_envclip_k16_rollout_comparison/combined_measured_candidates.json
|
| 3 |
+
num_eval_rows=144
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/git_hash.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
14e81292e2004925f81e0bb4810f6f144bfd87b7
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/metrics.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/metrics_by_seed.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/metrics_by_task.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"LiftPegUpright-v1": {
|
| 3 |
+
"base_success": 0.2,
|
| 4 |
+
"base_utility": 0.9498705387115478,
|
| 5 |
+
"coverage": 0.6666666666666666,
|
| 6 |
+
"execute_generated": 0.6666666666666666,
|
| 7 |
+
"fallback_rate": 0.3333333333333333,
|
| 8 |
+
"hidden_chart_oracle_success": 1.0,
|
| 9 |
+
"hidden_chart_oracle_utility": 2.0,
|
| 10 |
+
"outcome_ptr": 0.5333333333333333,
|
| 11 |
+
"pairwise_causal_calibration_accuracy": 0.5494360697557629,
|
| 12 |
+
"pairwise_causal_calibration_confidence": 0.5321483671612611,
|
| 13 |
+
"pairwise_causal_calibration_ece": 0.08779692862966537,
|
| 14 |
+
"pairwise_causal_calibration_pairs": 94.8,
|
| 15 |
+
"predicted_margin": 0.09934494198504117,
|
| 16 |
+
"proposal_oracle_success": 0.6,
|
| 17 |
+
"proposal_oracle_utility": 1.4122399787108104,
|
| 18 |
+
"selected_candidate_index": 7.2,
|
| 19 |
+
"selected_success": 0.26666666666666666,
|
| 20 |
+
"selected_success_gain_over_base": 0.06666666666666667,
|
| 21 |
+
"selected_utility": 0.9396337101856868,
|
| 22 |
+
"selected_utility_gain_over_base": -0.010236828525861105,
|
| 23 |
+
"selector_regret": 0.47343848447004955,
|
| 24 |
+
"success_selector_gap": 0.3333333333333333,
|
| 25 |
+
"success_support_gap": 0.4,
|
| 26 |
+
"support_gap": 0.5877600212891897,
|
| 27 |
+
"tau": 0.028235521236802175
|
| 28 |
+
},
|
| 29 |
+
"PickCube-v1": {
|
| 30 |
+
"base_success": 0.0,
|
| 31 |
+
"base_utility": 0.5839591026306152,
|
| 32 |
+
"coverage": 0.0,
|
| 33 |
+
"execute_generated": 0.0,
|
| 34 |
+
"fallback_rate": 1.0,
|
| 35 |
+
"hidden_chart_oracle_success": 1.0,
|
| 36 |
+
"hidden_chart_oracle_utility": 2.0,
|
| 37 |
+
"outcome_ptr": 0.0,
|
| 38 |
+
"pairwise_causal_calibration_accuracy": 0.3796296296296296,
|
| 39 |
+
"pairwise_causal_calibration_confidence": 0.5397879799473912,
|
| 40 |
+
"pairwise_causal_calibration_ece": 0.16015835031776168,
|
| 41 |
+
"pairwise_causal_calibration_pairs": 36.0,
|
| 42 |
+
"predicted_margin": -0.2678354586918643,
|
| 43 |
+
"proposal_oracle_success": 0.0,
|
| 44 |
+
"proposal_oracle_utility": 0.13425676027933756,
|
| 45 |
+
"selected_candidate_index": 1.3333333333333333,
|
| 46 |
+
"selected_success": 0.0,
|
| 47 |
+
"selected_success_gain_over_base": 0.0,
|
| 48 |
+
"selected_utility": 0.5839591026306152,
|
| 49 |
+
"selected_utility_gain_over_base": 0.0,
|
| 50 |
+
"selector_regret": 0.0,
|
| 51 |
+
"success_selector_gap": 0.0,
|
| 52 |
+
"success_support_gap": 1.0,
|
| 53 |
+
"support_gap": 1.8657432397206624,
|
| 54 |
+
"tau": 0.5025584143631503
|
| 55 |
+
},
|
| 56 |
+
"PullCube-v1": {
|
| 57 |
+
"base_success": 0.36,
|
| 58 |
+
"base_utility": 0.7751704612234608,
|
| 59 |
+
"coverage": 0.8133333333333334,
|
| 60 |
+
"execute_generated": 0.8133333333333334,
|
| 61 |
+
"fallback_rate": 0.18666666666666668,
|
| 62 |
+
"hidden_chart_oracle_success": 0.52,
|
| 63 |
+
"hidden_chart_oracle_utility": 1.1467878860235214,
|
| 64 |
+
"outcome_ptr": 0.4666666666666667,
|
| 65 |
+
"pairwise_causal_calibration_accuracy": 0.5439315887395845,
|
| 66 |
+
"pairwise_causal_calibration_confidence": 0.5315713773974821,
|
| 67 |
+
"pairwise_causal_calibration_ece": 0.1202240575596694,
|
| 68 |
+
"pairwise_causal_calibration_pairs": 92.32,
|
| 69 |
+
"predicted_margin": 0.0587216273047277,
|
| 70 |
+
"proposal_oracle_success": 0.5333333333333333,
|
| 71 |
+
"proposal_oracle_utility": 1.1093241602430741,
|
| 72 |
+
"selected_candidate_index": 6.16,
|
| 73 |
+
"selected_success": 0.32,
|
| 74 |
+
"selected_success_gain_over_base": -0.04,
|
| 75 |
+
"selected_utility": 0.6822500004371007,
|
| 76 |
+
"selected_utility_gain_over_base": -0.09292046078636,
|
| 77 |
+
"selector_regret": 0.4528969661643108,
|
| 78 |
+
"success_selector_gap": 0.22666666666666666,
|
| 79 |
+
"success_support_gap": 0.02666666666666667,
|
| 80 |
+
"support_gap": 0.1075624164690574,
|
| 81 |
+
"tau": -0.2012384152043576
|
| 82 |
+
},
|
| 83 |
+
"PushCube-v1": {
|
| 84 |
+
"base_success": 0.16666666666666666,
|
| 85 |
+
"base_utility": 0.3924041787783305,
|
| 86 |
+
"coverage": 0.7777777777777778,
|
| 87 |
+
"execute_generated": 0.7777777777777778,
|
| 88 |
+
"fallback_rate": 0.2222222222222222,
|
| 89 |
+
"hidden_chart_oracle_success": 0.8333333333333334,
|
| 90 |
+
"hidden_chart_oracle_utility": 1.7015800600250561,
|
| 91 |
+
"outcome_ptr": 0.8333333333333334,
|
| 92 |
+
"pairwise_causal_calibration_accuracy": 0.5408758312375324,
|
| 93 |
+
"pairwise_causal_calibration_confidence": 0.5154259344288218,
|
| 94 |
+
"pairwise_causal_calibration_ece": 0.09497784791093052,
|
| 95 |
+
"pairwise_causal_calibration_pairs": 97.44444444444444,
|
| 96 |
+
"predicted_margin": 0.32846837901195985,
|
| 97 |
+
"proposal_oracle_success": 0.8888888888888888,
|
| 98 |
+
"proposal_oracle_utility": 1.7857814149724112,
|
| 99 |
+
"selected_candidate_index": 5.222222222222222,
|
| 100 |
+
"selected_success": 0.5,
|
| 101 |
+
"selected_success_gain_over_base": 0.3333333333333333,
|
| 102 |
+
"selected_utility": 1.0611259018381436,
|
| 103 |
+
"selected_utility_gain_over_base": 0.6687217230598131,
|
| 104 |
+
"selector_regret": 0.7246555131342676,
|
| 105 |
+
"success_selector_gap": 0.3888888888888889,
|
| 106 |
+
"success_support_gap": 0.1111111111111111,
|
| 107 |
+
"support_gap": 0.21421858502758873,
|
| 108 |
+
"tau": 0.0742008167559442
|
| 109 |
+
},
|
| 110 |
+
"StackCube-v1": {
|
| 111 |
+
"base_success": 0.2727272727272727,
|
| 112 |
+
"base_utility": 0.7763947045261209,
|
| 113 |
+
"coverage": 0.21212121212121213,
|
| 114 |
+
"execute_generated": 0.21212121212121213,
|
| 115 |
+
"fallback_rate": 0.7878787878787878,
|
| 116 |
+
"hidden_chart_oracle_success": 1.0,
|
| 117 |
+
"hidden_chart_oracle_utility": 2.0,
|
| 118 |
+
"outcome_ptr": 0.6363636363636364,
|
| 119 |
+
"pairwise_causal_calibration_accuracy": 0.4871933998564077,
|
| 120 |
+
"pairwise_causal_calibration_confidence": 0.5389990977485094,
|
| 121 |
+
"pairwise_causal_calibration_ece": 0.10659066999978553,
|
| 122 |
+
"pairwise_causal_calibration_pairs": 67.45454545454545,
|
| 123 |
+
"predicted_margin": 0.03761618987646351,
|
| 124 |
+
"proposal_oracle_success": 0.5151515151515151,
|
| 125 |
+
"proposal_oracle_utility": 1.1567951707225856,
|
| 126 |
+
"selected_candidate_index": 5.606060606060606,
|
| 127 |
+
"selected_success": 0.30303030303030304,
|
| 128 |
+
"selected_success_gain_over_base": 0.030303030303030304,
|
| 129 |
+
"selected_utility": 0.769150389414845,
|
| 130 |
+
"selected_utility_gain_over_base": -0.007244315111275875,
|
| 131 |
+
"selector_regret": 0.3912377664537141,
|
| 132 |
+
"success_selector_gap": 0.21212121212121213,
|
| 133 |
+
"success_support_gap": 0.48484848484848486,
|
| 134 |
+
"support_gap": 0.8432048292774142,
|
| 135 |
+
"tau": 0.13235082030965997
|
| 136 |
+
}
|
| 137 |
+
}
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/split_hash.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"calibration_target_index": {
|
| 3 |
+
"content_hash": "67f7b4a692f7c7e71da24378dc71e3399c5d35afc14c494869eba6087b765c42",
|
| 4 |
+
"retrieval_index_allowed": true,
|
| 5 |
+
"split": "train",
|
| 6 |
+
"split_hash": "867a94a1c67686c082765671a7bf8d74a9d633085e1b2619c83197c60bf58372"
|
| 7 |
+
},
|
| 8 |
+
"eval_target_index": {
|
| 9 |
+
"content_hash": "0c38d73dc9bc4ab756e12006671b5d12f1a23358b281e54b3f6a9ae3cbf6e9af",
|
| 10 |
+
"retrieval_index_allowed": false,
|
| 11 |
+
"split": "test",
|
| 12 |
+
"split_hash": "84151df9e88c219b76751677558cc5bbbc19082bf358cea7330158e9e403e25f"
|
| 13 |
+
}
|
| 14 |
+
}
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/table.tex
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
% Auto-generated by scripts/eval_learned_dominance_selector.py
|
| 2 |
+
\begin{tabular}{lrrrrrrrrr}
|
| 3 |
+
\toprule
|
| 4 |
+
Rows & Coverage & Fallback & Base succ. & Selected succ. & Oracle succ. & OutcomePTR & Succ. support gap & Succ. selector gap & Cal. ECE \\
|
| 5 |
+
\midrule
|
| 6 |
+
144 & 0.6389 & 0.3611 & 0.2917 & 0.3264 & 0.5694 & 0.5486 & 0.2014 & 0.2500 & 0.0221 \\
|
| 7 |
+
\bottomrule
|
| 8 |
+
\end{tabular}
|
runs/ctt_base_context_obs_learned_dominance_score_chartcompat_utility_task_envclip_k16_train_to_test/train.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
trained ridge dominance calibrator on calibration measured rows only
|
| 2 |
+
fit_objective=pointwise
|
| 3 |
+
selected_lambda=100.0
|
| 4 |
+
tau={"LiftPegUpright-v1": 0.028236, "PickCube-v1": 0.502558, "PullCube-v1": -0.201238, "PushCube-v1": 0.074201, "StackCube-v1": 0.132351, "__global__": 0.018529}
|
| 5 |
+
calibration_input=runs/ctt_base_context_obs_train_cal_envclip_k16_rollout_comparison/combined_measured_candidates.json
|