|
| 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 | + |
| 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`. |
0 commit comments