arrow
Return

MolEncoder: Improved Masked Language Modeling for Molecules

delete2026-01-01
delete0
PRE
AI
F
Fabian P. Krüger *
N
Nicklas Österbacka
M
Mikhail Kabeshov
O
Ola Engkvist
I
Igor V. Tetko
DOI:10.1007/978-3-032-04552-2_6delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Predicting molecular properties is an important challenge in drug discovery. Machine learning methods, particularly those based on transformer architectures, have become increasingly popular for this task by learning molecular representations directly from chemical structure [1, 2]. Motivated by progress in natural language processing, many recent approaches apply models of the BERT (Bidirectional Encoder Representations from Transformers) architecture [3] to molecular data using SMILES as the input format [4-9]. In this study, we revisit core design assumptions that originate in natural language processing but are often carried over to molecular tasks without modification. We explore how variations in masking strategies, pretraining dataset size, and model size influence downstream performance in molecular property prediction. Our findings suggest that common practices inherited from natural language processing do not always yield optimal results in this setting. In particular, we observe that increasing the masking ratio can lead to significant improvements, while scaling up the model or dataset size results in stagnating gains despite higher computational cost (Fig. 1). Building on these observations, we develop MolEncoder, a BERT-style model that achieves improved performance on standard benchmarks while remaining more efficient than existing approaches. These insights highlight meaningful differences between molecular and textual learning settings. By identifying design choices better suited to chemical data, we aim to support more effective and efficient model development for researchers working in drug discovery and related fields.
Keywords:
Molecular property prediction
BERT-style models
Masking strategies
SMILES
Drug discovery

Journal

A
ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING. ICANN 2025 INTERNATIONAL WORKSHOPS AND SPECIAL SESSIONS, PT V
IF:
0
Papers:
21
Citations:
0

Organization

C
chalmers university of technology
Scholars:
1.5W
Papers: 1.6W
Citations: 10
A
astrazeneca
Scholars:
3.2K
Papers: 845
Citations: 172