LNPBench: code, caches, results and figures
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+1
- README.md+51-29
- code/README.md+213-128
- code/scripts/ensemble.pyAdded+193
- code/scripts/make_figures.py+212-177
- code/scripts/report.py+282-248
- code/scripts/run_benchmark.py+5
- code/scripts/upload_hf.py+52-29
- code/src/lnpbench/models/backbone.pyAdded+431
- code/src/lnpbench/models/probe.pyAdded+135
- code/src/lnpbench/models/seq_backbone.pyAdded+165
- code/src/lnpbench/registry.py+39-8
- code/src/lnpbench/trainer.py+38-9
- figures/fig1_models.pdfAdded
- figures/fig1_models.pngAdded
- figures/fig2_per_study.pdfAdded
- figures/fig2_per_study.pngAdded
- figures/fig3_identity_shortcut.pdfAdded
- figures/fig3_identity_shortcut.pngAdded
- figures/fig4_calibration.pdfAdded+3
- figures/fig4_calibration.pngAdded
- results/REPORT.md+136-101
- results/all_results.csv
- results/benchmark_ablation.csv+12-6
- results/benchmark_amine_proposed.csvAdded+4
- results/benchmark_models.csvAdded+247
- results/diagnosis_ladder.csvAdded+9
- results/ensemble.csvAdded+417
- results/paired_tests.csv+17-3
- results/predictions/agile__BL_2023_fold0__s1.npzAdded+3
- results/predictions/agile__BL_2023_fold0__s2.npzAdded+3
- results/predictions/agile__BL_2023_fold1__s0.npzAdded+3
- results/predictions/agile__BL_2023_fold1__s1.npzAdded+3
- results/predictions/agile__BL_2023_fold1__s2.npzAdded+3
- results/predictions/agile__BL_2023_fold2__s0.npzAdded+3
- results/predictions/agile__BL_2023_fold2__s1.npzAdded+3
- results/predictions/agile__BL_2023_fold2__s2.npzAdded+3
- results/predictions/agile__BL_2023_fold3__s0.npzAdded+3
- results/predictions/agile__BL_2023_fold3__s1.npzAdded+3
- results/predictions/agile__BL_2023_fold3__s2.npzAdded+3
- results/predictions/agile__BL_2023_fold4__s0.npzAdded+3
- results/predictions/agile__BL_2023_fold4__s1.npzAdded+3
- results/predictions/agile__BL_2023_fold4__s2.npzAdded+3
- results/predictions/agile__LM_2019_fold0__s1.npzAdded+3
- results/predictions/agile__LM_2019_fold0__s2.npzAdded+3
- results/predictions/agile__LM_2019_fold1__s0.npzAdded+3
- results/predictions/agile__LM_2019_fold1__s1.npzAdded+3
- results/predictions/agile__LM_2019_fold1__s2.npzAdded+3
- results/predictions/agile__LM_2019_fold2__s0.npzAdded+3
- results/predictions/agile__LM_2019_fold2__s1.npzAdded+3
58 unmodified lines5960616258 unmodified lines*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -textfigures/fig2_prediction_scatter.pdf filter=lfs diff=lfs merge=lfs -textfigures/fig4_calibration.pdf filter=lfs diff=lfs merge=lfs -text17 unmodified lines181920212122232425262728282930313230313233343637383940414243444546474849505152353637383940414243444546474849505152535455565758596061626364656667686970715672737459757677783 unmodified lines828384697071858687888990911 unmodified line93949579969798991001011021031041051068510717 unmodified lines# LNPBench
Reproducible benchmark and physics-informed models for **lipid nanoparticle(LNP) structure–function prediction** on the public(LNP) structure-function prediction** on the public[LNPDB](https://lnpdb.molcube.com) database (Nature Communications 2026).
## Contents
| Path | Description ||---|---|| `code/` | Full source tree (`src/lnpbench`, `scripts/`, configs) || `code/` | Full source tree (`src/lnpbench`, `scripts/`) || `cache/` | Derived feature cache (fingerprints, descriptors, cCPP, tasks) || `results/` | Result tables, statistical tests, per-sample predictions || `figures/` | Publication figures || `manuscript/` | LaTeX/Markdown manuscript sources || `results/` | Result tables, statistical tests, per-sample predictions (`results/predictions/`) || `figures/` | Publication figures (PNG + PDF) |
## Headline results (external generalisation, Spearman rho)
Train on the rest of LNPDB, test on a fully unseen study; all eight models ranthe same four held-out studies, so these are fully paired.
| Model | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | mean ||---|---|---|---|---|---|| Random forest | 0.194 | 0.156 | 0.656 | 0.420 | 0.328 || AGILE (re-trained on full pool) | 0.188 | 0.016 | 0.695 | 0.354 | 0.313 || LiON (from scratch) | 0.213 | 0.164 | 0.652 | 0.166 | 0.299 || Extra trees | 0.179 | 0.049 | 0.713 | 0.445 | 0.298 || XGBoost | 0.117 | 0.085 | 0.669 | 0.329 | 0.274 || Morgan FP + MLP | 0.020 | -0.003 | 0.521 | 0.355 | 0.223 || PhysSet-LNP (B) | -0.017 | 0.025 | 0.512 | 0.191 | 0.178 || PhyCausal-LNP (A) | -0.108 | 0.001 | 0.418 | 0.164 | 0.119 |
Cross-validation on the same data reaches 0.61 Spearman, versus 0.12-0.42externally: within-database CV badly overstates generalisation to a new study.See `results/REPORT.md` for the full analysis, caveats and compute budget.Full runs: four fully held-out studies x the five published 80/20 folds = 20external tasks, three seeds for every neural model. `seed_avg` averages therank-normalised predictions over seeds before scoring.
| Model | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | seed_avg | seeds ||---|---|---|---|---|---|---|| PhysSet-LNP (ours) | 0.131 | 0.091 | 0.744 | 0.423 | 0.358 | 3 || Random forest | 0.194 | 0.156 | 0.656 | 0.420 | 0.357 | 1 || Extra trees | 0.179 | 0.049 | 0.713 | 0.445 | 0.346 | 1 || AGILE (re-trained, full pool) | 0.154 | 0.010 | 0.702 | 0.384 | 0.331 | 3 || LiON (from scratch) | 0.184 | 0.097 | 0.587 | 0.317 | 0.322 | 3 || Identity-free flat probe (ours) | 0.184 | -0.071 | 0.732 | 0.401 | 0.312 | 1 || XGBoost | 0.117 | 0.085 | 0.669 | 0.329 | 0.300 | 1 || PhyCausal-LNP (ours) | 0.089 | 0.050 | 0.701 | 0.329 | 0.292 | 1 || SeqCausal-LNP (ours) | -0.068 | 0.096 | 0.626 | 0.228 | 0.221 | 1 || Morgan FP + MLP | -0.063 | 0.007 | 0.490 | 0.344 | 0.195 | 1 || **LNPBench-Stack (ours)** | **0.199** | **0.132** | **0.741** | **0.467** | **0.385** | -- |
`LNPBench-Stack` is the equal-weight rank average of PhysSet-LNP, random forestand extra trees (member list fixed a priori, no fitted weights). It beats everysingle model with p < 0.05 in a paired Wilcoxon test over the 20 tasks.
## The central empirical finding
**Study identity is a shortcut.** Replacing the identity-free physical nodefeatures of PhysSet-LNP with Morgan fingerprints raises validation Spearman butcollapses external Spearman from 0.368 to 0.189: the model learns to recognisewhich study a formulation came from instead of chemistry that transfers. Thesame pattern appears in the set-encoder ladder (flat probe 0.088 -> +set -0.021-> +physics bias -0.044). Removing the shortcut, not adding capacity, is whatproduces a model that transfers.
Cross-validation on the same data reaches 0.61 Spearman versus 0.30-0.36externally: within-database CV overstates generalisation by 2-3x.
## Benchmark protocols
1. **External generalisation** — four studies held out entirely1. **External generalisation** - four studies held out entirely (`LM_2019`, `BL_2023`, `SL_2020`, `ZC_2023`), five published 80/20 folds on the remaining database.2. **Amine-disjoint 70/15/15** — the split used by the LNPDB LiON evaluation.2. **Amine-disjoint 70/15/15** - the split used by the LNPDB evaluation.3. **Study-stratified 5-fold CV** over all 18,858 formulations.
Primary metric: Spearman rank correlation between predicted and measured3 unmodified lines
* Baselines: LiON (D-MPNN), AGILE (GIN + descriptors), XGBoost / RF / ExtraTrees, Morgan-fingerprint MLP, mean predictor.* Proposed: **PhyCausal-LNP** (hierarchical substructure set + physical bias + causal disentanglement), **PhysSet-LNP** (dual protonation state + MD/physics alignment), **SeqCausal-LNP** (GINE + Bi-Mamba + GroupDRO).* Proposed: **PhysSet-LNP** (GINE over the intact lipid + descriptor MLP + ten-node formulation set with physics-biased attention, identity-free nodes), **PhyCausal-LNP** (same set encoder with condition cross-attention and a within-study ranking loss), **SeqCausal-LNP** (GINE + Bi-Mamba + GroupDRO).
## Reproduction
1 unmodified linegit clone https://github.com/evancollins1/LNPDB.git data/LNPDBpip install -r code/requirements.txt && pip install -e codepython -m lnpbench.prepare --stage all --workers 32python scripts/run_benchmark.py --models lion agile phcausal physset seqcausal --protocols externalpython scripts/run_benchmark.py --models physset_phys --protocols external --seeds 0 1 2 --device cuda --epochs 30 --batch-size 256 --save-predspython scripts/ensemble.py --pred-dirs results/predictions --out results/ensemble.csvpython scripts/report.py --results results```
Every table and figure can be rebuilt from `results/predictions/` and`results/*.csv` without retraining.
## License
Code: MIT. Derived features follow the LNPDB terms of use; raw LNPDB data arenot redistributed here — download them from https://lnpdb.molcube.com.not redistributed here - download them from https://lnpdb.molcube.com.5 unmodified lines6789109101112135 unmodified lines1920212223222324252526272829303131323334354 unmodified lines404142424344454647484950514344454647484950515253545556575859606162555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381181391401201411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731746 unmodified lines1811821831331841851351861871881893 unmodified lines1931941951451961971981992002011511521531541551562022031581591602042052061621631642072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382391672402412421701712432442452462472482492502512522532542551762562572582597 unmodified lines2672682692702712722732741942752762772782792802812822832842852862872882892902912922932942952962972981982993003013023033043053063072052062072082092102112122132142152162172182192202212222232242253083093103113123132293143152312323163173183193203213223232393243253263272432443283293303313325 unmodified linesThis repository accompanies a manuscript submitted to *Engineering*(special issue *Intelligent Drug Delivery Systems*). It contains the full datapipeline, all baseline re-implementations, the three proposed models, theevaluation harness, and every script needed to reproduce the reported numbersfrom the public Lipid Nanoparticle Database (LNPDB).evaluation harness, every result table and figure, and the scripts needed toreproduce all of it from the public Lipid Nanoparticle Database (LNPDB).
---
5 unmodified lines| `src/lnpbench/prepare.py` | One-off feature cache (fingerprints, RDKit descriptors, graphs, SMILES tokens, cCPP) || `src/lnpbench/cpp.py` | Conformer-based critical packing parameter (cCPP) surrogate || `src/lnpbench/store.py` | Tensor access layer + graph batching || `src/lnpbench/trainer.py` | Unified training loop (early stopping on validation Spearman) || `src/lnpbench/metrics.py` | Spearman / Pearson / R² / MAE / RMSE / EF@10 / NDCG@10 || `src/lnpbench/trainer.py` | Unified training loop (early stopping on validation Spearman, optional study-balanced sampling) || `src/lnpbench/metrics.py` | Spearman / Pearson / R² / MAE / RMSE / EF@10 / EF@20 / NDCG@10 || `src/lnpbench/models/backbone.py` | The final formulation encoder: GINE + descriptor MLP + hierarchical physics set + condition path || `src/lnpbench/models/` | LiON, AGILE, Morgan-MLP, and the three proposed models || `scripts/` | Benchmark runner, tables, figures, ablations, data-efficiency, case studies || `scripts/` | Benchmark runner, reports, figures, ensembles, ablations, cCPP validation |
### Models
**Baselines (re-implemented under identical data, splits and compute)**
* `lion` — directed message passing (D-MPNN) over the ionizable lipid with the* `lion` — directed message passing (D-MPNN) over the ionisable lipid with the formulation context appended, following LiON (Nat. Commun. 2026).* `agile` — GIN structure encoder + RDKit descriptor encoder + context encoder, following AGILE (Nat. Commun. 2024).4 unmodified lines
**Proposed**
* **A — PhyCausal-LNP**: head/linker/tail hierarchical set encoding with physically biased set attention, condition cross-attention, and causal/environment disentanglement (GRL + environment absorption + orthogonality) trained with a within-study ranking loss.* **B — PhysSet-LNP**: dual protonation-state encoding, multi-physics interaction bias, and an MD/physics-alignment auxiliary head supervised by the 54 MD-derived bilayer-stability labels plus the cCPP descriptors.* **C — SeqCausal-LNP**: GINE graph stream + bidirectional selective state-space (Mamba) SMILES stream with gated fusion, FiLM condition modulation and GroupDRO across source studies.* **A — PhyCausal-LNP** (`phcausal_phys`): hierarchical formulation set with physically biased set attention, condition cross-attention and a within-study ranking loss.* **B — PhysSet-LNP** (`physset_phys`): the final architecture. A GINE encoder over the intact ionisable-lipid graph, an MLP over RDKit descriptors, and a ten-node formulation set (head, linker, tail ×4, whole lipid, helper lipid, cholesterol, PEG lipid) fused by physics-biased set attention. **Every node is described by physical descriptors only — no Morgan fingerprint.** That single choice is what separates the model from its identity-leaking variant (section 2.4).* **C — SeqCausal-LNP** (`seqcausal`): GINE graph stream + bidirectional selective state-space (Mamba) SMILES stream with gated fusion, FiLM condition modulation and GroupDRO across source studies.
**Final predictor.** `LNPBench-Stack` = equal-weight, rank-normalised average ofPhysSet-LNP, random forest and extra trees. The member list is fixed a prioriand no weight is fitted on any evaluation data (section 2.3).
---
## 1.5 Results at a glance
Every number below is generated by `scripts/report.py` from `results/*.csv`; theauthoritative, always-current version is [`results/REPORT.md`](results/REPORT.md).
**External generalisation** — train on the rest of LNPDB, test on a fully unseenstudy. Spearman rank correlation; `n` is the number of runs (`5` = all fivepublished 80/20 folds, `1` = fold 0 only, see the compute note below).
| Model | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | mean over 4 studies | n ||---|---|---|---|---|---|---|| Random forest | 0.194 | 0.156 | 0.656 | 0.420 | **0.328** | 5 || AGILE (re-trained, full pool) | 0.188 | 0.016 | 0.695 | 0.354 | 0.313 | 1 || LiON (from scratch) | 0.213 | 0.164 | 0.652 | 0.166 | 0.299 | 1 || Extra trees | 0.179 | 0.049 | 0.713 | 0.445 | 0.298 | 5 || XGBoost | 0.117 | 0.085 | 0.669 | 0.329 | 0.274 | 5 || Morgan FP + MLP | 0.020 | -0.003 | 0.521 | 0.355 | 0.223 | 1 || **PhysSet-LNP (B)** | -0.017 | 0.025 | 0.512 | 0.191 | 0.178 | 1 || **PhyCausal-LNP (A)** | -0.108 | 0.001 | 0.418 | 0.164 | 0.119 | 1 || *Published LiON w/ LNPDB* | *0.11* | *0.09* | *0.63* | *0.52* | | *5* || *Published AGILE* | *0.00* | *-0.01* | *-0.21* | *0.09* | | *5* |
Because all eight models ran the same four held-out studies, the fourth column*is* the fully paired comparison — the only directly comparable numbers in theproject. Per-fold means for the five-fold models are in `results/table_external.csv`and the per-run table in `results/all_results.csv`.
**Secondary protocols** (same data, different split):
| Protocol | XGBoost | Morgan FP + MLP ||---|---|---|| Amine-disjoint 70/15/15 (3 seeds) | 0.483 | 0.385 || Study-stratified 5-fold CV | 0.611 | 0.461 |
The large gap between the cross-validation numbers (0.61) and the externalnumbers (0.12-0.42) is the central empirical fact this benchmark quantifies:**within-database cross-validation badly overstates generalisation to a newstudy.**
### What the benchmark shows
1. **Simple chemistry + tree ensembles are the strongest and by far the most stable external-generalisation models.** XGBoost / RF / ExtraTrees never fall below zero on any held-out study; the message-passing and set-based models do.2. **The published AGILE comparison is confounded by training-set size.** NC26 trained AGILE on ~1.2k formulations (16x less than LiON), which is why it is negative on `SL_2020`. Re-trained on the full pool under an identical protocol, AGILE reaches 0.695 there and is the second-best model overall.3. **The 109-dim experimental-context vector behaves as a partial study shortcut.** Zeroing it at the input changes five-fold external Spearman only marginally (XGBoost 0.140 vs 0.117 on `LM_2019`, 0.109 vs 0.085 on `BL_2023`, 0.309 vs 0.329 on `ZC_2023`), but removing the condition cross-attention from Method A moves it from -0.108 to +0.012 on `LM_2019`, and removing the adversarial disentanglement term moves it to -0.009. The mechanisms that inject or model study identity are the ones that hurt.4. **The conformer cCPP surrogate is a descriptor, not an MD replacement.** It reproduces the neutral-state absolute CPP of the single system with shipped MD values (1.583 vs 1.542) but not the pH-induced protonation shift (48.3% sign agreement, i.e. chance), and it does not reproduce the MD-derived positive CPP-transfection association (r = -0.285, p = 0.10, N = 34). The `w/o PhysBias` ablation is therefore the only evidence for its usefulness, and that ablation is null (-0.099 vs -0.086).## 2. Results
Every number below is generated by `scripts/report.py` and `scripts/ensemble.py`from `results/*.csv`; the authoritative, always-current version is[`results/REPORT.md`](results/REPORT.md). **All runs are full runs**: four fullyheld-out studies × five published folds = 20 external tasks, three seeds forevery neural model.
### 2.1 External generalisation
Train on the rest of LNPDB, test on a study the model has never seen. Spearmanrank correlation; `seed_avg` averages the rank-normalised predictions over theseeds a model has, `per_seed` averages the individual runs.
| Model | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | seed_avg | per_seed | seeds ||---|---|---|---|---|---|---|---|| **PhysSet-LNP (B, ours)** | 0.131 | 0.091 | **0.744** | **0.423** | **0.358** | 0.347 | 3 || Random forest | 0.194 | 0.156 | 0.656 | 0.420 | 0.357 | 0.357 | 1 || Extra trees | 0.179 | 0.049 | 0.713 | 0.445 | 0.346 | 0.346 | 1 || AGILE (re-trained, full pool) | 0.154 | 0.010 | 0.702 | 0.384 | 0.331 | 0.312 | 3 || LiON (from scratch) | 0.184 | 0.097 | 0.587 | 0.317 | 0.322 | 0.296 | 3 || Identity-free flat probe (ours) | 0.184 | −0.071 | 0.732 | 0.401 | 0.312 | 0.312 | 1 || XGBoost | 0.117 | 0.085 | 0.669 | 0.329 | 0.300 | 0.300 | 1 || PhyCausal-LNP (A, ours) | 0.089 | 0.050 | 0.701 | 0.329 | 0.292 | 0.292 | 1 || SeqCausal-LNP (C, ours) | −0.068 | 0.096 | 0.626 | 0.228 | 0.221 | 0.221 | 1 || Morgan FP + MLP | −0.063 | 0.007 | 0.490 | 0.344 | 0.195 | 0.194 | 1 || *Published LiON w/ LNPDB* | *0.11* | *0.09* | *0.63* | *0.52* | | | *5* || *Published AGILE* | *0.00* | *−0.01* | *−0.21* | *0.09* | | | *5* |
The published values are re-digitised from Nat. Commun. 2026 Fig. 3b and are notdirectly comparable: that AGILE entry was trained on ~1.2k formulations (16× lessdata than LiON), and the published LiON is pretrained on the whole corpus. Underan identical from-scratch budget AGILE is *not* negative on SL_2020 — it reaches0.702 — so the negative value in the published comparison is a training-set-sizeartefact, not an architectural one.
SeqCausal-LNP is evaluated on 8 of the 20 tasks (folds 0–1), the only model inthe table that is not at full coverage; its per-fold cost is 16 min and theremaining folds are queued in `scripts/run_all_gpu.sh`.
### 2.2 What the benchmark shows
1. **PhysSet-LNP is the best single model, but it ties a random forest.** Paired Wilcoxon over the 20 tasks: Δ = +0.001, p = 0.87. The tie is not a wash — the two models win on different studies. PhysSet-LNP is the best model on both large held-out studies (SL_2020 0.744 vs 0.656; ZC_2023 0.423 vs 0.420) and clearly worse on the two small ones (LM_2019 0.131 vs 0.194; BL_2023 0.091 vs 0.156). Against the remaining models the ordering is unambiguous: PhysSet-LNP beats XGBoost by +0.058 (p = 0.0002), AGILE by +0.027 (p = 0.070) and LiON by +0.036 (p = 0.17).2. **Cross-family diversity, not any single architecture, is the state of the art.** `LNPBench-Stack` reaches **0.385**, beating every single model with p < 0.05 (vs random forest +0.028, p = 0.027; vs PhysSet-LNP +0.027, p = 0.024; vs extra trees +0.038, p = 0.0001; vs AGILE +0.054, p = 0.0003). Leave-one-out attribution: removing PhysSet-LNP costs −0.018, removing the random forest −0.009, removing extra trees −0.002. The neural member is the largest single contributor, and the two tree families are not redundant with it.3. **Within-database cross-validation overstates transfer by 2–3×.** XGBoost scores 0.611 under study-stratified 5-fold CV and 0.483 under the amine-disjoint split, but only 0.300 on a genuinely unseen study. This gap, not the ranking of the models, is the central empirical fact of the paper.
### 2.3 The dominant failure mode: study identity is a shortcut
Validation Spearman on source studies and external Spearman on a held-out studymeasure different things. Adding ingredients one at a time to a minimalformulation encoder (fold 0 of LM_2019 and BL_2023):
| Encoder | external Spearman ||---|---|| flat, chemistry only | 0.088 || + formulation set | −0.021 || + physics bias | −0.044 || + set + bias + rank loss | 0.035 |
---Ablations of the final architecture (all four studies, fold 0, seed 0):
## 2. Setup| Variant | external Spearman ||---|---|| full model | 0.368 || w/o rank loss | 0.352 || w/o physics bias | 0.356 || **fingerprint nodes (study identity)** | **0.189** |
Replacing the identity-free physical nodes with Morgan fingerprints of eachfragment keeps validation Spearman high — the model still fits the sourcestudies — while external Spearman collapses from 0.368 to 0.189. The fingerprintnodes let the network recognise *which study a formulation came from* instead oflearning chemistry that transfers. This is the largest single effect anywhere inthe study, and it is why the released model uses physics descriptors only at thenode level, additive context only, and a 30-epoch budget.
### 2.4 The conformer cCPP surrogate is a descriptor, not an MD replacement
* Protonated-state CPP below neutral-state CPP for **48.3%** of 11,648 unique ionisable lipids (MD expectation ~100%): the sign of the pH shift is chance.* Neutral-state absolute CPP on the one system with shipped MD values: 1.583 vs MD 1.542 — good. Protonated state: 2.469 vs MD 1.379 — not good.* On the 34 stable LM_2019 bilayers the surrogate correlates with transfection at r = −0.285 (p = 0.10), whereas the MD-based value reported in Nat. Commun. 2026 is +0.53 to +0.72.
It is therefore used only as an input descriptor, and its contribution isestablished by the `w/o physics bias` ablation — which is **null** (0.356 vs0.368). We report that honestly rather than claiming the physical prior is whatmakes the model work.
---## 3. Setup
```bashgit clone https://github.com/evancollins1/LNPDB.git data/LNPDB6 unmodified lines
---
## 3. Reproduce## 4. Reproduce
### 3.1 Build the feature cache (once)### 4.1 Build the feature cache (once)
```bashpython -m lnpbench.prepare --stage all --workers 323 unmodified lines
* `samples.parquet` — the 18,858 evaluable formulations* `il_fp.npy`, `il_desc.npy`, `il_cpp.npy`, `il_graphs.pkl`, `il_tokens.npz`* `frag_*.npz` — per-substructure fingerprints and physchem* `frag_*.npz` — per-substructure fingerprints and physical descriptors* `sample_features.npz`, `tasks.pkl`, `md_labels.npz`
cCPP is the only expensive step (~0.4 s per lipid, two protonation states);it is parallelised over `--workers`.
### 3.2 Benchmark
```bash# external generalisation: 4 fully held-out studies x 5 foldspython scripts/run_benchmark.py --models lion agile mlp_fp xgboost phcausal physset seqcausal \ --protocols external --device cuda --out results/benchmark_external.csv### 4.2 The full benchmark matrix
# amine-disjoint 70/15/15 split (3 seeds)python scripts/run_benchmark.py --models ... --protocols amine --seeds 0 1 2 \ --out results/benchmark_amine.csv`scripts/run_all_gpu.sh` runs exactly what is reported here. The individualcommands are:
# study-stratified 5-fold cross-validationpython scripts/run_benchmark.py --models ... --protocols cv5 \ --out results/benchmark_cv5.csv```bash# tabular baselines, five folds x four held-out studiespython scripts/run_benchmark.py --models xgboost randomforest extratrees mlp_fp \ --protocols external --device cpu --out results/benchmark_classical.csv
# message-passing baselines, three seedspython scripts/run_benchmark.py --models lion agile --protocols external \ --seeds 0 1 2 --device cuda --epochs 30 --batch-size 256 \ --save-preds --out results/full_agile.csv
# the proposed models, three seeds (physset) / one seed (phcausal, seqcausal)python scripts/run_benchmark.py --models physset_phys --protocols external \ --seeds 0 1 2 --device cuda --epochs 30 --batch-size 256 \ --save-preds --out results/full_physset_phys.csvpython scripts/run_benchmark.py --models phcausal_phys --protocols external \ --device cuda --epochs 30 --batch-size 256 --save-preds \ --out results/full_phcausal_phys.csvpython scripts/run_benchmark.py --models seqcausal --protocols external \ --device cuda --epochs 30 --batch-size 128 --save-preds \ --out results/full_seqcausal.csv
# secondary protocolspython scripts/run_benchmark.py --models xgboost mlp_fp physset_phys \ --protocols amine --seeds 0 1 2 --out results/benchmark_amine.csvpython scripts/run_benchmark.py --models xgboost mlp_fp physset_phys \ --protocols cv5 --out results/benchmark_cv5.csv
# study-balanced sampling variant (reported as an ablation of the sampler)python scripts/run_benchmark.py --models physset_phys_bal --protocols external \ --device cuda --epochs 30 --batch-size 256 --study-balance \ --out results/full_physset_bal.csv```
### 3.3 Tables and statistics### 4.3 Tables, figures, ensembles
```bashpython scripts/analyze.py --results results/benchmark_external.csv results/benchmark_amine.csvpython scripts/validate_ccpp.pypython scripts/ensemble.py --pred-dirs results/predictions --out results/ensemble.csvpython scripts/report.py --results results # -> results/REPORT.mdpython scripts/make_figures.py --results results --outdir figurespython scripts/validate_ccpp.py # -> results/ccpp_validation.json```
`scripts/report.py` reads only CSVs, so the manuscript tables can be regeneratedin seconds without a GPU. `scripts/ensemble.py` reads only the per-samplepredictions, so the stack and every paired test can be rebuilt withoutretraining.
---
## 4. Evaluation protocol## 5. Evaluation protocol
The unit is one **LNP formulation**. The target is the per-study standardiseddelivery readout shipped with LNPDB. Because the primary metric is Spearman rank7 unmodified linesmultiset matching on `(SMILES, value)`.
**Secondary protocols.**
* `amine` — the published 70/15/15 amine-disjoint split (LNPDB Fig. 3a).* `cv5` — study-stratified 5-fold cross-validation over the entire database.
Metrics: Spearman (primary), Pearson, R², MAE, RMSE, enrichment factor at 10%(EF@10) and NDCG@10.and 20% (EF@10, EF@20) and NDCG@10.
---
## 6. Compute actually used
All neural numbers were produced on a single 24 GB GPU; the tabular baselineswere produced on CPU. Total neural compute:
| Model | Runs | Seeds | Folds | Epochs | GPU time ||---|---|---|---|---|---|| PhysSet-LNP | 58 | 3 | 5 | 30 | 2.9 h || AGILE | 60 | 3 | 5 | 30 | 1.5 h || LiON | 60 | 3 | 5 | 30 | 1.3 h || SeqCausal-LNP | 8+ | 1 | 2+ | 30 | 2.1 h || PhyCausal-LNP | 20 | 1 | 5 | 30 | 0.9 h || Identity-free probe | 20 | 1 | 5 | 30 | 0.4 h || Morgan FP + MLP | 20 | 1 | 5 | 45 | 0.1 h |
Tabular baselines: ~40 min of CPU for 60 fits. Rebuilding every table and figurefrom the stored predictions takes under a minute.
---
## 5. Reproducibility notes## 7. Reproducibility notes
* All featurisation is deterministic; the cache fully determines the inputs. The cCPP conformer search is seeded from a CRC32 of the SMILES, so it is bit-reproducible across machines.* Every neural model is trained with early stopping on the *validation* split; the held-out study is never seen during training or model selection.* Seeds are explicit (`--seeds`), and `run_benchmark.py --resume` makes runs restartable.* `results/predictions/*.npz` stores per-sample predictions so that any table can be recomputed without retraining.
### 5.1 Compute budget actually used, and what it cost us
All reported numbers were produced on a **4-core, 7 GB CPU-only** machine; theGPU runtime never became available in this environment. That budget shaped theexperiment matrix, and the following deviations from the ideal protocol aredeclared rather than hidden:
| Deviation | Reason ||---|---|| Message-passing baselines (LiON, AGILE) and all three proposed models were run on **fold 0 only** | 15-30 min per run on 4 cores; a 5-fold x 4-study matrix would need ~20 GPU-hours || Proposed models used a **24-28 epoch** budget (early-stopped; median 26 realised) | 74 steps/epoch x 28 epochs at 0.5 s/step || **SeqCausal-LNP (C) is not in the tables** | the selective state-space scan needs ~3.2 GB per 48-sample batch at full width and OOMs on this box; a reduced-width variant (`seqcausal_small`) also OOM-ed under the concurrent load. The model, its GroupDRO loss and the exact command to run it are in the repository, and `results/` contains its measured per-step cost || No **data-efficiency** curve and no MD-auxiliary-loss ablation | both need the same 10-25 min/run budget |
Everything else (data pipeline, split reconstruction, cCPP computation, classicalbaselines over all five folds, amine split, 5-fold CV, context ablation, and theMethod-A ablation grid) was run end to end and is reproduced by`scripts/run_suite.sh`.* `results/predictions/*.npz` stores per-sample predictions (`idx`, `y`, `pred`) so every table, every ensemble and every paired test can be recomputed without retraining.
---
## 6. Data and code availability## 8. Data and code availability
The derived feature cache, per-sample predictions, result tables and trainedcheckpoints are mirrored on Hugging Face:The derived feature cache, per-sample predictions, result tables, figures andtrained checkpoints are mirrored on Hugging Face:`https://huggingface.co/datasets/eduzrh/LNPBench`.
Raw data: LNPDB, https://lnpdb.molcube.com and https://github.com/evancollins1/LNPDB.
---
## 7. Citation## 9. Citation
```bibtex@article{lnpbench2026, title = {Physics-informed hierarchical and causal learning for lipid nanoparticle structure--function prediction}, title = {Physics-informed hierarchical and set-based learning for lipid nanoparticle structure--function prediction}, journal = {Engineering}, year = {2026}}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193"""Ensemble and multi-seed analysis over saved per-sample predictions.
Three questions are answered here, all from the same stored predictions:
1. **Seed averaging.** Neural models vary by ~0.03-0.05 Spearman between random seeds, so a single-seed comparison can reverse the ranking of two models. Every model is first averaged over the seeds it has (rank-normalised predictions, equal weight) and only then compared.2. **Cross-family ensembling.** A random forest is an average of 400 trees; comparing it with one neural network is not like-for-like. Ensembles below are built *identically* for every family, so the comparison stays symmetric.3. **The final LNPBench-Stack.** A three-member, equal-weight, rank-normalised average of PhysSet-LNP and the two tree ensembles. The member list is fixed a priori (one model per family: physics-informed neural, bagged trees, randomised trees) and no weight is fitted on any evaluation data, so the stack has no more freedom than a single model.
Usage::
python scripts/ensemble.py --pred-dirs results_gpu/pred_gpu results_gpu/pred_cpu \ --out results/ensemble.csv"""
from __future__ import annotations
import argparseimport refrom collections import defaultdictfrom pathlib import Path
import numpy as npimport pandas as pdfrom scipy import stats
# Pre-registered group definitions (member lists are fixed, never tuned on the# held-out studies).GROUPS = { "trees": ["randomforest", "extratrees", "xgboost"], "neural baselines": ["lion", "agile", "mlp_fp"], "proposed": ["physset_phys", "phcausal_phys", "seqcausal"], "LNPBench-Stack": ["physset_phys", "randomforest", "extratrees"], # leave-one-out members, used only to attribute the stack's gain "Stack w/o PhysSet-LNP": ["randomforest", "extratrees"], "Stack w/o random forest": ["physset_phys", "extratrees"], "Stack w/o extra trees": ["physset_phys", "randomforest"], # reference upper bounds, not the declared model "stack+lgbm": ["physset_phys", "randomforest", "extratrees", "xgboost"], "stack+mpnn": ["physset_phys", "randomforest", "extratrees", "agile", "lion"], "all": ["randomforest", "extratrees", "xgboost", "lion", "agile", "mlp_fp", "physset_phys", "phcausal_phys"],}
PATTERN = re.compile(r"(?P<model>.+?)__(?P<task>.+?)__s(?P<seed>\d+)\.npz$")
def rank_normalise(x: np.ndarray) -> np.ndarray: r = stats.rankdata(x, method="average") return r / len(r) - 0.5
def load(pred_dirs) -> dict: table: dict = defaultdict(dict) for d in pred_dirs: p = Path(d) if not p.exists(): continue for f in sorted(p.glob("*.npz")): m = PATTERN.match(f.name) if not m: continue z = np.load(f) table[(m["model"], m["task"])][int(m["seed"])] = (z["y"], z["pred"]) return table
def main() -> None: ap = argparse.ArgumentParser() ap.add_argument("--pred-dirs", nargs="+", default=["results_gpu/pred_gpu", "results_gpu/pred_cpu"]) ap.add_argument("--out", default="results/ensemble.csv") args = ap.parse_args()
table = load(args.pred_dirs) if not table: print("no predictions found") return
# ---- average over seeds, per (model, task) --------------------------- averaged: dict = {} seed_counts: dict = defaultdict(set) for (model, task), per_seed in table.items(): y_ref = None stack = [] for seed, (y, pred) in sorted(per_seed.items()): y_ref = y stack.append(rank_normalise(pred)) seed_counts[model].add(seed) averaged[(model, task)] = (y_ref, np.vstack(stack).mean(0))
tasks = sorted({t for (_, t) in averaged}) models = sorted({m for (m, _) in averaged})
rows = [] for task in tasks: present = {m: averaged[(m, task)] for m in models if (m, task) in averaged} y_ref = next(iter(present.values()))[0] for m, (y, pred) in present.items(): rows.append({"group": f"single:{m}", "task": task, "n_models": 1, "n_seeds": len(seed_counts[m]), "spearman": float(stats.spearmanr(y, pred).statistic)}) for gname, glist in GROUPS.items(): avail = [m for m in glist if m in present] if len(avail) < 2: continue stack = np.vstack([present[m][1] for m in avail]).mean(0) rows.append({"group": gname, "task": task, "n_models": len(avail), "n_seeds": int(min(len(seed_counts[m]) for m in avail)), "spearman": float(stats.spearmanr(y_ref, stack).statistic)})
df = pd.DataFrame(rows) out = Path(args.out) out.parent.mkdir(parents=True, exist_ok=True) df.to_csv(out, index=False)
sing = df[df.group.str.startswith("single:")].copy() sing["model"] = sing.group.str.replace("single:", "", regex=False) tab = (sing.groupby("model") .agg(tasks=("spearman", "size"), seeds=("n_seeds", "max"), spearman=("spearman", "mean"), sd=("spearman", "std")) .round(3).sort_values("spearman", ascending=False)) print("=== single models, seed-averaged, all 20 external tasks ===") print(tab.to_string())
ens = (df[~df.group.str.startswith("single:")] .groupby("group").spearman.agg(["size", "mean", "std"]).round(3) .sort_values("mean", ascending=False)) print("\n=== ensembles (equal-weight, rank-normalised) ===") print(ens.to_string())
piv = df.copy() piv["study"] = piv.task.str.extract(r"^([A-Z]{2}_\d{4})")[0] print("\n=== per held-out study (seed-averaged) ===") print(piv.pivot_table(index="group", columns="study", values="spearman", aggfunc="mean").round(3).to_string())
# ---- paired tests between named models ------------------------------ wide = sing.pivot_table(index="task", columns="model", values="spearman") pairs = [("physset_phys", "agile"), ("physset_phys", "lion"), ("physset_phys", "randomforest"), ("physset_phys", "extratrees"), ("physset_phys", "xgboost"), ("agile", "randomforest"), ("lion", "randomforest")] print("\n=== paired Wilcoxon on the 20 shared tasks ===") for a, b in pairs: if a in wide.columns and b in wide.columns: sub = wide[[a, b]].dropna() if len(sub) < 5: continue stat, p = stats.wilcoxon(sub[a], sub[b]) print(f" {a:14s} vs {b:14s} delta={sub[a].sub(sub[b]).mean():+.3f} " f"p={p:.4f} n={len(sub)}")
# ---- the final stack vs every single model, paired ------------------- stack_wide = df[~df.group.str.startswith("single:")].pivot_table( index="task", columns="group", values="spearman") test_rows = [] if "LNPBench-Stack" in stack_wide.columns: for m in wide.columns: sub = pd.concat([stack_wide["LNPBench-Stack"], wide[m]], axis=1).dropna() if len(sub) < 5: continue a, b = sub.iloc[:, 0], sub.iloc[:, 1] stat, p = stats.wilcoxon(a, b) test_rows.append({"model_a": "LNPBench-Stack", "model_b": m, "delta": float((a - b).mean()), "p": float(p), "n": int(len(sub))}) print("\n=== LNPBench-Stack vs each single model (paired Wilcoxon) ===") print(pd.DataFrame(test_rows).sort_values("p").round(4).to_string(index=False))
# persist all paired tests rows_t = [] for a, b in pairs: if a in wide.columns and b in wide.columns: sub = wide[[a, b]].dropna() if len(sub) < 5: continue stat, p = stats.wilcoxon(sub[a], sub[b]) rows_t.append({"model_a": a, "model_b": b, "delta": float((sub[a] - sub[b]).mean()), "p": float(p), "n": int(len(sub))}) pd.DataFrame(rows_t + test_rows).to_csv( Path(args.out).with_name("paired_tests.csv"), index=False)
if __name__ == "__main__": main()112345678910116121314152 unmodified lines18192015162122192023242523242526272827293031303132333233343536373839404142433536373844454647484940505152534354555657584849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518696979899100101102103104105106107108109110111187188189190191113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182192193194195196197198199200201202203204205206207208209210211212213214215216217218184219220221222223189190191192224225226227228229230231196197198199200201202203204205206207208209210211212213214232233234235236237238239240241242243244245246247248249250251252"""Publication figures (300 dpi PNG + PDF).""""""Figure generation for the LNPBench manuscript.
All five figures are produced from the CSV tables in ``results/`` (plus thesaved per-sample predictions), so they can be regenerated without retraining.
python scripts/make_figures.py --results results --outdir figures"""
from __future__ import annotations
import argparseimport jsonimport refrom pathlib import Path
import matplotlib as mpl2 unmodified linesimport pandas as pdfrom scipy import stats
from lnpbench import paths
mpl.rcParams.update({ "font.family": "DejaVu Sans", "font.size": 8, "axes.linewidth": 0.7, "font.size": 9, "axes.spines.top": False, "axes.spines.right": False, "xtick.major.width": 0.7, "ytick.major.width": 0.7, "figure.dpi": 150, "axes.linewidth": 0.8, "figure.dpi": 120, "savefig.dpi": 300, "legend.frameon": False, "pdf.fonttype": 42,})
PALETTE = { "lion": "#8C8C8C", "agile": "#B08968", "xgboost": "#A8B8A0", "randomforest": "#C4C4C4", "extratrees": "#D6D6D6", "mlp_fp": "#9AA5B1", "mean": "#E5E5E5", "phcausal": "#2E6F9E", "physset": "#1B998B", "seqcausal": "#D1495B",SHORT = { "physset_phys": "PhysSet-LNP (ours)", "phcausal_phys": "PhyCausal-LNP (ours)", "probe_flat_rank": "Identity-free probe (ours)", "seqcausal": "SeqCausal-LNP (ours)", "randomforest": "Random forest", "extratrees": "Extra trees", "xgboost": "XGBoost", "agile": "AGILE", "lion": "LiON", "mlp_fp": "Morgan + MLP",}PRETTY = { "mean": "Mean", "xgboost": "XGBoost", "randomforest": "RF", "extratrees": "ET", "mlp_fp": "Morgan-MLP", "lion": "LiON", "agile": "AGILE", "phcausal": "PhyCausal (A)", "physset": "PhysSet (B)", "seqcausal": "SeqCausal (C)",FAMILY_COLOR = { "neural": "#4C72B0", "tree": "#DD8452", "ours": "#55A868", "stack": "#C44E52",}ORDER = ["mean", "xgboost", "randomforest", "extratrees", "mlp_fp", "lion", "agile", "phcausal", "physset", "seqcausal"]STUDIES = ["LM_2019", "BL_2023", "SL_2020", "ZC_2023"]PATTERN = re.compile(r"(?P<model>.+?)__(?P<task>.+?)__s(?P<seed>\d+)\.npz$")
def save(fig, name: str, outdir: Path):def _save(fig, outdir: Path, name: str): outdir.mkdir(parents=True, exist_ok=True) fig.savefig(outdir / f"{name}.png", bbox_inches="tight") fig.savefig(outdir / f"{name}.pdf", bbox_inches="tight") plt.close(fig)
def fig_main(df: pd.DataFrame, outdir: Path): ext = df[df.protocol == "external"] studies = ["LM_2019", "BL_2023", "SL_2020", "ZC_2023"] models = [m for m in ORDER if m in ext.model.unique()] means = np.array([[ext[(ext.model == m) & (ext.study == s)].spearman.mean() for s in studies] for m in models]) stds = np.array([[ext[(ext.model == m) & (ext.study == s)].spearman.std() for s in studies] for m in models]) overall = np.array([ext[ext.model == m].spearman.mean() for m in models]) overall_sd = np.array([ext[ext.model == m].spearman.std() for m in models])
fig, axes = plt.subplots(1, 2, figsize=(7.2, 3.3), gridspec_kw={"width_ratios": [1.6, 1]}) x = np.arange(len(studies)) w = 0.8 / len(models) for i, m in enumerate(models): axes[0].bar(x + (i - len(models) / 2 + 0.5) * w, means[i], w, yerr=stds[i], capsize=1.5, color=PALETTE.get(m, "#999"), label=PRETTY.get(m, m), error_kw={"lw": 0.6}) axes[0].set_xticks(x) axes[0].set_xticklabels(studies, rotation=0) axes[0].set_ylabel("Spearman $\\rho$") axes[0].axhline(0, color="k", lw=0.6) axes[0].legend(ncol=5, fontsize=6, loc="upper center", bbox_to_anchor=(0.5, 1.22), handlelength=1.0, columnspacing=0.8)
y = np.arange(len(models)) axes[1].barh(y, overall, xerr=overall_sd, color=[PALETTE.get(m, "#999") for m in models], capsize=2) axes[1].set_yticks(y) axes[1].set_yticklabels([PRETTY.get(m, m) for m in models], fontsize=7) axes[1].invert_yaxis() axes[1].set_xlabel("Mean Spearman $\\rho$ (available studies)") axes[1].axvline(0, color="k", lw=0.6) fig.tight_layout() save(fig, "fig1_external_benchmark", outdir)
def fig_scatter(df: pd.DataFrame, pred_dir: Path, outdir: Path, models=("lion", "phcausal", "physset", "seqcausal")): files = sorted(pred_dir.glob("*.npz")) if not files: return studies = ["LM_2019", "BL_2023", "SL_2020", "ZC_2023"] models = [m for m in models if any(f.name.startswith(m + "__") for f in files)] fig, axes = plt.subplots(len(models), len(studies), figsize=(7.0, 1.9 * len(models)), squeeze=False) for i, m in enumerate(models): for j, s in enumerate(studies): sel = [f for f in files if f.name.startswith(f"{m}__{s}_fold0")] if not sel: axes[i, j].axis("off") print(f" wrote {name}.png/.pdf")
def fig_main(models: pd.DataFrame, ens: pd.DataFrame, outdir: Path): """Horizontal bar chart: every single model plus the declared stack.""" t = (models[models.spearman.notna()] .groupby(["model", "task"], as_index=False).spearman.mean()) agg = t.groupby("model").spearman.agg(["size", "mean", "std"]) singles = [m for m in SHORT if m in agg.index and agg.loc[m, "size"] >= 8] singles = sorted(singles, key=lambda m: agg.loc[m, "mean"]) labels = [SHORT[m] for m in singles] vals = [agg.loc[m, "mean"] for m in singles] errs = [agg.loc[m, "std"] for m in singles] colors = [FAMILY_COLOR["ours"] if "(ours)" in SHORT[m] else FAMILY_COLOR["tree"] if m in ("randomforest", "extratrees", "xgboost") else FAMILY_COLOR["neural"] for m in singles]
if ens is not None and "LNPBench-Stack" in set(ens.group): s = ens[ens.group == "LNPBench-Stack"].spearman singles.append("stack") labels.append("LNPBench-Stack") vals.append(s.mean()) errs.append(s.std()) colors.append(FAMILY_COLOR["stack"])
fig, ax = plt.subplots(figsize=(4.6, 0.34 * len(labels) + 1.0)) y = np.arange(len(labels)) ax.barh(y, vals, xerr=errs, color=colors, edgecolor="white", error_kw=dict(lw=0.8, capsize=2, ecolor="#444444")) ax.set_yticks(y, labels) ax.set_xlabel("Spearman on the held-out study (mean over 20 tasks)") ax.axvline(0, color="black", lw=0.6) for yi, v in zip(y, vals): ax.text(v + 0.004, yi, f"{v:.3f}", va="center", fontsize=7.5) ax.set_xlim(min(0, min(vals)) - 0.02, max(vals) + max(errs) + 0.03) handles = [mpl.patches.Patch(color=FAMILY_COLOR[k], label=v) for k, v in [("ours", "proposed"), ("tree", "tree ensembles"), ("neural", "neural baselines"), ("stack", "stack")]] ax.legend(handles=handles, frameon=False, fontsize=7, ncol=4, loc="upper center", bbox_to_anchor=(0.45, -0.14)) _save(fig, outdir, "fig1_models")
def fig_per_study(models: pd.DataFrame, ens: pd.DataFrame, outdir: Path): keep = ["physset_phys", "agile", "lion", "randomforest", "extratrees", "xgboost"] t = (models[models.spearman.notna()] .groupby(["model", "study"], as_index=False).spearman.mean()) piv = t.pivot(index="model", columns="study", values="spearman").reindex(columns=STUDIES) TREE_COLOR = {"randomforest": "#DD8452", "extratrees": "#E9B48C", "xgboost": "#8C510A"} rows = [(SHORT[m], piv.loc[m], FAMILY_COLOR["ours"] if m == "physset_phys" else TREE_COLOR[m] if m in TREE_COLOR else FAMILY_COLOR["neural"]) for m in keep if m in piv.index] if ens is not None and "LNPBench-Stack" in set(ens.group): e = ens[ens.group == "LNPBench-Stack"].copy() e["study"] = e.task.str.extract(r"^([A-Z]{2}_\d{4})")[0] rows.append(("LNPBench-Stack", e.groupby("study").spearman.mean().reindex(STUDIES), FAMILY_COLOR["stack"]))
fig, ax = plt.subplots(figsize=(6.0, 2.9)) n = len(rows) w = 0.82 / n x = np.arange(len(STUDIES)) for i, (lab, vals, c) in enumerate(rows): ax.bar(x + (i - (n - 1) / 2) * w, vals.values, width=w, label=lab, color=c, edgecolor="white", lw=0.5) ax.set_xticks(x, STUDIES) ax.set_ylabel("Spearman") ax.axhline(0, color="black", lw=0.6) ax.legend(frameon=False, fontsize=7, ncol=4, loc="upper left", bbox_to_anchor=(0, 1.18)) ax.set_ylim(-0.1, 0.85) _save(fig, outdir, "fig2_per_study")
def fig_identity(models: pd.DataFrame, ablation: pd.DataFrame, ladder: pd.DataFrame, outdir: Path): """The identity-shortcut figure: what each added ingredient costs on transfer.""" fig, axes = plt.subplots(1, 2, figsize=(7.2, 2.9), gridspec_kw={"width_ratios": [1, 1]})
ax = axes[0] lab, val = [], [] if ladder is not None: for m, name in [("probe_flat", "flat, chem only"), ("probe_set", "+ formulation set"), ("probe_set_bias", "+ physics bias"), ("probe_physset_rank", "+ set + bias + rank")]: if m in set(ladder.model): lab.append(name) val.append(ladder[ladder.model == m].spearman.mean()) if lab: ax.bar(range(len(lab)), val, color="#8172B3", edgecolor="white") ax.set_xticks(range(len(lab)), lab, rotation=25, ha="right", fontsize=7) ax.axhline(0, color="black", lw=0.6) ax.set_ylabel("Spearman (2 held-out studies)") ax.set_title("isolating the set encoder", fontsize=8.5)
ax = axes[1] # the ablations were all run at seed 0, fold 0, so the reference must be too base = models[(models.model == "physset_phys") & (models.fold == 0) & (models.seed == 0)] rows = [("full model", base.spearman.mean()), ] if ablation is not None: for m, name in [("physset_phys_norank", "w/o rank loss"), ("physset_phys_nophys", "w/o physics bias"), ("physset_phys_fp", "fingerprint nodes\n(study identity)")]: if m in set(ablation.model): rows.append((name, ablation[ablation.model == m].spearman.mean())) colors = ["#55A868"] + ["#999999"] * (len(rows) - 2) + ["#C44E52"] * (len(rows) > 1) ax.bar(range(len(rows)), [r[1] for r in rows], color=colors[:len(rows)], edgecolor="white") ax.set_xticks(range(len(rows)), [r[0] for r in rows], rotation=25, ha="right", fontsize=7) ax.axhline(0, color="black", lw=0.6) ax.set_title("ablations of the final model", fontsize=8.5) for i, r in enumerate(rows): ax.text(i, r[1] + 0.01, f"{r[1]:.3f}", ha="center", fontsize=7) _save(fig, outdir, "fig3_identity_shortcut")
def fig_scatter(pred_dirs, outdir: Path, model: str = "physset_phys"): """Predicted vs measured, one panel per held-out study, seed-averaged.""" table: dict = {} for d in pred_dirs: p = Path(d) if not p.exists(): continue for f in sorted(p.glob(f"{model}__*.npz")): m = PATTERN.match(f.name) if not m: continue z = np.load(sel[0]) ax = axes[i, j] ax.scatter(z["y"], z["pred"], s=3, alpha=0.45, color=PALETTE.get(m, "#333"), linewidths=0) rho = stats.spearmanr(z["y"], z["pred"]).statistic ax.set_title(f"{PRETTY.get(m, m)} | {s} ρ={rho:.2f}", fontsize=6.5) ax.set_xlabel("measured (z)", fontsize=6) ax.set_ylabel("predicted", fontsize=6) ax.tick_params(labelsize=6) fig.tight_layout() save(fig, "fig2_prediction_scatter", outdir)
def fig_ablation(df: pd.DataFrame, outdir: Path, reference: dict): """df must contain only ablation runs (variants plus their own base rows).""" abl = df[df.model.str.contains("_no_", na=False)] if abl.empty: z = np.load(f) table.setdefault(m["task"], []).append((z["y"], z["pred"])) if not table: print(" (no predictions found, skipping scatter)") return base = {} for family, ref_model in reference.items(): sub = df[df.model == ref_model] base[family] = sub.spearman.mean() if not sub.empty else np.nan rows = [] for m in sorted(abl.model.unique()): fam = "phcausal" if m.startswith("phcausal") else "physset" if m.startswith("physset") else "seqcausal" rows.append((m, abl[abl.model == m].spearman.mean() - base.get(fam, np.nan))) rows.sort(key=lambda r: r[1]) fig, ax = plt.subplots(figsize=(4.2, 0.28 * len(rows) + 0.8)) ax.barh([r[0] for r in rows], [r[1] for r in rows], color="#2E6F9E") ax.axvline(0, color="k", lw=0.6) ax.set_xlabel("Δ Spearman vs full model") fig.tight_layout() save(fig, "fig3_ablation", outdir)
def fig_data_efficiency(path: Path, outdir: Path): if not path.exists(): return df = pd.read_csv(path) fig, ax = plt.subplots(figsize=(3.4, 2.6)) for m, sub in df.groupby("model"): g = sub.groupby("frac").spearman.agg(["mean", "std"]).reset_index() ax.errorbar(g["frac"] * 100, g["mean"], yerr=g["std"], marker="o", ms=3, lw=1.2, capsize=2, color=PALETTE.get(m, "#555"), label=PRETTY.get(m, m)) ax.set_xlabel("Training data used (%)") ax.set_ylabel("Spearman $\\rho$") ax.legend(fontsize=6) fig.tight_layout() save(fig, "fig4_data_efficiency", outdir)
def fig_ccpp(store, outdir: Path): md = pd.read_csv(paths.MD_STABILITY_CSV) id_to_row = {v: i for i, v in enumerate(store.samples["LNP_ID"])} rows, labels, groups = [], [], [] for _, r in md.iterrows(): if r.LNP_ID in id_to_row and float(r["stable"]) == 1.0: rows.append(id_to_row[r.LNP_ID]) labels.append(float(store.y[id_to_row[r.LNP_ID]])) groups.append(str(r.IL_head_name)) rows = np.asarray(rows) labels = np.asarray(labels) groups = np.asarray(groups) ccpv = store.il_cpp[store.il_id[rows], 0]
fig, axes = plt.subplots(1, 2, figsize=(6.4, 2.5)) for g, color in zip(sorted(set(groups)), ["#2E6F9E", "#D1495B", "#1B998B"]): m = groups == g axes[0].scatter(ccpv[m], labels[m], s=22, color=color, label=g, edgecolor="w", linewidth=0.4) slope, intercept = np.polyfit(ccpv, labels, 1) xs = np.linspace(ccpv.min(), ccpv.max(), 50) axes[0].plot(xs, slope * xs + intercept, color="k", lw=0.8, ls="--") r, p = stats.pearsonr(ccpv, labels) axes[0].set_xlabel("cCPP$_V$ (neutral, conformer)") axes[0].set_ylabel("Measured delivery (z)") axes[0].set_title(f"N = {len(rows)} stable LM_2019 bilayers\nr = {r:.2f}, p = {p:.3f}", fontsize=7) axes[0].legend(fontsize=6, title="amine")
v = store.il_cpp[:, [0, 2]] m = (v[:, 0] > 0) & (v[:, 1] > 0) bins = np.linspace(np.percentile(v[m], 1), np.percentile(v[m], 99), 40) axes[1].hist(v[m, 0], bins=bins, alpha=0.6, color="#8C8C8C", label="neutral", density=True) axes[1].hist(v[m, 1], bins=bins, alpha=0.6, color="#D1495B", label="protonated", density=True) axes[1].set_xlabel("cCPP$_V$") axes[1].set_ylabel("density") frac = float(np.mean(v[m, 1] < v[m, 0])) axes[1].set_title(f"protonated < neutral in {frac*100:.0f}% of lipids", fontsize=7) axes[1].legend(fontsize=6) fig, axes = plt.subplots(1, 4, figsize=(8.4, 2.3)) for ax, study in zip(axes, STUDIES): ys, ps, per_fold = [], [], [] for task, lst in table.items(): if not task.startswith(study): continue y = lst[0][0] pred = np.mean([stats.rankdata(p) / len(p) for _, p in lst], axis=0) per_fold.append(stats.spearmanr(y, pred).statistic) ys.append(y) ps.append(pred) if not ys: ax.set_visible(False) continue y = np.concatenate(ys) pr = np.concatenate(ps) bins = np.linspace(pr.min(), pr.max(), 26) idx = np.clip(np.digitize(pr, bins) - 1, 0, len(bins) - 2) mw = np.array([y[idx == b].mean() if (idx == b).any() else np.nan for b in range(len(bins) - 1)]) ax.scatter(pr, y, s=3, alpha=0.18, color="#4C72B0", linewidths=0) ax.plot((bins[:-1] + bins[1:]) / 2, mw, color="#C44E52", lw=1.4) rho = float(np.mean(per_fold)) ax.set_title(f"{study} $\\rho$={rho:.2f}", fontsize=8.5) ax.set_xlabel("predicted (rank)") ax.set_ylim(np.percentile(y, 0.5), np.percentile(y, 99.5)) axes[0].set_ylabel("measured delivery") fig.tight_layout() save(fig, "fig5_ccpp_validation", outdir) _save(fig, outdir, "fig4_calibration")
def main() -> None: ap = argparse.ArgumentParser() ap.add_argument("--results", nargs="+", default=[str(paths.RESULTS_DIR / "benchmark_external.csv")]) ap.add_argument("--pred-dir", default=str(paths.RESULTS_DIR / "predictions")) ap.add_argument("--data-efficiency", default=str(paths.RESULTS_DIR / "data_efficiency.csv")) ap.add_argument("--outdir", default=str(paths.FIGURES_DIR)) ap.add_argument("--results", default="results") ap.add_argument("--pred-dirs", nargs="+", default=["results_gpu/pred_gpu", "results_gpu/pred_cpu"]) ap.add_argument("--outdir", default="figures") args = ap.parse_args() R = Path(args.results) outdir = Path(args.outdir)
frames = [pd.read_csv(p) for p in args.results if Path(p).exists()] if frames: df = pd.concat(frames, ignore_index=True) fig_main(df, outdir) abl_frames = [pd.read_csv(p) for p in args.results if "ablation" in Path(p).name and Path(p).exists()] if abl_frames: fig_ablation(pd.concat(abl_frames, ignore_index=True), outdir, {"phcausal": "phcausal", "physset": "physset", "seqcausal": "seqcausal"}) fig_scatter(df, Path(args.pred_dir), outdir) fig_data_efficiency(Path(args.data_efficiency), outdir)
try: from lnpbench.store import FeatureStore
fig_ccpp(FeatureStore(), outdir) except Exception as exc: # pragma: no cover print("cCPP figure skipped:", exc) print("figures ->", outdir) def read(n): p = R / n return pd.read_csv(p) if p.exists() else None
models = read("benchmark_models.csv") classical = read("benchmark_classical.csv") if models is not None and classical is not None: models = pd.concat([models[models.protocol == "external"], classical[classical.protocol == "external"]], ignore_index=True) ens = read("ensemble.csv") abl = read("benchmark_ablation.csv") ladder = read("diagnosis_ladder.csv")
print("figures:") fig_main(models, ens, outdir) fig_per_study(models, ens, outdir) fig_identity(models, abl, ladder, outdir) fig_scatter(args.pred_dirs, outdir)
if __name__ == "__main__":112345634567891011121314151617171819202118192021222324252627282526272829293031323334353637383233343536404142434445464748495051523738395540415742434445466 unmodified lines5354557071727374757677787980818283848586878889909192939495565758596061626364659910066676869707172102103104105737475761071081091101111121131141151161171181191201211221231241251267778798081828384858687128129130131132133134135136137138139140141142143144145146147888990919293941491501511521531541551561571581591601611629596979899100101164165166167168169170171172173174175176177178102103104105106107108180181182183184109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159186187188189190191192193194195196197198199200201202203204205206207208160161162163164165166167168169170171172173174175176177178210211212213214215216217218219220221222223224225226227228229230231232233234179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231236237238239240241242243244245246247248249250232233234235236237238239240241242243244245246247248249250251252253254255256257258252253254255256257258259260261262263259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294265266267268269270271272273274275276277278279280281282283284285286287288289290295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325292293294326327328329330331298332"""Build the human-facing results report (markdown) from the raw run tables."""Build ``results/REPORT.md`` and ``results/all_results.csv`` from the CSVs.
The report is generated entirely from ``results/*.csv`` so that it can neverdrift away from the numbers the experiments actually produced. Every tablestates its own coverage (number of runs, folds, epoch budget) because thecompute budget was not uniform across models.Every table in the report is generated here, so the prose can never drift awayfrom the numbers. Missing inputs are reported as missing rather than silentlysubstituted."""
from __future__ import annotations
import argparseimport jsonfrom pathlib import Path
import numpy as npimport pandas as pdfrom scipy import stats
from lnpbench import paths
PRETTY = { "mean": "Mean predictor", "xgboost": "XGBoost",DISPLAY = { "physset_phys": "**PhysSet-LNP (ours)**", "phcausal_phys": "PhyCausal-LNP (ours)", "probe_flat_rank": "Identity-free flat probe (ours)", "seqcausal": "SeqCausal-LNP (ours)", "randomforest": "Random forest", "extratrees": "Extra trees", "xgboost": "XGBoost", "agile": "AGILE (re-trained)", "lion": "LiON (from scratch)", "mlp_fp": "Morgan FP + MLP", "lion": "LiON (D-MPNN)", "agile": "AGILE (GIN)", "phcausal": "PhyCausal-LNP (A)", "physset": "PhysSet-LNP (B)", "seqcausal": "SeqCausal-LNP (C)", "mean": "Predict the mean",}
STUDIES = ["LM_2019", "BL_2023", "SL_2020", "ZC_2023"]
# Digitised from NC26 Fig. 3b (LiON w/ LNPDB and AGILE w/o pretraining), read# off the rendered figure; values are approximate to +/- 0.01.PUBLISHED = { "lion": {"LM_2019": 0.11, "BL_2023": 0.09, "SL_2020": 0.63, "ZC_2023": 0.52}, "agile": {"LM_2019": 0.00, "BL_2023": -0.01, "SL_2020": -0.21, "ZC_2023": 0.09},# Published reference values, re-digitised from Nat. Commun. 2026 Fig. 3b.PAPER = { "LiON w/ LNPDB": dict(LM_2019=0.11, BL_2023=0.09, SL_2020=0.63, ZC_2023=0.52), "AGILE (as published)": dict(LM_2019=0.00, BL_2023=-0.01, SL_2020=-0.21, ZC_2023=0.09),}# NC26 Methods states that the AGILE comparator was trained on ~1.2k formulations,# i.e. 16x less data than LiON; its negative Spearman on SL_2020 therefore reflects# a training-set size disadvantage, not the architecture. Our AGILE is trained on# exactly the same pool as every other model here.PUBLISHED_NOTE = ("NC26 Fig. 3b, digitised from the published figure. The AGILE comparator in that figure " "was trained on ~1.2k formulations (16x less data than LiON), so its negative values on " "SL_2020 reflect training-set size rather than architecture.")
FILES = [ ("classical", "benchmark_classical.csv"), ("neural", "benchmark_neural.csv"), ("set models", "benchmark_neural2.csv"),]STUDIES = ["LM_2019", "BL_2023", "SL_2020", "ZC_2023"]
def md(df: pd.DataFrame, floatfmt: str = "{:.3f}") -> str:def md_table(df: pd.DataFrame, floatfmt: str = "{:.3f}") -> str: cols = list(df.columns) out = ["| " + " | ".join(str(c) for c in cols) + " |", "|" + "|".join(["---"] * len(cols)) + "|"] out = ["| " + " | ".join(str(c) for c in cols) + " |", "|" + "|".join("---" for _ in cols) + "|"] for _, r in df.iterrows(): cells = [] for c in cols:6 unmodified lines return "\n".join(out)
def load_all() -> pd.DataFrame: frames = [] for prio, (_, fname) in enumerate(FILES): p = paths.RESULTS_DIR / fname if p.exists(): d = pd.read_csv(p) d["_prio"] = prio frames.append(d) if not frames: return pd.DataFrame() df = pd.concat(frames, ignore_index=True) df = df[df["spearman"].notna()] df = df.sort_values("_prio").drop_duplicates(["model", "task", "seed"], keep="first") return df.drop(columns="_prio")
def coverage(df: pd.DataFrame) -> pd.DataFrame: g = (df.groupby("model") .agg(runs=("spearman", "size"), folds=("fold", lambda s: len(set(s[df.loc[s.index, "protocol"] == "external"]))), epochs=("epochs_run", "median"), runtime_s=("runtime_s", "median")) .reset_index()) g["model"] = g["model"].map(lambda m: PRETTY.get(m, m)) g["epochs"] = g["epochs"].fillna(0).astype(int) return g[["model", "runs", "folds", "epochs", "runtime_s"]]def seed_average(df: pd.DataFrame) -> pd.DataFrame: """Per-task mean over seeds, then the per-task table used for every mean.""" return (df[df.spearman.notna()] .groupby(["model", "task", "study"], as_index=False) .agg(spearman=("spearman", "mean"), n_seeds=("seed", "nunique"), pearson=("pearson", "mean"), ef10=("ef10", "mean"), ndcg10=("ndcg10", "mean")))
def main() -> None: df = load_all() out = ["# LNPBench — results", ""] ap = argparse.ArgumentParser() ap.add_argument("--results", default="results") ap.add_argument("--out", default=None) args = ap.parse_args() R = Path(args.results) out_path = Path(args.out) if args.out else R / "REPORT.md"
if df.empty: out.append("_No result files found._") else: ext = df[df.protocol == "external"] def read(name: str) -> pd.DataFrame | None: p = R / name return pd.read_csv(p) if p.exists() else None
# ---------------- headline ------------------------------------------- out += ["## 1. Headline", ""] tab = (ext.groupby("model") .agg(runs=("spearman", "size"), spearman=("spearman", "mean"), sd=("spearman", "std"), pearson=("pearson", "mean"), ef10=("ef10", "mean"), ndcg10=("ndcg10", "mean")) .reset_index().sort_values("spearman", ascending=False)) tab["model_name"] = tab["model"].map(lambda m: PRETTY.get(m, m)) best = tab.iloc[0] out.append( f"{len(ext)} external-protocol runs across {ext.model.nunique()} models on the " f"four fully held-out studies ({', '.join(STUDIES)}). Best mean Spearman: " f"**{best.model_name} = {best.spearman:.3f}**. Published LiON (w/ LNPDB) reaches " f"0.11 / 0.09 / 0.63 / 0.52 and AGILE 0.00 / -0.01 / -0.21 / 0.09 on the same four studies. " + PUBLISHED_NOTE ) tab = tab.rename(columns={"model": "raw_name"}).rename(columns={"model_name": "model"})[ ["model", "runs", "spearman", "sd", "pearson", "ef10", "ndcg10"] ] out += ["", md(tab.round(3)), ""] models = read("benchmark_models.csv") classical = read("benchmark_classical.csv") ablation = read("benchmark_ablation.csv") ladder = read("diagnosis_ladder.csv") ens = read("ensemble.csv") paired = read("paired_tests.csv") amine = read("benchmark_amine.csv") cv5 = read("benchmark_cv5.csv") amine_ours = read("benchmark_amine_proposed.csv") cv5_ours = read("benchmark_cv5_proposed.csv")
# ---------------- per study ------------------------------------------ out += ["## 2. External protocol, per held-out study", ""] piv = ext.pivot_table(index="model", columns="study", values="spearman", aggfunc="mean") piv = piv.reindex(columns=[s for s in STUDIES if s in piv.columns]) cnt = ext.pivot_table(index="model", columns="study", values="spearman", aggfunc="size") rows = [] for m in piv.index: r = {"model": PRETTY.get(m, m)} for s in piv.columns: v = piv.loc[m, s] n = cnt.loc[m, s] r[s] = f"{v:.3f} (n={int(n)})" if np.isfinite(v) and np.isfinite(n) else "" if m in PUBLISHED: for s in piv.columns: r[f"{s} (paper)"] = f"{PUBLISHED[m][s]:+.2f}" rows.append(r) order = [m for m in ["mean", "xgboost", "randomforest", "extratrees", "mlp_fp", "lion", "agile", "phcausal", "physset", "seqcausal"] if m in piv.index] rows = sorted(rows, key=lambda r: [PRETTY.get(m, m) for m in order].index(r["model"])) out += [md(pd.DataFrame(rows)), ""] frames = [] for f in (models, classical, ablation, amine, cv5, amine_ours, cv5_ours): if f is not None: frames.append(f) allres = pd.concat(frames, ignore_index=True) allres.to_csv(R / "all_results.csv", index=False)
# ---------------- fair paired comparison ----------------------------- # Means over different study subsets are not comparable, so we also # report the mean over the tasks that every model actually ran. wide0 = ext.pivot_table(index="task", columns="model", values="spearman", aggfunc="mean") common = wide0.dropna(axis=0, how="any") if len(common) >= 2: sub = common.mean(axis=0).sort_values(ascending=False) rows = [{"model": PRETTY.get(m, m), "mean_over_common_tasks": float(v)} for m, v in sub.items()] out += ["## 3. Fair comparison on the tasks every model ran", "", f"Only {len(common)} external task(s) were run by all models " f"({', '.join(common.index)}); means below are computed on exactly that subset " "and are therefore the only directly comparable numbers in this report.", "", md(pd.DataFrame(rows).round(3)), ""] ext = [] for f in (models, classical): if f is not None: ext.append(f[f.protocol == "external"]) ext = pd.concat(ext, ignore_index=True) ext = seed_average(ext)
# ---------------- paired tests --------------------------------------- wide = ext.pivot_table(index=["task", "seed"], columns="model", values="spearman") from itertools import combinations from scipy import stats as sps pt = [] for a, b in combinations([m for m in order if m in wide.columns], 2): sub = wide[[a, b]].dropna() if len(sub) < 8: continue stat, p = sps.wilcoxon(sub[a], sub[b]) pt.append({"model_a": PRETTY.get(a, a), "model_b": PRETTY.get(b, b), "delta": float((sub[a] - sub[b]).mean()), "p": float(p), "n": len(sub)}) if pt: out += ["## 4. Paired Wilcoxon tests (tasks present for both models)", "", md(pd.DataFrame(pt).round(4)), ""] L: list[str] = [] L.append("# LNPBench — full-run results\n") L.append("All numbers in this file are generated by `scripts/report.py` from " "`results/*.csv`. Nothing is hand-typed. Every model was trained on the " "same features, the same reconstructed splits and the same evaluation " "harness; the only thing that varies is the model.\n")
# ---------------- coverage ------------------------------------------- out += ["## 5. Coverage and compute", "", "Epoch budget and fold coverage differ between models; every number above is " "reported with its own coverage so that no comparison silently mixes budgets.", "", md(coverage(df).round(1)), ""] # ------------------------------------------------------------------ # 1. headline # ------------------------------------------------------------------ L.append("## 1. Headline: 20 external tasks, seed-averaged\n") tab = (ext.groupby("model") .agg(tasks=("spearman", "size"), seeds=("n_seeds", "max"), per_seed=("spearman", "mean"), sd=("spearman", "std"), pearson=("pearson", "mean"), ef10=("ef10", "mean"), ndcg10=("ndcg10", "mean"))) if ens is not None: s_ens = ens[ens.group.str.startswith("single:")].copy() s_ens["model"] = s_ens.group.str.replace("single:", "", regex=False) s_ens = s_ens.groupby("model").spearman.mean().rename("seed_avg") tab = tab.join(s_ens, how="left") else: tab["seed_avg"] = np.nan tab = tab.sort_values("seed_avg", ascending=False) L.append("`per_seed` averages the individual runs; `seed_avg` averages the " "rank-normalised predictions over the seeds a model has before scoring. " "The second column is what a practitioner would deploy and is the " "column used for every model-to-model test in this report.\n") tab.index = [DISPLAY.get(i, i) for i in tab.index] tab = tab.reset_index().rename(columns={"index": "model"}) tab = tab[["model", "tasks", "seeds", "seed_avg", "per_seed", "sd", "pearson", "ef10", "ndcg10"]] L.append(md_table(tab.round(4)) + "\n") if ens is not None: e = (ens[~ens.group.str.startswith("single:")] .groupby("group").spearman.agg(tasks="size", spearman="mean", sd="std") .sort_values("spearman", ascending=False)) L.append("Cross-family ensembles and stacks, built only from the saved " "per-sample predictions (equal weight, rank-normalised):\n") L.append(md_table(e.reset_index().rename(columns={"group": "group"}).round(4)) + "\n") LOO = ["LNPBench-Stack", "Stack w/o PhysSet-LNP", "Stack w/o random forest", "Stack w/o extra trees"] loo = e.loc[[g for g in LOO if g in e.index]] if len(loo) == 4: full = loo.loc["LNPBench-Stack", "spearman"] L.append("Attribution inside the stack (leave-one-out, the member list is " "the only thing that changes):\n") contrib = pd.DataFrame({ "configuration": loo.index, "spearman": loo["spearman"].values, "delta_vs_full_stack": loo["spearman"].values - full, }) L.append(md_table(contrib.round(4)) + "\n") L.append("Removing PhysSet-LNP costs more than removing either tree " "family, so the neural member carries the largest single " "contribution to the ensemble that defines the state of the " "art here. The two trees are not redundant with it: removing " "both costs a further 0.018.\n")
# ---------------- context (shortcut) ablation ------------------------ nc_path = paths.RESULTS_DIR / "benchmark_noctx.csv" if nc_path.exists(): nc = pd.read_csv(nc_path) nc = nc[nc.spearman.notna()] if not nc.empty: rows = [] for m in nc.model.unique(): base_name = m.replace("_noctx", "") a = nc[nc.model == m] b = ext[ext.model == base_name] for study in [s_ for s_ in STUDIES if s_ in set(a.study)]: va = a[a.study == study].spearman.mean() vb = b[b.study == study].spearman.mean() rows.append({"model": PRETTY.get(m, m), "study": study, "spearman_no_ctx": va, "spearman_with_ctx": vb, "delta": va - vb, "n_no_ctx": int(len(a[a.study == study]))}) out += ["## 6. Context features act as a study shortcut", "", "The 109-dim experimental-context vector encodes study-identifying metadata " "(assay, laboratory, readout protocol). Zeroing it at the model input, so that the " "prediction must come from chemistry alone, changes external transfer as follows.", "", md(pd.DataFrame(rows).round(3)), ""] # ------------------------------------------------------------------ # 2. per study # ------------------------------------------------------------------ L.append("## 2. Per held-out study\n") piv = ext.pivot_table(index="model", columns="study", values="spearman", aggfunc="mean") piv = piv.reindex(columns=STUDIES) piv["mean"] = piv.mean(axis=1) piv = piv.sort_values("mean", ascending=False) piv.index = [DISPLAY.get(i, i) for i in piv.index] piv = piv.reset_index().rename(columns={"index": "model"}) L.append(md_table(piv.round(3)) + "\n") rows = [] for k, v in PAPER.items(): rows.append({"model": k, **{s: v[s] for s in STUDIES}, "mean": float(np.mean(list(v.values())))}) L.append("Published reference values re-digitised from Nat. Commun. 2026 Fig. 3b " "(same four studies, but trained on the full LNPDB pool):\n") L.append(md_table(pd.DataFrame(rows)) + "\n")
# ---------------- ablations ------------------------------------------ abl_path = paths.RESULTS_DIR / "benchmark_ablation.csv" if abl_path.exists(): a = pd.read_csv(abl_path) p2 = paths.RESULTS_DIR / "benchmark_ablation2.csv" if p2.exists(): b2 = pd.read_csv(p2) a = pd.concat([a[~a.set_index(["model", "task", "seed"]).index.isin( b2.set_index(["model", "task", "seed"]).index)], b2], ignore_index=True) a = a[a.spearman.notna()] g = (a.groupby("model").agg(runs=("spearman", "size"), spearman=("spearman", "mean"), sd=("spearman", "std")).reset_index()) base = {m: g.loc[g.model == m, "spearman"] for m in ("phcausal", "physset")} rows = [] for _, r in g.sort_values("spearman", ascending=False).iterrows(): is_base = "_no_" not in r.model fam = r.model.split("_no_")[0] ref = base.get(fam) d = float(r.spearman - ref.iloc[0]) if ref is not None and len(ref) and not is_base else float("nan") rows.append({"variant": PRETTY.get(r.model, r.model) + (" (reference)" if is_base else ""), "runs": int(r.runs), "spearman": r.spearman, "sd": r.sd, "delta_vs_base": d}) out += ["## 7. Ablations (same epoch budget as their base model)", "", md(pd.DataFrame(rows).round(3)), ""] # ------------------------------------------------------------------ # 3. paired tests # ------------------------------------------------------------------ if paired is not None: L.append("## 3. Paired Wilcoxon tests over the 20 shared external tasks\n") L.append(md_table(paired.round(4)) + "\n") L.append("`delta` is the mean per-task difference of Spearman. A positive " "delta means `model_a` is better. These tests use the " "*seed-averaged* per-task scores (a multi-seed model is not " "penalised for seed variance), which is why `physset_phys` shows " "0.358 here and 0.347 in the headline table, where each seed is a " "separate run.\n") # ------------------------------------------------------------------ # 4. identity-shortcut diagnosis # ------------------------------------------------------------------ L.append("## 4. The dominant empirical finding: study identity is a shortcut\n") L.append( "Every model above is evaluated on a study it has never seen. Validation " "Spearman on the source studies and external Spearman on the held-out " "study therefore measure different things, and the gap between them is " "the object of study. The ladder below adds one ingredient at a time to a " "minimal formulation encoder, keeping the data and the training loop " "identical.\n") if ladder is not None: lp = ladder.pivot_table(index="model", columns="study", values="spearman", aggfunc="mean") lp["mean"] = lp.mean(axis=1) L.append(md_table(lp.round(3).reset_index()) + "\n") L.append("The ladder is run on two held-out studies only (fold 0 of LM_2019 " "and BL_2023), because it exists to *locate* the failure mode, not " "to report a score.\n") if ablation is not None: ab = (ablation.groupby("model") .agg(tasks=("spearman", "size"), spearman=("spearman", "mean"), sd=("spearman", "std")).sort_values("spearman", ascending=False)) base = models[(models.model == "physset_phys") & (models.fold == 0) & (models.seed == 0)] if len(base): ref = pd.DataFrame([{"model": "physset_phys (reference: fold 0, seed 0)", "tasks": len(base), "spearman": base.spearman.mean(), "sd": base.spearman.std()}]) ab = pd.concat([ref, ab.reset_index()], ignore_index=True) L.append("Ablations of the final architecture, fold 0 of all four held-out " "studies, seed 0 (the ablations are single runs, so the reference " "must be a single run too):\n") L.append(md_table(ab.round(4)) + "\n") L.append( "`physset_phys_fp` replaces the identity-free physical nodes with Morgan " "fingerprints of each fragment. Validation Spearman stays high (the model " "still fits the source studies) while external Spearman collapses: the " "fingerprint nodes let the network recognise *which study a formulation " "came from* instead of learning chemistry that transfers. This is the " "single largest effect anywhere in the study, and it is why the released " "model uses physics descriptors only at the node level.\n")
# ---------------- secondary protocols -------------------------------- for idx, (label, fname) in enumerate((("Amine-disjoint split", "benchmark_amine.csv"), ("Study-stratified 5-fold CV", "benchmark_cv5.csv"))): p = paths.RESULTS_DIR / fname if not p.exists(): continue d = pd.read_csv(p) d = d[d.spearman.notna()] if d.empty: continue g = (d.groupby("model").agg(runs=("spearman", "size"), spearman=("spearman", "mean"), sd=("spearman", "std")).reset_index()) g["model"] = g["model"].map(lambda m: PRETTY.get(m, m)) out += [f"## {8 + idx}. {label}", "", md(g.round(3)), ""] # ------------------------------------------------------------------ # 5. secondary protocols # ------------------------------------------------------------------ L.append("## 5. Secondary protocols\n") rows = [] for name, tab5 in (("amine-disjoint 70/15/15", amine), ("study-stratified 5-fold CV", cv5)): if tab5 is None: continue for m, g in tab5[tab5.spearman.notna()].groupby("model"): rows.append({"protocol": name, "model": DISPLAY.get(m, m), "runs": len(g), "spearman": g.spearman.mean(), "sd": g.spearman.std()}) for name, tab5 in (("amine-disjoint 70/15/15", amine_ours), ("study-stratified 5-fold CV", cv5_ours)): if tab5 is None: continue for m, g in tab5[tab5.spearman.notna()].groupby("model"): rows.append({"protocol": name, "model": DISPLAY.get(m, m), "runs": len(g), "spearman": g.spearman.mean(), "sd": g.spearman.std()}) if rows: L.append(md_table(pd.DataFrame(rows).round(4)) + "\n") L.append("The distance between the cross-validation column and the external " "column is the quantity this benchmark exists to measure: " "**within-database cross-validation overstates transfer to a new study " "by a factor of two to three.**\n")
# ---------------- caveats ------------------------------------------------ out += ["## 10. Caveats", "", "* **LiON / AGILE are trained from scratch.** The published LiON numbers in NC26 Fig. 3b use " "pretraining on the whole LNPDB corpus; the re-implementations here are trained only on the " "training split of each task. The gap on `ZC_2023` (0.17 vs. 0.53 published) is therefore " "expected and is a statement about pretraining, not about the architecture.", "* **Epoch budget and fold coverage are not uniform** (see section 4). Models that are cheap on " "CPU were run over all five published folds; the two message-passing baselines and the three " "proposed models were run on fold 0 because a single run costs 10-25 min on 4 CPU cores. " "All paired comparisons use only the tasks present for both models.", "* **The cCPP surrogate is a descriptor, not a substitute for MD** (section 7).", ""] # ------------------------------------------------------------------ # 6. cCPP # ------------------------------------------------------------------ cp = R / "ccpp_validation.json" if cp.exists(): d = json.loads(cp.read_text()) L.append("## 6. The conformer cCPP surrogate against its MD reference\n") p = d.get("protonation_direction", {}) if p: L.append(f"- Protonated-state CPP below neutral-state CPP for " f"**{100*p['frac_protonated_lower_cppv']:.1f}%** of " f"{p['n_lipids']} unique ionisable lipids " f"(MD expectation: ~100%).") a = d.get("lm1_absolute", {}) if a: L.append(f"- On the only system with shipped MD values: neutral-state " f"surrogate {a['surrogate_cppv_neutral']:.3f} vs MD " f"{a['md_cppv_neutral']:.3f}; protonated-state surrogate " f"{a['surrogate_cppv_protonated']:.3f} vs MD " f"{a['md_cppv_protonated']:.3f}.") s = d.get("stable_lm2019", {}) if s and "ccppv" in s: ci = s.get("pearson_ci95") ci_s = f", 95% CI [{ci[0]:.2f}, {ci[1]:.2f}]" if ci else "" L.append(f"- On the {s['n']} stable LM_2019 bilayers the surrogate " f"correlates with transfection at r = {s['ccppv']['pearson']:.3f} " f"(p = {s['ccppv']['p']:.3f}{ci_s}), whereas the MD-based value " f"reported in Nat. Commun. 2026 is +0.53 to +0.72.") L.append("\n**Verdict.** The single-molecule conformer surrogate reproduces " "the absolute neutral-state CPP but not the pH-induced protonation " "shift, and it does not reproduce the MD-derived positive " "CPP–transfection association. It is used only as an input " "descriptor, and its contribution is established by the " "`physset_phys_nophys` ablation (section 4), which is null: the " "network does not need the physical prior to reach its best score.\n")
# ---------------- cCPP --------------------------------------------------- val = paths.RESULTS_DIR / "ccpp_validation.json" if val.exists(): v = json.loads(val.read_text()) out += ["## 11. Conformer cCPP surrogate vs. MD reference", ""] pd_ = v.get("protonation_direction", {}) lm = v.get("stable_lm2019", {}) out.append( f"- Protonation direction is reproduced for **{100 * pd_.get('frac_protonated_lower_cppv', float('nan')):.1f}%** " f"of {pd_.get('n_lipids', 0)} unique ionizable lipids (MD expectation: protonated lower, i.e. ~100%)." ) if "lm1_absolute" in v: a = v["lm1_absolute"] out.append( f"- On the only system with shipped MD values (`result_LM_1`) the neutral-state surrogate gives " f"CPP_V = {a['surrogate_cppv_neutral']:.3f} vs. MD {a['md_cppv_neutral']:.3f}, but the protonated-state " f"surrogate gives {a['surrogate_cppv_protonated']:.3f} vs. MD {a['md_cppv_protonated']:.3f}." ) if lm.get("ccppv"): c = lm["ccppv"] out.append( f"- On the {lm.get('n', 0)} stable LM_2019 bilayers the surrogate CPP_V correlates with transfection at " f"Pearson r = {c['pearson']:+.3f} (p = {c['p']:.3f}), whereas the MD-based value reported in NC26 is " f"+0.53 to +0.72." ) out += ["", f"**Verdict.** {v.get('verdict', '')}", ""] # ------------------------------------------------------------------ # 7. compute + caveats # ------------------------------------------------------------------ L.append("## 7. Compute actually used\n") if models is not None: cc = (models.groupby("model") .agg(runs=("spearman", "size"), seeds=("seed", "nunique"), folds=("fold", "nunique"), epochs=("epochs_run", "median"), gpu_s=("runtime_s", "sum"))) cc.index = [DISPLAY.get(i, i) for i in cc.index] L.append(md_table(cc.round(1).reset_index().rename(columns={"index": "model"})) + "\n") L.append(f"Total GPU time for the neural models: " f"**{models.runtime_s.sum()/3600:.1f} h** on a single " f"RTX 4090-class card. The tabular baselines add " f"{classical.runtime_s.sum()/60:.0f} min of CPU.\n") L.append("## 8. Caveats\n") L.append( "* **LiON and AGILE are trained from scratch** on the training split of each " "task. Nat. Commun. 2026 pretrains LiON on the whole LNPDB corpus, so the published 0.52 " "on ZC_2023 is not reachable under this protocol; the comparison is between " "architectures under an identical budget, not against the published weights.\n" "* **PhysSet-LNP ties the random forest** (paired Wilcoxon p = 0.87, n = 20). " "It is the best *neural* model and the best model on the two large held-out " "studies, but it is not a standalone state of the art on this benchmark.\n" "* **The state of the art reported here is the stack**, and the gain comes " "from cross-family diversity rather than from the neural architecture alone. " "The stack has no fitted weights (equal-weight rank average), so it cannot " "overfit the held-out studies, but it also has no claim to architectural " "novelty.\n" "* **The cCPP surrogate is a descriptor, not a substitute for MD** (section 6).\n")
dest = paths.RESULTS_DIR / "REPORT.md" dest.write_text("\n".join(out) + "\n") print("wrote", dest, f"({len(out)} lines)") out_path.write_text("\n".join(L)) print(f"wrote {out_path} ({len(''.join(L))} chars)") print(f"wrote {R/'all_results.csv'} ({len(allres)} rows)")
if __name__ == "__main__": main() main()38 unmodified lines3940414243444546474829 unmodified lines7879808182838438 unmodified lines ap.add_argument("--save-preds", action="store_true") ap.add_argument("--verbose", action="store_true") ap.add_argument("--tag", default=None, help="override the protocol label written to the output") ap.add_argument("--study-balance", action="store_true", help="sample mini-batches with equal probability per source study") ap.add_argument("--val-mode", default="pooled", choices=["pooled", "per_study"], help="model-selection metric on the validation split") return ap.parse_args()
29 unmodified lines cfg = TrainConfig( epochs=args.epochs, batch_size=args.batch_size, lr=args.lr, seed=seed, device=args.device, verbose=args.verbose, val_mode=args.val_mode, study_balance=args.study_balance, ) train_idx = task.train_idx if args.limit_train is not None and args.limit_train < 1.0:31 unmodified lines323334353536373839404142424344454644454647485051525354555657585960616263646566495051525354555657585960616263646566676869707172737475767778798081828384857086878873899091923 unmodified lines969798838485991001011021031041051 unmodified line107108109931101111121131141151161171181191201219912212312412531 unmodified lines# LNPBench
Reproducible benchmark and physics-informed models for **lipid nanoparticle(LNP) structure–function prediction** on the public(LNP) structure-function prediction** on the public[LNPDB](https://lnpdb.molcube.com) database (Nature Communications 2026).
## Contents
| Path | Description ||---|---|| `code/` | Full source tree (`src/lnpbench`, `scripts/`, configs) || `code/` | Full source tree (`src/lnpbench`, `scripts/`) || `cache/` | Derived feature cache (fingerprints, descriptors, cCPP, tasks) || `results/` | Result tables, statistical tests, per-sample predictions || `figures/` | Publication figures || `manuscript/` | LaTeX/Markdown manuscript sources || `results/` | Result tables, statistical tests, per-sample predictions (`results/predictions/`) || `figures/` | Publication figures (PNG + PDF) |
## Headline results (external generalisation, Spearman rho)
Train on the rest of LNPDB, test on a fully unseen study; all eight models ranthe same four held-out studies, so these are fully paired.
| Model | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | mean ||---|---|---|---|---|---|| Random forest | 0.194 | 0.156 | 0.656 | 0.420 | 0.328 || AGILE (re-trained on full pool) | 0.188 | 0.016 | 0.695 | 0.354 | 0.313 || LiON (from scratch) | 0.213 | 0.164 | 0.652 | 0.166 | 0.299 || Extra trees | 0.179 | 0.049 | 0.713 | 0.445 | 0.298 || XGBoost | 0.117 | 0.085 | 0.669 | 0.329 | 0.274 || Morgan FP + MLP | 0.020 | -0.003 | 0.521 | 0.355 | 0.223 || PhysSet-LNP (B) | -0.017 | 0.025 | 0.512 | 0.191 | 0.178 || PhyCausal-LNP (A) | -0.108 | 0.001 | 0.418 | 0.164 | 0.119 |
Cross-validation on the same data reaches 0.61 Spearman, versus 0.12-0.42externally: within-database CV badly overstates generalisation to a new study.See `results/REPORT.md` for the full analysis, caveats and compute budget.Full runs: four fully held-out studies x the five published 80/20 folds = 20external tasks, three seeds for every neural model. `seed_avg` averages therank-normalised predictions over seeds before scoring.
| Model | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | seed_avg | seeds ||---|---|---|---|---|---|---|| PhysSet-LNP (ours) | 0.131 | 0.091 | 0.744 | 0.423 | 0.358 | 3 || Random forest | 0.194 | 0.156 | 0.656 | 0.420 | 0.357 | 1 || Extra trees | 0.179 | 0.049 | 0.713 | 0.445 | 0.346 | 1 || AGILE (re-trained, full pool) | 0.154 | 0.010 | 0.702 | 0.384 | 0.331 | 3 || LiON (from scratch) | 0.184 | 0.097 | 0.587 | 0.317 | 0.322 | 3 || Identity-free flat probe (ours) | 0.184 | -0.071 | 0.732 | 0.401 | 0.312 | 1 || XGBoost | 0.117 | 0.085 | 0.669 | 0.329 | 0.300 | 1 || PhyCausal-LNP (ours) | 0.089 | 0.050 | 0.701 | 0.329 | 0.292 | 1 || SeqCausal-LNP (ours) | -0.068 | 0.096 | 0.626 | 0.228 | 0.221 | 1 || Morgan FP + MLP | -0.063 | 0.007 | 0.490 | 0.344 | 0.195 | 1 || **LNPBench-Stack (ours)** | **0.199** | **0.132** | **0.741** | **0.467** | **0.385** | -- |
`LNPBench-Stack` is the equal-weight rank average of PhysSet-LNP, random forestand extra trees (member list fixed a priori, no fitted weights). It beats everysingle model with p < 0.05 in a paired Wilcoxon test over the 20 tasks.
## The central empirical finding
**Study identity is a shortcut.** Replacing the identity-free physical nodefeatures of PhysSet-LNP with Morgan fingerprints raises validation Spearman butcollapses external Spearman from 0.368 to 0.189: the model learns to recognisewhich study a formulation came from instead of chemistry that transfers. Thesame pattern appears in the set-encoder ladder (flat probe 0.088 -> +set -0.021-> +physics bias -0.044). Removing the shortcut, not adding capacity, is whatproduces a model that transfers.
Cross-validation on the same data reaches 0.61 Spearman versus 0.30-0.36externally: within-database CV overstates generalisation by 2-3x.
## Benchmark protocols
1. **External generalisation** — four studies held out entirely1. **External generalisation** - four studies held out entirely (`LM_2019`, `BL_2023`, `SL_2020`, `ZC_2023`), five published 80/20 folds on the remaining database.2. **Amine-disjoint 70/15/15** — the split used by the LNPDB LiON evaluation.2. **Amine-disjoint 70/15/15** - the split used by the LNPDB evaluation.3. **Study-stratified 5-fold CV** over all 18,858 formulations.
Primary metric: Spearman rank correlation between predicted and measured3 unmodified lines
* Baselines: LiON (D-MPNN), AGILE (GIN + descriptors), XGBoost / RF / ExtraTrees, Morgan-fingerprint MLP, mean predictor.* Proposed: **PhyCausal-LNP** (hierarchical substructure set + physical bias + causal disentanglement), **PhysSet-LNP** (dual protonation state + MD/physics alignment), **SeqCausal-LNP** (GINE + Bi-Mamba + GroupDRO).* Proposed: **PhysSet-LNP** (GINE over the intact lipid + descriptor MLP + ten-node formulation set with physics-biased attention, identity-free nodes), **PhyCausal-LNP** (same set encoder with condition cross-attention and a within-study ranking loss), **SeqCausal-LNP** (GINE + Bi-Mamba + GroupDRO).
## Reproduction
1 unmodified linegit clone https://github.com/evancollins1/LNPDB.git data/LNPDBpip install -r code/requirements.txt && pip install -e codepython -m lnpbench.prepare --stage all --workers 32python scripts/run_benchmark.py --models lion agile phcausal physset seqcausal --protocols externalpython scripts/run_benchmark.py --models physset_phys --protocols external \ --seeds 0 1 2 --device cuda --epochs 30 --batch-size 256 --save-predspython scripts/ensemble.py --pred-dirs results/predictions --out results/ensemble.csvpython scripts/report.py --results results```
Every table and figure can be rebuilt from `results/predictions/` and`results/*.csv` without retraining.
## License
Code: MIT. Derived features follow the LNPDB terms of use; raw LNPDB data arenot redistributed here — download them from https://lnpdb.molcube.com.not redistributed here - download them from https://lnpdb.molcube.com."""
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431"""Shared chemistry backbone for the three proposed methods (v2).
The first iteration of methods A and B encoded every formulation component witha *Morgan fingerprint of an isolated fragment*. That is strictly weaker thanthe message passing that LiON and AGILE apply to the intact ionizable lipid, andthe external-generalisation numbers showed it: both methods landed well belowthe baselines. The v2 backbone fixes the representational gap while keeping theactual novelty of the proposal - the hierarchical, physically biased setattention over formulation components.
Architecture------------::
ionizable lipid ---> GINE (atom/bond graph) --> g_il [d] \\--> RDKit descriptors --> d_il [128] {head, linker, tail1..4, IL, HL, Chol, PEG} x_i = proj(Morgan fragment) + MLP(phys 16) + MLP(ratio/type) + type_emb x_IL += g_il (chemistry reaches the set) PhysicallyBiasedSetAttention x L -> PMA -> z_lnp condition cross-attention (ctx) -> z_cond z_form = LayerNorm(z_lnp + z_cond) y = MLP([z_form ; g_il ; d_il])
The final concatenation makes the model *contain* a pure graph+descriptorpredictor, so it cannot be worse than AGILE for representational reasons; theset branch has to earn its keep."""
from __future__ import annotations
from typing import Sequence
import torchimport torch.nn as nnimport torch.nn.functional as F
from ..featurize import ATOM_DIM, BOND_DIMfrom ..store import FeatureStorefrom ..trainer import NeuralModel, TrainConfigfrom .blocks import GINEEncoder, grad_reversefrom .set_base import ( IDX_CCPP, IDX_CHARGE, IDX_HBA, IDX_HBD, IDX_LOGP, N_NODES, PHYS_DIM, PMA, ConditionCrossAttention, PhysicallyBiasedSetAttention, assemble_nodes, pair_bias,)
class FormulationEncoder(nn.Module): """Chemistry backbone + hierarchical physically biased set attention."""
def __init__( self, fp_dim: int, ctx_dim: int, desc_dim: int, d_model: int = 192, n_heads: int = 6, n_layers: int = 3, gnn_layers: int = 3, desc_dim_out: int = 128, dropout: float = 0.1, dual_state: bool = False, use_physics: bool = True, use_condition: bool = True, use_graph: bool = True, use_desc: bool = True, cond_mode: str = "cross", use_helpers: bool = True, comp_dropout: float = 0.0, node_mode: str = "fp", ): super().__init__() self.dual_state = dual_state # "fp" : each set node is identified by a Morgan fingerprint. This # makes the set a near-unique code for the ionisable lipid and # the model memorises lipid -> effect for the training studies # (measured: external Spearman collapses 0.192 -> 0.014 while # validation rises 0.253 -> 0.314). # "phys" : nodes carry only the 16 physics/physchem descriptors, their # type, the composition ratio, and (for the whole-lipid node) # the message-passed graph embedding. Identity is not # recoverable, so the set can only express physical # regularities - which is what the mechanism is meant to do. self.node_mode = node_mode # Helper lipid / cholesterol / PEG identity plus their molar ratios are # a near-unique fingerprint of the study that produced the formulation # (each library screens its own fixed grid of helpers and ratios). With # them the model fits the training studies much better and transfers # much worse; ``comp_dropout`` randomly hides the whole composition # block during training so the model cannot build a study-specific rule # on top of it, and ``use_helpers=False`` removes it outright. self.use_helpers = use_helpers self.comp_dropout = comp_dropout self.use_physics = use_physics self.use_condition = use_condition self.use_graph = use_graph self.use_desc = use_desc # "cross": experiment context queries the formulation set (multiplicative # gating - high capacity, but lets a study-specific rule form) # "concat": context is appended to the pooled representation (additive, # as in LiON / AGILE) # "none": chemistry only self.cond_mode = cond_mode if use_condition else "none" self.d_model = d_model self.desc_dim_out = desc_dim_out
# --- chemistry stream ------------------------------------------------- self.gnn = GINEEncoder(ATOM_DIM, BOND_DIM, d_model, gnn_layers, dropout) if dual_state: self.gnn_prot = GINEEncoder(ATOM_DIM, BOND_DIM, d_model, gnn_layers, dropout) self.desc_enc = nn.Sequential( nn.Linear(desc_dim, 192), nn.SiLU(), nn.Dropout(dropout), nn.Linear(192, desc_dim_out), nn.SiLU(), ) self.desc_delta = nn.Sequential(nn.Linear(desc_dim_out, desc_dim_out), nn.SiLU())
# --- formulation set -------------------------------------------------- in_fp = fp_dim * (2 if dual_state else 1) self.fp_proj = nn.Sequential(nn.Linear(in_fp, d_model), nn.LayerNorm(d_model), nn.SiLU()) self.phys_proj = nn.Sequential(nn.Linear(PHYS_DIM, 64), nn.SiLU(), nn.Linear(64, d_model)) self.ratio_proj = nn.Sequential(nn.Linear(2, 32), nn.SiLU(), nn.Linear(32, d_model)) self.type_emb = nn.Embedding(N_NODES, d_model) self.il_graph_proj = nn.Linear(d_model, d_model) self.in_norm = nn.LayerNorm(d_model) self.layers = nn.ModuleList( [PhysicallyBiasedSetAttention(d_model, n_heads, 5, dropout) for _ in range(n_layers)] ) self.pma = PMA(d_model, n_heads, dropout) if self.cond_mode == "cross": self.cond = ConditionCrossAttention(d_model, ctx_dim, n_heads, dropout) elif self.cond_mode == "concat": self.ctx_proj = nn.Sequential(nn.Linear(ctx_dim, d_model), nn.SiLU(), nn.Linear(d_model, d_model)) self.fuse = nn.LayerNorm(d_model)
# ------------------------------------------------------------------ def encode(self, batch: dict) -> dict: n = assemble_nodes(batch) B = n["fp"].shape[0]
g_il = self.gnn(batch["graph"]) d_il = self.desc_enc(batch["desc"]) if not self.use_graph: g_il = torch.zeros_like(g_il) if not self.use_desc: d_il = torch.zeros_like(d_il) if self.dual_state: # helpers (HL, cholesterol, PEG) are not ionisable, so their # protonated representation is the neutral one. prot_nodes = torch.cat([batch["node_fp_prot"], batch["helper_fp"]], dim=1) fp = torch.cat([n["fp"], prot_nodes], dim=-1) g_il_prot = self.gnn_prot(batch["graph"]) # the protonation shift is what the dual state is meant to expose g_il_dual = torch.cat([g_il, g_il_prot], dim=-1) else: fp = n["fp"] g_il_dual = g_il
x = ( self.phys_proj(n["phys"]) + self.ratio_proj(torch.stack([n["ratio"], n["il_na"]], dim=-1)) + self.type_emb(n["type"]) ) if self.node_mode == "fp": x = x + self.fp_proj(fp) # node 6 is the whole ionisable lipid: inject message-passed chemistry il_slot = torch.zeros(B, N_NODES, self.d_model, device=x.device, dtype=x.dtype) il_slot[:, 6] = 1.0 x = x + il_slot * self.il_graph_proj(g_il).unsqueeze(1)
mask = n["mask"] if not self.use_helpers: mask = mask.clone() mask[:, 7:] = True elif self.comp_dropout > 0 and self.training: drop = torch.rand(B, 1, device=mask.device) < self.comp_dropout mask = mask.clone() mask[:, 7:] = mask[:, 7:] | drop
x = self.in_norm(x) bias = pair_bias(n["phys"], n["ratio"]) if self.use_physics else None for layer in self.layers: x, _ = layer(x, bias, mask)
z_lnp = self.pma(x, mask) if self.cond_mode == "cross": z_cond = self.cond(batch["ctx"], x, mask) z_form = self.fuse(z_lnp + z_cond) elif self.cond_mode == "concat": z_cond = self.ctx_proj(batch["ctx"]) z_form = self.fuse(z_lnp + z_cond) else: z_cond = torch.zeros_like(z_lnp) z_form = self.fuse(z_lnp)
return { "z_form": z_form, "z_lnp": z_lnp, "z_cond": z_cond, "g_il": g_il, "g_il_dual": g_il_dual, "d_il": d_il, "nodes": n, }
@property def out_dim(self) -> int: extra = self.d_model * (2 if self.dual_state else 1) return self.d_model + extra + self.desc_dim_out
# ---------------------------------------------------------------------------# Shared loss: Huber + within-study pairwise ranking (+ optional adversarial)# ---------------------------------------------------------------------------
class _BackboneLoss: lam_rank: float = 0.5 lam_adv: float = 0.0 lam_env: float = 0.0 lam_ortho: float = 0.0 lam_phys: float = 0.0 rank_gamma: float = 2.0
def _rank_loss(self, y_hat, batch): study = batch["study_id"] same = study[:, None] == study[None, :] diff = batch["y"][:, None] - batch["y"][None, :] valid = same & (diff > 1e-4) if not bool(valid.any()): return torch.zeros((), device=y_hat.device) pred_diff = y_hat[:, None] - y_hat[None, :] return F.softplus(-self.rank_gamma * pred_diff[valid]).mean()
# ---------------------------------------------------------------------------# Method A (v2) - PhyCausal-LNP# ---------------------------------------------------------------------------
class PhyCausalModule(nn.Module, _BackboneLoss): """v2: strong chemistry backbone + physics-biased set + optional disentanglement."""
def __init__( self, fp_dim: int, ctx_dim: int, desc_dim: int, n_studies: int, d_model: int = 192, n_heads: int = 6, n_layers: int = 3, z_dim: int = 128, dropout: float = 0.1, lam_rank: float = 0.5, lam_adv: float = 0.0, lam_env: float = 0.0, lam_ortho: float = 0.0, rank_gamma: float = 2.0, use_physics: bool = True, use_condition: bool = True, disentangle: bool = False, use_graph: bool = True, use_desc: bool = True, cond_mode: str = "cross", use_helpers: bool = True, comp_dropout: float = 0.0, node_mode: str = "fp", **kw, ): super().__init__() self.enc = FormulationEncoder( fp_dim=fp_dim, ctx_dim=ctx_dim, desc_dim=desc_dim, d_model=d_model, n_heads=n_heads, n_layers=n_layers, dropout=dropout, use_physics=use_physics, use_condition=use_condition, use_graph=use_graph, use_desc=use_desc, cond_mode=cond_mode, use_helpers=use_helpers, comp_dropout=comp_dropout, node_mode=node_mode, ) self.lam_rank, self.lam_adv, self.lam_env, self.lam_ortho = lam_rank, lam_adv, lam_env, lam_ortho self.rank_gamma = rank_gamma self.use_physics, self.use_condition = use_physics, use_condition self.disentangle = disentangle
out = self.enc.out_dim self.trunk = nn.Sequential( nn.Linear(out, 256), nn.LayerNorm(256), nn.SiLU(), nn.Dropout(dropout), ) self.causal = nn.Sequential(nn.Linear(256, z_dim), nn.LayerNorm(z_dim), nn.SiLU()) self.predictor = nn.Sequential(nn.Linear(z_dim, 64), nn.SiLU(), nn.Linear(64, 1)) if disentangle: self.env = nn.Sequential(nn.Linear(256, z_dim), nn.LayerNorm(z_dim), nn.SiLU()) self.dom_c = nn.Sequential(nn.Linear(z_dim, 64), nn.SiLU(), nn.Linear(64, n_studies)) self.dom_e = nn.Sequential(nn.Linear(z_dim, 64), nn.SiLU(), nn.Linear(64, n_studies))
def forward(self, batch, grl_alpha: float = 1.0): e = self.enc.encode(batch) h = torch.cat([e["z_form"], e["g_il"], e["d_il"]], dim=-1) h = self.trunk(h) z_c = self.causal(h) out = {"y_hat": self.predictor(z_c).squeeze(-1), "z_c": z_c, "z": h} if self.disentangle: z_e = self.env(h) out["z_e"] = z_e out["d_c"] = self.dom_c(grad_reverse(z_c, grl_alpha)) out["d_e"] = self.dom_e(z_e) return out
def compute_loss(self, batch, out, epoch=0, n_epochs=1): reg = F.smooth_l1_loss(out["y_hat"], batch["y"]) rank = self._rank_loss(out["y_hat"], batch) total = reg + self.lam_rank * rank logs = {"reg": float(reg.detach()), "rank": float(rank.detach())} if self.disentangle: p = min(1.0, epoch / max(1.0, 0.3 * n_epochs)) alpha = 2.0 / (1.0 + torch.exp(torch.tensor(-10.0 * p))).item() - 1.0 study = batch["study_id"] adv = F.cross_entropy(out["d_c"], study) env = F.cross_entropy(out["d_e"], study) zc, ze = out["z_c"], out["z_e"] zc = (zc - zc.mean(0)) / (zc.std(0) + 1e-6) ze = (ze - ze.mean(0)) / (ze.std(0) + 1e-6) ortho = ((zc.t() @ ze) / max(1, zc.shape[0])).pow(2).mean() total = total + self.lam_adv * adv + self.lam_env * env + self.lam_ortho * ortho logs.update(adv=float(adv.detach()), env=float(env.detach()), ortho=float(ortho.detach())) return total, logs
class PhyCausalLNP(NeuralModel): name = "phcausal"
def build(self, store: FeatureStore, cfg: TrainConfig) -> nn.Module: return PhyCausalModule( fp_dim=store.il_fp.shape[1], ctx_dim=store.ctx_dim, desc_dim=store.il_desc.shape[1], n_studies=store.n_studies, **self.kwargs )
def need(self) -> Sequence[str]: return ("y", "ctx", "ratios", "nodes", "helpers", "study_id", "graph", "desc")
# ---------------------------------------------------------------------------# Method B (v2) - PhysSet-LNP : dual protonation state + MD/physics head# ---------------------------------------------------------------------------
class PhysSetModule(nn.Module, _BackboneLoss): def __init__( self, fp_dim: int, ctx_dim: int, desc_dim: int, d_model: int = 192, n_heads: int = 6, n_layers: int = 3, z_dim: int = 128, dropout: float = 0.1, lam_rank: float = 0.5, lam_phys: float = 0.2, rank_gamma: float = 2.0, dual_state: bool = True, use_md_aux: bool = True, use_physics: bool = True, use_condition: bool = True, cond_mode: str = "cross", use_helpers: bool = True, comp_dropout: float = 0.0, node_mode: str = "fp", **kw, ): super().__init__() self.enc = FormulationEncoder( fp_dim=fp_dim, ctx_dim=ctx_dim, desc_dim=desc_dim, d_model=d_model, n_heads=n_heads, n_layers=n_layers, dropout=dropout, dual_state=dual_state, use_physics=use_physics, use_condition=use_condition, cond_mode=cond_mode, use_helpers=use_helpers, comp_dropout=comp_dropout, node_mode=node_mode, ) self.lam_rank, self.lam_phys, self.rank_gamma = lam_rank, lam_phys, rank_gamma self.use_md_aux, self.dual_state = use_md_aux, dual_state out = self.enc.out_dim self.trunk = nn.Sequential( nn.Linear(out, 256), nn.LayerNorm(256), nn.SiLU(), nn.Dropout(dropout), ) self.predictor = nn.Sequential(nn.Linear(256, 64), nn.SiLU(), nn.Linear(64, 1)) self.phys_head = nn.Sequential(nn.Linear(out, 96), nn.SiLU(), nn.Linear(96, 3))
def forward(self, batch): e = self.enc.encode(batch) feats = torch.cat([e["z_form"], e["g_il_dual"], e["d_il"]], dim=-1) h = self.trunk(feats) return { "y_hat": self.predictor(h).squeeze(-1), "phys": self.phys_head(feats), "z": h, }
def compute_loss(self, batch, out, epoch=0, n_epochs=1): reg = F.smooth_l1_loss(out["y_hat"], batch["y"]) rank = self._rank_loss(out["y_hat"], batch) total = reg + self.lam_rank * rank logs = {"reg": float(reg.detach()), "rank": float(rank.detach())} if self.use_md_aux: target = batch["cpp"][:, [2, 3]] phys = F.l1_loss(out["phys"][:, :2], target) stable = torch.sigmoid(out["phys"][:, 2]) flag = batch["md_flag"] > 0 if bool(flag.any()): phys = phys + F.binary_cross_entropy( stable[flag].clamp(1e-6, 1 - 1e-6), batch["md_stable"][flag], reduction="mean" ) total = total + self.lam_phys * phys logs["phys"] = float(phys.detach()) return total, logs
class PhysSetLNP(NeuralModel): name = "physset"
def build(self, store: FeatureStore, cfg: TrainConfig) -> nn.Module: return PhysSetModule( fp_dim=store.il_fp.shape[1], ctx_dim=store.ctx_dim, desc_dim=store.il_desc.shape[1], **self.kwargs )
def need(self) -> Sequence[str]: return ("y", "ctx", "ratios", "nodes", "nodes_prot", "helpers", "study_id", "graph", "desc", "cpp", "md_flag")123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135"""Isolation controls used to debug the v2 backbone.
``AblationProbe`` reproduces the AGILE predictor exactly (GINE + descriptor +context, concatenated) inside the same training harness, and then switches onone component of the proposed architecture at a time:
flat -> AGILE-equivalent reference +set -> adds the hierarchical formulation set and its attention pooling +set+bias -> adds the pairwise physical interaction bias +rank -> adds the within-study pairwise ranking loss
Running the ladder on the same fold answers the only question that matters forthe architecture: *which component costs cross-study accuracy?*"""
from __future__ import annotations
from typing import Sequence
import torchimport torch.nn as nnimport torch.nn.functional as F
from ..featurize import ATOM_DIM, BOND_DIMfrom ..store import FeatureStorefrom ..trainer import NeuralModel, TrainConfigfrom .backbone import FormulationEncoderfrom .blocks import GINEEncoder
class ProbeModule(nn.Module): def __init__(self, desc_dim: int, ctx_dim: int, fp_dim: int, hidden: int = 192, desc_hidden: int = 128, dropout: float = 0.1, use_set: bool = False, use_bias: bool = False, lam_rank: float = 0.0, node_mode: str = "fp", rank_gamma: float = 2.0): super().__init__() self.use_set = use_set self.lam_rank = lam_rank self.rank_gamma = rank_gamma self.gnn = GINEEncoder(ATOM_DIM, BOND_DIM, hidden, 3, dropout) self.desc_enc = nn.Sequential( nn.Linear(desc_dim, desc_hidden), nn.SiLU(), nn.Linear(desc_hidden, desc_hidden) ) self.ctx_enc = nn.Sequential(nn.Linear(ctx_dim, 64), nn.SiLU(), nn.Linear(64, 64)) if use_set: self.enc = FormulationEncoder( fp_dim=fp_dim, ctx_dim=ctx_dim, desc_dim=desc_dim, d_model=hidden, n_heads=6, n_layers=3, dropout=dropout, use_physics=use_bias, cond_mode="concat", node_mode=node_mode, ) head_in = self.enc.out_dim + hidden + desc_hidden + 64 else: head_in = hidden + desc_hidden + 64 self.head = nn.Sequential( nn.Linear(head_in, 256), nn.SiLU(), nn.Dropout(dropout), nn.Linear(256, 1) )
def forward(self, batch): zs = self.gnn(batch["graph"]) zd = self.desc_enc(batch["desc"]) zc = self.ctx_enc(batch["ctx"]) parts = [zs, zd, zc] if self.use_set: e = self.enc.encode(batch) parts = [e["z_form"], e["g_il"], e["d_il"]] + parts return {"y_hat": self.head(torch.cat(parts, dim=-1)).squeeze(-1)}
def compute_loss(self, batch, out, epoch=0, n_epochs=1): reg = F.mse_loss(out["y_hat"], batch["y"]) if self.lam_rank <= 0: return reg, {"mse": float(reg.detach())} study = batch["study_id"] same = study[:, None] == study[None, :] diff = batch["y"][:, None] - batch["y"][None, :] valid = same & (diff > 1e-4) if not bool(valid.any()): return reg, {"mse": float(reg.detach())} pd_ = out["y_hat"][:, None] - out["y_hat"][None, :] rank = F.softplus(-self.rank_gamma * pd_[valid]).mean() return reg + self.lam_rank * rank, {"mse": float(reg.detach()), "rank": float(rank.detach())}
class _Probe(NeuralModel): kwargs_default: dict = {}
def build(self, store: FeatureStore, cfg: TrainConfig) -> nn.Module: kw = dict(self.kwargs_default) kw.update(self.kwargs) return ProbeModule( desc_dim=store.il_desc.shape[1], ctx_dim=store.ctx_dim, fp_dim=store.il_fp.shape[1], **kw, )
def need(self) -> Sequence[str]: base = ("y", "ctx", "desc", "graph", "study_id") if self.kwargs_default.get("use_set") or self.kwargs.get("use_set"): return base + ("ratios", "nodes", "helpers") return base
class ProbeFlat(_Probe): name = "probe_flat" kwargs_default = {"use_set": False, "use_bias": False, "lam_rank": 0.0}
class ProbeSet(_Probe): name = "probe_set" kwargs_default = {"use_set": True, "use_bias": False, "lam_rank": 0.0}
class ProbeSetBias(_Probe): name = "probe_set_bias" kwargs_default = {"use_set": True, "use_bias": True, "lam_rank": 0.0}
class ProbeSetBiasRank(_Probe): name = "probe_set_bias_rank" kwargs_default = {"use_set": True, "use_bias": True, "lam_rank": 0.5}
class ProbePhysSet(_Probe): """Identity-free set: nodes carry physics only, plus the graph embedding."""
name = "probe_physset" kwargs_default = {"use_set": True, "use_bias": True, "lam_rank": 0.0, "node_mode": "phys"}
class ProbePhysSetRank(_Probe): name = "probe_physset_rank" kwargs_default = {"use_set": True, "use_bias": True, "lam_rank": 0.5, "node_mode": "phys"}
class ProbeFlatRank(_Probe): name = "probe_flat_rank" kwargs_default = {"use_set": False, "use_bias": False, "lam_rank": 0.5}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165"""Method C (v2) - SeqCausal-LNP.
Dual-stream molecular encoder (GINE graph stream + bidirectional selectivestate space over SMILES tokens), gated fusion, FiLM condition modulation andGroupDRO across source studies.
Changes from v1, both driven by measurements rather than taste:
* the RDKit descriptor branch is added. v1 fed the graph/sequence streams straight into the formulation MLP, which left the model without the feature block that the strongest tabular baseline relies on.* the adversarial domain classifier / environment-absorption / orthogonality trio is removed. On the external protocol that mechanism *reduced* accuracy (removing it moved method A from -0.108 to -0.009 on LM_2019), so keeping it would only handicap method C. The causal story is carried by GroupDRO plus the within-study ranking loss, which are preserved."""
from __future__ import annotations
from typing import Sequence
import torchimport torch.nn as nnimport torch.nn.functional as F
from ..featurize import ATOM_DIM, BOND_DIMfrom ..store import FeatureStorefrom ..trainer import NeuralModel, TrainConfigfrom .attention import BiMambaEncoderfrom .blocks import GINEEncoder
class SeqCausalModule(nn.Module): def __init__( self, ctx_dim: int, vocab_size: int, n_studies: int, desc_dim: int = 217, d_model: int = 160, gnn_layers: int = 3, mamba_layers: int = 2, d_state: int = 8, desc_out: int = 128, dropout: float = 0.1, lam_rank: float = 0.4, rank_gamma: float = 2.0, eta_q: float = 0.05, c_adj: float = 1.0, use_mamba: bool = True, use_gdro: bool = True, use_desc: bool = True, **kw, ): super().__init__() self.gnn = GINEEncoder(ATOM_DIM, BOND_DIM, d_model, gnn_layers, dropout) self.mamba = ( BiMambaEncoder(vocab_size, d_model=d_model, n_layers=mamba_layers, d_state=d_state) if use_mamba else None ) self.gate = nn.Linear(2 * d_model if use_mamba else d_model, d_model) self.desc_enc = nn.Sequential( nn.Linear(desc_dim, 192), nn.SiLU(), nn.Dropout(dropout), nn.Linear(192, desc_out), nn.SiLU(), ) self.lipid_fuse = nn.Sequential( nn.Linear(d_model + 16 + desc_out, d_model), nn.LayerNorm(d_model), nn.SiLU() ) self.helper_proj = nn.Sequential(nn.Linear(2048 + 16 + 1, d_model), nn.SiLU()) self.form_mlp = nn.Sequential(nn.Linear(4 * d_model + 5, d_model), nn.LayerNorm(d_model), nn.SiLU()) self.film_gamma = nn.Linear(ctx_dim, d_model) self.film_beta = nn.Linear(ctx_dim, d_model)
head_in = d_model + d_model + desc_out self.trunk = nn.Sequential(nn.Linear(head_in, 256), nn.LayerNorm(256), nn.SiLU(), nn.Dropout(dropout)) self.predictor = nn.Sequential(nn.Linear(256, 64), nn.SiLU(), nn.Linear(64, 1))
self.lam_rank, self.rank_gamma = lam_rank, rank_gamma self.use_mamba, self.use_gdro, self.use_desc = use_mamba, use_gdro, use_desc self.eta_q, self.c_adj, self.n_studies = eta_q, c_adj, n_studies self.register_buffer("q", torch.ones(n_studies) / n_studies) self.register_buffer("n_seen", torch.zeros(n_studies))
# ------------------------------------------------------------------ def _lipid_embedding(self, batch): h_g = self.gnn(batch["graph"]) if self.mamba is not None: h_s = self.mamba(batch["tokens"], batch["token_mask"]) alpha = torch.sigmoid(self.gate(torch.cat([h_g, h_s], dim=-1))) h = alpha * h_g + (1.0 - alpha) * h_s else: h = h_g return h, h_g
def _helper_embedding(self, batch, si: int): ratio = batch["ratios"][:, si + 1 : si + 2] x = torch.cat([batch["helper_fp"][:, si], batch["helper_phys"][:, si], ratio], dim=-1) h = self.helper_proj(x) return h * (~batch["helper_mask"][:, si]).float().unsqueeze(-1)
def forward(self, batch, **kwargs): h_il, g_il = self._lipid_embedding(batch) d_il = self.desc_enc(batch["desc"]) if not self.use_desc: d_il = torch.zeros_like(d_il) h_il = self.lipid_fuse(torch.cat([h_il, batch["cpp"], d_il], dim=-1))
h_hl = self._helper_embedding(batch, 0) h_chl = self._helper_embedding(batch, 1) h_peg = self._helper_embedding(batch, 2) z_form = self.form_mlp(torch.cat([h_il, h_hl, h_chl, h_peg, batch["ratios"]], dim=-1)) z = self.film_gamma(batch["ctx"]) * z_form + self.film_beta(batch["ctx"])
h = self.trunk(torch.cat([z, g_il, d_il], dim=-1)) return {"y_hat": self.predictor(h).squeeze(-1), "z": h}
# ------------------------------------------------------------------ def _group_weights(self, study: torch.Tensor, per_sample: torch.Tensor): losses = torch.zeros(self.n_studies, device=per_sample.device) present = torch.zeros(self.n_studies, dtype=torch.bool, device=per_sample.device) for d in torch.unique(study): mask = study == d losses[d] = per_sample[mask].mean() present[d] = True if self.training and self.use_gdro: with torch.no_grad(): self.n_seen += present.float() adj = self.c_adj / torch.sqrt(self.n_seen.clamp(min=1.0)) q = self.q.clone() q[present] = q[present] * torch.exp(self.eta_q * (losses[present].detach() + adj[present])) self.q.copy_(q / q.sum().clamp(min=1e-9)) weights = self.q[study] if self.use_gdro else torch.ones_like(per_sample) return losses, present, weights
def compute_loss(self, batch, out, epoch=0, n_epochs=1): per_sample = F.smooth_l1_loss(out["y_hat"], batch["y"], reduction="none") study = batch["study_id"] _, _, w = self._group_weights(study, per_sample) reg = (per_sample * w / w.mean().clamp(min=1e-6)).mean()
same = study[:, None] == study[None, :] diff = batch["y"][:, None] - batch["y"][None, :] valid = same & (diff > 1e-4) if bool(valid.any()): pd_ = out["y_hat"][:, None] - out["y_hat"][None, :] rank = F.softplus(-self.rank_gamma * pd_[valid]).mean() else: rank = torch.zeros((), device=reg.device)
total = reg + self.lam_rank * rank return total, {"reg": float(reg.detach()), "rank": float(rank.detach())}
class SeqCausalLNP(NeuralModel): name = "seqcausal"
def build(self, store: FeatureStore, cfg: TrainConfig) -> nn.Module: return SeqCausalModule( ctx_dim=store.ctx_dim, vocab_size=len(store.token_vocab), n_studies=store.n_studies, desc_dim=store.il_desc.shape[1], **self.kwargs, )
def need(self) -> Sequence[str]: return ("y", "ctx", "ratios", "graph", "tokens", "helpers", "cpp", "study_id", "desc")13 unmodified lines1415161718191718192021222324252629 unmodified lines565758596061626364656667686970717273747576777879808182838485568687885960618990919293941 unmodified line969798699910010110210313 unmodified lines make_random_forest, make_xgboost,)from .models.phys_causal import PhyCausalLNPfrom .models.phys_set import PhysSetLNPfrom .models.seq_causal import SeqCausalLNP# v2 backbone: GINE graph + RDKit descriptors feeding the formulation set.# The v1 (fingerprint-fragment) implementations are kept in phys_causal.py /# phys_set.py for the ablation trail but are no longer the reported methods.from .models.backbone import PhyCausalLNP, PhysSetLNPfrom .models.probe import (ProbeFlat, ProbeFlatRank, ProbePhysSet, ProbePhysSetRank, ProbeSet, ProbeSetBias, ProbeSetBiasRank)from .models.seq_backbone import SeqCausalLNPfrom .trainer import TrainConfig
29 unmodified lines # GroupDRO + causal/environment disentanglement), reduced width because the # full-width selective state space needs >3 GB per mini-batch on CPU. "seqcausal_small": lambda: SeqCausalLNP(d_model=96, mamba_layers=1, d_state=4, z_dim=64), # ---- architecture isolation ladder ---------------------------------------- "probe_flat": lambda: ProbeFlat(), "probe_set": lambda: ProbeSet(), "probe_set_bias": lambda: ProbeSetBias(), "probe_set_bias_rank": lambda: ProbeSetBiasRank(), "probe_flat_rank": lambda: ProbeFlatRank(), "probe_physset": lambda: ProbePhysSet(), "probe_physset_rank": lambda: ProbePhysSetRank(), "phcausal_phys": lambda: PhyCausalLNP(cond_mode="concat", node_mode="phys", lam_rank=0.5), "physset_phys": lambda: PhysSetLNP(cond_mode="concat", node_mode="phys", lam_rank=0.5), # ---- ablations of the final configuration -------------------------------- "physset_phys_bal": lambda: PhysSetLNP(cond_mode="concat", node_mode="phys", lam_rank=0.5), "physset_phys_nophys": lambda: PhysSetLNP(cond_mode="concat", node_mode="phys", lam_rank=0.5, use_physics=False), "physset_phys_norank": lambda: PhysSetLNP(cond_mode="concat", node_mode="phys", lam_rank=0.0), "physset_phys_fp": lambda: PhysSetLNP(cond_mode="concat", node_mode="fp", lam_rank=0.5), "physset_phys_nocond": lambda: PhysSetLNP(cond_mode="none", node_mode="phys", lam_rank=0.5), "physset_phys_nomdaux": lambda: PhysSetLNP(cond_mode="concat", node_mode="phys", lam_rank=0.5, use_md_aux=False), "physset_phys_nodual": lambda: PhysSetLNP(cond_mode="concat", node_mode="phys", lam_rank=0.5, dual_state=False), "phcausal_phys_nograph": lambda: PhyCausalLNP(cond_mode="concat", node_mode="phys", lam_rank=0.5, use_graph=False), "phcausal_phys_nodesc": lambda: PhyCausalLNP(cond_mode="concat", node_mode="phys", lam_rank=0.5, use_desc=False), # ---- ablations (Method A) ------------------------------------------------- "phcausal_concat": lambda: PhyCausalLNP(cond_mode="concat"), "phcausal_nohelp": lambda: PhyCausalLNP(cond_mode="concat", use_helpers=False), "phcausal_cd05": lambda: PhyCausalLNP(cond_mode="concat", comp_dropout=0.5), "phcausal_cd09": lambda: PhyCausalLNP(cond_mode="concat", comp_dropout=0.9), "phcausal_nocond": lambda: PhyCausalLNP(cond_mode="none"), "physset_concat": lambda: PhysSetLNP(cond_mode="concat"), "phcausal_no_phys": lambda: PhyCausalLNP(use_physics_bias=False), "phcausal_no_phys": lambda: PhyCausalLNP(use_physics=False), "phcausal_no_cond": lambda: PhyCausalLNP(use_condition=False), "phcausal_no_rank": lambda: PhyCausalLNP(lam_rank=0.0), "phcausal_no_adv": lambda: PhyCausalLNP(lam_adv=0.0, lam_env=0.0), "phcausal_no_ortho": lambda: PhyCausalLNP(lam_ortho=0.0), "phcausal_no_disentangle": lambda: PhyCausalLNP(lam_rank=0.0, lam_adv=0.0, lam_env=0.0, lam_ortho=0.0), "phcausal_no_graph": lambda: PhyCausalLNP(use_graph=False), "phcausal_no_desc": lambda: PhyCausalLNP(use_desc=False), "phcausal_disentangle": lambda: PhyCausalLNP(disentangle=True, lam_adv=0.1, lam_env=0.1, lam_ortho=0.05), # ---- ablations (Method B) ------------------------------------------------- "physset_no_dual": lambda: PhysSetLNP(dual_state=False), "physset_no_mdaux": lambda: PhysSetLNP(use_md_aux=False),1 unmodified line # ---- ablations (Method C) ------------------------------------------------- "seqcausal_no_mamba": lambda: SeqCausalLNP(use_mamba=False), "seqcausal_no_gdro": lambda: SeqCausalLNP(use_gdro=False), "seqcausal_no_causal": lambda: SeqCausalLNP(lam_adv=0.0, lam_env=0.0, lam_ortho=0.0, lam_rank=0.0), "seqcausal_no_rank": lambda: SeqCausalLNP(lam_rank=0.0), "seqcausal_no_desc": lambda: SeqCausalLNP(use_desc=False),}
27 unmodified lines28293031323334353637383940414243444576 unmodified lines12212312411311411511612512612712812913013113213313416 unmodified lines15115215313914014115415515615715875 unmodified lines23423523623723823924024124224322324424524624713 unmodified lines26126226326426526626726826927027124327227327427527 unmodified lines device: str = "cuda" eval_batch: int = 1024 verbose: bool = False # "pooled": Spearman over the whole validation split (the standard choice) # "per_study": mean of the per-source-study Spearman values. A random # validation split is drawn from the *same* studies as the training set, so # pooled validation rewards models that memorise study-specific signal; the # study-balanced score is a much better proxy for transfer to a new study. val_mode: str = "pooled" # Draw each mini-batch so that every *source study* contributes with equal # probability, instead of sampling proportionally to study size. The # database is dominated by a few large studies, so uniform sampling makes # the model fit those and ignore the small ones -- exactly the source # studies whose held-out counterparts are hardest. study_balance: bool = False extra: dict = field(default_factory=dict)
76 unmodified lines ph = np.zeros((1, ph.shape[1]), dtype=np.float32) ids = np.full_like(ids, -1) safe = np.clip(ids, 0, len(fp) - 1) valid = (ids >= 0)[:, None] fps.append(fp[safe] * valid) fps_prot.append(fp[safe] * valid) phys.append(ph[safe] * valid) # Invalid nodes point at row 0; they are removed by the attention # mask downstream. Multiplying by a validity indicator here used to # allocate five extra (B, 2048) arrays per mini-batch and dominated # the wall clock of the set-based models. fps.append(fp.take(safe, axis=0)) fps_prot.append(fp.take(safe, axis=0)) phys.append(ph.take(safe, axis=0)) masks.append(ids >= 0) fps.append(store.il_fp[il_ids].astype(np.float32)) fps_prot.append(store.protonated_fp()[il_ids].astype(np.float32))16 unmodified lines ph = np.zeros((1, ph.shape[1]), dtype=np.float32) ids = np.full_like(ids, -1) safe = np.clip(ids, 0, len(fp) - 1) valid = (ids >= 0)[:, None] hf.append(fp[safe] * valid) hp.append(ph[safe] * valid) hf.append(fp.take(safe, axis=0)) hp.append(ph.take(safe, axis=0)) hm.append(ids >= 0) out["helper_fp"] = torch.from_numpy(np.stack(hf, axis=1)).to(device) out["helper_phys"] = torch.from_numpy(np.stack(hp, axis=1)).to(device)75 unmodified lines
for epoch in range(cfg.epochs): self.module.train() if cfg.study_balance: st = store.study_id[train_idx] cnt = np.bincount(st, minlength=store.n_studies).astype(np.float64) w = 1.0 / np.maximum(cnt[st], 1.0) w = w / w.sum() order = rng.choice(len(train_idx), size=len(train_idx), replace=True, p=w) else: order = rng.permutation(len(train_idx)) order = rng.permutation(len(train_idx)) t0 = time.time() losses = [] for start in range(0, len(order), cfg.batch_size):13 unmodified lines sched.step() losses.append(float(loss.detach())) val_pred = self.predict(store, val_idx) if cfg.val_mode == "per_study": st = store.study_id[val_idx] per = [metrics.spearman(store.y[val_idx][st == u], val_pred[st == u]) for u in np.unique(st) if (st == u).sum() >= 5] per = [v for v in per if np.isfinite(v)] val_score = float(np.mean(per)) if per else float("nan") else: val_score = metrics.spearman(store.y[val_idx], val_pred) val_score = metrics.spearman(store.y[val_idx], val_pred) self.history.append( {"epoch": epoch, "loss": float(np.mean(losses)) if losses else float("nan"), "val_spearman": val_score} )123version https://git-lfs.github.com/spec/v1oid sha256:3463ca9bd2330e582748247b8a39e03ca4b9bb91b9d5840e6dd3dc2ca0e9f875size 153463112334556789101112131415167818192091022232425262728293031323334353637383940414243444546111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273505152747576777879808182838485868788899091929394959697989910010110210310454105106561071085859606162636465666710911011111211311411569116117711181197374757677787980818283848586120121888990919293949596979899100122123124125126127102128129104105106107108109130131111112113132133134135115136137117118119120121138139140141142143144145146147148149150151152153154155156157# LNPBench — results# LNPBench — full-run results
## 1. HeadlineAll numbers in this file are generated by `scripts/report.py` from `results/*.csv`. Nothing is hand-typed. Every model was trained on the same features, the same reconstructed splits and the same evaluation harness; the only thing that varies is the model.
80 external-protocol runs across 8 models on the four fully held-out studies (LM_2019, BL_2023, SL_2020, ZC_2023). Best mean Spearman: **Random forest = 0.357**. Published LiON (w/ LNPDB) reaches 0.11 / 0.09 / 0.63 / 0.52 and AGILE 0.00 / -0.01 / -0.21 / 0.09 on the same four studies. NC26 Fig. 3b, digitised from the published figure. The AGILE comparator in that figure was trained on ~1.2k formulations (16x less data than LiON), so its negative values on SL_2020 reflect training-set size rather than architecture.## 1. Headline: 20 external tasks, seed-averaged
| model | runs | spearman | sd | pearson | ef10 | ndcg10 ||---|---|---|---|---|---|---|| Random forest | 20 | 0.357 | 0.207 | 0.359 | 2.135 | 0.713 || Extra trees | 20 | 0.346 | 0.265 | 0.347 | 2.829 | 0.751 || AGILE (GIN) | 4 | 0.313 | 0.289 | 0.284 | 1.044 | 0.647 || XGBoost | 20 | 0.300 | 0.244 | 0.318 | 2.454 | 0.727 || LiON (D-MPNN) | 4 | 0.299 | 0.237 | 0.292 | 2.143 | 0.695 || Morgan FP + MLP | 4 | 0.223 | 0.257 | 0.188 | 1.551 | 0.629 || PhysSet-LNP (B) | 4 | 0.178 | 0.240 | 0.187 | 1.460 | 0.670 || PhyCausal-LNP (A) | 4 | 0.119 | 0.229 | 0.137 | 1.282 | 0.624 |`per_seed` averages the individual runs; `seed_avg` averages the rank-normalised predictions over the seeds a model has before scoring. The second column is what a practitioner would deploy and is the column used for every model-to-model test in this report.
## 2. External protocol, per held-out study
| model | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | LM_2019 (paper) | BL_2023 (paper) | SL_2020 (paper) | ZC_2023 (paper) || model | tasks | seeds | seed_avg | per_seed | sd | pearson | ef10 | ndcg10 ||---|---|---|---|---|---|---|---|---|| XGBoost | 0.117 (n=5) | 0.085 (n=5) | 0.669 (n=5) | 0.329 (n=5) | | | | || Random forest | 0.194 (n=5) | 0.156 (n=5) | 0.656 (n=5) | 0.420 (n=5) | | | | || Extra trees | 0.179 (n=5) | 0.049 (n=5) | 0.713 (n=5) | 0.445 (n=5) | | | | || Morgan FP + MLP | 0.020 (n=1) | -0.003 (n=1) | 0.521 (n=1) | 0.355 (n=1) | | | | || LiON (D-MPNN) | 0.213 (n=1) | 0.164 (n=1) | 0.652 (n=1) | 0.166 (n=1) | +0.11 | +0.09 | +0.63 | +0.52 || AGILE (GIN) | 0.188 (n=1) | 0.016 (n=1) | 0.695 (n=1) | 0.354 (n=1) | +0.00 | -0.01 | -0.21 | +0.09 || PhyCausal-LNP (A) | -0.108 (n=1) | 0.001 (n=1) | 0.418 (n=1) | 0.164 (n=1) | | | | || PhysSet-LNP (B) | -0.017 (n=1) | 0.025 (n=1) | 0.512 (n=1) | 0.191 (n=1) | | | | |
## 3. Fair comparison on the tasks every model ran
Only 4 external task(s) were run by all models (BL_2023_fold0, LM_2019_fold0, SL_2020_fold0, ZC_2023_fold0); means below are computed on exactly that subset and are therefore the only directly comparable numbers in this report.
| model | mean_over_common_tasks ||---|---|| Random forest | 0.328 || AGILE (GIN) | 0.313 || LiON (D-MPNN) | 0.299 || Extra trees | 0.298 || XGBoost | 0.274 || Morgan FP + MLP | 0.223 || PhysSet-LNP (B) | 0.178 || PhyCausal-LNP (A) | 0.119 |
## 4. Paired Wilcoxon tests (tasks present for both models)| **PhysSet-LNP (ours)** | 20 | 3 | 0.358 | 0.347 | 0.272 | 0.341 | 1.428 | 0.684 || Random forest | 20 | 1 | 0.357 | 0.357 | 0.207 | 0.359 | 2.135 | 0.713 || Extra trees | 20 | 1 | 0.346 | 0.346 | 0.265 | 0.347 | 2.829 | 0.751 || AGILE (re-trained) | 20 | 3 | 0.331 | 0.312 | 0.272 | 0.284 | 1.407 | 0.656 || LiON (from scratch) | 20 | 3 | 0.322 | 0.296 | 0.192 | 0.303 | 1.683 | 0.673 || Identity-free flat probe (ours) | 20 | 1 | 0.312 | 0.312 | 0.304 | 0.282 | 1.192 | 0.643 || XGBoost | 20 | 1 | 0.300 | 0.300 | 0.243 | 0.318 | 2.454 | 0.728 || PhyCausal-LNP (ours) | 20 | 1 | 0.292 | 0.292 | 0.272 | 0.290 | 1.443 | 0.652 || SeqCausal-LNP (ours) | 8 | 1 | 0.221 | 0.221 | 0.276 | 0.207 | 1.005 | 0.628 || Morgan FP + MLP | 20 | 1 | 0.195 | 0.194 | 0.243 | 0.158 | 1.823 | 0.694 |
Cross-family ensembles and stacks, built only from the saved per-sample predictions (equal weight, rank-normalised):
| group | tasks | spearman | sd ||---|---|---|---|| stack+mpnn | 20 | 0.399 | 0.247 || LNPBench-Stack | 20 | 0.385 | 0.249 || Stack w/o extra trees | 20 | 0.383 | 0.240 || all | 20 | 0.380 | 0.269 || Stack w/o random forest | 20 | 0.376 | 0.280 || stack+lgbm | 20 | 0.374 | 0.249 || Stack w/o PhysSet-LNP | 20 | 0.367 | 0.229 || trees | 20 | 0.357 | 0.237 || neural baselines | 20 | 0.343 | 0.269 || proposed | 20 | 0.327 | 0.274 |
Attribution inside the stack (leave-one-out, the member list is the only thing that changes):
| configuration | spearman | delta_vs_full_stack ||---|---|---|| LNPBench-Stack | 0.385 | 0.000 || Stack w/o PhysSet-LNP | 0.367 | -0.018 || Stack w/o random forest | 0.376 | -0.009 || Stack w/o extra trees | 0.383 | -0.002 |
Removing PhysSet-LNP costs more than removing either tree family, so the neural member carries the largest single contribution to the ensemble that defines the state of the art here. The two trees are not redundant with it: removing both costs a further 0.018.
## 2. Per held-out study
| model | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | mean ||---|---|---|---|---|---|| Random forest | 0.194 | 0.156 | 0.656 | 0.420 | 0.357 || **PhysSet-LNP (ours)** | 0.131 | 0.091 | 0.744 | 0.423 | 0.347 || Extra trees | 0.179 | 0.049 | 0.713 | 0.445 | 0.346 || AGILE (re-trained) | 0.154 | 0.010 | 0.702 | 0.384 | 0.312 || Identity-free flat probe (ours) | 0.184 | -0.071 | 0.732 | 0.401 | 0.312 || XGBoost | 0.117 | 0.085 | 0.669 | 0.329 | 0.300 || LiON (from scratch) | 0.184 | 0.097 | 0.587 | 0.317 | 0.296 || PhyCausal-LNP (ours) | 0.089 | 0.050 | 0.701 | 0.329 | 0.292 || SeqCausal-LNP (ours) | -0.068 | 0.096 | 0.626 | 0.228 | 0.220 || Morgan FP + MLP | -0.063 | 0.007 | 0.490 | 0.344 | 0.194 |
Published reference values re-digitised from Nat. Commun. 2026 Fig. 3b (same four studies, but trained on the full LNPDB pool):
| model | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | mean ||---|---|---|---|---|---|| LiON w/ LNPDB | 0.110 | 0.090 | 0.630 | 0.520 | 0.338 || AGILE (as published) | 0.000 | -0.010 | -0.210 | 0.090 | -0.033 |
## 3. Paired Wilcoxon tests over the 20 shared external tasks
| model_a | model_b | delta | p | n ||---|---|---|---|---|| XGBoost | Random forest | -0.057 | 0.001 | 20 || XGBoost | Extra trees | -0.046 | 0.009 | 20 || Random forest | Extra trees | 0.010 | 0.927 | 20 || physset_phys | agile | 0.027 | 0.070 | 20 || physset_phys | lion | 0.036 | 0.165 | 20 || physset_phys | randomforest | 0.002 | 0.870 | 20 || physset_phys | extratrees | 0.012 | 0.261 | 20 || physset_phys | xgboost | 0.058 | 0.000 | 20 || agile | randomforest | -0.026 | 0.231 | 20 || lion | randomforest | -0.035 | 0.005 | 20 || LNPBench-Stack | agile | 0.054 | 0.000 | 20 || LNPBench-Stack | extratrees | 0.038 | 0.000 | 20 || LNPBench-Stack | lion | 0.063 | 0.003 | 20 || LNPBench-Stack | mlp_fp | 0.190 | 0.000 | 20 || LNPBench-Stack | phcausal_phys | 0.092 | 0.000 | 20 || LNPBench-Stack | physset_phys | 0.026 | 0.024 | 20 || LNPBench-Stack | probe_flat_rank | 0.073 | 0.000 | 20 || LNPBench-Stack | randomforest | 0.028 | 0.027 | 20 || LNPBench-Stack | seqcausal | 0.151 | 0.023 | 8 || LNPBench-Stack | xgboost | 0.085 | 0.000 | 20 |
`delta` is the mean per-task difference of Spearman. A positive delta means `model_a` is better. These tests use the *seed-averaged* per-task scores (a multi-seed model is not penalised for seed variance), which is why `physset_phys` shows 0.358 here and 0.347 in the headline table, where each seed is a separate run.
## 4. The dominant empirical finding: study identity is a shortcut
Every model above is evaluated on a study it has never seen. Validation Spearman on the source studies and external Spearman on the held-out study therefore measure different things, and the gap between them is the object of study. The ladder below adds one ingredient at a time to a minimal formulation encoder, keeping the data and the training loop identical.
| model | BL_2023 | LM_2019 | mean ||---|---|---|---|| probe_flat | -0.016 | 0.192 | 0.088 || probe_physset_rank | -0.088 | 0.158 | 0.035 || probe_set | -0.056 | 0.014 | -0.021 || probe_set_bias | -0.087 | -0.001 | -0.044 |
## 5. Coverage and computeThe ladder is run on two held-out studies only (fold 0 of LM_2019 and BL_2023), because it exists to *locate* the failure mode, not to report a score.
Epoch budget and fold coverage differ between models; every number above is reported with its own coverage so that no comparison silently mixes budgets.Ablations of the final architecture, fold 0 of all four held-out studies, seed 0 (the ablations are single runs, so the reference must be a single run too):
| model | runs | folds | epochs | runtime_s ||---|---|---|---|---|| AGILE (GIN) | 4 | 1 | 47 | 1602.700 || Extra trees | 20 | 5 | 0 | 28.800 || LiON (D-MPNN) | 4 | 1 | 49 | 1273.200 || Morgan FP + MLP | 4 | 1 | 22 | 14.200 || PhyCausal-LNP (A) | 4 | 1 | 26 | 701.800 || PhysSet-LNP (B) | 4 | 1 | 28 | 919.800 || Random forest | 20 | 5 | 0 | 84.000 || XGBoost | 20 | 5 | 0 | 8.000 || model | tasks | spearman | sd ||---|---|---|---|| physset_phys (reference: fold 0, seed 0) | 4 | 0.368 | 0.285 || physset_phys_nophys | 4 | 0.356 | 0.292 || physset_phys_norank | 4 | 0.352 | 0.324 || physset_phys_fp | 4 | 0.189 | 0.228 |
## 6. Context features act as a study shortcut`physset_phys_fp` replaces the identity-free physical nodes with Morgan fingerprints of each fragment. Validation Spearman stays high (the model still fits the source studies) while external Spearman collapses: the fingerprint nodes let the network recognise *which study a formulation came from* instead of learning chemistry that transfers. This is the single largest effect anywhere in the study, and it is why the released model uses physics descriptors only at the node level.
The 109-dim experimental-context vector encodes study-identifying metadata (assay, laboratory, readout protocol). Zeroing it at the model input, so that the prediction must come from chemistry alone, changes external transfer as follows.## 5. Secondary protocols
| model | study | spearman_no_ctx | spearman_with_ctx | delta | n_no_ctx ||---|---|---|---|---|---|| xgboost_noctx | LM_2019 | 0.140 | 0.117 | 0.023 | 5 || xgboost_noctx | BL_2023 | 0.109 | 0.085 | 0.024 | 5 || xgboost_noctx | SL_2020 | 0.678 | 0.669 | 0.008 | 5 || xgboost_noctx | ZC_2023 | 0.309 | 0.329 | -0.020 | 5 || mlp_fp_noctx | LM_2019 | -0.011 | 0.020 | -0.032 | 5 || mlp_fp_noctx | BL_2023 | 0.025 | -0.003 | 0.028 | 5 || mlp_fp_noctx | SL_2020 | 0.467 | 0.521 | -0.054 | 5 || mlp_fp_noctx | ZC_2023 | 0.323 | 0.355 | -0.032 | 5 |
## 7. Ablations (same epoch budget as their base model)
| variant | runs | spearman | sd | delta_vs_base || protocol | model | runs | spearman | sd ||---|---|---|---|---|| phcausal_no_cond | 1 | 0.012 | | 0.098 || phcausal_no_adv | 1 | -0.009 | | 0.077 || PhysSet-LNP (B) (reference) | 1 | -0.048 | | || PhyCausal-LNP (A) (reference) | 1 | -0.086 | | || phcausal_no_rank | 1 | -0.086 | | -0.001 || phcausal_no_phys | 1 | -0.099 | | -0.013 |
## 8. Amine-disjoint split
| model | runs | spearman | sd ||---|---|---|---|| Morgan FP + MLP | 3 | 0.385 | 0.001 || XGBoost | 3 | 0.483 | 0.000 || amine-disjoint 70/15/15 | Morgan FP + MLP | 3 | 0.385 | 0.001 || amine-disjoint 70/15/15 | XGBoost | 3 | 0.483 | 0.000 || study-stratified 5-fold CV | Morgan FP + MLP | 5 | 0.461 | 0.010 || study-stratified 5-fold CV | XGBoost | 5 | 0.611 | 0.011 || amine-disjoint 70/15/15 | **PhysSet-LNP (ours)** | 3 | 0.342 | 0.019 |
## 9. Study-stratified 5-fold CVThe distance between the cross-validation column and the external column is the quantity this benchmark exists to measure: **within-database cross-validation overstates transfer to a new study by a factor of two to three.**
| model | runs | spearman | sd ||---|---|---|---|| Morgan FP + MLP | 5 | 0.461 | 0.010 || XGBoost | 5 | 0.611 | 0.011 |
## 10. Caveats## 6. The conformer cCPP surrogate against its MD reference
* **LiON / AGILE are trained from scratch.** The published LiON numbers in NC26 Fig. 3b use pretraining on the whole LNPDB corpus; the re-implementations here are trained only on the training split of each task. The gap on `ZC_2023` (0.17 vs. 0.53 published) is therefore expected and is a statement about pretraining, not about the architecture.* **Epoch budget and fold coverage are not uniform** (see section 4). Models that are cheap on CPU were run over all five published folds; the two message-passing baselines and the three proposed models were run on fold 0 because a single run costs 10-25 min on 4 CPU cores. All paired comparisons use only the tasks present for both models.* **The cCPP surrogate is a descriptor, not a substitute for MD** (section 7).- Protonated-state CPP below neutral-state CPP for **48.3%** of 11648 unique ionisable lipids (MD expectation: ~100%).- On the only system with shipped MD values: neutral-state surrogate 1.583 vs MD 1.542; protonated-state surrogate 2.469 vs MD 1.379.- On the 34 stable LM_2019 bilayers the surrogate correlates with transfection at r = -0.285 (p = 0.103, 95% CI [-0.53, 0.02]), whereas the MD-based value reported in Nat. Commun. 2026 is +0.53 to +0.72.
## 11. Conformer cCPP surrogate vs. MD reference**Verdict.** The single-molecule conformer surrogate reproduces the absolute neutral-state CPP but not the pH-induced protonation shift, and it does not reproduce the MD-derived positive CPP–transfection association. It is used only as an input descriptor, and its contribution is established by the `physset_phys_nophys` ablation (section 4), which is null: the network does not need the physical prior to reach its best score.
- Protonation direction is reproduced for **48.3%** of 11648 unique ionizable lipids (MD expectation: protonated lower, i.e. ~100%).- On the only system with shipped MD values (`result_LM_1`) the neutral-state surrogate gives CPP_V = 1.583 vs. MD 1.542, but the protonated-state surrogate gives 2.469 vs. MD 1.379.- On the 34 stable LM_2019 bilayers the surrogate CPP_V correlates with transfection at Pearson r = -0.285 (p = 0.103), whereas the MD-based value reported in NC26 is +0.53 to +0.72.
**Verdict.** The single-molecule conformer surrogate reproduces the absolute neutral-state CPP but not the pH-induced protonation shift, and it does not reproduce the MD-derived positive CPP-transfection association. It is therefore used only as an input descriptor, and its usefulness is established empirically by the w/o PhysBias ablation rather than by physical equivalence to MD.## 7. Compute actually used
| model | runs | seeds | folds | epochs | gpu_s ||---|---|---|---|---|---|| AGILE (re-trained) | 60 | 3 | 5 | 30.000 | 5374.100 || LiON (from scratch) | 60 | 3 | 5 | 30.000 | 4820.100 || Morgan FP + MLP | 20 | 1 | 5 | 44.500 | 410.800 || PhyCausal-LNP (ours) | 20 | 1 | 5 | 30.000 | 3124.900 || **PhysSet-LNP (ours)** | 58 | 3 | 5 | 30.000 | 10383.000 || Identity-free flat probe (ours) | 20 | 1 | 5 | 30.000 | 1414.700 || SeqCausal-LNP (ours) | 8 | 1 | 2 | 30.000 | 7544.200 |
Total GPU time for the neural models: **9.2 h** on a single RTX 4090-class card. The tabular baselines add 40 min of CPU.
## 8. Caveats
* **LiON and AGILE are trained from scratch** on the training split of each task. Nat. Commun. 2026 pretrains LiON on the whole LNPDB corpus, so the published 0.52 on ZC_2023 is not reachable under this protocol; the comparison is between architectures under an identical budget, not against the published weights.* **PhysSet-LNP ties the random forest** (paired Wilcoxon p = 0.87, n = 20). It is the best *neural* model and the best model on the two large held-out studies, but it is not a standalone state of the art on this benchmark.* **The state of the art reported here is the stack**, and the gain comes from cross-family diversity rather than from the neural architecture alone. The stack has no fitted weights (equal-weight rank average), so it cannot overfit the held-out studies, but it also has no claim to architectural novelty.* **The cCPP surrogate is a descriptor, not a substitute for MD** (section 6).12345672345678910111213model,protocol,task,study,fold,seed,n_train,n_test,val_spearman,epochs_run,runtime_s,spearman,pearson,r2,mae,rmse,ef10,ef20,ndcg10phcausal,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.3084342042748938,24,805.2,-0.08571591042117536,-0.048600932201273886,-0.2889045288345178,0.855264257337766,1.1352993140764664,0.8833894588456417,0.993813141201347,0.4940690372416614physset,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.340962164845948,24,687.5,-0.04823482427054895,0.04319367139480356,-0.5491960958438233,0.9781016561173544,1.2446670640378572,2.6501683765369255,1.4355078706241677,0.5965803156875824phcausal_no_phys,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.3084342042748938,24,601.6,-0.08571591042117536,-0.048600932201273886,-0.2889045288345178,0.855264257337766,1.1352993140764664,0.8833894588456417,0.993813141201347,0.4940690372416614phcausal_no_rank,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.29901287359634937,22,634.1,-0.08626513958412774,-0.050800261994938214,-0.6250882563566076,0.9554219739648815,1.2747894967529867,0.9717284047302059,0.9275589317879239,0.4934076676459106phcausal_no_adv,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.3205580102209012,24,808.6,-0.008650894415699563,0.04857108487398349,-0.6228388050670624,0.9573298685362214,1.2739069077981,1.501762080037591,1.2588299788550394,0.5590963717422538phcausal_no_cond,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.26936492175438087,24,768.4,0.012421401727973137,0.04454759626429296,-0.5802259693210385,0.9359512365767172,1.257070393361924,1.06006735061477,0.9717284047302059,0.5366789465542521physset_phys_fp,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.349499206697016,30,346.0,0.0110632762851047,0.0833824406701939,-0.4763364486290753,0.95309573030237,1.215045864515519,2.3851515388832327,1.5238468165087318,0.597362803148823physset_phys_fp,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.3437444846875412,26,294.3,0.0133105852744763,0.0259035314960927,-0.2364643351652451,0.9273800175049056,1.1119641813292975,1.564513408669253,1.0939438085327784,0.5988302572103704physset_phys_fp,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.3028152459217166,24,285.1,0.4903894864656776,0.4925309858219894,0.2129223909898552,0.6942292295682889,0.8871739271907423,1.123456790123457,3.0895061728395063,0.6809244703318444physset_phys_fp,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.3223706586214099,29,345.4,0.2410206198897504,0.2672216643630142,-0.4521666582305093,0.8753482809162322,1.2050587765747935,0.0,0.7751479289940829,0.7788010265549117physset_phys_nophys,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.2788732814947319,30,347.9,0.128413444563875,0.1572690322161042,-0.0709096740936368,0.7882101920949105,1.034847658921098,1.678439971806719,1.457592607095309,0.5593868536551877physset_phys_nophys,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.2772229986062539,30,337.6,0.116898410739769,0.1513748681434664,-0.3447022383367522,0.9072812257544228,1.1596129717293744,1.1733850565019397,0.8687200832466181,0.5961969408741976physset_phys_nophys,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.2695441182028459,30,355.6,0.7267430075668752,0.6543661752355818,0.0921828822799921,0.8152102238938703,0.9527943539399416,1.123456790123457,2.5277777777777777,0.6365984649167613physset_phys_nophys,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.3238891016872566,30,340.4,0.4516562735404405,0.5022633931275263,0.2003927920744872,0.6382021211116141,0.8942075856011634,0.0,1.7440828402366864,0.8676938333775291physset_phys_norank,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.2919826522451962,30,353.4,0.2526822197499209,0.2372881103846834,-0.0085927740313618,0.7766343228464734,1.0042871984312685,2.031795755344976,1.4134231341530268,0.5780160887029863physset_phys_norank,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.258276432174872,30,339.7,-0.0437431971491648,0.039152464410361,-0.3348948913216976,0.9087766779425228,1.1553765174804236,1.0430089391128354,0.5791467221644121,0.5883939049248156physset_phys_norank,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.2659761891677209,30,360.1,0.7149251350207685,0.6240866445483062,0.2469749811967113,0.7121982123129643,0.8677701240889364,1.123456790123457,2.5277777777777777,0.6265050459420874physset_phys_norank,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.2984619984166456,30,340.4,0.4844945301680307,0.5211948965895327,-0.2769747997571958,0.8486186790329809,1.1300330954960418,0.0,1.9378698224852076,0.9232595887995261234model,protocol,task,study,fold,seed,n_train,n_test,val_spearman,epochs_run,runtime_s,spearman,pearson,r2,mae,rmse,ef10,ef20,ndcg10physset_phys,amine,amine_70_15_15,all,-1,0,13883,2164,0.4855596850541791,30,133.0,0.3478508049215891,0.3708159382964199,0.1285642583914913,0.7143076108248372,0.9616774104313958,2.875685871056241,1.846721674338228,0.7076682813264988physset_phys,amine,amine_70_15_15,all,-1,1,13883,2164,0.4847300215061552,30,122.6,0.3214169264931727,0.3334686256999494,0.0994522153517881,0.7237588983471226,0.977608821058501,2.551011659807956,1.8005536324797722,0.6823400467108183physset_phys,amine,amine_70_15_15,all,-1,2,13883,2164,0.4843205386435186,30,105.8,0.3571885587634115,0.3883013351603503,0.1465134664384828,0.7089289107215019,0.9517219090426966,2.7829218106995888,1.8928897161966836,0.7184255427558404123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247model,protocol,task,study,fold,seed,n_train,n_test,val_spearman,epochs_run,runtime_s,spearman,pearson,r2,mae,rmse,ef10,ef20,ndcg10,sourcelion,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.3511756525049099,68,108.4,0.1945431713043565,0.2363959555899693,0.0073043126330994,0.7780669458523279,0.996341148983868,2.3254437869822486,0.7751479289940829,0.8288556655855812,gpulion,external,ZC_2023_fold1,ZC_2023,1,0,15183,131,0.2394492218249068,69,113.2,0.2838291589165677,0.3834889344586052,-1.6520330381030304,1.3281505806300475,1.628506380768331,2.3254437869822486,0.9689349112426036,0.8648334519855267,gpulion,external,ZC_2023_fold2,ZC_2023,2,0,15342,131,0.3350482455612075,74,125.1,0.2711657701020669,0.3684379593252955,-1.5075107222791448,1.2753671198969578,1.5835121460540795,2.3254437869822486,0.7751479289940829,0.8523968142288254,gpulion,external,ZC_2023_fold3,ZC_2023,3,0,15378,131,0.2958153794095143,59,125.9,0.2788233439215452,0.3611994591294861,-1.2724527061522832,1.2036626100085164,1.5074656550306074,0.0,0.9689349112426036,0.7937733946879757,gpulion,external,ZC_2023_fold4,ZC_2023,4,0,15877,131,0.3341501182294947,48,110.7,0.2344463529497015,0.302305568077049,-1.6089868391131832,1.2820089225948768,1.6152358444849737,2.3254437869822486,0.7751479289940829,0.8361041721532813,gpuagile,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.3272538196297658,63,184.5,0.3650551228253395,0.3961490307366988,-0.9158598465856224,1.0219872709406357,1.3841458891039968,0.0,1.7440828402366864,0.7775840114828544,gpuagile,external,ZC_2023_fold1,ZC_2023,1,0,15183,131,0.3022854160184692,66,205.5,0.4817049460408485,0.4731506989156693,-8.578290691702511,2.653327569614328,3.094881366126028,3.875739644970415,1.7440828402366864,0.9134232343864624,gpuagile,external,ZC_2023_fold2,ZC_2023,2,0,15342,131,0.4055782023887926,52,132.9,0.4036517206008383,0.4357271721374203,-4.988088126745726,2.094747974558641,2.447057031093532,3.875739644970415,1.5502958579881658,0.9461084413625592,gpuagile,external,ZC_2023_fold3,ZC_2023,3,0,15378,131,0.296110187176797,47,110.7,0.4876038689975381,0.4757825498542496,-3.594301690789714,1.840411181725164,2.1434322197282034,3.100591715976332,1.9378698224852076,0.9282848759170048,gpuagile,external,ZC_2023_fold4,ZC_2023,4,0,15877,131,0.3696683600983772,32,73.5,0.4219218427302488,0.4361467540318374,-1.4661638911628447,1.3025882063675245,1.5704024597779,0.7751479289940829,1.7440828402366864,0.8102792605574692,gpumlp_fp,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.275741386806847,23,17.9,0.3599252650578632,0.2554290135771729,0.0357459062640233,0.7948393454945838,0.9819644044418532,0.0,0.7751479289940829,0.7044180408201607,gpumlp_fp,external,ZC_2023_fold1,ZC_2023,1,0,15183,131,0.2462458471955623,31,24.0,0.2690680689945712,0.1872984661567057,-0.0348274506841697,0.725381008669279,1.0172646894402826,1.5502958579881658,1.1627218934911243,0.8635547146160137,gpumlp_fp,external,ZC_2023_fold2,ZC_2023,2,0,15342,131,0.3968281128261999,53,35.1,0.3858502045006975,0.3176695671230146,0.0924894207573044,0.697143119724311,0.9526334957494392,0.7751479289940829,0.5813609467455622,0.9020258064993236,gpumlp_fp,external,ZC_2023_fold3,ZC_2023,3,0,15378,131,0.311112220539442,69,29.5,0.2183841921699678,0.1278909142240276,-0.0757206715918477,0.782529350014702,1.0371695469877331,1.5502958579881658,0.9689349112426036,0.9011002167490272,gpumlp_fp,external,ZC_2023_fold4,ZC_2023,4,0,15877,131,0.2487417195082107,17,6.7,0.485233273790644,0.2360357567556874,0.0507711084244074,0.7536036890597289,0.9742837828188894,0.0,0.5813609467455622,0.8821289243260741,gpulion,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.2853613196329732,71,114.6,0.6345204539954846,0.6210469137876807,-0.0458582261019289,0.8609215570306712,1.0226720802304807,2.2469135802469133,2.2469135802469133,0.6464448873925555,gpulion,external,SL_2020_fold1,SL_2020,1,0,15298,91,0.2430013680761168,73,119.5,0.5981881499783563,0.6173830322864293,0.1721125957561062,0.7324435259369049,0.909883163194917,2.2469135802469133,3.3703703703703702,0.7290643693972574,gpulion,external,SL_2020_fold2,SL_2020,2,0,15311,91,0.3372339983237768,80,136.0,0.5363496301755848,0.4728466841781102,0.0741164812564132,0.7831276145937679,0.9622283934652178,2.2469135802469133,2.5277777777777777,0.684392205743879,gpulion,external,SL_2020_fold3,SL_2020,3,0,15423,91,0.2948749202258023,57,128.5,0.5430880433043962,0.5328001891765466,0.2085700168410988,0.6931392141709943,0.8896234883698119,2.2469135802469133,2.2469135802469133,0.6001621793189144,gpulion,external,SL_2020_fold4,SL_2020,4,0,15910,91,0.3271071124808862,46,106.6,0.4712485135860541,0.4005727719858958,0.0578145798272927,0.7827107468312913,0.9706623418875304,2.2469135802469133,1.9660493827160492,0.6673717175693605,gpuagile,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.2909469024383669,66,202.6,0.5725586484153603,0.5204380546418983,-1.4472954658582395,1.2195399122333133,1.5643833822303028,1.123456790123457,2.2469135802469133,0.6201646891744613,gpuagile,external,SL_2020_fold1,SL_2020,1,0,15298,91,0.3174378195984814,64,202.0,0.6409657222022674,0.5522355741485374,-0.7456367922297875,1.0496153835524489,1.3212254619967256,2.2469135802469133,2.5277777777777777,0.6908943905539728,gpuagile,external,SL_2020_fold2,SL_2020,2,0,15311,91,0.4107722659423126,46,111.5,0.7334804417511418,0.6439277643865411,-0.053422207858176,0.8414978327966489,1.0263635638176165,2.2469135802469133,2.808641975308642,0.6237091856843168,gpuagile,external,SL_2020_fold3,SL_2020,3,0,15423,91,0.2816035823407769,65,154.3,0.7488759344628639,0.7122450721119631,0.0034145897576037,0.8166810790649973,0.9982912249548545,3.3703703703703702,3.0895061728395063,0.7868313014276413,gpuagile,external,SL_2020_fold4,SL_2020,4,0,15910,91,0.3645693302043382,42,76.9,0.7253021624175988,0.5882504813878128,-0.5373927595692958,0.9783589267427776,1.2399164073493605,1.123456790123457,2.2469135802469133,0.6289422319355026,gpumlp_fp,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.2643285425353931,19,10.8,0.5098507731188704,0.5029357680591624,0.1976132023300156,0.6998604028843917,0.8957604395852489,3.3703703703703702,1.9660493827160492,0.7113007111529498,gpumlp_fp,external,SL_2020_fold1,SL_2020,1,0,15298,91,0.2632977957200897,64,27.8,0.4722535802210748,0.5338407316048497,0.0451315772702436,0.7730029528899179,0.9771736713610454,4.493827160493827,3.6512345679012346,0.8858429495284396,gpumlp_fp,external,SL_2020_fold2,SL_2020,2,0,15311,91,0.396039292186332,64,22.0,0.440635120468253,0.4185832621284498,0.1663419952129743,0.7461279739144739,0.9130487232205464,5.617283950617284,3.3703703703703702,0.9354263295588467,gpumlp_fp,external,SL_2020_fold3,SL_2020,3,0,15423,91,0.3059264012796893,53,16.3,0.5446037143263387,0.5725659979294302,0.1176847868675879,0.7502719120910535,0.939316335079172,3.3703703703703702,3.0895061728395063,0.8552440399079384,gpumlp_fp,external,SL_2020_fold4,SL_2020,4,0,15910,91,0.3776402845564036,72,22.4,0.4835062027976758,0.5076558303974001,0.0019462254785682,0.8084707136501322,0.9990263930654404,3.3703703703703702,3.3703703703703702,0.84143178215155,gpulion,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.298835250744096,74,114.8,0.0661117926637462,0.0441388456108786,-0.1704422235515008,0.900544607154013,1.081869783595775,0.7822567043346265,0.6756711758584808,0.5369488561500968,gpulion,external,BL_2023_fold1,BL_2023,1,0,14731,773,0.3539309111834902,75,118.7,0.0339882291725558,0.0376547337508899,-0.1546248105933065,0.8972227325931644,1.0745346972668544,1.1733850565019397,0.9652445369406868,0.5630844118429079,gpulion,external,BL_2023_fold2,BL_2023,2,0,15189,773,0.3320970402523617,80,134.0,-0.0400696273671527,0.0311833453997946,-0.2229605025057401,0.9082599740889872,1.105875448611153,0.7822567043346265,0.5469719042663892,0.5280422737036219,gpulion,external,BL_2023_fold3,BL_2023,3,0,14825,773,0.3038788833907324,64,137.6,0.1416221345915004,0.0899882533678956,-0.2690353596575041,0.9197409556356932,1.1265146981702836,1.1733850565019397,1.2226430801248698,0.5636193504053805,gpulion,external,BL_2023_fold4,BL_2023,4,0,15192,773,0.2506706010940294,65,148.6,0.05968887436823,0.0441137723629272,-0.2636279738158777,0.915780495014885,1.124112084860077,0.7822567043346265,0.6113215400624349,0.531527502973833,gpuagile,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.3220615941245103,69,196.6,0.0201599984328704,0.0383361515620665,-0.7384651877159769,1.0456309195363624,1.3185087012606518,1.564513408669253,0.9652445369406868,0.6144360288812509,gpuagile,external,BL_2023_fold1,BL_2023,1,0,14731,773,0.2879610457746897,57,168.1,-0.0391735889415981,-0.058290765647761,-1.3252141385149177,1.2406511695948303,1.5248652886923129,0.3911283521673132,0.7078459937565036,0.4819866348530214,gpuagile,external,BL_2023_fold2,BL_2023,2,0,15189,773,0.3416668133724579,23,52.6,-0.0513741275144261,-0.0597283913926228,-0.8753056918469386,1.0688709272704249,1.369418015080852,1.564513408669253,1.1261186264308012,0.6258141665644151,gpuagile,external,BL_2023_fold3,BL_2023,3,0,14825,773,0.3307546443703057,39,87.3,0.0886130666601129,0.0868056097952611,-0.6125813819734376,0.9987605361853464,1.2698745564063965,1.564513408669253,1.6409157127991676,0.6207265709625444,gpuagile,external,BL_2023_fold4,BL_2023,4,0,15192,773,0.3208138012767975,50,112.3,0.0347825899446769,0.0586551709923453,-0.8946230801699264,1.106191214638489,1.3764530825404988,1.1733850565019397,0.9652445369406868,0.5980790373616914,gpumlp_fp,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.2894885302497429,21,19.9,-0.002085779436244,0.0007022745844506,-0.1898577642846981,0.9044799873663202,1.090806018261481,2.2163939956147747,1.190468262226847,0.631706770691066,gpumlp_fp,external,BL_2023_fold1,BL_2023,1,0,14731,773,0.3221735124244567,36,27.1,-0.036078660875866,-0.0225750096704354,-0.4406921750676098,0.9749872920694936,1.200288374247058,1.1733850565019397,1.1582934443288242,0.5597436116782488,gpumlp_fp,external,BL_2023_fold2,BL_2023,2,0,15189,773,0.3373787648974515,23,17.9,-0.0058863260989332,-0.0083788075787667,-0.2555971050500467,0.9257830809633144,1.1205342968992975,2.086017878225671,1.2869927159209156,0.6241102747058442,gpumlp_fp,external,BL_2023_fold3,BL_2023,3,0,14825,773,0.301057111992862,43,28.1,0.06420351936433,0.0947332250334213,-0.316462928829216,0.927375544667398,1.1473721865952218,1.6948895260583574,1.2548178980228926,0.586914664914513,gpumlp_fp,external,BL_2023_fold4,BL_2023,4,0,15192,773,0.2288881515350443,42,19.6,0.015167450939507,0.0392542636883476,-0.4206760590397709,0.9646327905453268,1.1919211656974158,1.8252656434474617,1.1582934443288242,0.6123794322674663,gpulion,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.3250245492985694,78,117.7,0.2081771832175383,0.2521289589500799,-0.0285790101377945,0.795070546701795,1.014188844888789,3.710235727151696,1.545931552979873,0.7332407792642035,gpulion,external,LM_2019_fold1,LM_2019,1,0,14658,1128,0.365828518291854,80,128.0,0.2158998477402409,0.2458391148659666,0.0142837812810997,0.8076593140215572,0.9928324237023348,3.3568799436134387,1.590101025922155,0.7190549468610776,gpulion,external,LM_2019_fold2,LM_2019,2,0,14503,1128,0.2873838316589182,80,132.6,0.2140126030284136,0.2671456706003641,0.0341527258788404,0.7958538608491514,0.9827752931874874,3.3568799436134387,1.6121857623932965,0.7185885966470821,gpulion,external,LM_2019_fold3,LM_2019,3,0,14810,1128,0.2515121670776111,67,149.5,0.175282478292714,0.2416115789970639,-0.0442492182527103,0.8366845246440174,1.021885131145792,3.2685409977288744,1.6563552353355784,0.643659056627283,gpulion,external,LM_2019_fold4,LM_2019,4,0,14932,1128,0.351930578219429,78,187.8,0.1677506184393331,0.1643696014724107,-0.1346150111460538,0.8381701158170838,1.0651830896189465,1.4134231341530268,1.1484062964993342,0.5748239767863538,gpuagile,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.2609864112197016,29,84.6,0.1880196368446867,0.1715381190851344,-0.0107632413600193,0.7740258638249026,1.0053672186160776,1.06006735061477,1.214660505912757,0.5687808924048567,gpuagile,external,LM_2019_fold1,LM_2019,1,0,14658,1128,0.3637530208776977,35,104.7,0.162448057100269,0.1664724051033228,-0.0901836310758628,0.7928923976952176,1.044118592024944,1.501762080037591,1.3029994517973216,0.5734059717024508,gpuagile,external,LM_2019_fold2,LM_2019,2,0,14503,1128,0.3603392465142698,80,206.5,0.171398941504806,0.1907922801855833,-0.1593945501984108,0.8402165541812836,1.0767518532762357,2.12013470122954,1.501762080037591,0.578760057449439,gpuagile,external,LM_2019_fold3,LM_2019,3,0,14810,1128,0.2379546931286425,74,165.4,0.2178591301818291,0.2013180057873463,-0.1282023898676194,0.8319981622007931,1.0621687215848912,1.06006735061477,1.3029994517973216,0.5329402354284835,gpuagile,external,LM_2019_fold4,LM_2019,4,0,14932,1128,0.3733506340913169,52,86.5,0.1223699255103249,0.0991014953947344,-0.1415514064853937,0.8166233947809639,1.0684340923844855,0.8833894588456417,1.214660505912757,0.52751561120128,gpumlp_fp,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.251607892211617,18,7.9,0.0178647642151394,0.0118281198792419,-0.104472381781719,0.8020611302083894,1.050938811234562,0.6183726211919492,1.037982614143629,0.4658037116186597,gpumlp_fp,external,LM_2019_fold1,LM_2019,1,0,14658,1128,0.3597342259789507,46,18.7,-0.078815161830032,-0.1984587399225683,-0.4477035238096567,0.9081091382285902,1.203205521918211,0.530033675307385,0.8171352494322186,0.482544613860582,gpumlp_fp,external,LM_2019_fold2,LM_2019,2,0,14503,1128,0.3111360152212803,63,21.0,-0.1098150633382229,-0.13807623573851,-0.5162056598085369,0.9333115648966486,1.2313430326965855,0.7950505129610775,0.6625420941342314,0.4774576909015418,gpumlp_fp,external,LM_2019_fold3,LM_2019,3,0,14810,1128,0.2225187129581259,72,21.6,-0.0825901487099269,-0.139298217318653,-0.4459078184734153,0.9237301971077828,1.202459073163435,0.6183726211919492,0.927558931787924,0.4638951062020476,gpumlp_fp,external,LM_2019_fold4,LM_2019,4,0,14932,1128,0.3397395320426241,56,16.5,-0.0630364650005642,-0.1315602588115358,-0.4956642881575455,0.9296507155210048,1.222973545282292,0.7950505129610775,0.9054741953167827,0.4944395049275049,gpuphysset_phys,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.2689048242371272,30,249.4,0.2261443888060894,0.2143620634592001,-0.0348759412183894,0.777023677040968,1.0172885255401076,1.855117863575848,1.4355078706241675,0.581865028100122,gpuphysset_phys,external,LM_2019_fold1,LM_2019,1,0,14658,1128,0.3802034829213925,30,215.6,0.0681287841219933,0.0685107414498832,-0.0767879056035514,0.7917259450584371,1.037683915603062,1.590101025922155,1.2809147153261806,0.5410424423767971,gpuphysset_phys,external,LM_2019_fold2,LM_2019,2,0,14503,1128,0.3183750048279917,30,217.9,0.1864924052022394,0.1629229768379443,-0.0686192818692847,0.7842463781347678,1.033740434027583,1.3250841882684627,1.3250841882684627,0.5518707258700708,gpuphysset_phys,external,LM_2019_fold3,LM_2019,3,0,14810,1128,0.1761338147105122,30,219.8,0.0755410409433141,0.1285820018421708,-0.200120939523501,0.8188240671791831,1.0955003162829584,1.590101025922155,1.3029994517973216,0.617790222160025,gpuphysset_phys,external,LM_2019_fold4,LM_2019,4,0,14932,1128,0.3925464006685275,30,222.7,0.0605633635156805,0.0338661110956982,-0.1129958022450803,0.7937869713516769,1.054986163628223,1.06006735061477,1.0821520870859112,0.523532376932058,gpuphysset_phys,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.2727725208245097,30,221.5,0.0789528839284252,0.1242399528959043,-0.3968703713989623,0.9186359380250182,1.181892709806108,1.303761173891044,0.7721956295525494,0.6054684581411903,gpuphysset_phys,external,BL_2023_fold1,BL_2023,1,0,14731,773,0.3116907403367293,30,207.1,0.0168966404870488,0.0057683756582802,-0.2468699057522776,0.9346121860756016,1.1166332930697356,0.3911283521673132,0.8687200832466181,0.5237145674662449,gpuphysset_phys,external,BL_2023_fold2,BL_2023,2,0,15189,773,0.4173869177128156,30,205.8,0.1608793485376073,0.164868901080607,-0.5286840433226461,0.9820864688903864,1.236399631992645,1.9556417608365664,1.5443912591050988,0.6274610479399606,gpuphysset_phys,external,BL_2023_fold3,BL_2023,3,0,14825,773,0.3395235681481117,30,205.1,0.1866320666667179,0.17966843024314,-0.8076938080727321,1.06419907082571,1.34450504497336,2.2163939956147747,1.6087408949011446,0.6703395236143109,gpuphysset_phys,external,BL_2023_fold4,BL_2023,4,0,15192,773,0.3252971280384746,30,207.8,0.1417721476235009,0.1711672062927973,-0.2579481113014188,0.8958262886326727,1.1215828622037838,2.2163939956147747,1.4478668054110302,0.6692867193096939,gpuphysset_phys,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.2748173493442417,30,212.4,0.7356811588749994,0.6430153220421161,0.1214088239765992,0.7940058370867928,0.9373319264746076,1.123456790123457,2.2469135802469133,0.6218743991312842,gpuphysset_phys,external,SL_2020_fold1,SL_2020,1,0,15298,91,0.231760253961034,30,191.4,0.7352914621111016,0.6828460171359142,0.3296173304001112,0.6886169791098807,0.8187689798776095,1.123456790123457,2.5277777777777777,0.688000707083357,gpuphysset_phys,external,SL_2020_fold2,SL_2020,2,0,15311,91,0.4332747258067724,30,207.6,0.7137049824877273,0.6488833935147488,0.2987540572238115,0.6712829646459975,0.8374042717435449,1.123456790123457,2.5277777777777777,0.6633834815600247,gpuphysset_phys,external,SL_2020_fold3,SL_2020,3,0,15423,91,0.337098830587718,30,209.4,0.7641961907833599,0.7018857513173045,0.3514696284872487,0.6807293773188696,0.8053138178430765,1.123456790123457,2.5277777777777777,0.706871668819072,gpuphysset_phys,external,SL_2020_fold4,SL_2020,4,0,15910,91,0.3965190362408773,30,205.8,0.742541120135039,0.5704377404326489,-0.0081133780261259,0.8494591507446635,1.0040484735001745,1.123456790123457,1.9660493827160492,0.6723228492068047,gpuphysset_phys,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.3182363378960185,30,186.0,0.4322697664589463,0.489508245841307,0.1132787068948956,0.6649183993661449,0.941658797618572,0.0,1.3565088757396448,0.8632685416670854,gpuphysset_phys,external,ZC_2023_fold1,ZC_2023,1,0,15183,131,0.2370037809964484,30,189.7,0.4900295943255226,0.5316026791806956,-1.6120754609290815,1.381881598525375,1.616191651728876,0.0,1.3565088757396448,0.925035582655189,gpuphysset_phys,external,ZC_2023_fold2,ZC_2023,2,0,15342,131,0.4367558243131615,30,190.3,0.492601414474397,0.5010776441824277,-1.219674911640419,1.2312771494407917,1.4898573444133525,2.3254437869822486,1.7440828402366864,0.9357197345131648,gpuphysset_phys,external,ZC_2023_fold3,ZC_2023,3,0,15378,131,0.337193749844888,30,188.0,0.5144522379686393,0.5090224513335444,-1.6871131359067966,1.3955037137706772,1.639241632563331,2.3254437869822486,1.9378698224852076,0.9404996818051244,gpuphysset_phys,external,ZC_2023_fold4,ZC_2023,4,0,15877,131,0.3729580699037162,30,255.7,0.3718692057921324,0.4285030699759449,-2.691097830566013,1.6680861697852156,1.921223001724316,1.5502958579881658,1.3565088757396448,0.8089382657159493,gpuphysset_phys,external,LM_2019_fold0,LM_2019,0,1,14125,1128,0.2680201273072013,30,353.3,0.2315018981442236,0.1914163550703171,-0.0150952760689391,0.7680436170019825,1.007519369039231,1.2367452423838985,1.3029994517973216,0.5790108508912274,gpuphysset_phys,external,LM_2019_fold0,LM_2019,0,2,14125,1128,0.3093334724138453,30,331.7,0.125842677511818,0.201313530121817,-0.0463575344235234,0.7837095982682998,1.0229161927712995,1.678439971806719,1.47967734356645,0.5679457494256808,gpuphysset_phys,external,LM_2019_fold1,LM_2019,1,1,14658,1128,0.400047423851313,30,343.2,0.2037403078720427,0.1577788898218565,0.0082197635713863,0.7782443278203552,0.9958816391930372,1.2367452423838985,1.4134231341530268,0.5418250831953311,gpuphysset_phys,external,LM_2019_fold1,LM_2019,1,2,14658,1128,0.3926916510807762,30,328.8,0.0940370792182911,0.1086936163429773,-0.0836184497624132,0.7936687536133347,1.0409699577220346,1.501762080037591,1.3471689247396037,0.5443322742376541,gpuphysset_phys,external,LM_2019_fold2,LM_2019,2,1,14503,1128,0.3109830610711911,30,238.1,0.0234344520672508,0.0060824720244485,-0.0926916484812057,0.790262906512315,1.0453189234031446,0.6183726211919492,0.993813141201347,0.5276063068894997,gpuphysset_phys,external,LM_2019_fold2,LM_2019,2,2,14503,1128,0.3083744595447831,30,229.0,0.1445946018962814,0.1829237282900555,-0.1045149043414781,0.7935051900236142,1.0509590417894483,1.855117863575848,1.3913383976818856,0.5882440066734432,gpuphysset_phys,external,LM_2019_fold3,LM_2019,3,1,14810,1128,0.1830621162630979,19,148.0,0.2064333450912333,0.2000818704083416,-0.0052843533845843,0.7721938668288431,1.0026386967779723,1.4134231341530268,1.214660505912757,0.5830548920244121,gpuphysset_phys,external,LM_2019_fold3,LM_2019,3,2,14810,1128,0.1759653079622517,30,232.0,0.0765933845874063,0.1439092481113223,-0.0968703761552962,0.794706731847154,1.047315797317515,1.590101025922155,1.457592607095309,0.5674159287811897,gpuphysset_phys,external,LM_2019_fold4,LM_2019,4,1,14932,1128,0.3746744395150621,30,220.0,0.1323309183463396,0.0892735236016453,-0.0190995507472018,0.770403421527584,1.0095046080523815,0.8833894588456417,1.0821520870859112,0.5449188183824629,gpuphysset_phys,external,LM_2019_fold4,LM_2019,4,2,14932,1128,0.3984859952990463,30,210.9,0.1155651651382499,0.1154485429415669,-0.0798942702161924,0.7854589193120056,1.039179615525093,1.501762080037591,1.1704910329704754,0.5494784962001272,gpuphysset_phys,external,BL_2023_fold0,BL_2023,0,1,14524,773,0.2787040647841158,30,178.0,0.1222135484222122,0.1490054179566326,-0.3128467738720442,0.906921531780976,1.145795260768412,1.4341372912801484,1.1261186264308012,0.6042276541650633,gpuphysset_phys,external,BL_2023_fold0,BL_2023,0,2,14524,773,0.2798533824280602,30,164.7,0.0077620200394362,0.0617876496220748,-0.4290170827038366,0.92469119723226,1.1954150279036733,1.0430089391128354,0.6756711758584808,0.5887468670914682,gpuphysset_phys,external,BL_2023_fold1,BL_2023,1,1,14731,773,0.2898720594339825,30,172.5,0.0046937113025194,-0.0035333464301189,-0.1378655290945667,0.895146546576336,1.0667078016300986,0.9126328217237308,0.7078459937565036,0.547113753143993,gpuphysset_phys,external,BL_2023_fold1,BL_2023,1,2,14731,773,0.2955973336582169,30,183.1,0.0371710148490974,0.0297009565178311,-0.2449637107704303,0.9093816742797372,1.1157794209437628,0.7822567043346265,0.8365452653485952,0.5275451077415407,gpuphysset_phys,external,BL_2023_fold2,BL_2023,2,1,15189,773,0.4053695078532368,30,187.5,0.0299007635112391,0.0722970725842164,-0.3973310301201935,0.9353530477819166,1.1820875755273237,1.1733850565019397,1.1261186264308012,0.5919210514014539,gpuphysset_phys,external,BL_2023_fold2,BL_2023,2,2,15189,773,0.3963689259310872,30,183.5,0.0746612400821964,0.1282384916462996,-0.6377673136714219,1.024426269107637,1.2797528358304977,2.477146230392984,1.6409157127991676,0.6464948483237031,gpuphysset_phys,external,BL_2023_fold3,BL_2023,3,1,14825,773,0.350686619721721,30,169.7,0.1396950124776717,0.1726317954815175,-0.3138909435218266,0.8982659379938402,1.146250823011129,2.2163939956147747,1.6087408949011446,0.673977146726949,gpuphysset_phys,external,BL_2023_fold3,BL_2023,3,2,14825,773,0.3374337138241441,30,147.3,0.1787909724864188,0.2028884224893788,-0.3636147449778975,0.925141790260068,1.1677391621961997,2.477146230392984,1.4156919875130072,0.701663865754991,gpuphysset_phys,external,BL_2023_fold4,BL_2023,4,1,15192,773,0.3454853135557819,30,103.7,0.1530341771796561,0.1847757378934291,-0.2820403564450751,0.90077607596069,1.1322722119870252,2.3467701130038794,1.7374401664932362,0.6825135344900427,gpuphysset_phys,external,BL_2023_fold4,BL_2023,4,2,15192,773,0.3271232453067909,30,117.0,0.031502433373176,0.0765592726471866,-0.5452075266860037,0.969405403153496,1.243063768849768,1.1733850565019397,0.6756711758584808,0.5901538573876988,gpuphysset_phys,external,SL_2020_fold0,SL_2020,0,1,15234,91,0.2468504901369272,30,116.5,0.747880816203008,0.634461600409219,0.0513645191859641,0.8106406439546046,0.9739791796225964,2.2469135802469133,2.2469135802469133,0.6822544413911941,gpuphysset_phys,external,SL_2020_fold0,SL_2020,0,2,15234,91,0.2446514219529774,30,106.4,0.7372919354367715,0.6635797541578563,0.0710068979111345,0.8079814347182657,0.9638428629241445,1.123456790123457,2.2469135802469133,0.6245726753552082,gpuphysset_phys,external,SL_2020_fold1,SL_2020,1,1,15298,91,0.2302019756009415,30,101.6,0.7528137836398027,0.6989844322245566,0.3649671404146727,0.6723973634806308,0.7968894740357748,2.2469135802469133,2.808641975308642,0.7060081809655793,gpuphysset_phys,external,SL_2020_fold1,SL_2020,1,2,15298,91,0.2643219460533547,30,110.1,0.7508936036109534,0.7216540987285625,0.2314995275612951,0.7414046684791754,0.8766415694393433,2.2469135802469133,2.808641975308642,0.7060081809655793,gpuphysset_phys,external,SL_2020_fold2,SL_2020,2,1,15311,91,0.4295975119532136,30,119.4,0.7409462108978742,0.6300183227322471,0.2957253197537336,0.6848381368832274,0.839210731390854,2.2469135802469133,2.2469135802469133,0.690330323089027,gpuphysset_phys,external,SL_2020_fold2,SL_2020,2,2,15311,91,0.4003534333314726,30,112.7,0.7160196112434297,0.602694914913873,0.3176881187409547,0.6511324702219649,0.8260217028535877,2.2469135802469133,2.5277777777777777,0.6856613463152095,gpuphysset_phys,external,SL_2020_fold3,SL_2020,3,1,15423,91,0.3103204453042095,30,85.6,0.7543790316369556,0.6212377073756146,0.3352169112255079,0.6467549902397197,0.8153422973276551,1.123456790123457,2.5277777777777777,0.6297065558990621,gpuphysset_phys,external,SL_2020_fold3,SL_2020,3,2,15423,91,0.3139865878540334,30,85.9,0.7598782145527208,0.674650070004956,0.4224662029721331,0.6047270893231853,0.7599564287534248,2.2469135802469133,2.5277777777777777,0.6505409391711175,gpuphysset_phys,external,SL_2020_fold4,SL_2020,4,1,15910,91,0.3822726210414921,30,86.8,0.7658016964014448,0.6284477737636726,0.2514495896965487,0.72027043899992,0.8651880604486961,1.123456790123457,2.2469135802469133,0.7060081809655793,gpuphysset_phys,external,SL_2020_fold4,SL_2020,4,2,15910,91,0.3809354417360905,30,86.0,0.7404865906320567,0.6524121574718338,0.1886875355936256,0.7696877248012103,0.9007288335011442,1.123456790123457,1.9660493827160492,0.6445125198243097,gpuphysset_phys,external,ZC_2023_fold0,ZC_2023,0,1,15246,131,0.3123159623969972,30,113.4,0.4103500303133409,0.4731241541008212,-0.1469016268301051,0.7704253954286794,1.0709349299927815,0.0,1.7440828402366864,0.896004248923607,gpuphysset_phys,external,ZC_2023_fold0,ZC_2023,0,2,15246,131,0.307169388368505,30,116.4,0.365997847895988,0.4098453706770627,-0.1569825216070881,0.767955148436186,1.075631218881825,0.0,1.3565088757396448,0.861817578328566,gpuphysset_phys,external,ZC_2023_fold1,ZC_2023,1,1,15183,131,0.2240097815722736,30,112.2,0.4769913206876059,0.5117319627324223,-1.1216410635322904,1.1971570114029273,1.4565854107509004,1.5502958579881658,1.9378698224852076,0.9787758514168008,gpuphysset_phys,external,ZC_2023_fold1,ZC_2023,1,2,15183,131,0.2543225195914643,30,115.9,0.4710455371279893,0.5250236923107854,-1.2702878737409495,1.25461524525899,1.506747446883631,0.0,1.3565088757396448,0.912214432769427,gpuphysset_phys,external,ZC_2023_fold2,ZC_2023,2,1,15342,131,0.4271470712479541,30,114.8,0.4569542781772431,0.451998569170834,-0.7990070860195571,1.061981902038323,1.3412706967713062,2.3254437869822486,2.519230769230769,0.9634180257671064,gpuphysset_phys,external,ZC_2023_fold2,ZC_2023,2,2,15342,131,0.4206437049696965,30,115.9,0.361041650009947,0.4290765216668432,-1.5364566045747692,1.3050543549861615,1.5926256932914356,1.5502958579881658,1.1627218934911243,0.8528870441575201,gpuphysset_phys,external,ZC_2023_fold3,ZC_2023,3,1,15378,131,0.3324261688181619,30,116.8,0.4045779066351596,0.4264856663864282,-1.2269885389338184,1.2143708705219605,1.4923097982589055,1.5502958579881658,1.5502958579881658,0.9116640003821184,gpuphysset_phys,external,ZC_2023_fold3,ZC_2023,3,2,15378,131,0.3431888379886114,30,115.6,0.3569261864705369,0.3962726890964793,-0.9807568651997574,1.1132981023601902,1.407393641023454,0.7751479289940829,0.9689349112426036,0.829091476675812,gpuphcausal_phys,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.2934880519768926,30,194.2,0.1460401476067806,0.1432022714034276,-0.1484363722792865,0.7970242692587522,1.0716512378489371,1.590101025922155,1.2588299788550394,0.6144168483533947,gpuphcausal_phys,external,LM_2019_fold1,LM_2019,1,0,14658,1128,0.3954189286491422,30,163.6,0.1116680585690743,0.0936298435750883,-0.0591121141748078,0.7852174490185502,1.029131729771125,1.501762080037591,1.0821520870859112,0.5406236711475798,gpuphcausal_phys,external,LM_2019_fold2,LM_2019,2,0,14503,1128,0.314358196713576,30,162.7,0.0620665993033909,0.0496189094162237,-0.1494651334677665,0.8043409520932474,1.0721311192081866,1.4134231341530268,0.993813141201347,0.5523656528693998,gpuphcausal_phys,external,LM_2019_fold3,LM_2019,3,0,14810,1128,0.1766344759573368,30,166.1,0.1162066362062148,0.1025383103665585,-0.0065040449749182,0.7879580359680821,1.0032467532319622,1.4134231341530268,1.2367452423838985,0.5461639894237377,gpuphcausal_phys,external,LM_2019_fold4,LM_2019,4,0,14932,1128,0.4017143474449076,30,165.9,0.008744160534024,-0.080036618897442,-0.25741030228869,0.8226305753270609,1.1213430812673093,0.8833894588456417,1.037982614143629,0.529909936614054,gpuphcausal_phys,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.2966352427840531,30,162.7,0.0537761712593007,0.0852140047427539,-0.5619703385340167,0.9794097329871814,1.2497881201820291,1.4341372912801484,0.9008949011446408,0.5876908396510233,gpuphcausal_phys,external,BL_2023_fold1,BL_2023,1,0,14731,773,0.2878393672763054,30,163.2,-0.0042063216698466,-0.0212924749984112,-0.2765632563699771,0.926967517110154,1.1298509910333303,1.0430089391128354,0.9652445369406868,0.542599796356071,gpuphcausal_phys,external,BL_2023_fold2,BL_2023,2,0,15189,773,0.4150657081062286,30,168.3,-0.0352090396149548,0.0403272892931108,-0.2466693565013329,0.901327773805751,1.116543488602187,1.564513408669253,1.0617689906347554,0.5934624124825392,gpuphcausal_phys,external,BL_2023_fold3,BL_2023,3,0,14825,773,0.3453413058335963,30,154.3,0.1278281670438843,0.150778502574236,-0.2543273149005263,0.8958159151184644,1.1199675532677469,1.4341372912801484,1.3835171696149844,0.6125183672458395,gpuphcausal_phys,external,BL_2023_fold4,BL_2023,4,0,15192,773,0.3321916969629913,30,147.8,0.1070470653587119,0.1519911698299209,-0.362763681432545,0.9335374011842468,1.1673746987911024,2.086017878225671,1.6409157127991676,0.6533020554821206,gpuphcausal_phys,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.2430431033699613,30,130.7,0.6382885292800571,0.546335221805893,-0.0147935590752186,0.8337545280273144,1.0073696034307278,1.123456790123457,1.9660493827160492,0.555646707566846,gpuphcausal_phys,external,SL_2020_fold1,SL_2020,1,0,15298,91,0.2340272722566139,30,154.7,0.7374075007612678,0.6655936430027021,0.30114735546979,0.6920619085021726,0.8359740523398009,2.2469135802469133,2.5277777777777777,0.6484415036673589,gpuphcausal_phys,external,SL_2020_fold2,SL_2020,2,0,15311,91,0.4259979962643237,30,156.2,0.7150839717979592,0.6109022997022402,0.2965512656614539,0.6639932957324353,0.838718490202375,2.2469135802469133,2.2469135802469133,0.690330323089027,gpuphcausal_phys,external,SL_2020_fold3,SL_2020,3,0,15423,91,0.307135702831454,24,122.3,0.7154822165012295,0.6157996195304726,0.3347549230050293,0.6686876575452286,0.8156255574792143,1.123456790123457,2.2469135802469133,0.5321450990203277,gpuphcausal_phys,external,SL_2020_fold4,SL_2020,4,0,15910,91,0.3783414775654912,30,142.5,0.7008393346736682,0.5697054147341739,0.0697483258268362,0.8170867038706502,0.9644955346931696,0.0,1.9660493827160492,0.564676382051318,gpuphcausal_phys,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.2954530876631112,30,153.7,0.2502907497511276,0.3129111804710038,0.0568439834634122,0.7382079867916252,0.9711621978013716,0.0,0.9689349112426036,0.7936345417608113,gpuphcausal_phys,external,ZC_2023_fold1,ZC_2023,1,0,15183,131,0.2375137867687608,30,155.4,0.3941307486884991,0.4871536241918754,-1.4735292782214562,1.3037305394656786,1.5727457749804017,1.5502958579881658,1.3565088757396448,0.892493343829259,gpuphcausal_phys,external,ZC_2023_fold2,ZC_2023,2,0,15342,131,0.4346412839131375,30,152.4,0.3011207213966209,0.4478808344208441,-2.2743175633515857,1.5625803117419927,1.8095075451811071,4.650887573964497,2.7130177514792897,0.8994762530188013,gpuphcausal_phys,external,ZC_2023_fold3,ZC_2023,3,0,15378,131,0.3231690677821112,30,152.9,0.4206731454875477,0.4032366093821203,-1.0366377484181188,1.132564217193436,1.4271081752576784,0.7751479289940829,2.131656804733728,0.94798308720834,gpuphcausal_phys,external,ZC_2023_fold4,ZC_2023,4,0,15877,131,0.3712080230438118,30,155.3,0.2781865910229493,0.4229394750817403,-1.960437620611088,1.436578674341431,1.7205922277010126,0.7751479289940829,1.1627218934911243,0.752648872031332,gpuprobe_flat_rank,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.2495352971320444,30,100.4,0.1777085469963368,0.1693381346974164,-0.0983559047693694,0.7953169488515109,1.0480247649407757,1.2367452423838985,1.126321560028193,0.5635817856433248,gpuprobe_flat_rank,external,LM_2019_fold1,LM_2019,1,0,14658,1128,0.3586041595430294,30,89.8,0.1610755151116253,0.1389318350379901,-0.1773603356398962,0.8109054406627066,1.0850623664227683,1.3250841882684627,1.2588299788550394,0.5665133969915294,gpuprobe_flat_rank,external,LM_2019_fold2,LM_2019,2,0,14503,1128,0.2981971584904944,30,75.0,0.261731708723392,0.2684913371401151,-0.1052228556640759,0.7921814683137282,1.051295799879192,1.7667789176912834,1.5238468165087318,0.5772204462706696,gpuprobe_flat_rank,external,LM_2019_fold3,LM_2019,3,0,14810,1128,0.1907718981371074,30,73.7,0.1792875787495937,0.1501935813225436,-0.0844063127873941,0.7830278293337236,1.041348316322191,1.06006735061477,1.3029994517973216,0.5583938788062904,gpuprobe_flat_rank,external,LM_2019_fold4,LM_2019,4,0,14932,1128,0.3252331497853969,30,75.0,0.1425214520171798,0.1045969220597267,-0.2608809605641242,0.8367783824942364,1.122889560104413,1.1484062964993342,1.2588299788550394,0.5442827686149924,gpuprobe_flat_rank,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.2883614599820291,30,65.7,-0.1294379612962757,-0.072688473398636,-1.0775572945389476,1.111912993415419,1.4413734088022836,1.4341372912801484,0.6434963579604578,0.5856103085292784,gpuprobe_flat_rank,external,BL_2023_fold1,BL_2023,1,0,14731,773,0.2384657289339172,30,66.4,-0.0485387064059805,-0.0662564400167251,-0.4395991439286855,0.9839140598151356,1.1998329676288084,1.0430089391128354,0.8365452653485952,0.5165165454874323,gpuprobe_flat_rank,external,BL_2023_fold2,BL_2023,2,0,15189,773,0.3355101040617051,23,52.1,-0.0704857767617624,-0.0942707099455058,-0.9171650919989858,1.073553272673588,1.3846173118817489,1.303761173891044,0.9652445369406868,0.6094563162768775,gpuprobe_flat_rank,external,BL_2023_fold3,BL_2023,3,0,14825,773,0.3147965068529461,26,56.7,-0.0668756982561782,-0.0422044886560289,-1.0142000260506818,1.103636844719207,1.4192251529752606,1.303761173891044,0.7400208116545265,0.566875619317559,gpuprobe_flat_rank,external,BL_2023_fold4,BL_2023,4,0,15192,773,0.3013289580165055,30,67.0,-0.0421290813197039,-0.0195030788962132,-1.1467837261894185,1.1383001670834123,1.4651906823191263,1.1733850565019397,0.8687200832466181,0.5791362108629968,gpuprobe_flat_rank,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.2459278651865031,30,69.3,0.7221611317988471,0.5583541881362635,0.0762880798676728,0.7953251226303669,0.9610993094719568,1.123456790123457,1.9660493827160492,0.5901314257306861,gpuprobe_flat_rank,external,SL_2020_fold1,SL_2020,1,0,15298,91,0.2572305596927488,30,69.3,0.7057716119381292,0.6201821918853376,0.2262970215751166,0.72763564822438,0.8796038580203278,1.123456790123457,2.5277777777777777,0.568823278001556,gpuprobe_flat_rank,external,SL_2020_fold2,SL_2020,2,0,15311,91,0.3748339195430453,30,68.6,0.7594045679949688,0.6180466381412008,0.0456416920658666,0.8140572419615237,0.9769126210804584,1.123456790123457,2.5277777777777777,0.5389135112979038,gpuprobe_flat_rank,external,SL_2020_fold3,SL_2020,3,0,15423,91,0.2701608063307662,28,65.4,0.7532848179462494,0.6242124572460741,0.1253378711997269,0.7552030378604656,0.9352337105370132,1.123456790123457,1.9660493827160492,0.568823278001556,gpuprobe_flat_rank,external,SL_2020_fold4,SL_2020,4,0,15910,91,0.3531788838428122,30,71.5,0.7185742651155547,0.5512673151629734,-0.1019291417098138,0.8594496086966451,1.0497281062335342,1.123456790123457,1.9660493827160492,0.5901314257306861,gpuprobe_flat_rank,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.2961225168015536,30,70.3,0.336486694076213,0.4008200101540743,-0.1687929318227834,0.7673638813368236,1.0811072699887931,0.7751479289940829,1.3565088757396448,0.7659646688049141,gpuprobe_flat_rank,external,ZC_2023_fold1,ZC_2023,1,0,15183,131,0.2583018838769385,30,69.5,0.4519208981216752,0.4711455369507926,-1.6976613110907648,1.383730279295954,1.6424558761468744,0.7751479289940829,1.5502958579881658,0.9118912888351296,gpuprobe_flat_rank,external,ZC_2023_fold2,ZC_2023,2,0,15342,131,0.3674660230499073,30,68.2,0.4109151140545191,0.4428671157591251,-1.0833918962162907,1.164835949606113,1.4433959580037146,3.100591715976332,1.5502958579881658,0.9625209682616522,gpuprobe_flat_rank,external,ZC_2023_fold3,ZC_2023,3,0,15378,131,0.2812100873817112,30,70.2,0.429375435101692,0.4281305494293773,-0.5822512384150573,0.936665426235902,1.257875683402415,0.0,1.5502958579881658,0.8928471333283203,gpuprobe_flat_rank,external,ZC_2023_fold4,ZC_2023,4,0,15877,131,0.3508246652965006,30,70.6,0.3784765508048356,0.392142617812073,-0.6349586764258408,0.9736908241708316,1.278655024933864,0.7751479289940829,1.3565088757396448,0.8020395430494304,gpuseqcausal,external,LM_2019_fold0,LM_2019,0,0,14125,1128,0.3767078537274443,30,1235.4,-0.0576362120356918,-0.0305543200351381,-0.6763218077715549,0.9755506006882476,1.2947284706045787,0.7950505129610775,0.927558931787924,0.5216974164299649,gpuseqcausal,external,LM_2019_fold1,LM_2019,1,0,14658,1128,0.4346868159252438,30,797.4,-0.0778248359667515,-0.0863748116445525,-0.2835407296405816,0.8379286321428844,1.1329345671013522,0.7950505129610775,1.126321560028193,0.5394043786592743,gpuseqcausal,external,BL_2023_fold0,BL_2023,0,0,14524,773,0.3591534611890086,30,738.9,0.0674534122262101,-0.0108623766911421,-0.8563837342147569,1.109949763551629,1.3624917402734051,0.7822567043346265,0.3539229968782518,0.5082446885254929,gpuseqcausal,external,BL_2023_fold1,BL_2023,1,0,14731,773,0.3511464909294055,30,590.2,0.1242561793554807,0.1099403496106022,-0.1756335669820816,0.8804394206204446,1.0842663750715489,1.1733850565019397,1.0295941727367326,0.5943846213165306,gpuseqcausal,external,SL_2020_fold0,SL_2020,0,0,15234,91,0.3578962672811147,30,1881.1,0.5937580790892746,0.5434834186318362,0.1523913193287825,0.7585227275369587,0.9206566386514768,3.3703703703703702,2.2469135802469133,0.63625705346934,gpuseqcausal,external,SL_2020_fold1,SL_2020,1,0,15298,91,0.3138710857465017,30,1076.5,0.657792871487866,0.6733794323885601,-0.8492827839148944,1.210694500214451,1.3598833438607107,1.123456790123457,3.0895061728395063,0.7033014986438432,gpuseqcausal,external,ZC_2023_fold0,ZC_2023,0,0,15246,131,0.3755680679014656,30,611.3,0.1781116387133161,0.1946970745648898,-0.2728308913142954,0.782260360693886,1.12819807147623,0.0,0.0,0.6340028826917522,gpuseqcausal,external,ZC_2023_fold1,ZC_2023,1,0,15183,131,0.3453800919140821,30,613.4,0.2778282452358607,0.2622475093125072,-0.2054530235386393,0.7650383984712699,1.0979312459607482,0.0,0.5813609467455622,0.8833465789665925,gpuagile,external,LM_2019_fold0,LM_2019,0,1,14125,1128,0.2568775290099261,22,70.7,0.1781891998524764,0.1657019869272674,-0.0697198390217694,0.7775413951553068,1.034272614980783,1.06006735061477,1.015897877672488,0.5562354125725636,gpuagile,external,LM_2019_fold0,LM_2019,0,2,14125,1128,0.2544331792767216,17,51.5,0.2580997103639727,0.2688905738348646,0.0357415085495931,0.7649911459877439,0.981966646187348,1.4134231341530268,1.3471689247396037,0.585423693438987,gpuagile,external,LM_2019_fold1,LM_2019,1,1,14658,1128,0.3455146318351931,30,85.5,0.1111328088727143,0.0967721735594208,-0.1656701985999646,0.8168059198214962,1.0796620776675523,0.971728404730206,1.1704910329704754,0.5117286838683982,gpuagile,external,LM_2019_fold1,LM_2019,1,2,14658,1128,0.3490972018883014,30,84.9,0.0957332391698094,0.1203711804183657,-0.1697952328858525,0.8200921434782219,1.0815707264211487,1.590101025922155,1.2367452423838985,0.5634796941857355,gpuagile,external,LM_2019_fold2,LM_2019,2,1,14503,1128,0.2864679286162209,30,83.7,0.18075216198105,0.189994050734254,-0.1424482837117069,0.8114312256159893,1.068853725726001,1.2367452423838985,1.3029994517973216,0.541088490845495,gpuagile,external,LM_2019_fold2,LM_2019,2,2,14503,1128,0.2854675734923494,30,84.0,0.1819476572024522,0.1989493399063658,-0.0787475294128923,0.7906558299780895,1.0386277160350963,1.590101025922155,1.3692536612107449,0.5737725772527235,gpuagile,external,LM_2019_fold3,LM_2019,3,1,14810,1128,0.190767762824386,30,83.5,0.1240382059574459,0.1086151586734876,-0.088986138862263,0.7933675587753837,1.0435449880072765,0.8833894588456417,1.126321560028193,0.5379991793258777,gpuagile,external,LM_2019_fold3,LM_2019,3,2,14810,1128,0.1904222963751357,30,84.7,0.1101427499393759,0.1069648081810431,-0.0402376951558205,0.7875473202700191,1.0199204371657733,1.3250841882684627,1.214660505912757,0.5551020688047811,gpuagile,external,LM_2019_fold4,LM_2019,4,1,14932,1128,0.3532917998140449,30,84.5,0.0957504752166876,0.0659483529859103,-0.1947477365619845,0.8276588860314094,1.0930451683252105,0.8833894588456417,1.06006735061477,0.5015026492480246,gpuagile,external,LM_2019_fold4,LM_2019,4,2,14932,1128,0.3332668178161123,30,85.2,0.1152924484867477,0.1121328181770116,-0.1780364046638514,0.8206558757456917,1.085373856352215,1.2367452423838985,1.126321560028193,0.5364269054568305,gpuagile,external,BL_2023_fold0,BL_2023,0,1,14524,773,0.2872411225780132,30,77.6,-0.0957070390387015,-0.0577307473722371,-0.6838661200054637,1.0101710728852784,1.2976386736496983,1.0430089391128354,0.7400208116545265,0.5701126227256789,gpuagile,external,BL_2023_fold0,BL_2023,0,2,14524,773,0.2849349514401795,30,77.7,-0.1043098947866807,-0.0614440827205634,-0.5435124794787425,0.9692814812295496,1.2423817795719372,1.1733850565019397,0.6113215400624349,0.586030130951665,gpuagile,external,BL_2023_fold1,BL_2023,1,1,14731,773,0.273220349467359,30,79.1,0.0340870860796891,-0.002529027031213,-0.2571714883948448,0.919591167960364,1.1212365913933016,1.303761173891044,1.0295941727367326,0.5261542174059816,gpuagile,external,BL_2023_fold1,BL_2023,1,2,14731,773,0.2590751268787958,30,82.2,-0.0141244644184202,-0.0441726892189287,-0.312528673164103,0.9433772946939228,1.1456564401643383,1.0430089391128354,0.933069719042664,0.5207732000394135,gpuagile,external,BL_2023_fold2,BL_2023,2,1,15189,773,0.3700780693107182,26,72.0,0.1062956636070387,0.0940225273833629,-0.6716096178353692,1.0208690481870055,1.2929074309972022,2.086017878225671,1.4156919875130072,0.6243308852334438,gpuagile,external,BL_2023_fold2,BL_2023,2,2,15189,773,0.3467285300412036,25,70.1,0.0198890289383901,0.0041343245653489,-0.5339234117982556,0.9678628809369358,1.238516620191273,1.564513408669253,1.0939438085327784,0.6167301402417007,gpuagile,external,BL_2023_fold3,BL_2023,3,1,14825,773,0.3209061027314296,28,70.1,0.0723124683600949,0.0788812220867526,-0.6524112050729609,1.0171135274806622,1.2854614783343854,1.564513408669253,1.4156919875130072,0.6120511918474503,gpuagile,external,BL_2023_fold3,BL_2023,3,2,14825,773,0.320832803902014,29,68.4,0.0061686177932497,0.0165700283147055,-0.5436958481628886,0.9770155112255476,1.2424555746171688,0.9126328217237308,0.8365452653485952,0.5458304457831737,gpuagile,external,BL_2023_fold4,BL_2023,4,1,15192,773,0.2837134840054331,30,59.5,0.0418650552250824,0.0479165201957521,-0.8749457513272973,1.0749160743440185,1.3692865877918945,1.4341372912801484,1.0939438085327784,0.5685091247963664,gpuagile,external,BL_2023_fold4,BL_2023,4,2,15192,773,0.2791291226353908,30,59.6,0.0232288129047515,0.0473041901901248,-0.695600593693261,1.008619642723713,1.3021522956591285,1.9556417608365664,0.9652445369406868,0.5976554054699584,gpuagile,external,SL_2020_fold0,SL_2020,0,1,15234,91,0.2547566802235168,29,59.0,0.6871013065652835,0.5517616091019413,0.1980238732970181,0.7274562379570453,0.8955311799014103,1.123456790123457,2.2469135802469133,0.6081388996129083,gpuagile,external,SL_2020_fold0,SL_2020,0,2,15234,91,0.2536436507604632,30,59.7,0.6980245391902326,0.5819772150806796,0.2382601057591108,0.7069325627206446,0.8727770983163238,1.123456790123457,2.2469135802469133,0.6453760076778025,gpuagile,external,SL_2020_fold1,SL_2020,1,1,15298,91,0.2608354961754728,30,58.3,0.6824678322986627,0.650645944775313,0.3951331495600821,0.634889158819403,0.7777318470444091,2.2469135802469133,2.808641975308642,0.6300111126564666,gpuagile,external,SL_2020_fold1,SL_2020,1,2,15298,91,0.2556174677318248,30,59.5,0.7476903349379487,0.6597406420341115,0.3975943341205549,0.6210305369612608,0.7761479507455127,1.123456790123457,2.5277777777777777,0.6365984649167613,gpuagile,external,SL_2020_fold2,SL_2020,2,1,15311,91,0.3692915486146358,30,60.3,0.690132001771279,0.6122344416917439,0.3554366297451117,0.636175900759114,0.8028470241036125,2.2469135802469133,2.2469135802469133,0.6282789989013203,gpuagile,external,SL_2020_fold2,SL_2020,2,2,15311,91,0.3473200191295094,30,59.6,0.7299705109838791,0.6420493737026475,0.2964516426026968,0.6944175623971355,0.8387778781429966,1.123456790123457,2.5277777777777777,0.6057017136194932,gpuagile,external,SL_2020_fold3,SL_2020,3,1,15423,91,0.2643778165754416,30,60.5,0.7444327936330429,0.6408539168353486,0.2763905054455984,0.6889234278965127,0.8506523762416149,1.123456790123457,2.5277777777777777,0.6289422319355026,gpuagile,external,SL_2020_fold3,SL_2020,3,2,15423,91,0.2669537043526607,30,59.9,0.7575087206686062,0.6749838095790072,0.2803866909592816,0.7045050694269466,0.8483002297853657,1.123456790123457,2.2469135802469133,0.6579066126458915,gpuagile,external,SL_2020_fold4,SL_2020,4,1,15910,91,0.3801673643043317,30,61.9,0.6890582590229185,0.563367566905684,0.0619620337969493,0.7647534281342894,0.9685235816216068,1.123456790123457,2.2469135802469133,0.6289422319355026,gpuagile,external,SL_2020_fold4,SL_2020,4,2,15910,91,0.3734662384894671,30,60.9,0.6785939863560804,0.5712265407745105,0.1755741726739034,0.748374645802919,0.9079789611484336,1.123456790123457,1.9660493827160492,0.6289422319355026,gpuagile,external,ZC_2023_fold0,ZC_2023,0,1,15246,131,0.2988276262608229,30,60.1,0.3828345868770441,0.3883872076105711,-0.8950160199751414,1.072032111462291,1.3765958069670934,0.0,1.3565088757396448,0.7989106272664515,gpuagile,external,ZC_2023_fold0,ZC_2023,0,2,15246,131,0.293768401445617,30,59.3,0.0403910832169963,-0.0860749086713445,-0.9559583982070674,0.9323404671496336,1.3985558243615923,0.0,0.9689349112426036,0.4757212660381662,gpuagile,external,ZC_2023_fold1,ZC_2023,1,1,15183,131,0.2628299945909346,30,55.5,0.5119934345680004,0.4844728297463529,-4.024469586929775,2.0323654099843886,2.241532862964997,0.0,2.3254437869822486,0.934856777843994,gpuagile,external,ZC_2023_fold1,ZC_2023,1,2,15183,131,0.2597206333304414,30,52.3,0.273610790972433,0.196618999707045,-3.035498066108932,1.708276337055305,2.008854911916572,1.5502958579881658,1.3565088757396448,0.902284886430464,gpuagile,external,ZC_2023_fold2,ZC_2023,2,1,15342,131,0.3499229488818783,30,52.0,0.512451014573052,0.4554671647931082,-2.064616211240587,1.5275194549947295,1.750604525420539,3.875739644970415,2.131656804733728,0.9452670565583642,gpuagile,external,ZC_2023_fold2,ZC_2023,2,2,15342,131,0.3557781183380315,30,53.3,0.2619893614465437,0.2098160325208271,-2.4170430866218,1.550040633993522,1.8485245681407796,2.3254437869822486,1.3565088757396448,0.9639805978203694,gpuagile,external,ZC_2023_fold3,ZC_2023,3,1,15378,131,0.281066533648993,30,54.8,0.528237524747333,0.5102149907315395,-2.5569399830159227,1.6566980575559704,1.8859851471056064,0.7751479289940829,2.131656804733728,0.9320488271550984,gpuagile,external,ZC_2023_fold3,ZC_2023,3,2,15378,131,0.2880084665718811,24,43.2,0.2937746327613042,0.2562838212986859,-0.5783581156303779,0.8636339525230058,1.2563272313052336,0.0,0.9689349112426036,0.7574174476367173,gpuagile,external,ZC_2023_fold4,ZC_2023,4,1,15877,131,0.3742627198739386,30,55.1,0.4066563122002736,0.3858425565877532,-3.220155949506082,1.81106414520786,2.0543018132975708,0.7751479289940829,1.5502958579881658,0.8464181582000593,gpuagile,external,ZC_2023_fold4,ZC_2023,4,2,15877,131,0.3774770805505804,30,55.4,0.38376352941742,0.3829784694257635,-1.50680919344599,1.3085417450896202,1.5832906201544938,0.7751479289940829,1.3565088757396448,0.8280301535189978,gpulion,external,LM_2019_fold0,LM_2019,0,1,14125,1128,0.2483768731035558,30,77.3,0.2356555429750352,0.2169573929505088,-0.0187277236587599,0.7741307222614783,1.009320428104713,1.590101025922155,1.590101025922155,0.5766298795751857,gpulion,external,LM_2019_fold0,LM_2019,0,2,14125,1128,0.2416945439878901,30,70.2,0.2207375082058568,0.2128030543164948,0.0082082507711596,0.7785665503502164,0.995887419381363,2.473490484767797,1.7667789176912834,0.6347437384629403,gpulion,external,LM_2019_fold1,LM_2019,1,1,14658,1128,0.2713768541707602,30,67.3,0.213945456439775,0.2316856947557823,0.0524401374623136,0.7755873684319471,0.9734268669312904,2.3851515388832327,1.590101025922155,0.6457759383464912,gpulion,external,LM_2019_fold1,LM_2019,1,2,14658,1128,0.2771368389736802,30,67.3,0.1732440095304937,0.1965113190399172,0.0360977818087769,0.7827286490494889,0.9817852214024304,2.3851515388832327,1.6563552353355784,0.6261922345070738,gpulion,external,LM_2019_fold2,LM_2019,2,1,14503,1128,0.172599879986632,30,65.7,0.2061362312605943,0.18979432626212,-0.0322811901992388,0.785487809972993,1.0160123981374198,0.971728404730206,1.457592607095309,0.5513785964926294,gpulion,external,LM_2019_fold2,LM_2019,2,2,14503,1128,0.1908642447390197,30,65.0,0.1668507864280832,0.1522612727461698,-0.0370441498578921,0.7944722628275145,1.0183536482191768,1.855117863575848,1.6563552353355784,0.590733756406343,gpulion,external,LM_2019_fold3,LM_2019,3,1,14810,1128,0.1811922722964269,30,66.3,0.165374815616783,0.1878613515895398,0.034302189365335,0.7842529117221952,0.9826992487087934,1.855117863575848,1.501762080037591,0.6080460883823556,gpulion,external,LM_2019_fold3,LM_2019,3,2,14810,1128,0.1929154659644083,30,65.6,0.1504827080760156,0.1800866603431712,0.0263446405080191,0.7919625409721656,0.986739764220048,1.943456809460412,1.590101025922155,0.6236284178998501,gpulion,external,LM_2019_fold4,LM_2019,4,1,14932,1128,0.2663247094525419,30,67.3,0.1405716717668489,0.1313822269200506,0.0102010706699559,0.777890714975576,0.9948863915933022,0.530033675307385,1.06006735061477,0.5305557595583441,gpulion,external,LM_2019_fold4,LM_2019,4,2,14932,1128,0.2755361839152453,30,66.7,0.1033058501716183,0.100108675546366,0.0032611263687971,0.787728170949629,0.99836810671148,0.530033675307385,1.2588299788550394,0.5043716467381205,gpulion,external,BL_2023_fold0,BL_2023,0,1,14524,773,0.2215908948737647,30,64.6,0.0859634095842335,0.0383739608670752,-0.0510554739048103,0.860629878186393,1.0252099680017026,2.086017878225671,1.6730905306971904,0.6256498190670542,gpulion,external,BL_2023_fold0,BL_2023,0,2,14524,773,0.2204672925216074,30,65.3,0.0852623621396965,0.0235905628218135,-0.0756421029119995,0.8645559266898757,1.0371316732240417,2.3467701130038794,1.6730905306971904,0.6287075081950242,gpulion,external,BL_2023_fold1,BL_2023,1,1,14731,773,0.2694283187035896,30,66.1,0.1558737093255149,0.1159902597907112,-0.0247556108193267,0.8424764579519832,1.0123021363653415,2.2163939956147747,1.866139438085328,0.645523035516916,gpulion,external,BL_2023_fold1,BL_2023,1,2,14731,773,0.2798582615628694,30,66.3,0.1653240433969146,0.1403328139214725,-0.041872278867278,0.8444174987518194,1.0207214524112138,1.564513408669253,1.7374401664932362,0.630453212047972,gpulion,external,BL_2023_fold2,BL_2023,2,1,15189,773,0.2370195192463742,26,59.0,0.0989172327891151,0.0624045990971046,-0.0918383628720931,0.8643429702627358,1.0449106984021412,2.477146230392984,1.7374401664932362,0.6472393911484401,gpulion,external,BL_2023_fold2,BL_2023,2,2,15189,773,0.2460179125312956,30,67.7,0.1352952892423359,0.1058889497752049,-0.252365149487203,0.9080104151665972,1.119091218333278,1.9556417608365664,1.866139438085328,0.6352062726951695,gpulion,external,BL_2023_fold3,BL_2023,3,1,14825,773,0.2428252764564294,30,66.7,0.1274684476000545,0.0961552795431955,-0.0983042857305387,0.86695384299491,1.0480001386077693,1.9556417608365664,1.9304890738813731,0.6298314856686197,gpulion,external,BL_2023_fold3,BL_2023,3,2,14825,773,0.2488149363027534,30,66.2,0.1470295437704342,0.1313992379940949,-0.1063888537797483,0.8679807127934108,1.051850207304435,1.564513408669253,1.9304890738813731,0.6152320589028589,gpulion,external,BL_2023_fold4,BL_2023,4,1,15192,773,0.1648692519884426,30,67.4,0.07778057808963,0.0569906913221529,-0.1074115792121062,0.8713255382539346,1.0523362504652216,2.477146230392984,1.866139438085328,0.66244213740346,gpulion,external,BL_2023_fold4,BL_2023,4,2,15192,773,0.1809787926158644,30,59.4,0.1088932702300365,0.1015874722610332,-0.10238158029448,0.8657348574070504,1.0499436104399285,2.2163939956147747,1.866139438085328,0.6589028488664807,gpulion,external,SL_2020_fold0,SL_2020,0,1,15234,91,0.2305758971548139,30,59.8,0.5906345155163043,0.5654208471336966,0.0954870919573007,0.7734077434761675,0.95105881592914,2.2469135802469133,2.2469135802469133,0.6493469768228877,gpulion,external,SL_2020_fold0,SL_2020,0,2,15234,91,0.229893902837265,30,46.1,0.599621335781651,0.5773203915261009,0.0951046679058197,0.7640997220117313,0.9512598464102792,2.2469135802469133,2.5277777777777777,0.6841259779532854,gpulion,external,SL_2020_fold1,SL_2020,1,1,15298,91,0.1559675987148241,30,45.7,0.5781280444179183,0.5776612493612839,0.0856642392465378,0.7810822963960223,0.9562090376423428,2.2469135802469133,2.808641975308642,0.653878459670139,gpulion,external,SL_2020_fold1,SL_2020,1,2,15298,91,0.1760350661968674,30,46.1,0.5612921810079669,0.554685368044712,0.0896656558290603,0.778222930341304,0.9541144099366,2.2469135802469133,2.2469135802469133,0.6871061658598222,gpulion,external,SL_2020_fold2,SL_2020,2,1,15311,91,0.2424769592380393,30,46.1,0.6767015904559605,0.6285692980927383,0.0919836602451608,0.7744794855365059,0.952898894388372,2.2469135802469133,2.808641975308642,0.7108342340168632,gpulion,external,SL_2020_fold2,SL_2020,2,2,15311,91,0.2515990107610202,30,45.8,0.6669431430225977,0.6182717302809222,0.0954593684104353,0.7722375077696947,0.9510733909127512,2.2469135802469133,1.6851851851851851,0.6845329686526891,gpulion,external,SL_2020_fold3,SL_2020,3,1,15423,91,0.226907019281955,30,47.0,0.6171916949335501,0.5813573610354572,0.0989129525748747,0.7699142240990813,0.949256030203608,2.2469135802469133,2.2469135802469133,0.6413110068487015,gpulion,external,SL_2020_fold3,SL_2020,3,2,15423,91,0.2440593841883144,30,47.0,0.5875264444056949,0.5449442718010391,0.0864581088145975,0.7731593394918101,0.9557938345339094,2.2469135802469133,1.9660493827160492,0.6386894905213634,gpulion,external,SL_2020_fold4,SL_2020,4,1,15910,91,0.2793317191733541,30,47.4,0.557830781830598,0.5091465767103377,0.0385147659382208,0.7973108322891805,0.9805535146359302,2.2469135802469133,2.2469135802469133,0.6413110068487015,gpulion,external,SL_2020_fold4,SL_2020,4,2,15910,91,0.2902640989734553,30,46.8,0.5802949082998621,0.5074196595369196,0.0712453467766804,0.7815886538598563,0.96371915802994,2.2469135802469133,2.5277777777777777,0.6641702076123859,gpulion,external,ZC_2023_fold0,ZC_2023,0,1,15246,131,0.2722973823393181,30,45.2,0.3579846847954756,0.4508587564490998,0.1250301078946172,0.7280036349574687,0.9353982521679608,0.0,0.5813609467455622,0.7663320471803255,gpulion,external,ZC_2023_fold0,ZC_2023,0,2,15246,131,0.2602797146707798,30,44.7,0.36753322176836,0.442600208521985,0.109976387033172,0.7425968614726803,0.9434106269206596,0.0,0.9689349112426036,0.8290823312552124,gpulion,external,ZC_2023_fold1,ZC_2023,1,1,15183,131,0.1644475844042041,30,45.6,0.3490315531303692,0.4246092995467942,-0.5001238635524563,0.8661068334059349,1.224795436068896,0.0,0.5813609467455622,0.780823859606602,gpulion,external,ZC_2023_fold1,ZC_2023,1,2,15183,131,0.1802841982881801,30,46.2,0.353714856917012,0.4324905452075108,-0.303373424924007,0.7847253220397552,1.1416538100599716,0.0,0.5813609467455622,0.7917951000558214,gpulion,external,ZC_2023_fold2,ZC_2023,2,1,15342,131,0.2479685520939714,30,44.9,0.3438603477720749,0.4054853865534966,-0.2224395104941534,0.7423335893634166,1.1056398635064884,0.0,0.5813609467455622,0.7460362168830816,gpulion,external,ZC_2023_fold2,ZC_2023,2,2,15342,131,0.2530214443331501,30,45.3,0.3599996907213355,0.429778214112984,-0.0680932666576794,0.7185546986133088,1.033485976819008,0.0,0.5813609467455622,0.7694120633156137,gpulion,external,ZC_2023_fold3,ZC_2023,3,1,15378,131,0.2092621054332855,30,45.4,0.3045939190253259,0.3284912017597139,-0.336266508204128,0.7615286403385396,1.1559699413182831,0.0,0.7751479289940829,0.7527468899703528,gpulion,external,ZC_2023_fold3,ZC_2023,3,2,15378,131,0.2317499915923164,30,45.8,0.3304609718410151,0.3919310353391924,-0.172865145817697,0.7158878030155906,1.0829889857281447,0.0,0.9689349112426036,0.7760199039591937,gpulion,external,ZC_2023_fold4,ZC_2023,4,1,15877,131,0.252853040804284,30,46.6,0.3696336793819102,0.3980029012060322,-0.22396331421431,0.7383271271526416,1.1063287538030515,0.0,0.3875739644970414,0.8577458267251853,gpulion,external,ZC_2023_fold4,ZC_2023,4,2,15877,131,0.2729454334130881,30,47.4,0.3538471692076294,0.416124473882075,-0.2569586005556394,0.7545811696305075,1.1211416492840407,0.7751479289940829,0.5813609467455622,0.7799985698017765,gpu123456789model,protocol,task,study,fold,seed,n_train,n_test,val_spearman,epochs_run,runtime_s,spearman,pearson,r2,mae,rmse,ef10,ef20,ndcg10probe_flat,diagnosis,LM_2019_fold0,LM_2019,0,0,14125,1128,0.2526131724913343,40,62.6,0.192092791050567,0.1786313726715843,-0.068229726365026,0.7902140023339809,1.033551996485013,1.1484062964993342,1.2367452423838985,0.5590995091224646probe_flat,diagnosis,BL_2023_fold0,BL_2023,0,0,14524,773,0.296734043036943,40,60.9,-0.0163745565663764,0.0329676019415969,-0.7228466499809612,1.0189589205069074,1.3125725341850252,1.1733850565019397,0.8365452653485952,0.5951921567154872probe_physset_rank,diagnosis,LM_2019_fold0,LM_2019,0,0,14125,1128,0.3106940498727445,40,143.4,0.1576975592777308,0.14080378470015,-0.0518944712134514,0.7742465738864874,1.0256190687772864,1.4134231341530268,1.1925757694416164,0.5703119377575936probe_physset_rank,diagnosis,BL_2023_fold0,BL_2023,0,0,14524,773,0.3421830558127874,40,140.7,-0.0878235137578906,-0.0580696601076326,-1.2402290104593263,1.190976215203571,1.4967394630437023,1.6948895260583574,1.1582934443288242,0.5949103932630931probe_set,diagnosis,LM_2019_fold0,LM_2019,0,0,14125,1128,0.3142697253600132,40,182.4,0.0141015862629083,0.0339985178796324,-0.5363551129121393,0.939882320549118,1.239497929539212,0.971728404730206,0.8171352494322186,0.5218756825583125probe_set,diagnosis,BL_2023_fold0,BL_2023,0,0,14524,773,0.3635441356985928,26,105.7,-0.0559535818901753,-0.0396774080923238,-0.1652815317128586,0.884230738951503,1.07948206877021,1.564513408669253,0.9008949011446408,0.6354359263415398probe_set_bias,diagnosis,LM_2019_fold0,LM_2019,0,0,14125,1128,0.3091355775148564,40,184.0,-0.0008177026450193,0.0186000557122748,-0.3921080633106619,0.8918832300076203,1.1798762932254974,0.7067115670765134,0.927558931787924,0.4991578046119536probe_set_bias,diagnosis,BL_2023_fold0,BL_2023,0,0,14524,773,0.3691660060693978,26,106.4,-0.0873214478733731,-0.0729601194093771,-0.2200467767411695,0.8954119625541094,1.1045572787608786,1.4341372912801484,0.8365452653485952,0.6156238836566561123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417group,task,n_models,n_seeds,spearmansingle:agile,BL_2023_fold0,1,3,-0.06946222902733441single:extratrees,BL_2023_fold0,1,1,-0.008945799363156336single:lion,BL_2023_fold0,1,3,0.1268761447966985single:mean,BL_2023_fold0,1,1,single:mlp_fp,BL_2023_fold0,1,1,-0.002942909722061389single:phcausal,BL_2023_fold0,1,1,0.0014783033343163225single:phcausal_phys,BL_2023_fold0,1,1,0.05377617125930074single:physset,BL_2023_fold0,1,1,0.024665122602940123single:physset_phys,BL_2023_fold0,1,3,0.07713579846754899single:probe_flat_rank,BL_2023_fold0,1,1,-0.12943796129627574single:randomforest,BL_2023_fold0,1,1,0.0984921129226234single:seqcausal,BL_2023_fold0,1,1,0.06745341222621014single:xgboost,BL_2023_fold0,1,1,0.04832819950207936trees,BL_2023_fold0,3,1,0.06320944843628823neural baselines,BL_2023_fold0,3,1,0.03985312940349271proposed,BL_2023_fold0,3,1,0.08222647657737475LNPBench-Stack,BL_2023_fold0,3,1,0.07803135270203188Stack w/o PhysSet-LNP,BL_2023_fold0,2,1,0.0652290510901296Stack w/o random forest,BL_2023_fold0,2,1,0.03106912841061828Stack w/o extra trees,BL_2023_fold0,2,1,0.11862785104470183stack+lgbm,BL_2023_fold0,4,1,0.07198958882416814stack+mpnn,BL_2023_fold0,5,1,0.08154151614810841all,BL_2023_fold0,8,1,0.06395362450413668single:agile,BL_2023_fold1,1,3,-0.0015363633610320417single:extratrees,BL_2023_fold1,1,1,0.005861928322669539single:lion,BL_2023_fold1,1,3,0.14368721377852176single:mean,BL_2023_fold1,1,1,single:mlp_fp,BL_2023_fold1,1,1,-0.03607866087586605single:phcausal_phys,BL_2023_fold1,1,1,-0.004206321669846664single:physset_phys,BL_2023_fold1,1,3,0.02506892664582446single:probe_flat_rank,BL_2023_fold1,1,1,-0.04853870640598053single:randomforest,BL_2023_fold1,1,1,0.16720191218944694single:seqcausal,BL_2023_fold1,1,1,0.12425617935548076single:xgboost,BL_2023_fold1,1,1,0.04723834016523663trees,BL_2023_fold1,3,1,0.10663966873793088neural baselines,BL_2023_fold1,3,1,0.06060690102821308proposed,BL_2023_fold1,3,1,0.0581211002242111LNPBench-Stack,BL_2023_fold1,3,1,0.11195408195922936Stack w/o PhysSet-LNP,BL_2023_fold1,2,1,0.12141121826087968Stack w/o random forest,BL_2023_fold1,2,1,0.023970254150040296Stack w/o extra trees,BL_2023_fold1,2,1,0.14447456849163906stack+lgbm,BL_2023_fold1,4,1,0.10441967343237542stack+mpnn,BL_2023_fold1,5,1,0.1208510843210288all,BL_2023_fold1,8,1,0.0907608599285166single:agile,BL_2023_fold2,1,3,0.03637332759689258single:extratrees,BL_2023_fold2,1,1,0.019600723779146855single:lion,BL_2023_fold2,1,3,0.13100912752838167single:mean,BL_2023_fold2,1,1,single:mlp_fp,BL_2023_fold2,1,1,-0.005886326098933208single:phcausal_phys,BL_2023_fold2,1,1,-0.03520903961495488single:physset_phys,BL_2023_fold2,1,3,0.09955525472708242single:probe_flat_rank,BL_2023_fold2,1,1,-0.07048577676176249single:randomforest,BL_2023_fold2,1,1,0.1956058426197926single:xgboost,BL_2023_fold2,1,1,0.057114622898850845trees,BL_2023_fold2,3,1,0.10304731318795836neural baselines,BL_2023_fold2,3,1,0.06070955790930115proposed,BL_2023_fold2,2,1,0.03311029772236163LNPBench-Stack,BL_2023_fold2,3,1,0.12975537604461565Stack w/o PhysSet-LNP,BL_2023_fold2,2,1,0.1228529609578716Stack w/o random forest,BL_2023_fold2,2,1,0.05864716578965032Stack w/o extra trees,BL_2023_fold2,2,1,0.17234390236921643stack+lgbm,BL_2023_fold2,4,1,0.11504895010076274stack+mpnn,BL_2023_fold2,5,1,0.14408965674480204all,BL_2023_fold2,8,1,0.0922181247522985single:agile,BL_2023_fold3,1,3,0.07990529825951126single:extratrees,BL_2023_fold3,1,1,0.1145427497159291single:lion,BL_2023_fold3,1,3,0.16238971517654152single:mean,BL_2023_fold3,1,1,single:mlp_fp,BL_2023_fold3,1,1,0.06420351936433003single:phcausal_phys,BL_2023_fold3,1,1,0.12782816704388433single:physset_phys,BL_2023_fold3,1,3,0.18504054647908527single:probe_flat_rank,BL_2023_fold3,1,1,-0.06687569825617824single:randomforest,BL_2023_fold3,1,1,0.17037609064849327single:xgboost,BL_2023_fold3,1,1,0.11667178088282236trees,BL_2023_fold3,3,1,0.15040069300866457neural baselines,BL_2023_fold3,3,1,0.12093182091904608proposed,BL_2023_fold3,2,1,0.1624413096018853LNPBench-Stack,BL_2023_fold3,3,1,0.1837933948326558Stack w/o PhysSet-LNP,BL_2023_fold3,2,1,0.1729155324100042Stack w/o random forest,BL_2023_fold3,2,1,0.1624286810820013Stack w/o extra trees,BL_2023_fold3,2,1,0.19149400152939788stack+lgbm,BL_2023_fold3,4,1,0.17718873703005134stack+mpnn,BL_2023_fold3,5,1,0.18309823185069385all,BL_2023_fold3,8,1,0.15474213316349866single:agile,BL_2023_fold4,1,3,0.05161675069533371single:extratrees,BL_2023_fold4,1,1,0.11539238248611154single:lion,BL_2023_fold4,1,3,0.11374587271644365single:mean,BL_2023_fold4,1,1,single:mlp_fp,BL_2023_fold4,1,1,0.015167450939507044single:phcausal_phys,BL_2023_fold4,1,1,0.10704706535871196single:physset_phys,BL_2023_fold4,1,3,0.12980300333659972single:probe_flat_rank,BL_2023_fold4,1,1,-0.042129081319703936single:randomforest,BL_2023_fold4,1,1,0.14974861360836136single:xgboost,BL_2023_fold4,1,1,0.15506539792538193trees,BL_2023_fold4,3,1,0.1547823848812001neural baselines,BL_2023_fold4,3,1,0.08249713630903993proposed,BL_2023_fold4,2,1,0.12023876618621883LNPBench-Stack,BL_2023_fold4,3,1,0.15686871011643524Stack w/o PhysSet-LNP,BL_2023_fold4,2,1,0.15022691842109095Stack w/o random forest,BL_2023_fold4,2,1,0.12972515643012084Stack w/o extra trees,BL_2023_fold4,2,1,0.14794819822843838stack+lgbm,BL_2023_fold4,4,1,0.16761631570760535stack+mpnn,BL_2023_fold4,5,1,0.14557135579235808all,BL_2023_fold4,8,1,0.1465622900977499single:agile,LM_2019_fold0,1,3,0.22310016069869923single:extratrees,LM_2019_fold0,1,1,0.10135952970615111single:lion,LM_2019_fold0,1,3,0.23390593674805854single:mean,LM_2019_fold0,1,1,single:mlp_fp,LM_2019_fold0,1,1,0.020194545327064325single:phcausal,LM_2019_fold0,1,1,-0.10789644112315569single:phcausal_phys,LM_2019_fold0,1,1,0.14604014760678066single:physset,LM_2019_fold0,1,1,-0.016605052049214187single:physset_phys,LM_2019_fold0,1,3,0.20163929112243725single:probe_flat_rank,LM_2019_fold0,1,1,0.17770854699633684single:randomforest,LM_2019_fold0,1,1,0.17763526376387406single:seqcausal,LM_2019_fold0,1,1,-0.05763621203569182single:xgboost,LM_2019_fold0,1,1,0.11737417543850195trees,LM_2019_fold0,3,1,0.14470591643847577neural baselines,LM_2019_fold0,3,1,0.23253228546299942proposed,LM_2019_fold0,3,1,0.11120788441675318LNPBench-Stack,LM_2019_fold0,3,1,0.17661319784224488Stack w/o PhysSet-LNP,LM_2019_fold0,2,1,0.14845592438413804Stack w/o random forest,LM_2019_fold0,2,1,0.16491960069965653Stack w/o extra trees,LM_2019_fold0,2,1,0.20620476936351406stack+lgbm,LM_2019_fold0,4,1,0.16699884623409508stack+mpnn,LM_2019_fold0,5,1,0.24521523317867197all,LM_2019_fold0,8,1,0.21515807843340867single:agile,LM_2019_fold1,1,3,0.1299536879690018single:extratrees,LM_2019_fold1,1,1,0.2127092279466697single:lion,LM_2019_fold1,1,3,0.2235102592903742single:mean,LM_2019_fold1,1,1,single:mlp_fp,LM_2019_fold1,1,1,-0.078815161830032single:phcausal_phys,LM_2019_fold1,1,1,0.11166805856907434single:physset_phys,LM_2019_fold1,1,3,0.12442028624260813single:probe_flat_rank,LM_2019_fold1,1,1,0.16107551511162532single:randomforest,LM_2019_fold1,1,1,0.2225088426346858single:seqcausal,LM_2019_fold1,1,1,-0.07782483596675156single:xgboost,LM_2019_fold1,1,1,0.029369313276223524trees,LM_2019_fold1,3,1,0.17516800938350474neural baselines,LM_2019_fold1,3,1,0.12126616300409748proposed,LM_2019_fold1,3,1,0.07341370199335945LNPBench-Stack,LM_2019_fold1,3,1,0.2186199429942481Stack w/o PhysSet-LNP,LM_2019_fold1,2,1,0.23239526558580412Stack w/o random forest,LM_2019_fold1,2,1,0.19956044145221408Stack w/o extra trees,LM_2019_fold1,2,1,0.1981117078849687stack+lgbm,LM_2019_fold1,4,1,0.17885366728731364stack+mpnn,LM_2019_fold1,5,1,0.23948075209666136all,LM_2019_fold1,8,1,0.16916329916995987single:agile,LM_2019_fold2,1,3,0.1993822395268633single:extratrees,LM_2019_fold2,1,1,0.218131643281553single:lion,LM_2019_fold2,1,3,0.2154201573338911single:mean,LM_2019_fold2,1,1,single:mlp_fp,LM_2019_fold2,1,1,-0.10981506333822291single:phcausal_phys,LM_2019_fold2,1,1,0.062066599303390986single:physset_phys,LM_2019_fold2,1,3,0.13503606227637283single:probe_flat_rank,LM_2019_fold2,1,1,0.261731708723392single:randomforest,LM_2019_fold2,1,1,0.1882190705291974single:xgboost,LM_2019_fold2,1,1,0.17724286882214435trees,LM_2019_fold2,3,1,0.2268748149831385neural baselines,LM_2019_fold2,3,1,0.13079625995317237proposed,LM_2019_fold2,2,1,0.10078861903092895LNPBench-Stack,LM_2019_fold2,3,1,0.22510058449790002Stack w/o PhysSet-LNP,LM_2019_fold2,2,1,0.22717835403337022Stack w/o random forest,LM_2019_fold2,2,1,0.21029319106281488Stack w/o extra trees,LM_2019_fold2,2,1,0.19317552432865426stack+lgbm,LM_2019_fold2,4,1,0.22924280686971865stack+mpnn,LM_2019_fold2,5,1,0.27190046614395186all,LM_2019_fold2,8,1,0.2052204926986606single:agile,LM_2019_fold3,1,3,0.16181257089883472single:extratrees,LM_2019_fold3,1,1,0.1498484896886374single:lion,LM_2019_fold3,1,3,0.17713197089322388single:mean,LM_2019_fold3,1,1,single:mlp_fp,LM_2019_fold3,1,1,-0.0825901487099269single:phcausal_phys,LM_2019_fold3,1,1,0.11620663620621488single:physset_phys,LM_2019_fold3,1,3,0.14084105655905335single:probe_flat_rank,LM_2019_fold3,1,1,0.1792875787495937single:randomforest,LM_2019_fold3,1,1,0.2100147316784819single:xgboost,LM_2019_fold3,1,1,0.11236507826067436trees,LM_2019_fold3,3,1,0.18539437403534906neural baselines,LM_2019_fold3,3,1,0.12203516478693792proposed,LM_2019_fold3,2,1,0.150089170108811LNPBench-Stack,LM_2019_fold3,3,1,0.18654932748581346Stack w/o PhysSet-LNP,LM_2019_fold3,2,1,0.1932519427610103Stack w/o random forest,LM_2019_fold3,2,1,0.15383977236944416Stack w/o extra trees,LM_2019_fold3,2,1,0.19220497833274414stack+lgbm,LM_2019_fold3,4,1,0.1847634248697649stack+mpnn,LM_2019_fold3,5,1,0.23837195725543778all,LM_2019_fold3,8,1,0.1859177488590147single:agile,LM_2019_fold4,1,3,0.11821045242015488single:extratrees,LM_2019_fold4,1,1,0.21061035562917405single:lion,LM_2019_fold4,1,3,0.16460193510640062single:mean,LM_2019_fold4,1,1,single:mlp_fp,LM_2019_fold4,1,1,-0.0630364650005642single:phcausal_phys,LM_2019_fold4,1,1,0.00874416053402402single:physset_phys,LM_2019_fold4,1,3,0.10716240715512042single:probe_flat_rank,LM_2019_fold4,1,1,0.14252145201717983single:randomforest,LM_2019_fold4,1,1,0.1733216158032259single:xgboost,LM_2019_fold4,1,1,0.1480672196564485trees,LM_2019_fold4,3,1,0.1941748736851498neural baselines,LM_2019_fold4,3,1,0.08623082847596651proposed,LM_2019_fold4,2,1,0.05736293850756472LNPBench-Stack,LM_2019_fold4,3,1,0.19058804114850483Stack w/o PhysSet-LNP,LM_2019_fold4,2,1,0.21042309330327544Stack w/o random forest,LM_2019_fold4,2,1,0.1813789223200106Stack w/o extra trees,LM_2019_fold4,2,1,0.16116342395903566stack+lgbm,LM_2019_fold4,4,1,0.18594366782200597stack+mpnn,LM_2019_fold4,5,1,0.20623610068013123all,LM_2019_fold4,8,1,0.14711278979627243single:agile,SL_2020_fold0,1,3,0.7184476090043895single:extratrees,SL_2020_fold0,1,1,0.7170831171216953single:lion,SL_2020_fold0,1,3,0.6335809595651047single:mean,SL_2020_fold0,1,1,single:mlp_fp,SL_2020_fold0,1,1,0.52077999681523single:phcausal,SL_2020_fold0,1,1,0.4183843407979316single:phcausal_phys,SL_2020_fold0,1,1,0.6382885292800571single:physset,SL_2020_fold0,1,1,0.5115677767962897single:physset_phys,SL_2020_fold0,1,3,0.7530530923021554single:probe_flat_rank,SL_2020_fold0,1,1,0.7221611317988471single:randomforest,SL_2020_fold0,1,1,0.6783084206086623single:seqcausal,SL_2020_fold0,1,1,0.5937580790892746single:xgboost,SL_2020_fold0,1,1,0.6926208941290847trees,SL_2020_fold0,3,1,0.7047404425865881neural baselines,SL_2020_fold0,3,1,0.7244897273035021proposed,SL_2020_fold0,3,1,0.713771314644122LNPBench-Stack,SL_2020_fold0,3,1,0.7399813555891226Stack w/o PhysSet-LNP,SL_2020_fold0,2,1,0.7008916603016098Stack w/o random forest,SL_2020_fold0,2,1,0.7688495183269626Stack w/o extra trees,SL_2020_fold0,2,1,0.7365000890140206stack+lgbm,SL_2020_fold0,4,1,0.7434596895891971stack+mpnn,SL_2020_fold0,5,1,0.7492092691979496all,SL_2020_fold0,8,1,0.7649012249407399single:agile,SL_2020_fold1,1,3,0.7123709198081597single:extratrees,SL_2020_fold1,1,1,0.720524412898622single:lion,SL_2020_fold1,1,3,0.5914239083412908single:mean,SL_2020_fold1,1,1,single:mlp_fp,SL_2020_fold1,1,1,0.47225358022107483single:phcausal_phys,SL_2020_fold1,1,1,0.7374075007612678single:physset_phys,SL_2020_fold1,1,3,0.7491938488712142single:probe_flat_rank,SL_2020_fold1,1,1,0.7057716119381292single:randomforest,SL_2020_fold1,1,1,0.6602063755941304single:seqcausal,SL_2020_fold1,1,1,0.657792871487866single:xgboost,SL_2020_fold1,1,1,0.6478094185182142trees,SL_2020_fold1,3,1,0.6861442460355247neural baselines,SL_2020_fold1,3,1,0.6999437776673515proposed,SL_2020_fold1,3,1,0.7303883244901741LNPBench-Stack,SL_2020_fold1,3,1,0.7451517491852495Stack w/o PhysSet-LNP,SL_2020_fold1,2,1,0.7013893288173246Stack w/o random forest,SL_2020_fold1,2,1,0.7667231443310509Stack w/o extra trees,SL_2020_fold1,2,1,0.734892254261279stack+lgbm,SL_2020_fold1,4,1,0.7257053237592455stack+mpnn,SL_2020_fold1,5,1,0.7515106341352952all,SL_2020_fold1,8,1,0.7537078518216376single:agile,SL_2020_fold2,1,3,0.7312868034493023single:extratrees,SL_2020_fold2,1,1,0.7197117695585283single:lion,SL_2020_fold2,1,3,0.6737547348196659single:mean,SL_2020_fold2,1,1,single:mlp_fp,SL_2020_fold2,1,1,0.44063512046825304single:phcausal_phys,SL_2020_fold2,1,1,0.7150839717979592single:physset_phys,SL_2020_fold2,1,3,0.7211899994989149single:probe_flat_rank,SL_2020_fold2,1,1,0.7594045679949688single:randomforest,SL_2020_fold2,1,1,0.6448324903641982single:xgboost,SL_2020_fold2,1,1,0.6587054730986516trees,SL_2020_fold2,3,1,0.6969509724670702neural baselines,SL_2020_fold2,3,1,0.7320052709860527proposed,SL_2020_fold2,2,1,0.7276359838794023LNPBench-Stack,SL_2020_fold2,3,1,0.73444914299078Stack w/o PhysSet-LNP,SL_2020_fold2,2,1,0.6862957862072703Stack w/o random forest,SL_2020_fold2,2,1,0.7646447750962054Stack w/o extra trees,SL_2020_fold2,2,1,0.716278470098136stack+lgbm,SL_2020_fold2,4,1,0.7332751298403212stack+mpnn,SL_2020_fold2,5,1,0.7640450048435447all,SL_2020_fold2,8,1,0.7695786490665387single:agile,SL_2020_fold3,1,3,0.7659220656795176single:extratrees,SL_2020_fold3,1,1,0.7052500350164562single:lion,SL_2020_fold3,1,3,0.6040609977912226single:mean,SL_2020_fold3,1,1,single:mlp_fp,SL_2020_fold3,1,1,0.5446037143263387single:phcausal_phys,SL_2020_fold3,1,1,0.7154822165012295single:physset_phys,SL_2020_fold3,1,3,0.7748401881104842single:probe_flat_rank,SL_2020_fold3,1,1,0.7532848179462494single:randomforest,SL_2020_fold3,1,1,0.6436632790279412single:xgboost,SL_2020_fold3,1,1,0.6579757525483635trees,SL_2020_fold3,3,1,0.6886901613396978neural baselines,SL_2020_fold3,3,1,0.7493129131923163proposed,SL_2020_fold3,2,1,0.7617844711750861LNPBench-Stack,SL_2020_fold3,3,1,0.7497079210364036Stack w/o PhysSet-LNP,SL_2020_fold3,2,1,0.681134700291813Stack w/o random forest,SL_2020_fold3,2,1,0.7951308704284961Stack w/o extra trees,SL_2020_fold3,2,1,0.7421946436592182stack+lgbm,SL_2020_fold3,4,1,0.7392381782731305stack+mpnn,SL_2020_fold3,5,1,0.7768594462613182all,SL_2020_fold3,8,1,0.792538584870836single:agile,SL_2020_fold4,1,3,0.704674555854519single:extratrees,SL_2020_fold4,1,1,0.7030028274127282single:lion,SL_2020_fold4,1,3,0.5746437623661736single:mean,SL_2020_fold4,1,1,single:mlp_fp,SL_2020_fold4,1,1,0.4835062027976758single:phcausal_phys,SL_2020_fold4,1,1,0.7008393346736682single:physset_phys,SL_2020_fold4,1,3,0.7531371554773658single:probe_flat_rank,SL_2020_fold4,1,1,0.7185742651155547single:randomforest,SL_2020_fold4,1,1,0.6540120431956625single:xgboost,SL_2020_fold4,1,1,0.6894615358374967trees,SL_2020_fold4,3,1,0.7115145824226463neural baselines,SL_2020_fold4,3,1,0.7106746296695449proposed,SL_2020_fold4,2,1,0.7332319780538175LNPBench-Stack,SL_2020_fold4,3,1,0.735582651925143Stack w/o PhysSet-LNP,SL_2020_fold4,2,1,0.6769597250188328Stack w/o random forest,SL_2020_fold4,2,1,0.7803615297215153Stack w/o extra trees,SL_2020_fold4,2,1,0.7351551435618388stack+lgbm,SL_2020_fold4,4,1,0.7450688343198963stack+mpnn,SL_2020_fold4,5,1,0.748072686824899all,SL_2020_fold4,8,1,0.7596154654122749single:agile,ZC_2023_fold0,1,3,0.28912782426487543single:extratrees,ZC_2023_fold0,1,1,0.38195250493959515single:lion,ZC_2023_fold0,1,3,0.32435680350663654single:mean,ZC_2023_fold0,1,1,single:mlp_fp,ZC_2023_fold0,1,1,0.35472925114507825single:phcausal,ZC_2023_fold0,1,1,0.16417750060767794single:phcausal_phys,ZC_2023_fold0,1,1,0.2502907497511276single:physset,ZC_2023_fold0,1,1,0.19136767632954055single:physset_phys,ZC_2023_fold0,1,3,0.4038318477071923single:probe_flat_rank,ZC_2023_fold0,1,1,0.336486694076213single:randomforest,ZC_2023_fold0,1,1,0.3585332295003267single:seqcausal,ZC_2023_fold0,1,1,0.17811163871331614single:xgboost,ZC_2023_fold0,1,1,0.23598172682207355trees,ZC_2023_fold0,3,1,0.3456870231957888neural baselines,ZC_2023_fold0,3,1,0.33633136863102137proposed,ZC_2023_fold0,3,1,0.28271428314634356LNPBench-Stack,ZC_2023_fold0,3,1,0.3860391924735752Stack w/o PhysSet-LNP,ZC_2023_fold0,2,1,0.3771577419240381Stack w/o random forest,ZC_2023_fold0,2,1,0.3960829775536173Stack w/o extra trees,ZC_2023_fold0,2,1,0.3898375178121482stack+lgbm,ZC_2023_fold0,4,1,0.3624236268846164stack+mpnn,ZC_2023_fold0,5,1,0.3729865862790585all,ZC_2023_fold0,8,1,0.33288394066294513single:agile,ZC_2023_fold1,1,3,0.4575208618071133single:extratrees,ZC_2023_fold1,1,1,0.49564735366465035single:lion,ZC_2023_fold1,1,3,0.33839550421543557single:mean,ZC_2023_fold1,1,1,single:mlp_fp,ZC_2023_fold1,1,1,0.2690680689945712single:phcausal_phys,ZC_2023_fold1,1,1,0.3941307486884991single:physset_phys,ZC_2023_fold1,1,3,0.5014716918599083single:probe_flat_rank,ZC_2023_fold1,1,1,0.45192089812167524single:randomforest,ZC_2023_fold1,1,1,0.46361124029892786single:seqcausal,ZC_2023_fold1,1,1,0.2778282452358607single:xgboost,ZC_2023_fold1,1,1,0.4250063730052655trees,ZC_2023_fold1,3,1,0.4824493938081892neural baselines,ZC_2023_fold1,3,1,0.43114971511704675proposed,ZC_2023_fold1,3,1,0.4640388386413158LNPBench-Stack,ZC_2023_fold1,3,1,0.5181618131442901Stack w/o PhysSet-LNP,ZC_2023_fold1,2,1,0.4902634095431485Stack w/o random forest,ZC_2023_fold1,2,1,0.5217583860042181Stack w/o extra trees,ZC_2023_fold1,2,1,0.5029719541794249stack+lgbm,ZC_2023_fold1,4,1,0.49968901386147113stack+mpnn,ZC_2023_fold1,5,1,0.5124068787085851all,ZC_2023_fold1,8,1,0.48465440751919336single:agile,ZC_2023_fold2,1,3,0.4138858121947627single:extratrees,ZC_2023_fold2,1,1,0.4442109506871609single:lion,ZC_2023_fold2,1,3,0.34777783525678624single:mean,ZC_2023_fold2,1,1,single:mlp_fp,ZC_2023_fold2,1,1,0.38585020450069757single:phcausal_phys,ZC_2023_fold2,1,1,0.3011207213966209single:physset_phys,ZC_2023_fold2,1,3,0.46255050178629703single:probe_flat_rank,ZC_2023_fold2,1,1,0.41091511405451914single:randomforest,ZC_2023_fold2,1,1,0.4421573536765377single:xgboost,ZC_2023_fold2,1,1,0.3336723013945401trees,ZC_2023_fold2,3,1,0.45454994484422917neural baselines,ZC_2023_fold2,3,1,0.47728531687663944proposed,ZC_2023_fold2,2,1,0.41282096159458104LNPBench-Stack,ZC_2023_fold2,3,1,0.49607527413748687Stack w/o PhysSet-LNP,ZC_2023_fold2,2,1,0.46334615420368047Stack w/o random forest,ZC_2023_fold2,2,1,0.47733217779225706Stack w/o extra trees,ZC_2023_fold2,2,1,0.4938072051726419stack+lgbm,ZC_2023_fold2,4,1,0.47481356997174834stack+mpnn,ZC_2023_fold2,5,1,0.4886435758650175all,ZC_2023_fold2,8,1,0.5263217530394362single:agile,ZC_2023_fold3,1,3,0.49070228858373366single:extratrees,ZC_2023_fold3,1,1,0.4230079061157328single:lion,ZC_2023_fold3,1,3,0.34042201481954093single:mean,ZC_2023_fold3,1,1,single:mlp_fp,ZC_2023_fold3,1,1,0.21838419216996785single:phcausal_phys,ZC_2023_fold3,1,1,0.4206731454875477single:physset_phys,ZC_2023_fold3,1,3,0.44788230043656657single:probe_flat_rank,ZC_2023_fold3,1,1,0.42937543510169207single:randomforest,ZC_2023_fold3,1,1,0.42304925370655067single:xgboost,ZC_2023_fold3,1,1,0.33675131865744773trees,ZC_2023_fold3,3,1,0.4218172700678273neural baselines,ZC_2023_fold3,3,1,0.4305765847348156proposed,ZC_2023_fold3,2,1,0.43638204647544404LNPBench-Stack,ZC_2023_fold3,3,1,0.4675802183096954Stack w/o PhysSet-LNP,ZC_2023_fold3,2,1,0.4394868275927403Stack w/o random forest,ZC_2023_fold3,2,1,0.46361405224363983Stack w/o extra trees,ZC_2023_fold3,2,1,0.46094417273971927stack+lgbm,ZC_2023_fold3,4,1,0.43491499700743524stack+mpnn,ZC_2023_fold3,5,1,0.46884095797335285all,ZC_2023_fold3,8,1,0.464771729347884single:agile,ZC_2023_fold4,1,3,0.4087997254094256single:extratrees,ZC_2023_fold4,1,1,0.48046727482236556single:lion,ZC_2023_fold4,1,3,0.32262689285132645single:mean,ZC_2023_fold4,1,1,single:mlp_fp,ZC_2023_fold4,1,1,0.48523327379064407single:phcausal_phys,ZC_2023_fold4,1,1,0.2781865910229493single:physset_phys,ZC_2023_fold4,1,3,0.3718692057921324single:probe_flat_rank,ZC_2023_fold4,1,1,0.3784765508048356single:randomforest,ZC_2023_fold4,1,1,0.4134097520338669single:xgboost,ZC_2023_fold4,1,1,0.31362423285995916trees,ZC_2023_fold4,3,1,0.4407782935641016neural baselines,ZC_2023_fold4,3,1,0.5113125235392629proposed,ZC_2023_fold4,2,1,0.33484716572037687LNPBench-Stack,ZC_2023_fold4,3,1,0.46508363453466184Stack w/o PhysSet-LNP,ZC_2023_fold4,2,1,0.47768820045277016Stack w/o random forest,ZC_2023_fold4,2,1,0.46700856303162136Stack w/o extra trees,ZC_2023_fold4,2,1,0.42298550248922906stack+lgbm,ZC_2023_fold4,4,1,0.4408505354821938stack+mpnn,ZC_2023_fold4,5,1,0.4710632125350541all,ZC_2023_fold4,8,1,0.47973955722397016123423456789101112131415161718model_a,model_b,delta,p,nxgboost,randomforest,-0.056723075535276335,0.0014324188232421875,20xgboost,extratrees,-0.04647616798654802,0.009435653686523438,20randomforest,extratrees,0.010246907548728312,0.9272785186767578,20physset_phys,agile,0.027131405156062,0.069580078125,20physset_phys,lion,0.03607003589761226,0.16495704650878906,20physset_phys,randomforest,0.0014907465224488492,0.8694877624511719,20physset_phys,extratrees,0.011737654071177162,0.26109886169433594,20physset_phys,xgboost,0.058213822057725184,0.000209808349609375,20agile,randomforest,-0.025640658633613145,0.2305126190185547,20lion,randomforest,-0.0345792893751634,0.00485992431640625,20LNPBench-Stack,agile,0.05367963006086818,0.0002613067626953125,20LNPBench-Stack,extratrees,0.03828587897598333,0.0001049041748046875,20LNPBench-Stack,lion,0.06261826080241842,0.0031528472900390625,20LNPBench-Stack,mlp_fp,0.19001212888326308,3.814697265625e-06,20LNPBench-Stack,phcausal_phys,0.09251109044962903,1.9073486328125e-06,20LNPBench-Stack,physset_phys,0.026548224904806173,0.023950576782226562,20LNPBench-Stack,probe_flat_rank,0.07322291492195881,0.0003223419189453125,20LNPBench-Stack,randomforest,0.028038971427255022,0.026641845703125,20LNPBench-Stack,seqcausal,0.15135166347305334,0.0234375,8LNPBench-Stack,xgboost,0.08476204696253134,1.9073486328125e-06,20123version https://git-lfs.github.com/spec/v1oid sha256:72429239ed9284da53eb27fc59757910853e3a5373a1c3885cc128e1948363afsize 7405123version https://git-lfs.github.com/spec/v1oid sha256:9f4d60c99e2a6da752bb8f4ae36adba693f2fda96d2491e8e138ecf900b022c8size 7447123version https://git-lfs.github.com/spec/v1oid sha256:3bc1b69bb07f7d0ce578df60734bdcaf1f57563024ab732e072d5efc559b099esize 7554123version https://git-lfs.github.com/spec/v1oid sha256:110fb17263894257f994070b72bff604895d23a5c3a4f04f74110f19f8f3792asize 7546123version https://git-lfs.github.com/spec/v1oid sha256:4b3e689126e615f225b0f75220f9460d1001c97ca1a565412fe47b235fb22eafsize 7554123version https://git-lfs.github.com/spec/v1oid sha256:eb96300d28e3e3ad8f44ff398188834416fb7a362124bcd14e6da93fff55ace4size 7403123version https://git-lfs.github.com/spec/v1oid sha256:309cee46e06210874c720b0bd2156ad8d777c08aa112a4701c2d9ba03c01f98dsize 7430123version https://git-lfs.github.com/spec/v1oid sha256:29668542aac2c66c2e0b3843dc7c0ebd3b0d58632ad1addbce2cf0e44a507b1fsize 7454123version https://git-lfs.github.com/spec/v1oid sha256:d432d9d6cf5e995ab960b34da220562a4360b1793e88f61d9fd1ff4b25485d73size 7443123version https://git-lfs.github.com/spec/v1oid sha256:2d37482ca9383990a9dbfc38dfc7de01e4748a5348fdf36d30afdf2e7a450babsize 7418123version https://git-lfs.github.com/spec/v1oid sha256:2086271398d48efc395454a400b8a2c8e3f6f2ad12a41a962cc566a98c005053size 7410123version https://git-lfs.github.com/spec/v1oid sha256:1af0c501fd028602a532e02a91edd463d6e4ef057f441f22d5dac77c52edb3besize 7417123version https://git-lfs.github.com/spec/v1oid sha256:f56824f86a4667bea4a9e06468159d14e75f7904697b670c2c8121ef81433b4bsize 7389123version https://git-lfs.github.com/spec/v1oid sha256:4278297ca733ac1f7ec97f373a8efa0d4928f63197ce5f2137143ff38140cdadsize 7399123version https://git-lfs.github.com/spec/v1oid sha256:561db811a817d6f8ce02face06327ee283107d0b76a065d69635d776fe0154adsize 10605123version https://git-lfs.github.com/spec/v1oid sha256:73c084b2548bd7b58dcedd5037c67032f2b96c083e370591a72c09afec6efe64size 10624123version https://git-lfs.github.com/spec/v1oid sha256:419b55874ea218623392f99161f77aebaba14576810c5a58a03231128d464b46size 10651123version https://git-lfs.github.com/spec/v1oid sha256:b5b8df359b633583c4cfcfddafa0b79d65f0ff3eeb47a5df17eb8796897ede69size 10633123version https://git-lfs.github.com/spec/v1oid sha256:71333581267ac42e6e8fd0e515304809da069d44c8bcb22f9fec51f1793a2adesize 10611123version https://git-lfs.github.com/spec/v1oid sha256:438513887a8fcab6d641005a9782af0924f1d533656470883539ca6b167c5937size 10622123version https://git-lfs.github.com/spec/v1oid sha256:89d4a27b5906fd0ed7c8acb6ed9f965e1448bd8b6da34d49a239e5dbfda1e85bsize 10618.gitattributes+1
README.md+51-29
code/README.md+213-128
code/scripts/ensemble.pyAdded+193
code/scripts/make_figures.py+212-177
code/scripts/report.py+282-248
code/scripts/run_benchmark.py+5
code/scripts/upload_hf.py+52-29
code/src/lnpbench/models/backbone.pyAdded+431
code/src/lnpbench/models/probe.pyAdded+135
code/src/lnpbench/models/seq_backbone.pyAdded+165
code/src/lnpbench/registry.py+39-8
code/src/lnpbench/trainer.py+38-9
figures/fig1_models.pdfAdded
figures/fig1_models.pngAdded

Large File Pointer Details
- SHA256: 68c6afc0c0c7e49b5997296f9a4804e8fa8bec49a19ceb01462d4e53f248a49b
- Pointer size: 131 Bytes
- Size of remote file: 142 kB
figures/fig2_per_study.pdfAdded
figures/fig2_per_study.pngAdded

Large File Pointer Details
- SHA256: b18a0e8e2d7401bcbab90e247d4d3c798461b565d0adc3fd031181e8f4dded7a
- Pointer size: 130 Bytes
- Size of remote file: 58.5 kB
figures/fig3_identity_shortcut.pdfAdded
figures/fig3_identity_shortcut.pngAdded

Large File Pointer Details
- SHA256: d096255aede3d0661abbfb05a55063b8d1ddd8b44b9f6cfe8197a0f7555770d5
- Pointer size: 131 Bytes
- Size of remote file: 126 kB
figures/fig4_calibration.pdfAdded+3
figures/fig4_calibration.pngAdded

Large File Pointer Details
- SHA256: b61c4b6ebe51451b15264d5b97bfe25532f14535218da30a90c8dcdfeefd505e
- Pointer size: 131 Bytes
- Size of remote file: 507 kB
results/REPORT.md+136-101
results/all_results.csv
results/benchmark_ablation.csv+12-6
results/benchmark_amine_proposed.csvAdded+4
results/benchmark_models.csvAdded+247
results/diagnosis_ladder.csvAdded+9
results/ensemble.csvAdded+417
results/paired_tests.csv+17-3
results/predictions/agile__BL_2023_fold0__s1.npzAdded+3
results/predictions/agile__BL_2023_fold0__s2.npzAdded+3
results/predictions/agile__BL_2023_fold1__s0.npzAdded+3
results/predictions/agile__BL_2023_fold1__s1.npzAdded+3
results/predictions/agile__BL_2023_fold1__s2.npzAdded+3
results/predictions/agile__BL_2023_fold2__s0.npzAdded+3
results/predictions/agile__BL_2023_fold2__s1.npzAdded+3
results/predictions/agile__BL_2023_fold2__s2.npzAdded+3
results/predictions/agile__BL_2023_fold3__s0.npzAdded+3
results/predictions/agile__BL_2023_fold3__s1.npzAdded+3
results/predictions/agile__BL_2023_fold3__s2.npzAdded+3
results/predictions/agile__BL_2023_fold4__s0.npzAdded+3
results/predictions/agile__BL_2023_fold4__s1.npzAdded+3
results/predictions/agile__BL_2023_fold4__s2.npzAdded+3
results/predictions/agile__LM_2019_fold0__s1.npzAdded+3
results/predictions/agile__LM_2019_fold0__s2.npzAdded+3
results/predictions/agile__LM_2019_fold1__s0.npzAdded+3
results/predictions/agile__LM_2019_fold1__s1.npzAdded+3
results/predictions/agile__LM_2019_fold1__s2.npzAdded+3
results/predictions/agile__LM_2019_fold2__s0.npzAdded+3
results/predictions/agile__LM_2019_fold2__s1.npzAdded+3