ChemBERTa-2: Towards Chemical Foundation Models
About
Large pretrained models such as GPT-3 have had tremendous impact on modern natural language processing by leveraging self-supervised learning to learn salient representations that can be used to readily finetune on a wide variety of downstream tasks. We investigate the possibility of transferring such advances to molecular machine learning by building a chemical foundation model, ChemBERTa-2, using the language of SMILES. While labeled data for molecular prediction tasks is typically scarce, libraries of SMILES strings are readily available. In this work, we build upon ChemBERTa by optimizing the pretraining process. We compare multi-task and self-supervised pretraining by varying hyperparameters and pretraining dataset size, up to 77M compounds from PubChem. To our knowledge, the 77M set constitutes one of the largest datasets used for molecular pretraining to date. We find that with these pretraining improvements, we are competitive with existing state-of-the-art architectures on the MoleculeNet benchmark suite. We analyze the degree to which improvements in pretraining translate to improvement on downstream tasks.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Molecular property prediction | MoleculeNet BBBP (scaffold) | ROC AUC69.8 | 117 | |
| Molecular property prediction | MoleculeNet HIV (scaffold) | ROC AUC79.3 | 66 | |
| molecule property prediction | MoleculeNet (scaffold split) | BBBP74.2 | 58 | |
| Molecular Property Classification | MoleculeNet BBBP | ROC AUC72.8 | 41 | |
| Molecular Property Classification | MoleculeNet BACE | ROC AUC79.9 | 36 | |
| Classification | MoleculeNet BBBP (test) | ROC AUC0.742 | 30 | |
| Molecular Property Classification | BACE (MoleculeNet) scaffold (test) | ROC-AUC0.735 | 30 | |
| Binary Classification | MoleculeNet ClinTox DeepChem (test) | ROC AUC60.1 | 27 | |
| Molecular Property Classification | MoleculeNet ClinTox | ROC-AUC56.3 | 27 | |
| Regression | MoleculeNet Lipophilicity (test) | RMSE0.744 | 25 |