Representation and Model Contributions on Small Molecular Benchmarks: Controlled Comparisons and External Evaluation
Organizations: Faculty of Computing and Artificial Intelligence, Cairo University, Giza, Egypt · Faculty of Computers and Information Technology, Future University, Cairo, Egypt · Faculty of Computers and Artificial Intelligence, Benha University, Banha, Egypt
Abstract
Improvements in molecular property prediction are usually attributed to the model, although part of the gain may come from the molecular representation. New models are commonly benchmarked against a random forest (RF) trained on a molecular fingerprint, a comparison that changes the model and the representation at the same time. We separate the two contributions with a two-by-two factorial design in which the RF and a second model (CatBoost or the tabular foundation models TabPFN and TabFM) are each trained on a fingerprint and on RDKit descriptors, and each effect is tested with a paired scaffold bootstrap. Seven small MoleculeNet datasets (3 regression, 4 classification) are evaluated on the published split of a recent graph transformer (DGT), on 10 additional scaffold splits and on external datasets. For solubility and lipophilicity, the representation effect exceeds the model effect in every main factorial design, in all three evaluations. For hydration free energy, the result depends on the starting fingerprint: from ECFP4 the representation effect is larger, and from MACCS neither effect is significantly larger. On the classification datasets, only one main factorial design has a significant difference between the two effects. Although the model effect is smaller on solubility and lipophilicity, TabFM outperforms the RF on all 7 datasets when both use RDKit descriptors. With RDKit descriptors in place of a fingerprint, the RF baseline reported for DGT surpasses the transformer's published solubility score. We recommend that model comparisons evaluate classical baselines on more than one representation and report the representation and model effects separately.
Figures & tables
| Question | Answered by |
|---|---|
| How much did each change improve the score? | Representation effect , model effect |
| Which change contributed more? | |
| Does the model step depend on the representation? | Interaction |
| Is the representation larger in either order? | |
| Could a difference come from the choice of test molecules? | Scaffold bootstrap, 95% interval |
| Is it still significant after testing 7 datasets? | Holm correction |
| From MACCS | From ECFP4 | |||||
| Dataset | TabFM | TabPFN | CatBoost | TabPFN | CatBoost | |
| RMSE | ESOL | |||||
| FreeSolv | ||||||
| Lipophilicity | ||||||
| AUC | BBBP | |||||
| BACE | ||||||
| Regression: RMSE | Classification: ROC-AUC | ||||||
| Model | ESOL | FreeSolv | Lipo | BBBP | BACE | ClinTox | SIDER |
| rdkit2d | |||||||
| RF | |||||||
| CatBoost | |||||||
| TabPFN | |||||||
| TabFM | |||||||
| Dataset | RF, ECFP4 | RF, RDKit descriptors | DGT |
|---|---|---|---|
| ESOL | |||
| FreeSolv | |||
| Lipophilicity |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Molecules | Tasks | Train | Valid | Test |
|---|---|---|---|---|---|
| ESOL | 1,128 | 1 | 902 | 113 | 113 |
| FreeSolv | 642 | 1 | 513 | 64 | 65 |
| Lipophilicity | 4,200 | 1 | 3,360 | 420 | 420 |
| BBBP | 2,039 | 1 | 1,631 | 204 | 204 |
| BACE | 1,513 | 1 | 1,210 | 151 | 152 |
| ClinTox | 1,480 | 2 | 1,184 | 148 | 148 |
| Dataset | Repr. effect | Model effect | Repr. model | Interaction | S |
| RF TabFM, MACCS rdkit2d | |||||
| ESOL (RMSE) | [ , ] | [ , ] | [ , ] | [ , ] | 10 |
| FreeSolv (RMSE) | [ , ] | [ , ] | [ , ] | [ , ] | 4 |
| Lipophilicity (RMSE) | [ , ] | [ , ] | [ , ] | [ , ] | 10 |
| BBBP (AUC) | [ , ] | [ , ] | [ , ] | [ , ] | 6 |
| BACE (AUC) | [ , ] | [ , ] | [ , ] | [ , ] | 6 |
| Solubility | Lipophilicity | ||||
|---|---|---|---|---|---|
| Model | Representation | ESOL test | External | Lipophilicity test | External |
| RF | ECFP4 | ||||
| RF | MACCS | ||||
| RF | morgan512 | ||||
| RF | RDKit descriptors | ||||
| RF | 214 RDKit descriptors | ||||
| Models | CatBoost TabPFN | CatBoost TabFM | TabPFN TabFM | CatBoost TabPFN | RF TabPFN | RF CatBoost | CatBoost TabPFN |
|---|---|---|---|---|---|---|---|
| Representations | MACCS rdkit2d | MACCS rdkit2d | MACCS rdkit2d | ECFP4 rdkit2d | ECFP4 MACCS | ECFP4 MACCS | ECFP4 MACCS |
| ESOL (RMSE) | |||||||
| FreeSolv (RMSE) | |||||||
| Lipophilicity (RMSE) | |||||||
| BBBP (AUC) | |||||||
| BACE (AUC) |
| Regression: RMSE | Classification: ROC-AUC | ||||||
| Models | ESOL | FreeSolv | Lipo | BBBP | BACE | ClinTox | SIDER |
| ECFP4 rdkit2d_214 | |||||||
| RF CatBoost | |||||||
| RF TabPFN | |||||||
| MACCS rdkit2d_214 | |||||||
| RF CatBoost | |||||||
| RF | TabPFN | TabFM | CatBoost | ||||
|---|---|---|---|---|---|---|---|
| Dataset | ECFP4 | MACCS | ECFP4 | MACCS | MACCS | ECFP4 | MACCS |
| ESOL (RMSE) | (10) | (10) | (10) | (10) | (10) | (10) | (10) |
| FreeSolv (RMSE) | (10) | (4) | (10) | (7) | (7) | (10) | (7) |
| Lipophilicity (RMSE) | (10) | (10) | (10) | (10) | (10) | (10) | (10) |
| BBBP (AUC) | (8) | (9) | (8) | (10) | (9) | (8) | (7) |
| BACE (AUC) | (2) | (6) | (9) | (8) | (8) | (6) | (4) |
| Representation step | Model step | Designs (of 5) | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Dataset | Half | Molecules | Similarity | within RF | within TabFM | on MACCS | on rdkit2d | Published | Seeded (mean) |
| ESOL | high | 57 | 5 | ||||||
| low | 56 | 5 | |||||||
| FreeSolv | high | 33 | 2 | ||||||
| low | 32 | 2 | |||||||
| Lipophilicity | high | 210 | 1 | ||||||
| vs RF | vs TabPFN | vs Chemprop | vs Chemprop + rdkit2d | |||||
|---|---|---|---|---|---|---|---|---|
| Dataset | Difference [CI] | W | Difference [CI] | W | Difference [CI] | W | Difference [CI] | W |
| ESOL (RMSE) | [ , ] | 10 | [ , ] | 6 | [ , ] | 10 | [ , ] | 7 |
| FreeSolv (RMSE) | [ , ] | 10 | [ , ] | 7 | [ , ] | 10 | [ , ] | 10 |
| Lipophilicity (RMSE) | [ , ] | 10 | [ , ] | 8 | [ , ] | 6 | [ , ] | 8 |
| BBBP (AUC) | [ , ] | 8 | [ , ] | 5 | [ , ] | 9 | [ , ] | 8 |
| BACE (AUC) | [ , ] | 4 | [ , ] | 5 | [ , ] | 9 | [ , ] | 10 |
| vs RF on ECFP4 | vs RF on rdkit2d | |||
|---|---|---|---|---|
| Dataset | Difference [CI] | W | Difference [CI] | W |
| ESOL (RMSE) | [ , ] | 10 | [ , ] | 3 |
| FreeSolv (RMSE) | [ , ] | 10 | [ , ] | 6 |
| Lipophilicity (RMSE) | [ , ] | 10 | [ , ] | 10 |
| BBBP (AUC) | [ , ] | 5 | [ , ] | 3 |
| BACE (AUC) | [ , ] | 2 | [ , ] | 2 |
| Representation | graph | rdkit2d | rdkit2d | rdkit2d | MACCS | MACCS | ECFP4 |
|---|---|---|---|---|---|---|---|
| Dataset | DGT | TabFM | TabPFN | TabFM+ | TabFM | TabPFN | TabPFN |
| ESOL (RMSE) | T | T | T | D | |||
| FreeSolv (RMSE) | T | T | T | T | |||
| Lipophilicity (RMSE) | D | D | D | ||||
| BBBP (AUC) | T | T | |||||
| BACE (AUC) |
| Model | Device | Fit (s) | Predict (s) | RAM (GB) | GPU (GB) |
|---|---|---|---|---|---|
| ESOL (1,128 molecules) | |||||
| RF | CPU | – | |||
| CatBoost | CPU | – | |||
| TabPFN | GPU | ||||
| TabFM | GPU | ||||
| Chemprop | GPU | ||||
Molecular Property Prediction
Molecular property prediction estimates chemical, physical, and biological properties from molecular structure and context.
See all 229 papers