Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Improving the reliability of molecular string representations for generative chemistry

View through CrossRef
Abstract Generative modeling for chemistry has advanced rapidly in recent years, but this surge in popularity raises a foundational question: which molecular representation is best suited for modern machine learning models? Despite not being designed for generative tasks, SMILES remain the most commonly used string-based representation. However, while SMILES follow strict syntactic rules, grammatically correct SMILES strings do not always correspond to valid molecules. SELFIES were introduced as an alternative that addresses this limitation by ensuring that every string of SELFIES tokens represents to a valid molecule. In this study, we comprehensively evaluate the limitations of both SMILES and SELFIES as representations for generative models. We define two key criteria for robust molecular generation: viability, generated strings represent novel, unique molecules with correct valence, and fidelity, the distribution of physicochemical properties from sampled molecules resembles that of the training data. We find that approximately one-fifth of molecules generated using canonical SMILES are invalid, failing the viability criterion. In contrast, all SELFIES-generated molecules are viable, but they deviate significantly from the training distribution, indicating low fidelity. To address these limitations, we develop data augmentation procedures for both representations. While simplifying the SELFIES grammar yields only modest gains in fidelity, our stochastic augmentation method for SMILES, ClearSMILES, significantly improves both viability and fidelity. ClearSMILES simplifies syntax by reducing the vocabulary size and explicitly encoding aromaticity via Kekulé SMILES, making it easier string representations for models to process. Using ClearSMILES, the rate of invalid samples decreases by an order of magnitude, from 20% to 2.2%, and fidelity to the training distribution is also moderately improved. Generative chemistry has seen rapid development recently. However, models based on string representations of molecules still rely largely on SMILES 1 that have not been developed for this context and SELFIES 2 who were introduced to reduce those problems. The goal of this study is to first analyze the difficulty encountered by a small generative model when using SMILES and SELFIES. Our study found that SELFIES and canonical SMILES 3 are not fully reliable representations for a small generative model, i.e. do not ensure concurrently the viability and fidelity of samples. Viable samples represent novel, unique molecules with correct valence, while fidelity is efficient distribution learning of key physico-chemical properties. 4 In fact, 20% of the samples generated using canonical SMILES input representation do not correspond to valid molecules. In contrast, samples generated using SELFIES were all viable but where not able to reproduce as well the distribution of physico-chemical properties as SMILES. As a mitigation strategy for the previously identified problems, we have developed data augmentation procedures for both SELFIES and SMILES. Simplifying the complex syntax of SELFIES yielded only marginal improvements in string stability and overall fidelity to the training set. For SMILES, we developed a stochastic data augmentation procedure called ClearSMILES, which reduces the vocabulary size needed to represent a SMILES dataset, explicitly represents aromaticity via Kekulé SMILES, 3 and reduces the effort required by deep learning models to process SMILES. ClearSMILES reduced the rate of invalid samples by an order of magnitude, from 20% to 2.2%, and improved the fidelity of samples to the training set.
Title: Improving the reliability of molecular string representations for generative chemistry
Description:
Abstract Generative modeling for chemistry has advanced rapidly in recent years, but this surge in popularity raises a foundational question: which molecular representation is best suited for modern machine learning models? Despite not being designed for generative tasks, SMILES remain the most commonly used string-based representation.
However, while SMILES follow strict syntactic rules, grammatically correct SMILES strings do not always correspond to valid molecules.
SELFIES were introduced as an alternative that addresses this limitation by ensuring that every string of SELFIES tokens represents to a valid molecule.
In this study, we comprehensively evaluate the limitations of both SMILES and SELFIES as representations for generative models.
We define two key criteria for robust molecular generation: viability, generated strings represent novel, unique molecules with correct valence, and fidelity, the distribution of physicochemical properties from sampled molecules resembles that of the training data.
We find that approximately one-fifth of molecules generated using canonical SMILES are invalid, failing the viability criterion.
In contrast, all SELFIES-generated molecules are viable, but they deviate significantly from the training distribution, indicating low fidelity.
To address these limitations, we develop data augmentation procedures for both representations.
While simplifying the SELFIES grammar yields only modest gains in fidelity, our stochastic augmentation method for SMILES, ClearSMILES, significantly improves both viability and fidelity.
ClearSMILES simplifies syntax by reducing the vocabulary size and explicitly encoding aromaticity via Kekulé SMILES, making it easier string representations for models to process.
Using ClearSMILES, the rate of invalid samples decreases by an order of magnitude, from 20% to 2.
2%, and fidelity to the training distribution is also moderately improved.
Generative chemistry has seen rapid development recently.
However, models based on string representations of molecules still rely largely on SMILES 1 that have not been developed for this context and SELFIES 2 who were introduced to reduce those problems.
The goal of this study is to first analyze the difficulty encountered by a small generative model when using SMILES and SELFIES.
Our study found that SELFIES and canonical SMILES 3 are not fully reliable representations for a small generative model, i.
e.
do not ensure concurrently the viability and fidelity of samples.
Viable samples represent novel, unique molecules with correct valence, while fidelity is efficient distribution learning of key physico-chemical properties.
4 In fact, 20% of the samples generated using canonical SMILES input representation do not correspond to valid molecules.
In contrast, samples generated using SELFIES were all viable but where not able to reproduce as well the distribution of physico-chemical properties as SMILES.
As a mitigation strategy for the previously identified problems, we have developed data augmentation procedures for both SELFIES and SMILES.
Simplifying the complex syntax of SELFIES yielded only marginal improvements in string stability and overall fidelity to the training set.
For SMILES, we developed a stochastic data augmentation procedure called ClearSMILES, which reduces the vocabulary size needed to represent a SMILES dataset, explicitly represents aromaticity via Kekulé SMILES, 3 and reduces the effort required by deep learning models to process SMILES.
ClearSMILES reduced the rate of invalid samples by an order of magnitude, from 20% to 2.
2%, and improved the fidelity of samples to the training set.

Related Results

Domination of Polynomial with Application
Domination of Polynomial with Application
In this paper, .We .initiate the study of domination. polynomial , consider G=(V,E) be a simple, finite, and directed graph without. isolated. vertex .We present a study of the Ira...
Parameterized Strings: Algorithms and Applications
Parameterized Strings: Algorithms and Applications
The parameterized string (p-string), a generalization of the traditional string, is composed of constant and parameter symbols. A parameterized match (p-match) exists between two p...
Effect of Generative Instructional Strategy on Secondary School Students’ Achievement in Chemistry in Anambra State
Effect of Generative Instructional Strategy on Secondary School Students’ Achievement in Chemistry in Anambra State
This study investigated the effects of generative instructional strategy on secondary school students’ achievement in Chemistry. Two research questions guided the study and two hyp...
Axial Excitation Tool String Modelling
Axial Excitation Tool String Modelling
Current types of axial excitation tool have been shown to produce beneficial results — in terms of load transfer to the bit, general reductions in string friction and reductions in...
18-3/4 in. FullBore Wellhead System
18-3/4 in. FullBore Wellhead System
Abstract This paper describes the development of full-bore wellheads, a new 18-3/4 in.15,000 psi W.P. system, from conception to field installation. The wellheadw...
7 th International Symposium on Enabling Technologies for Life Sciences (ETP)
7 th International Symposium on Enabling Technologies for Life Sciences (ETP)
The seventh in the series of ETP Symposia (see Rapid Communications in Mass Spectrometry 2012, 26 , ...
Lateral Vibration Analysis of Oil Production Casing String in Deepwater Shallow Under Earthquake Excitations
Lateral Vibration Analysis of Oil Production Casing String in Deepwater Shallow Under Earthquake Excitations
Abstract The majority of deep-sea oil and gas exploration areas are located in seismic active zone, such as the South China Sea and Suez basin in Egypt. As casing st...

Back to Top