JOURNAL ARTICLE

BartSmiles: Generative Masked Language Models for Molecular Representations

Abstract

We discover a robust self-supervised strategy tailored toward molecular representations for generative masked language models through a series of tailored, in-depth ablations. Using this pretraining strategy, we train BARTSmiles, a BART-like model with an order of magnitude more compute than previous self-supervised molecular representations. In-depth evaluations show that BARTSmiles consistently outperforms other self-supervised representations across classification, regression, and generation tasks, setting a new state-of-the-art on eight tasks. We then show that when applied to the molecular domain, the BART objective learns representations that implicitly encode our downstream tasks of interest. For example, by selecting seven neurons from a frozen BARTSmiles, we can obtain a model having performance within two percentage points of the full fine-tuned model on task Clintox. Lastly, we show that standard attribution interpretability methods, when applied to BARTSmiles, highlight certain substructures that chemists use to explain specific properties of molecules. The code and pretrained model are publicly available.

Keywords:
Interpretability Computer science Generative model Generative grammar Task (project management) Artificial intelligence Language model Code (set theory) ENCODE Machine learning Natural language processing Series (stratigraphy) Set (abstract data type)

Metrics

16
Cited By
2.37
FWCI (Field Weighted Citation Impact)
40
Refs
0.90
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Machine Learning in Materials Science
Physical Sciences →  Materials Science →  Materials Chemistry
Computational Drug Discovery Methods
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Protein Structure and Dynamics
Life Sciences →  Biochemistry, Genetics and Molecular Biology →  Molecular Biology
© 2026 ScienceGate Book Chapters — All rights reserved.