Skip to content

Commit 1541efa

Browse files
committed
Add Nature manuscript, reviews, and release documentation
1 parent cfa15cc commit 1541efa

51 files changed

Lines changed: 1627 additions & 0 deletions

Some content is hidden

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

‎.github/workflows/paper.yml‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: paper
2+
3+
on:
4+
push:
5+
paths:
6+
- "paper/**"
7+
- "figures/**"
8+
- "scripts/make_figures.py"
9+
- "scripts/make_tables.py"
10+
- "results/**"
11+
pull_request:
12+
paths:
13+
- "paper/**"
14+
- "figures/**"
15+
- "scripts/make_figures.py"
16+
- "scripts/make_tables.py"
17+
- "results/**"
18+
19+
jobs:
20+
build-paper:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
lfs: true
26+
- uses: astral-sh/setup-uv@v6
27+
with:
28+
enable-cache: true
29+
- run: uv sync --extra dev --locked
30+
- name: Install LaTeX
31+
run: sudo apt-get update && sudo apt-get install -y latexmk texlive-latex-extra texlive-fonts-recommended
32+
- run: make paper
33+
- name: Require deterministic tables and figures
34+
run: git diff --exit-code -- paper/tables figures/
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: frozen reproducibility
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths:
7+
- "data/**"
8+
- "models/**"
9+
- "results/**"
10+
- "solv_ai/**"
11+
- "scripts/**"
12+
13+
jobs:
14+
verify:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
lfs: true
20+
- uses: astral-sh/setup-uv@v6
21+
with:
22+
enable-cache: true
23+
- run: uv sync --extra dev --locked
24+
- run: make verify
25+
- name: Require deterministic generated artifacts
26+
run: git diff --exit-code -- results/paper_metrics.json results/paper_metrics.csv reports/PAPER_FREEZE.md audits/

‎.github/workflows/test.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
lfs: true
14+
- uses: astral-sh/setup-uv@v6
15+
with:
16+
enable-cache: true
17+
- run: uv sync --extra dev --locked
18+
- run: uv run ruff check solv_ai scripts tests
19+
- run: uv run pytest -q
20+
- run: uv run python scripts/verify_artifact.py

‎AUTHORS.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Authors
2+
3+
- Gal Oren
4+
- Michael Levitt
5+
6+
Affiliations, correspondence designations, and ORCID identifiers require author
7+
confirmation before journal submission. They are intentionally not inferred here.
8+

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## 1.0.0 — 2026-08-27
4+
5+
- Freeze the leakage-audited 85-solute evaluation and repeated-split analysis.
6+
- Release the SMILES-only SolvAI inference stack and model artifacts.
7+
- Add machine-readable provenance, audits, figures, manuscript and supplement.
8+

‎CITATION.cff‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
cff-version: 1.2.0
2+
message: "If you use SolvAI, please cite the accompanying manuscript."
3+
title: "Distilling solvation physics into AI for simulation-free hydration free energies"
4+
type: software
5+
version: 1.0.0
6+
date-released: 2026-08-27
7+
authors:
8+
- family-names: Oren
9+
given-names: Gal
10+
- family-names: Levitt
11+
given-names: Michael
12+
repository-code: "https://github.com/Scientific-Computing-Lab/SolvAI"
13+
license: MIT
14+

‎README.md‎

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# SolvAI
2+
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.**
6+
7+
![SolvAI architecture](figures/main/figure_1_concept.svg)
8+
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.
15+
16+
## Result
17+
18+
On the 85-solute neutral-hydration reference set introduced with ARROW:
19+
20+
| Method | Inference simulation? | MAE (kcal/mol) |
21+
|---|---:|---:|
22+
| Classical ARROW | yes | 0.785 |
23+
| 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** |
27+
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.
32+
33+
## Install and predict
34+
35+
Prerequisites are Python 3.11 and [uv](https://docs.astral.sh/uv/). Git LFS is
36+
required when cloning the bundled model artifacts.
37+
38+
```bash
39+
git lfs install
40+
git clone https://github.com/Scientific-Computing-Lab/SolvAI.git
41+
cd SolvAI
42+
make setup
43+
uv run solvai predict 'CCO'
44+
```
45+
46+
Output columns are input SMILES, ensemble-mean hydration free energy and
47+
ensemble spread, all energy values in kcal/mol:
48+
49+
```text
50+
CCO -5.020248 0.005697
51+
```
52+
53+
Python API:
54+
55+
```python
56+
from solv_ai import predict_smiles
57+
58+
prediction, spread = predict_smiles(["CCO", "c1ccccc1"])
59+
```
60+
61+
## Reproduce the paper
62+
63+
```bash
64+
make test
65+
make verify
66+
make figures
67+
make paper
68+
```
69+
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.
75+
76+
The compiled manuscript is [paper/main.pdf](paper/main.pdf), with
77+
[Supplementary Information](paper/supplementary.pdf). Machine-readable paper
78+
metrics are in [results/paper_metrics.json](results/paper_metrics.json).
79+
80+
## Scientific safeguards
81+
82+
- Every external supervised training connectivity is disjoint from ARROW-85.
83+
- Every accuracy value is held out; the all-data deployment refit is never used
84+
to score the paper.
85+
- The final input schema contains no experimental, ARROW, PIMD, trajectory,
86+
probe, family, scaffold or fold field.
87+
- The selected artifact uses no PIMD8 label. Sparse PIMD response supervision
88+
was tested, did not improve OOF accuracy, and is reported as an ablation.
89+
- The software reproduces the frozen metric and artifact audits in CI.
90+
91+
See the [leakage audit](audits/leakage_audit.md),
92+
[model card](models/final/MODEL_CARD.md) and
93+
[data provenance](repro/DATA_PROVENANCE.md).
94+
95+
## Repository map
96+
97+
- `solv_ai/` — public inference, feature and audit code
98+
- `models/final/` — frozen response teachers and endpoint ensemble
99+
- `results/` — held-out predictions, metrics and ablations
100+
- `figures/` — source-generated main and Extended Data figures
101+
- `paper/` — manuscript and Supplementary Information
102+
- `repro/` — quick/full reproduction and provenance
103+
- `submission/` — editorial and availability documents
104+
105+
## Citation and licence
106+
107+
Citation metadata are provided in `CITATION.cff`. Source code is MIT licensed.
108+
External data and model inputs retain the terms listed in
109+
`repro/DATA_PROVENANCE.md`.
23.1 KB
Binary file not shown.
21.7 KB
Binary file not shown.
17.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)