Skip to content

Commit 5c084ea

Browse files
committed
Complete confirmatory analysis and Nature Communications release
1 parent f267db8 commit 5c084ea

224 files changed

Lines changed: 20625 additions & 14918 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitignore‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ paper/**/*.out
3131
paper/**/*.run.xml
3232
paper/**/*.synctex.gz
3333
paper/**/*.toc
34+
results/confirmatory/teacher_refits/*/input/
35+
results/confirmatory/teacher_refits/*/model/
36+
results/confirmatory/teacher_refits/*/benchmark_and_public_raw_predictions.csv
37+
results/confirmatory/teacher_refits/confsolv/lightgbm_models.joblib
38+
results/confirmatory/teacher_refits/*/train.log

‎CHANGELOG.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Changelog
22

3-
## 1.0.0 — 2026-08-27
3+
## 1.0.0 — 2026-08-28
44

5-
- Freeze the leakage-audited 85-solute evaluation and repeated-split analysis.
5+
- Freeze the preregistered matched endpoint, shuffled-prior, global chemical-
6+
separation and zero-ARROW-label analyses.
7+
- Refit affected response teachers after standardized-equivalence exclusions and
8+
replace the historical headline with the corrected 0.202 kcal/mol result.
69
- Release the SMILES-only SolvAI inference stack and model artifacts.
7-
- Add machine-readable provenance, audits, figures, manuscript and supplement.
8-
10+
- Add machine-readable provenance, audits, Nature Communications manuscript,
11+
Extended Data and Supplementary Information.

‎CITATION.cff‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
cff-version: 1.2.0
22
message: "If you use SolvAI, please cite the accompanying manuscript."
3-
title: "Distilling solvation physics for simulation-free hydration free energies"
3+
title: "Structure-predicted solvent responses enable simulation-free hydration free-energy prediction"
44
type: software
55
version: 1.0.0
6-
date-released: 2026-08-27
6+
date-released: 2026-08-28
77
authors:
88
- family-names: Oren
99
given-names: Gal

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ paper: figures
2626
SOURCE_DATE_EPOCH=1787788800 FORCE_SOURCE_DATE=1 latexmk -pdf -interaction=nonstopmode -halt-on-error -cd paper/main.tex
2727
SOURCE_DATE_EPOCH=1787788800 FORCE_SOURCE_DATE=1 latexmk -pdf -interaction=nonstopmode -halt-on-error -cd paper/supplementary/supplementary.tex
2828
SOURCE_DATE_EPOCH=1787788800 FORCE_SOURCE_DATE=1 latexmk -pdf -interaction=nonstopmode -halt-on-error -jobname=ED_Table1 -cd paper/extended_data/ED_Table1_standalone.tex
29-
qpdf --empty --static-id --pages paper/main.pdf paper/extended_data/ED_Fig1_residuals.pdf paper/extended_data/ED_Fig2_provenance.pdf paper/extended_data/ED_Fig3_alternatives.pdf paper/extended_data/ED_Fig4_selective_pimd.pdf paper/extended_data/ED_Fig5_lambda_response.pdf paper/extended_data/ED_Fig6_extrapolation.pdf paper/extended_data/ED_Fig7_statistics.pdf paper/extended_data/ED_Table1.pdf -- paper/review_combined.pdf
29+
qpdf --empty --static-id --pages paper/main.pdf paper/extended_data/ED_Fig1_residuals.pdf paper/extended_data/ED_Fig2_provenance.pdf paper/extended_data/ED_Fig3_alternatives.pdf paper/extended_data/ED_Fig4_selective_pimd.pdf paper/extended_data/ED_Fig5_lambda_response.pdf paper/extended_data/ED_Fig6_extrapolation.pdf paper/extended_data/ED_Table1.pdf -- paper/review_combined.pdf
3030

3131
security:
3232
uv run python scripts/security_scan.py

‎README.md‎

Lines changed: 56 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,42 @@
11
# SolvAI
22

3-
**SolvAI distils solvent-response physics into a molecular model that predicts
4-
hydration free energies directly from structure—without molecular simulation at
5-
inference.**
3+
**SolvAI learns reusable solvent-response coordinates from physical calculations and
4+
predicts hydration free energy directly from molecular structure—without running
5+
simulation at inference.**
66

77
![SolvAI concept](paper/figures/main/fig1_concept.svg)
88

9-
Expensive quantum chemistry and molecular simulation normally resolve solvent
10-
response separately for every molecule. SolvAI instead learns structure-to-
11-
response surrogates from benchmark-disjoint physical calculations, combines
12-
their predictions with molecular descriptors, and returns hydration free energy
13-
from a SMILES string. It runs no MD, PIMD, ARROW trajectory, probe or routing
14-
policy at deployment.
9+
The released system maps one SMILES string to one hydration free energy. Its response
10+
surrogates were trained on benchmark-disjoint quantum-continuum, alchemical,
11+
empirical and conformational data; the expensive source calculations are not rerun
12+
for a query. PIMD-derived features were tested but are not present in the final model.
1513

16-
## Result
14+
## Confirmatory result
1715

1816
On the 85-solute neutral-hydration reference set introduced with ARROW:
1917

20-
| Method | Inference simulation? | MAE (kcal/mol) |
18+
| Method | Simulation at inference? | MAE (kcal/mol) |
2119
|---|---:|---:|
2220
| Classical ARROW | yes | 0.785 |
2321
| ARROW/PIMD8 | yes | 0.205 |
24-
| Previous structure-only model | no | 0.239 |
25-
| SolvAI, strict five-fold OOF | **no** | **0.197** |
26-
| SolvAI, five independent splits | **no** | **0.204 ± 0.005** |
22+
| Matched structure-only endpoint | no | 0.303 |
23+
| SolvAI, fixed five-fold OOF | **no** | **0.202** |
24+
| SolvAI, five complete partitions | **no** | **0.207 ± 0.004** |
25+
| SolvAI, no ARROW labels in training | **no** | **0.257** |
2726

28-
The exact sub-0.20 point estimate is split-sensitive. The supported conclusion
29-
is that SolvAI reaches PIMD8-level accuracy on this molecular reference set;
30-
robust sub-0.20 generalization is not claimed. Family and scaffold holdouts are
31-
0.240 and 0.241 kcal/mol, respectively.
27+
The matched endpoint uses exactly the same experimental labels, descriptors,
28+
ExtraTrees architecture, weights, folds and seeds; only the 15 response priors are
29+
removed. The paired OOF improvement is −0.101 kcal/mol (95% bootstrap interval,
30+
−0.215 to −0.020). Shuffled priors do not improve the endpoint, and the advantage
31+
survives global family, scaffold, molecular-cluster and nearest-neighbour exclusions.
32+
33+
The supported conclusion is PIMD8-level accuracy on this reference chemistry, not a
34+
general sub-0.20 claim. Global family and scaffold separation
35+
remain harder at 0.468 and 0.376 kcal/mol, respectively.
3236

3337
## Install and predict
3438

35-
Prerequisites are Python 3.11 and [uv](https://docs.astral.sh/uv/). Git LFS is
36-
required when cloning the bundled model artifacts.
39+
Python 3.11, [uv](https://docs.astral.sh/uv/) and Git LFS are required.
3740

3841
```bash
3942
git lfs install
@@ -43,14 +46,14 @@ make setup
4346
uv run solvai predict 'CCO'
4447
```
4548

46-
Output columns are input SMILES, ensemble-mean hydration free energy and
47-
ensemble spread, all energy values in kcal/mol:
49+
The command returns the ensemble-mean hydration free energy and ensemble spread in
50+
kcal/mol:
4851

4952
```text
50-
CCO -5.020248 0.005697
53+
CCO -5.012566 0.004714
5154
```
5255

53-
Python API:
56+
The API is equally small:
5457

5558
```python
5659
from solv_ai import predict_smiles
@@ -61,52 +64,42 @@ prediction, spread = predict_smiles(["CCO", "c1ccccc1"])
6164
## Reproduce the paper
6265

6366
```bash
64-
make test
65-
make verify
66-
make figures
67-
make paper
67+
make test && make verify && make figures && make paper
6868
```
6969

70-
This quick route uses frozen, hash-verified artifacts and recomputes every
71-
headline number from molecule-level held-out predictions. It does not rerun
72-
physics calculations or training. See
73-
[QUICK_REPRODUCTION.md](repro/QUICK_REPRODUCTION.md) and
74-
[FULL_REPRODUCTION.md](repro/FULL_REPRODUCTION.md) for the two scopes.
70+
This quick path uses frozen, hash-verified artifacts to recompute predictions,
71+
metrics, tables, figures and PDFs. It does not rerun physical calculations or model
72+
training. The preregistered confirmation protocol is in
73+
[`release/CONFIRMATORY_FREEZE.md`](release/CONFIRMATORY_FREEZE.md), with results in
74+
[`reports/CONFIRMATORY_ANALYSIS.md`](reports/CONFIRMATORY_ANALYSIS.md).
7575

76-
The compiled [main manuscript](paper/main.pdf) and
77-
[Supplementary Information](paper/supplementary/supplementary.pdf) follow the
78-
Nature submission separation: Extended Data are standalone files in
79-
`paper/extended_data/`, not figures embedded in the Supplementary Information.
80-
Machine-readable paper metrics are in
81-
[results/paper_metrics.json](results/paper_metrics.json).
76+
The compiled [manuscript](paper/main.pdf),
77+
[Supplementary Information](paper/supplementary/supplementary.pdf), standalone
78+
Extended Data and machine-readable Supplementary Data are included. See
79+
[`repro/QUICK_REPRODUCTION.md`](repro/QUICK_REPRODUCTION.md),
80+
[`repro/FULL_REPRODUCTION.md`](repro/FULL_REPRODUCTION.md) and
81+
[`repro/DATA_PROVENANCE.md`](repro/DATA_PROVENANCE.md).
8282

8383
## Scientific safeguards
8484

85-
- Every external supervised training connectivity is disjoint from ARROW-85.
86-
- Every accuracy value is held out; the all-data deployment refit is never used
87-
to score the paper.
88-
- The final input schema contains no experimental, ARROW, PIMD, trajectory,
89-
probe, family, scaffold or fold field.
90-
- The selected artifact uses no PIMD8 label. Sparse PIMD response supervision
91-
was tested, did not improve OOF accuracy, and is reported as an ablation.
92-
- The software reproduces the frozen metric and artifact audits in CI.
93-
94-
See the [leakage audit](audits/leakage_audit.md),
95-
[model card](models/final/MODEL_CARD.md) and
96-
[data provenance](repro/DATA_PROVENANCE.md).
85+
- Exact and standardized benchmark equivalents are absent from all supervised
86+
external training sources used by the confirmatory model.
87+
- Every reported accuracy value is held out; the all-data deployment refit is never
88+
used as evidence.
89+
- Shuffled-prior, global chemical-separation and zero-ARROW-label controls are
90+
included molecule by molecule.
91+
- Inference requires no experimental target, family/scaffold label, MD, PIMD, ARROW
92+
trajectory, probe or routing policy.
93+
- The released artifact contains no retained PIMD-trained feature.
9794

9895
## Repository map
9996

100-
- `solv_ai/` — public inference, feature and audit code
101-
- `models/final/` — frozen response teachers and endpoint ensemble
102-
- `results/` — held-out predictions, metrics and ablations
103-
- `figures/` — source-generated main and Extended Data figures
104-
- `paper/` — manuscript and Supplementary Information
105-
- `repro/` — quick/full reproduction and provenance
106-
- `submission/` — editorial and availability documents
107-
108-
## Citation and licence
97+
- `solv_ai/` — SMILES-only inference and metric code
98+
- `models/final/` — standardized-exclusion response surrogates and endpoint ensemble
99+
- `results/confirmatory/` — preregistered predictions, comparisons and statistics
100+
- `audits/confirmatory/` — identity, similarity and refit audits
101+
- `paper/` — Nature Communications manuscript, Extended Data and Supplementary files
102+
- `repro/` — quick/full reproduction and data provenance
109103

110-
Citation metadata are provided in `CITATION.cff`. Source code is MIT licensed.
111-
External data and model inputs retain the terms listed in
112-
`repro/DATA_PROVENANCE.md`.
104+
Citation metadata are provided in `CITATION.cff`. Code is MIT licensed; external
105+
datasets retain the terms listed in the provenance record.

‎audits/artifact_audit.csv‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
artifact,sha256,bytes,status
2-
MODEL_CARD.md,3f80cffbc246f6bcde1eb104e0b1699b686b462a6b53f0a7cf59bb5821901ba2,3637,PASS
2+
MODEL_CARD.md,dc46ac98f669ff923f05989eb9386e5fc3ecb790fdffcfc67e26d576dc0cee88,1230,PASS
33
abraham_teacher.joblib,8c8a6365e7162dbe6ae445ce4004928ed86b2669d3e7a70d3d054f143ca97554,87055391,PASS
4-
combisolv_qm.pt,a02e38a69450f67404909b46c6931ee5ba226460037c8caeadcf34cca3ed0690,37452324,PASS
5-
confsolv_teacher.joblib,55a1d8b9ef8758f478c2f79b8dce17a04526a9ac39373382dc5ee44c2e115f25,2297076,PASS
6-
head.joblib,1ba1449d65b053d7006dd4b47bd616ecb9ed027875f75ce47b4730b12d368d06,29448366,PASS
4+
combisolv_qm.pt,2950be1232e2f868136e3388cf139e671d4196922ece0d3c7043d9dadece8b40,37452324,PASS
5+
confsolv_teacher.joblib,a71487e53d5085e897dad02e62e95562933bc47262145fbf44286aae04b70b0d,5729365,PASS
6+
head.joblib,fdc88cbae31696f254d85eb427b3c53a4811f29b3290d605b4f1ea66ebb95790,29424285,PASS
77
implicit_teacher.joblib,484d5e0c1efa759c8e7acbfcbbd87e218b93ae239e7f35303fe4cd7e310910f8,36316890,PASS
8-
model_card.json,610f23c7aa3429a9b981166c9e7bf10d89b1797a8a1e9b43505543c7b30fdc6a,1268,PASS
9-
molsolv_smd.pt,2b03d32e038b615518b1509ebc2a7c98b3aba2a3eb2d6564a6f95fd7aa9a41d8,37226928,PASS
8+
model_card.json,6f9da531a67d0428822605d27f94530446a2105e9cb6ac73032cd6eaa870f9a6,1449,PASS
9+
molsolv_smd.pt,35601030f030af72a9e6990bf8003df9d481858b27994b3fc70c81d605d130be,37226928,PASS
1010
openff_teacher.joblib,55b7d31a293dd61fe57f5505e015775d7d86f53dca69980d398843706d58bb9b,48211661,PASS

‎audits/claim_red_team.json‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
{
22
"status": "PASS",
3-
"findings": [
4-
{
5-
"claim": "robust_sub_threshold",
6-
"file": "README.md",
7-
"line": 30,
8-
"text": "robust sub-0.20 generalization is not claimed. Family and scaffold holdouts are",
9-
"disposition": "explicit limitation/negation"
10-
}
11-
],
3+
"findings": [],
124
"unreviewed": []
135
}
22.4 KB
Binary file not shown.
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"benchmark_rows": 85,
3+
"endpoint_rows": 1280,
4+
"sources": [
5+
{
6+
"source": "endpoint_experimental",
7+
"source_rows": 1280,
8+
"unique_smiles_audited": 1280,
9+
"parse_failures": 0,
10+
"full_inchi_key_matches": 0,
11+
"connectivity_matches": 0,
12+
"fragment_parent_matches": 0,
13+
"uncharged_parent_matches": 0,
14+
"canonical_tautomer_matches": 0,
15+
"rows_sharing_benchmark_scaffold": 439,
16+
"maximum_similarity": 1.0,
17+
"median_of_benchmark_max_similarity": 0.5384615384615384
18+
},
19+
{
20+
"source": "combisolv_qm",
21+
"source_rows": 3963,
22+
"unique_smiles_audited": 3963,
23+
"parse_failures": 0,
24+
"full_inchi_key_matches": 0,
25+
"connectivity_matches": 0,
26+
"fragment_parent_matches": 0,
27+
"uncharged_parent_matches": 0,
28+
"canonical_tautomer_matches": 2,
29+
"rows_sharing_benchmark_scaffold": 874,
30+
"maximum_similarity": 1.0,
31+
"median_of_benchmark_max_similarity": 0.5625
32+
},
33+
{
34+
"source": "abraham",
35+
"source_rows": 8098,
36+
"unique_smiles_audited": 8098,
37+
"parse_failures": 0,
38+
"full_inchi_key_matches": 0,
39+
"connectivity_matches": 0,
40+
"fragment_parent_matches": 0,
41+
"uncharged_parent_matches": 0,
42+
"canonical_tautomer_matches": 0,
43+
"rows_sharing_benchmark_scaffold": 3000,
44+
"maximum_similarity": 1.0,
45+
"median_of_benchmark_max_similarity": 0.6
46+
},
47+
{
48+
"source": "openff",
49+
"source_rows": 520,
50+
"unique_smiles_audited": 520,
51+
"parse_failures": 0,
52+
"full_inchi_key_matches": 0,
53+
"connectivity_matches": 0,
54+
"fragment_parent_matches": 0,
55+
"uncharged_parent_matches": 0,
56+
"canonical_tautomer_matches": 0,
57+
"rows_sharing_benchmark_scaffold": 190,
58+
"maximum_similarity": 1.0,
59+
"median_of_benchmark_max_similarity": 0.45454545454545453
60+
},
61+
{
62+
"source": "gbn2",
63+
"source_rows": 550,
64+
"unique_smiles_audited": 550,
65+
"parse_failures": 0,
66+
"full_inchi_key_matches": 0,
67+
"connectivity_matches": 0,
68+
"fragment_parent_matches": 0,
69+
"uncharged_parent_matches": 0,
70+
"canonical_tautomer_matches": 0,
71+
"rows_sharing_benchmark_scaffold": 206,
72+
"maximum_similarity": 1.0,
73+
"median_of_benchmark_max_similarity": 0.45454545454545453
74+
},
75+
{
76+
"source": "molsolv_smd",
77+
"source_rows": 350391,
78+
"unique_smiles_audited": 350391,
79+
"parse_failures": 2,
80+
"full_inchi_key_matches": 0,
81+
"connectivity_matches": 0,
82+
"fragment_parent_matches": 0,
83+
"uncharged_parent_matches": 0,
84+
"canonical_tautomer_matches": 32,
85+
"rows_sharing_benchmark_scaffold": 51943,
86+
"maximum_similarity": 1.0,
87+
"median_of_benchmark_max_similarity": 0.5789473684210527
88+
},
89+
{
90+
"source": "confsolv",
91+
"source_rows": 39878,
92+
"unique_smiles_audited": 39878,
93+
"parse_failures": 0,
94+
"full_inchi_key_matches": 0,
95+
"connectivity_matches": 0,
96+
"fragment_parent_matches": 13,
97+
"uncharged_parent_matches": 22,
98+
"canonical_tautomer_matches": 22,
99+
"rows_sharing_benchmark_scaffold": 7008,
100+
"maximum_similarity": 1.0,
101+
"median_of_benchmark_max_similarity": 0.5
102+
}
103+
],
104+
"exact_identity_clean": true,
105+
"standardized_identity_clean": false,
106+
"requires_standardized_exclusion_rerun": true,
107+
"fingerprint": "Morgan radius 2, 2,048 bits",
108+
"standardization": [
109+
"RDKit parse and canonical isomeric SMILES",
110+
"MolStandardize FragmentParent",
111+
"MolStandardize Uncharger",
112+
"MolStandardize canonical tautomer"
113+
]
114+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Confirmatory chemical-distance and leakage audit
2+
3+
- Benchmark molecules: **85**
4+
- Endpoint experimental training rows: **1,280**
5+
- Exact identity/connectivity firewall clean: **YES**
6+
- Standardized parent/tautomer firewall clean: **NO**
7+
8+
| Source | Rows | Exact connectivity | Uncharged parent | Canonical tautomer | Shared scaffold rows | Maximum similarity |
9+
| --- | ---: | ---: | ---: | ---: | ---: | ---: |
10+
| endpoint_experimental | 1,280 | 0 | 0 | 0 | 439 | 1.000 |
11+
| combisolv_qm | 3,963 | 0 | 0 | 2 | 874 | 1.000 |
12+
| abraham | 8,098 | 0 | 0 | 0 | 3,000 | 1.000 |
13+
| openff | 520 | 0 | 0 | 0 | 190 | 1.000 |
14+
| gbn2 | 550 | 0 | 0 | 0 | 206 | 1.000 |
15+
| molsolv_smd | 350,391 | 0 | 0 | 32 | 51,943 | 1.000 |
16+
| confsolv | 39,878 | 0 | 22 | 22 | 7,008 | 1.000 |
17+
18+
The scaffold and similarity results are proximity diagnostics, not identity leakage. Every identity-equivalent match is listed in `chemical_identity_matches.csv`; nearest neighbours for every benchmark/source pair are listed in `chemical_distance_by_benchmark.csv`.

0 commit comments

Comments
 (0)