Skip to content

Commit f2cc60f

Browse files
committed
Cross-fit oracle headroom against held-out trajectory blocks
1 parent d0167dc commit f2cc60f

18 files changed

Lines changed: 4948 additions & 0 deletions
67.3 KB
Loading

‎active_solvai/figures/v2_diagnostics/oracle_headroom_survival.svg‎

Lines changed: 1020 additions & 0 deletions
Loading
154 KB
Loading

‎active_solvai/figures/v2_diagnostics/oracle_independent_noise_molecule_errors.svg‎

Lines changed: 2321 additions & 0 deletions
Loading
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# Independent-noise audit of oracle placement headroom
2+
3+
**Pre-specified post-hoc conclusion: C. INCONCLUSIVE DUE TO RESPONSE NOISE.**
4+
5+
This diagnostic was frozen at commit `d0167dcdfc4298a3b0a0ffbfa0be1b87bc8f2be3`, before cross-block performance was calculated. It reuses the eight development-exposed prospective sentinels and their existing 5-ps PIMD2 trajectories. It is not new prospective molecular validation, does not reopen the failed Active SolvAI policy, and uses no new simulation.
6+
7+
## What was tested
8+
9+
Each 51-frame lambda trajectory was divided into four fixed contiguous blocks (13, 13, 13 and 12 frames). All six ordered two-block selection/two-block evaluation assignments were used. For the non-deployable oracle, lambda locations were selected only from the selection blocks. The selected locations were then populated with response values from the non-overlapping evaluation blocks and scored against a 15-window dense integral built only from those evaluation blocks. Reversing the assignments tests whether the chosen locations survive independent trajectory noise.
10+
11+
Active, uniform, fixed and generic-BQ policies were evaluated against the identical held-out-block dense targets. Uniform-direct and fixed-direct estimators were retained as conventional secondary controls. All methods received the same number of evaluation-side observations at each budget. Performance was averaged over all six splits within each molecule before molecule-level aggregation and bootstrap resampling.
12+
13+
## Dense-integral reproducibility
14+
15+
The short trajectories do not provide a stable dense target when divided into non-overlapping halves.
16+
17+
| Quantity | Result (kcal mol^-1) |
18+
|---|---:|
19+
| Complementary-half dense-integral MAE | 1.866 |
20+
| 90% molecule-clustered interval | [1.418, 2.312] |
21+
| 95% molecule-clustered interval | [1.329, 2.385] |
22+
| Median absolute half difference | 1.382 |
23+
| RMSE | 2.276 |
24+
25+
The prespecified reliability gate was 0.50 kcal mol^-1 mean or 0.30 kcal mol^-1 median. Both were exceeded by a wide margin. These are non-overlapping blocks from the same trajectory, not independently initialized replicas, so even this large disagreement can understate some slow-mode uncertainty.
26+
27+
Molecule-level mean complementary-half differences ranged from 0.832 kcal mol^-1 for cyclohexane to 3.011 kcal mol^-1 for octanol. The instability is therefore not confined to one chemical outlier.
28+
29+
## Cross-fitted replay
30+
31+
| Method | 5-window MAE | 90% interval | 7-window MAE | 90% interval |
32+
|---|---:|---:|---:|---:|
33+
| Cross-fitted oracle BQ | 1.732 | [1.270, 2.224] | 1.681 | [1.174, 2.199] |
34+
| Active SolvAI BQ | 1.973 | [1.519, 2.428] | 2.122 | [1.544, 2.753] |
35+
| Uniform SolvAI BQ | 1.973 | [1.519, 2.428] | 1.774 | [1.449, 2.114] |
36+
| Fixed SolvAI BQ | 3.073 | [2.205, 4.066] | 2.559 | [1.773, 3.393] |
37+
| Generic BQ | 1.800 | [1.298, 2.363] | 1.273 | [0.920, 1.627] |
38+
| Uniform direct | 1.301 | [1.015, 1.617] | 1.272 | [1.000, 1.547] |
39+
| Fixed direct | 1.835 | [1.479, 2.196] | 1.764 | [1.260, 2.277] |
40+
41+
Against uniform direct, the cross-fitted oracle is worse by +0.431 kcal mol^-1 at five windows (90% interval -0.281 to +1.138) and +0.409 kcal mol^-1 at seven windows (-0.233 to +1.075). It improves only three of eight molecule-level split averages at either budget. The intervals include both a material benefit and material harm, so the diagnostic cannot support either stable headroom or a precise null.
42+
43+
## How much oracle headroom survived?
44+
45+
| Windows | Original same-curve headroom | Cross-fitted headroom | Survival ratio |
46+
|---:|---:|---:|---:|
47+
| 5 | +0.816 | -0.431 | -0.528 |
48+
| 7 | +1.023 | -0.409 | -0.399 |
49+
50+
Headroom is defined as `uniform-direct MAE - oracle MAE`; positive values favor the oracle. Thus none of the original point-estimate headroom survives held-out-block scoring. The sign reverses. This directly confirms that the original 0.337/0.068 values were strongly optimistically biased by using the same noisy curve for subset selection and evaluation.
51+
52+
That reversal alone does not meet the stricter predeclared criterion for conclusion A, because the molecule-clustered intervals remain too broad to rule out a 0.10-kcal mol^-1 benefit. The appropriate conclusion is therefore C rather than a definitive assertion that all placement headroom is absent.
53+
54+
## Lambda-selection stability
55+
56+
The selected added lambda locations are unstable under reversal of the trajectory blocks:
57+
58+
| Budget | Mean reversal-pair Jaccard | Mean all-pairs Jaccard |
59+
|---:|---:|---:|
60+
| 5 windows (2 added) | 0.139 | 0.189 |
61+
| 7 windows (4 added) | 0.238 | 0.282 |
62+
63+
The same molecule therefore usually receives a substantially different oracle subset when the non-overlapping half used for selection changes. No single lambda dominates sufficiently to rescue the molecule-specific placement interpretation; selection frequencies are distributed across the 12 eligible added positions. Complete schedules and frequencies are available in `crossfit_oracle_schedules.csv`.
64+
65+
## Molecule-level result
66+
67+
| Molecule | Oracle 5 | Uniform 5 | Oracle 7 | Uniform 7 |
68+
|---|---:|---:|---:|---:|
69+
| Acetamide | 3.190 | 0.859 | 2.779 | 0.648 |
70+
| Acetic acid | 0.792 | 1.525 | 0.946 | 1.275 |
71+
| Anthracene | 1.939 | 0.960 | 1.423 | 0.931 |
72+
| Cyclohexane | 1.255 | 0.746 | 0.889 | 0.792 |
73+
| Dimethyl ether | 0.949 | 1.830 | 0.689 | 1.890 |
74+
| Ethyl acetate | 0.975 | 2.312 | 1.080 | 1.818 |
75+
| Octane | 2.245 | 1.266 | 2.932 | 1.018 |
76+
| Octanol | 2.512 | 0.912 | 2.712 | 1.807 |
77+
78+
Values are mean absolute errors across all six fixed block assignments, in kcal mol^-1. The mixed molecule-level signs and broad intervals reinforce the noise diagnosis; no family or molecule was selected post hoc to alter the conclusion.
79+
80+
## Exact conclusion
81+
82+
### C. INCONCLUSIVE DUE TO RESPONSE NOISE
83+
84+
The existing 5-ps trajectories cannot support a reliable independent evaluation of molecule-specific oracle placement. Same-curve oracle selection is severely optimistic: its apparent advantage reverses on held-out blocks, selected subsets are unstable, and independent half-curve dense integrals disagree by substantially more than the target effect. Yet with only eight molecules and 2.5-ps evaluation halves, uncertainty is too broad to rule out a material true placement advantage.
85+
86+
This finding does **not** change the immutable Active SolvAI no-go. The deployable policy still failed its original prospective comparison. It changes only the interpretation of the oracle: the original replay did not establish stable headroom.
87+
88+
## Smallest resolving experiment—not authorized or launched
89+
90+
A credible resolution requires independent trajectory replicas, not further slicing of the same 5-ps trace.
91+
92+
- **Molecules:** the same frozen eight sentinels: Cyclohexane, Octane, Octanol, AceticAcid, Acetamide, DiMethylEther, EthylAcetate and Anthracene.
93+
- **Windows:** all 15 registered lambda values for every molecule. A dense common pool is necessary because oracle selection cannot be assessed against unobserved locations.
94+
- **Replicas:** two independently initialized replicas per molecule-window, with independent velocities and thermostat/random seeds.
95+
- **Length:** 50 ps production per replica after the existing protocol's equilibration and QC, giving 100 ps total production per molecule-window.
96+
- **Scale:** 240 trajectories, 12 ns aggregate PIMD2 production and 480 bead-windows.
97+
- **Measured-cost projection:** the original prospective campaign delivered 480 ps in 1.2976 GPU-h. Linear scaling gives approximately 32.4 GPU-h of production-equivalent work; reserve **36 GPU-h and 40 h wall time on one RTX 3090** for equilibration, I/O and contingency.
98+
- **Frozen analysis:** replica A selects and replica B evaluates, then reverse; use the same 15-point grid, priors, policies, budgets and molecule-clustered comparisons. No adaptive extension or favorable molecule selection.
99+
100+
The 50-ps choice is grounded in the observed 1.866-kcal mol^-1 half-curve disagreement: under ideal inverse-square-root scaling, increasing an effective 2.5-ps half to 50 ps would reduce it to approximately 0.42 kcal mol^-1, below the prespecified 0.50 reliability gate. This is a resolution experiment, not a justified scale-up, and it must not be launched without approval.
101+
102+
## Reproducibility
103+
104+
Run:
105+
106+
```bash
107+
uv run --project active_solvai python active_solvai/scripts/run_oracle_independent_noise_diagnostic.py
108+
```
109+
110+
Machine-readable outputs are under `active_solvai/results/v2_diagnostics/oracle_independent_noise/`; diagnostic figures are under `active_solvai/figures/v2_diagnostics/`. Input hashes and the exact conclusion rule are in the committed freeze.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
method,total_windows,n_molecules,mae_kcal_mol,ci90_low,ci90_high,ci95_low,ci95_high,mean_coverage_90
2+
active_solvai_bq,5,8,1.973230776679979,1.5189849199418024,2.4280994886904788,1.433294129327721,2.512276277775758,0.7291666666666667
3+
active_solvai_bq,7,8,2.1223260597098292,1.5436427842739073,2.753497395904379,1.4500310835244155,2.8869437527917357,0.6875
4+
crossfit_oracle_bq,5,8,1.7320793655574391,1.2702544913299292,2.224103992619372,1.1912773762736646,2.314372269626361,0.8541666666666666
5+
crossfit_oracle_bq,7,8,1.6812438015638556,1.174188612474346,2.199129867460635,1.0969505955874401,2.3388057543136545,0.8333333333333333
6+
fixed_direct,5,8,1.835348300268484,1.4787259467440488,2.1962654340498036,1.4154093466409814,2.261029200435226,
7+
fixed_direct,7,8,1.7641155622429938,1.259503737923694,2.276825689661641,1.1608437380483396,2.3705529521448807,
8+
fixed_solvai_bq,5,8,3.073128616384353,2.204776758867448,4.06625764087295,2.1089232900566914,4.27726555009994,0.7708333333333333
9+
fixed_solvai_bq,7,8,2.5589711199693195,1.7734368663567717,3.3929048366863843,1.6391790233713814,3.55114286019508,0.5833333333333334
10+
generic_bq,5,8,1.8004320504290665,1.297874334717513,2.362741580530649,1.224321122862043,2.475595102284144,0.6041666666666667
11+
generic_bq,7,8,1.2732295689921886,0.919756089959782,1.6266530817681404,0.8610771785924823,1.686889932881725,0.7708333333333333
12+
uniform_direct,5,8,1.30107586790933,1.0148015862667554,1.6174973535413077,0.9704002233534784,1.6822032328985572,
13+
uniform_direct,7,8,1.2724751749654484,0.999808918278533,1.54701773107395,0.9538241687114488,1.5984527052115507,
14+
uniform_solvai_bq,5,8,1.973230776679979,1.5189849199418024,2.4280994886904788,1.433294129327721,2.512276277775758,0.7291666666666667
15+
uniform_solvai_bq,7,8,1.7735330103317994,1.448922232186093,2.1136496394753843,1.39315300659785,2.182517745266631,0.8125
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"active_solvai/results/v2_diagnostics/oracle_independent_noise/aggregate_metrics.csv": {
3+
"bytes": 1837,
4+
"sha256": "4471f770a9266625702e013be3d3a05a3fe81597470d8b4f6cc7072019d347ac"
5+
},
6+
"active_solvai/results/v2_diagnostics/oracle_independent_noise/canonical_metrics.json": {
7+
"bytes": 2577,
8+
"sha256": "c0f01f65f3cfae4230d01fb536b7f375a1a0db29742a5023870ed53022cec2f4"
9+
},
10+
"active_solvai/results/v2_diagnostics/oracle_independent_noise/cross_block_predictions.parquet": {
11+
"bytes": 33826,
12+
"sha256": "e6492f5754aab9d4724e10c9b5e2d08863e669beb9b252a4f68a3e0b88a715fa"
13+
},
14+
"active_solvai/results/v2_diagnostics/oracle_independent_noise/crossfit_oracle_schedules.csv": {
15+
"bytes": 6392,
16+
"sha256": "7f72e79fc40204fcb8cb961060d7b1f51742f89dd3f4d765a02b6d550a5f49c9"
17+
},
18+
"active_solvai/results/v2_diagnostics/oracle_independent_noise/dense_integral_reproducibility_by_split.csv": {
19+
"bytes": 5447,
20+
"sha256": "feec7765a4705ca9390e87fd83eeb29847539cbc18f2aaa16f08bc7c71c3df0e"
21+
},
22+
"active_solvai/results/v2_diagnostics/oracle_independent_noise/molecule_level_metrics.csv": {
23+
"bytes": 13629,
24+
"sha256": "7be6b7c3580b8386e6f31395463a9a6d6723d41c1590f2d714a066dd4fff3679"
25+
},
26+
"active_solvai/results/v2_diagnostics/oracle_independent_noise/oracle_schedule_stability.csv": {
27+
"bytes": 11428,
28+
"sha256": "09a30eb8afacd2220544e4f6f07163e8655fa2b6975e3a2501669d80eda2cdeb"
29+
},
30+
"active_solvai/results/v2_diagnostics/oracle_independent_noise/paired_comparisons.csv": {
31+
"bytes": 1828,
32+
"sha256": "424782475655f9984aea36cea4119baaa55cab8adc88b9d606ddfa515b87ddc1"
33+
},
34+
"active_solvai/results/v2_diagnostics/oracle_independent_noise/trajectory_block_responses.parquet": {
35+
"bytes": 15505,
36+
"sha256": "f8646594576701a3cd11078d0af17ece7f4e2af34cf4680973b325e08e713014"
37+
},
38+
"active_solvai/figures/v2_diagnostics/oracle_headroom_survival.png": {
39+
"bytes": 68882,
40+
"sha256": "9c57ba274e01e18f85c806dd85d81977674a51fe80a8fcb021aae7142d7413ae"
41+
},
42+
"active_solvai/figures/v2_diagnostics/oracle_headroom_survival.svg": {
43+
"bytes": 28028,
44+
"sha256": "e688a2a8e0df22c295681346777753e977f54fc9326d5facf7acd1b1651b45c2"
45+
},
46+
"active_solvai/figures/v2_diagnostics/oracle_independent_noise_molecule_errors.png": {
47+
"bytes": 157617,
48+
"sha256": "3e00c80f5d61e07a9922c4b1ec41e03aac66c4ab6739190e34c68c9e39d14f94"
49+
},
50+
"active_solvai/figures/v2_diagnostics/oracle_independent_noise_molecule_errors.svg": {
51+
"bytes": 70292,
52+
"sha256": "614cc574d1960b03f92c2a5a8558a408c0a60579b5984efce5ea915873048e70"
53+
},
54+
"active_solvai/reports/ORACLE_INDEPENDENT_NOISE_DIAGNOSTIC.md": {
55+
"bytes": 8639,
56+
"sha256": "de362635b84510457a071c489138a126d1d9c373a448277b976d03eece685dc2"
57+
}
58+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"schema_version": 1,
3+
"protocol_commit": "d0167dcdfc4298a3b0a0ffbfa0be1b87bc8f2be3",
4+
"conclusion": "C. INCONCLUSIVE DUE TO RESPONSE NOISE",
5+
"dense_integral_reproducibility": {
6+
"n_molecules": 8,
7+
"complementary_partitions_per_molecule": 3,
8+
"mae_kcal_mol": 1.8657538956430815,
9+
"median_absolute_difference_kcal_mol": 1.3823479892002448,
10+
"rmse_kcal_mol": 2.275589427936316,
11+
"ci90_low": 1.4177242148987763,
12+
"ci90_high": 2.3115325028999627,
13+
"ci95_low": 1.3289969153450165,
14+
"ci95_high": 2.3854324272561427
15+
},
16+
"decision_rows": [
17+
{
18+
"total_windows": 5,
19+
"crossfit_oracle_mae_kcal_mol": 1.7320793655574391,
20+
"uniform_direct_mae_kcal_mol": 1.30107586790933,
21+
"oracle_minus_uniform_kcal_mol": 0.4310034976481091,
22+
"ci90_low": -0.28081876863200084,
23+
"ci90_high": 1.137989012128864,
24+
"fraction_molecules_improved": 0.375,
25+
"original_same_curve_headroom_kcal_mol": 0.8162999921218234,
26+
"crossfit_headroom_kcal_mol": -0.4310034976481092,
27+
"headroom_survival_ratio": -0.5279964495991161,
28+
"a_budget_condition": false,
29+
"b_budget_condition": false
30+
},
31+
{
32+
"total_windows": 7,
33+
"crossfit_oracle_mae_kcal_mol": 1.6812438015638556,
34+
"uniform_direct_mae_kcal_mol": 1.2724751749654484,
35+
"oracle_minus_uniform_kcal_mol": 0.40876862659840724,
36+
"ci90_low": -0.23255320686628111,
37+
"ci90_high": 1.0749453521714034,
38+
"fraction_molecules_improved": 0.375,
39+
"original_same_curve_headroom_kcal_mol": 1.0234811046707393,
40+
"crossfit_headroom_kcal_mol": -0.4087686265984072,
41+
"headroom_survival_ratio": -0.39939049654454617,
42+
"a_budget_condition": false,
43+
"b_budget_condition": false
44+
}
45+
],
46+
"mean_reversal_jaccard_budget5": 0.1388888888888889,
47+
"mean_reversal_jaccard_budget7": 0.2380952380952381,
48+
"mean_all_pairs_jaccard_budget5": 0.1888888888888889,
49+
"mean_all_pairs_jaccard_budget7": 0.2822222222222222,
50+
"reliability_gate_exceeded": true,
51+
"b_rule_passed": false,
52+
"a_rule_passed": false,
53+
"input_hashes": {
54+
"responses": "4ce191a2ebfabb10dfcf5e11f98fef91b0bd5b2993f066ab47cfa9cc261c1097",
55+
"lock": "3d1f411c5320bf17b0bf83d7f6280645848136c88fed7d7be1a54e9e0fd4975a",
56+
"config": "fc6afd2a4f8a255a641228df624769e6ed437dc4cc69dc244480a33c2936594d",
57+
"priors": "9d9a514e2cabec3ea6f43600d9987d886ca11f2c96e2cc4f5f0b18f79397c91b",
58+
"manifest": "9c46ad5b78af027f3c82d84ff300c1ea839fbd13650eba704bbfef95f5871358",
59+
"energy_records": "e0585cc8e1f0d19754b43eec6eaa54c760fcbf106fe76315e46fbf3b7374451e"
60+
}
61+
}
Binary file not shown.

0 commit comments

Comments
 (0)