← Latest papers
💻 computer science

Molecular Property Prediction from SMILES and SELFIES Sequences

This study systematically evaluates SMILES and SELFIES molecular representations using 50 transformer configurations on seven 3D-derived properties, revealing that SMILES consistently outperforms SELFIES, model depth enhances performance on complex tasks, and multi-task learning benefits classification while hindering regression.

Original authors: Rokas Garbacauskas, Stepas Toliautas

Published 2026-11-20
📖 5 min read🧠 Deep dive

Original authors: Rokas Garbacauskas, Stepas Toliautas

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the world of chemistry, molecules are often described as tiny, three-dimensional sculptures made of atoms connected by bonds. To understand how a drug might work or how a new material could behave, scientists traditionally need to know the exact shape of these sculptures. Calculating this shape is a slow, expensive process that requires powerful computers to simulate the laws of physics for every single atom. Because of this, researchers have long relied on text-based shortcuts to describe molecules. Two of the most common ways to write these chemical stories are called SMILES and SELFIES. SMILES is like a standard chemical shorthand that humans have used for decades, while SELFIES is a newer, more rigid code designed to ensure that every string of characters translates back into a valid molecule, even if the string is randomly scrambled. The big question for modern science is whether these text strings can do more than just store information; can they actually teach a computer to predict the physical properties of a molecule without ever seeing its 3D shape?

A team of researchers at Vilnius University set out to answer this by building a series of artificial intelligence models to read these chemical strings and guess the properties of the molecules they represent. They did not just look at one type of property; they tested the models on seven different challenges, ranging from counting how many rings are in a molecule to determining its overall symmetry and whether it has a specific "handedness" that affects how it interacts with the human body. To train these models, the scientists used a massive library of nearly four million molecules, for which the correct answers had already been calculated using high-level physics simulations. They fed the text strings into a type of AI architecture known as a transformer, which is the same kind of technology that powers modern language tools, but adapted here to understand chemical grammar instead of human language.

The researchers tested dozens of different setups, changing the length of the text strings, the complexity of the AI brain, and the way the different prediction tasks were grouped together. They wanted to see if the newer, more rigid SELFIES code was better than the traditional SMILES code, and whether making the AI model deeper and more complex would help it solve harder problems. The results were clear and consistent: the traditional SMILES code worked better than SELFIES for every single property the team tested. While SELFIES was designed to be safer for generating new molecules, it turned out to be less effective at helping the AI understand the structural details needed to predict physical traits. The SMILES strings, which map more directly to how chemists think about atoms and bonds, allowed the models to learn the patterns of molecular structure more efficiently.

The study also revealed that the size of the AI model mattered, but only for the difficult tasks. For simple jobs, like counting the number of rings in a molecule, a small, shallow model was just as good as a large, deep one. However, for complex properties that require understanding the entire molecule at once, such as its overall symmetry or its three-dimensional shape, the larger models with more layers of processing performed significantly better. The researchers found that these deeper models did not get confused or memorize the data in a way that hurt their performance; instead, they used their extra capacity to grasp the global structure of the molecules. This suggests that for complex chemical reasoning, bigger is indeed better, provided the task actually requires that level of depth.

Another surprising finding concerned how the AI handled multiple tasks at once. When the models were asked to predict several classification properties together—such as symmetry and chirality—they actually improved, sharing knowledge between the tasks to become more accurate. However, when the models tried to predict continuous numerical values, like the angles between rings, doing multiple tasks together made them worse. It appears that the type of thinking required to categorize a molecule is different from the type needed to measure its geometry, and forcing the AI to do both simultaneously created a conflict that hurt its ability to measure accurately. The team also tested a more complex design where the AI would pass information from one prediction to the next in a chain, but this added complexity offered no advantage over a simpler approach where all predictions happened side-by-side.

Ultimately, this work provides a practical roadmap for how to use artificial intelligence in chemistry. It shows that for predicting molecular properties, the old-fashioned text strings are still the most effective tool, and that the best AI design depends entirely on the difficulty of the question being asked. By using the right text format and the right size of model, scientists can now predict a wide range of molecular behaviors in milliseconds, a speed that would be impossible if they had to calculate the full 3D shape for every single molecule. This opens the door to screening millions of potential drug candidates or materials in the time it used to take to study just a handful, accelerating the discovery of new medicines and materials without the need for expensive physical experiments at every step.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →