ChemFM as a Scaling Law Guided Foundation Model Pre-trained on Informative Chemicals
Feiyang Cai, Katelin Zacour, Tianyu Zhu, Tzuen-Rong Tzeng, Yongping Duan, Ling Liu, Srikanth Pilla, Gang Li, Feng Luo
TL;DR
ChemFM presents a $3$-billion-parameter chemical foundation model trained on $178$ million UniChem molecules using self-supervised causal language modeling, with a focus on scaling laws to identify UniChem as the more informative pre-training corpus compared with ZINC20. The model demonstrates strong generalization across 34 property-prediction datasets, conditional molecule generation, and reaction prediction, while enabling data-efficient fine-tuning via LoRA. Key findings include high unconditional-generation validity and novelty, substantial improvements over state-of-the-art on MoleculeNet and ADMET benchmarks, and competitive or superior performance on antibiotic discovery and USPTO reaction tasks. The work highlights the potential of a single, unified chemical foundation model to generalize across diverse chemistries with modest labeled data, though it notes limitations in exploration of chemical space and inference speed, pointing to directions like distillation and broader downstream tasks for future work.
Abstract
Traditional AI methods often rely on task-specific model designs and training, which constrain both the scalability of model size and generalization across different tasks. Here, we introduce ChemFM, a large foundation model specifically developed for chemicals. By conducting a series of scaling experiments, we identify UniChem as the informative molecular database for pre-training the foundation model. ChemFM comprises 3 billion parameters and is pre-trained on 178 million molecules using self-supervised causal language modeling to extract generalizable molecular representations. This model can be adapted to diverse downstream chemical applications using either full-parameter or parameter-efficient fine-tuning methods. ChemFM consistently outperforms state-of-the-art task-specific AI models across all tested tasks. Notably, it achieves up to 67.48% performance improvement across 34 property prediction benchmarks, up to 33.80% reduction in mean average deviation between conditioned and actual properties of generated molecules in conditional molecular generation tasks, and up to 3.7% top-1 accuracy improvement across 4 reaction prediction datasets. Moreover, ChemFM demonstrates its superior performance in predicting antibiotic activity and cytotoxicity, highlighting its potential to advance the discovery of novel antibiotics. Furthermore, we demonstrate that, as a foundation model, ChemFM exhibits strong data efficiency, requiring significantly fewer labeled training samples to achieve state-of-the-art performance. We anticipate that ChemFM will significantly advance chemistry research by providing a foundation model capable of effectively generalizing across a broad range of tasks with minimal additional training.
