arXiv:2610.41899physics.chem-phOct 2026

Manuscript Offprint

arXiv:2610.41899

General-purpose foundation models surpass specialized ones on chemical property prediction tasks

Stepan N. Ostarkov, Gregorii A. Semakin, Ivan A. Bespalov, Michael G. Medvedev

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Foundation models (FMs) learn reusable representations from large collections of unlabeled data. In chemistry the corresponding data mainly consists of molecular structures, which are abundant, whereas experimental measurements are scarce. Chemical FMs such as ChemBERTa 1^{1} and MoLFormer 2^{2} were therefore trained on diverse molecular structures to enable fine-tuning on small experimental datasets (<100 datapoints in most realistic scenarios) and subsequent property prediction. At the same time, general-purpose FMs such as GPT-6 Astra and Claude Opus 5.5 were trained on virtually all publicly available data, including humankind's knowledge on molecular properties and laws governing them. Here we compare accuracies of chemical and general-purpose FMs on tasks from various areas of chemistry. Strikingly, general-purpose GPT-6 Astra outperforms the currently eligible chemical FMs on five physicochemical and quantum-chemical regression tasks when only 60 experimental datapoints are available. Only when provided 10x datapoints do the best chemical FMs reach performance of GPT-6 Astra: on 1,000 and 10,000 points they show performance on par with Astra on 60 and 1,000 points, respectively. Thus, counterintuitively, frontier general-purpose FMs are better suited for guiding chemical research in data-scarce areas than specialized chemical FMs, suggesting that learning relevant primitives (e.g. chemical structures) does not substitute training on relevant humankind knowledge.

Foundation models (FMs) acquire knowledge and capabilities through large-scale training and transfer them to a range of downstream tasks 3^{3}. For current large language models (LLMs), the training pipeline extends well beyond next-token prediction: it combines broad pretraining with instruction-following examples, human feedback, mathematical reasoning tasks, and training for tool use and agentic behavior. 4,5^{4,5} Although these stages target specific capabilities, they may also give rise to emergent abilities, such as reasoning about molecular geometry and molecular interactions. 6,7^{6,7}

The practical promise of an FM is that this prior training reduces the amount of task-specific data needed for a new prediction problem. Instead of learning everything from a small labelled dataset, a downstream predictor can draw on knowledge acquired during pretraining to make predictions when experimental data are limited. 8^{8} Thus, the value of an FM is determined by what additional information this training preserved for reuse.

In chemistry experimental data is particularly scarce, with most research decisions being based on <100 datapoints, which might well take several years to collect. Moreover, a dataset measured for one property does not automatically provide labels for another. Predicting solubility, enzyme inhibition, or electronic energies requires different training datasets. These factors make reuse of prior chemical knowledge attractive, especially when only a small set of compounds has been characterized. 9,10^{9,10}

This is where chemical FMs come into play. They have been extensively used across medicinal, environmental and materials chemistry, with ChemBERTa and MoLFormer original articles currently having 1700 and 1022 citations according to Google Scholar. In environmental toxicology, MoLFormer-XL and ChemBERTa-2 have been adapted to model PFAS bioactivity 11^{11}. In medicinal chemistry, MoLFormer helped select compounds for experimental screening against S. pneumoniae 12^{12},

1^{1} Corresponding author(-s): ostarkovstepan@gmail.com, medvedev.m.g@gmail.com.

as well as S. aureus and E. coli 13^{13}. Molecular representations also support formulation research: GROVER embeddings have been used to represent lipid components when predicting the transfection efficiency of mRNA-loaded lipid nanoparticles. 14^{14}

Training of chemical FMs is based on the fact that unlike experimental data, molecular structures can be generated at scale, so they are usually pretrained on objectives to reconstruct masked molecular tokens or graph attributes, or predict simple descriptors readily calculated from SMILES 1,15,16^{1,15,16}. Although these objectives expose models to molecular structures and easily computed properties, downstream tasks often require predictions that go beyond these pretraining targets. Chemical behavior depends on relationships between structure, interactions and physical conditions, quantitative account for which requires chemical understanding, mathematics, and reasoning. Learning the regularities of molecular structures may contribute to this understanding and suggest areas, where chemical FMs can be expected to excel: studies employing them frequently target biochemistry-related classification tasks and often include hundreds or thousands of data points: a setting rarely encountered in fresh areas of chemistry, where data is scarce and the target property is usually a number, not a label. Whether molecular pretraining supplies this broader foundation for regression tasks in areas other than biochemistry remains an open question.

Here, we compare frontier chemical FMs (see the list below) with frontier general-purpose FMs (GPT-6 Astra, Claude Opus 5.5, and Gemini 4 Argon) and classic human-crafted molecular representations, which were used long before the concept of FMs emerged.

The models were tested on six prediction tasks based on published and widely used benchmarks, with first five covering regression properties: (1) Lipophilicity index which is a physicochemical property very important in drug design, (2) ESOL benchmark for solubility in water, (3) FreeSolv benchmark for free energy of hydration, (4) energies of lowest unoccupied molecular orbital ( εLUMO\varepsilon_{LUMO}) from QM9, and (5) internal energies of molecules at 0K ( U0U_0) from QM9, and (6) BACE benchmark covering biochemical classification property – BACE1 protein inhibition – selected as a control where chemical FMs are expected to work well. To simulate the amount of data available in a realistic chemical project, we extracted 100 random datapoints (molecules and their properties) from each dataset and split them into training, validation, and test sets in proportion of 5:1:4. Thus, we consider that 60 experimental values are known (available for training the model) for each property. R2R^2 is used as a measure of performance on regression benchmarks (1-5), while for the only classification benchmark (BACE) we use 2×(ROC−AUC−0.5)2\times(ROC-AUC - 0.5) which, like R2R^2, equals 1 for perfect prediction, while 0 for both metrics correspond to predicting an average (0.5 positive class probability for classification or mean value for regression)

In frozen setting, each chemical FM (GIN15^{15}, GROVER17^{17}, MoLFormer, MoLFormer XL2^{2}, MoLFormer-c318^{18}, SELFformer19^{19}, CLAMP20^{20}, ChemFM-1B21^{21}, ChemBERTa-21^{1}, ChemBERTa-318^{18}, CheMeleon16^{16}) or human-crafted representation (RDKit descriptors22^{22} and Morgan fingerprints23^{23}) was used to compute molecular embeddings (vector representations) for all the molecules selected from each benchmark. Then prediction heads were trained and validated on the corresponding subsets (see Methods) and used to predict the corresponding property on the test subset. The following heads were considered: linear, MLP, XGBoost, Gaussian process with RBF or Matérn kernel, and two tabular FMs pretrained for tabular prediction: TabICLv24^{24} and TabPFN-3.525^{25}. To assess the quality of molecular representations emerged in general-purpose FMs, we also included Gemini Embedding 2, which was treated identically. Further we evaluated full fine-tuning26^{26} and low-rank adaptation (LoRA27^{27}) for all chemical FMs, using their own prediction heads.

General-purpose FMs were tested in a few-shot regime: they were prompted with a list of SMILES and experimental properties for all compounds in the train and validation subsets and asked to predict properties for compounds in the test subsets (also supplied as SMILES). Each benchmark was prompted separately. Detailed procedures and prompts are available in Methods and SI.

Figure 1 shows distributions of test scores for (1) the best (according to validation scores) combination of human-crafted (classic) baseline with a head which is not an FM – grey, (2) the best combination of a classic baseline with an FM head (TabICLv2 or TabPFN-3.5) – black, (3) the best combination of chemical FM, its adaptation and prediction head – blue, (4) the best combination of Gemini Embedding 2 and prediction head – pale purple, and (5-8) the three general-purpose foundation models – shades of purple. Light grey distributions show performance of general-purpose FMs under negative control when correct answers for train and validation molecules were randomly shuffled: good performance under these conditions would suggest that a model used information beyond the supplied labels, which may include prior target knowledge. All distributions are derived from 15 runs with identical parameters using differing splits between subsets. Source data for Figure 1 is available in SI.

Strikingly, GPT-6 Astra shows predictive performance higher than the best chemical FM on all test sets except for BACE (Fig. 1). Their performances are, respectively, 0.99 vs. 0.67 on total energy U₀, 0.85 vs. 0.53 on εLUMO, 0.97 vs. 0.63 on FreeSolv, 0.92 vs. -4.66 on ESOL, 0.60 vs. 0.28 on Lipophilicity, and 0.47 vs. 0.70 on BACE1 inhibition. Gemini 4 Argon mirrors behavior of GPT-6 Astra, but in most cases undershoots it. Claude Opus 5.5 also showed a very good performance (even overshooting GPT-6 Astra on ESOL and FreeSolv), but its good predictions under negative control (with shuffled data) suggest that it might have memorized correct answers for these tests during its training; it also refused to answer some prompts regarding ESOL, Lipophilicity and BACE. These results suggest that a general-purpose LLM can serve as a strong starting point for these chemical prediction tasks, enabling high performance without training a new chemistry-specific model.

Figure

Fig. 1 | Molecular property prediction from 60 labelled datapoints. Scores are R2R^{2} for regression and 2×ROC−AUC−12 \times ROC-AUC - 1 for classification (BACE); dashed lines mark randomly guessing the class for classification or predicting the mean for regression. Boxes show the median and interquartile range; whiskers span the observed scores. Individual point markers are omitted. Grey boxes show performance after shuffling the labels of labelled datapoints. Downward triangles denote points below y=0, see fig S1 for full data. Red asterisks (*) denote suspected memorization (see Methods for details). 'Refused' indicates that the model declined to predict a target property in all fifteen attempts; 'Partially refused' indicates that the model declined to predict a target property in some attempts, see SI for details.

However, chemical FMs retain an advantage on BACE in the current comparison. ChemBERTa-2 paired with a TabPFN head reaches mean ROC-AUC of 0.85, compared with 0.74 for Astra, and leads in all 15 repeats. This advantage may be largely attributed to the fact that datasets frequently used for chemical foundation model training (PubChem, ZINC, ChEMBL) usually consist of biochemically relevant structures.

Unexpectedly high performance of all general-purpose FMs on shuffled labels (negative control) deserves a separate discussion. Frontier models, such as Opus 5.5., supplied with a nonsensical input, may decide to ignore it, treating it as misaligned with their internal world model and instead proceed to reason straight from the structure. Indeed, a chemist supplied with examples of highly polar molecules labeled as hydrophobic and vice versa would still remember that usually highly polar molecules are hydrophilic. Thus, the observed high performances do not necessarily imply memorization.

The general-purpose embedding models provide a complementary route to prediction. Since embeddings from proprietary frontier LLMs, such as Opus and Astra, cannot be obtained, we selected a dedicated embedding model, gemini-embedding-2 for comparison. Its performance is quite low, sometimes near-random, and it appears on par with chemical FMs only for εLUMO\varepsilon_{LUMO}. This finding highlights the importance of reasoning performed by general-purpose FMs and their reliance on prior knowledge in data-scarce settings.

Pretraining of the prediction head also affects their performance. For the same RDKit descriptors, using TabPFN or TabICL as a prediction head raises mean R2R^2 from 0.57 to 0.64 for ESOL, from 0.65 to 0.86 for FreeSolv, and from 0.52 to 0.70 for εLUMO\varepsilon_{LUMO}, suggesting tabular FMs as highly-valuable instruments for few-shot molecular predictions. Tabular models used a variety of available tabular data in the pretraining stage. Such data could have included chemical or chemically-relevant tables, allowing these FMs to preserve valuable chemical knowledge, just as general-purpose FMs do.

As discussed above, the number of relevant experimental data for any particular chemical task rarely exceeds a hundred. There are, however, some better explored chemical tasks, for which larger datasets exist: the six benchmarks we have extracted our test sets from here provide examples of such. Moreover, novel experimental approaches including self-driving labs28^{28} and microfluidics29,30^{29,30} potentially allow scientists to collect data at previously unprecedented scale. It is therefore interesting to analyze how performance of the methods discussed above changes when the number of datapoints grows.

We therefore examined (Fig. 2) how additional labelled data affects the models' performance for εLUMO\varepsilon_{LUMO}, for which no model reaches near-exact accuracy at 60 datapoints (Fig. 1) and there are plenty of datapoints available in QM9. Chemical FMs were trained and validated with frozen embeddings and a prediction head, full fine-tuning, and low-rank adaptation, on 100, 1,000, and 10,000 datapoints (with 9:1 train-validation split) and then tested on 25, 250, or 2,500 datapoints, respectively. Models based on RDKit descriptors and Gemini Embeddings 2 were trained and tested on the same subsets. GPT-6 Astra was tested on predicting εLUMO\varepsilon_{LUMO} of 250 molecules when provided 1,000 labelled ones.

With 100 labeled molecules provided, the strongest chemical FM result reaches R2R^2 0.72, below GPT-6 Astra supplied with 60 labels, which shows performance of 0.85. Notably, in this setting both full fine tuning and LoRA provide worse results than prediction heads on top op a frozen chemical FM. At 1000 labelled datapoints GPT-6 Astra is still the best model, but some chemical FMs come very close to it: 0.93 vs. 0.91 for SELFormer with LoRA. Strikingly, this performance of SELFormer provided with 1,000 datapoints is only 0.06 above performance of GPT-6 Astra provided with only 60 datapoints. Upon proceeding to 10,000 labelled molecules, accuracy of chemical FMs continue to rise and many of them converge above 0.9: ChemFM-1B with LoRA reaches 0.97. LoRA generally helps chemical FMs more than full fine-tuning in this study; the latter sometimes deteriorates the model, particularly when data count is low (see GIN, CLAMP, and ChemBERTa-2) or may lead to divergence during training, as it was observed for ChemFM-1B. When transitioning from 60 to 100 data points, some models (MoLFormer-c3 in full fine-tune regime, as well as ChemBERTa-2 and CLAMP with LoRA) exhibit a performance drop, highlighting sensitivity of FM adaptation to data shift.

Figure

Fig. 2 | Substantial amounts of additional labelled data can improve chemical foundation models performance for εLUMO\varepsilon_{LUMO} property prediction. Mean R2R^{2} across five repeats is shown for frozen representations (left), full fine-tuning (middle) and low-rank adaptation (LoRA, right), at 60, 100, 1000 and 10000 molecules in training and validation subsets together. Black lines show RDKit descriptors with the best-performing prediction head. GPT-6 Astra's performance corresponds to few-shot prediction and is identical in all three plots. Downward triangles mark values below the plotted R2R^{2} range; Supplementary Fig. 2 shows the same results without clipping. ChemFM-1B diverged to NaN in all our full-fine-tuning attempts, except for 60 labelled datapoints.

Notably, as a dataset size continues to rise, few-shot learning becomes less feasible, since model reasoning scales accordingly and starting from some dataset scale it may not fit within the fixed output-length cap. A fitted molecular predictor, in its turn, can evaluate queries in batches. Together with the rise of chemical FMs performance for larger datasets, this opens a niche where they can excel.

For the more common data-scarce regression regime, however, general-purpose FMs and even human-crafted descriptors show higher performance. Supply a general-purpose FM, such as GPT-6 Astra, with the property name, units, all the properties that you deem reasonable, along with properly chosen molecular examples, and evaluate on held-out query molecules. These steps describe the workflow tested here and do not require a new pretraining campaign.

In a more general sense, our results suggest that the much broader training of general-purpose FMs allowed them to become better in the low-data regime, than much more specialized chemical FMs. While the latter were trained primarily on molecular structures, training corpuses of the former contained much more declarative chemical knowledge, including various properties and known scientific laws. Our results suggest that knowing which objects exist in a domain, while definitely not useless, does not substitute knowing their properties and relations between them. Training only on these objects (e.g. molecules) may be compared to training an LLM on the list of words without any sentences. Thus, a new paradigm for training specialized chemical FMs is required; meanwhile, general-purpose FMs remain the best option when data is scarce.

Data availability

The benchmark datasets are available from the sources cited in Methods. Source data for the figures is available at https://github.com/TheorChemGroup/FewShot4Chem

References (31)