Manuscript Offprint
arXiv:2610.38835What to randomize matters: a controlled study of volume, axis and representation in low-data molecular generation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Chemical language models can struggle to generate new molecules when trained on small datasets, where a model may reproduce training examples rather than learn a useful generative distribution. Randomized SMILES augmentation varies atom traversal, whereas Sequential Attachment-based Fragment Embedding (SAFE) also allows the order of fragment blocks to vary. How these distinct sources of representational variation affect low-data molecular generation has not been clearly studied. Here, using 1,000 seed molecules to train an autoregressive sequence model, we compare canonical SAFE with randomized SAFE at increasing corpus sizes, isolate atom-order and fragment-order axes of SAFE randomization, and compare fully randomized SAFE with randomized SMILES at molecule-by-molecule matched training corpora. Three findings emerge. First, randomization of SAFE alone raises the genuine yield of novel molecules more than 450-fold, turning a model that merely reproduces its training set into a practical molecular generator. Second, the two axes of randomization act jointly rather than additively: atom order alone reaches a tenth, and fragment order alone a seventh, of the genuine yield obtained when both vary, which is four times their combined contribution. Third, at matched corpus size and compute, randomized SAFE delivers 2.8 times the genuine yield of randomized SMILES. Welch tests with Games-Howell post-hoc comparisons resolve every difference on the primary outcomes. In the low-data regime, thus, what one randomizes rather than only how much determines whether augmentation produces new molecules or merely new spellings of the training set.
Scientific Contribution: This study compares string augmentation strategies in the low-data regime, where randomization has been reported to offer limited benefit at benchmark scale, using matched corpora and compute to separate SAFE's two randomization axes and to compare randomized SAFE with randomized SMILES. The main findings are that randomization turns a memorizing model into a practical generator, that the two axes of randomization act jointly rather than additively, and that randomized SAFE exceeds randomized SMILES in performance at matched corpus size. This work contributes the first augmentation axis-resolved analysis showing that augmentation design, and not augmentation volume alone, determines molecular-generation outcomes in data-poor settings.
Keywords: de novo generation, molecular AI, molecular representations, transformers, chemical language modeling, low-data, data augmentation
1 Introduction
In the last decade, deep learning-based generative models have become central to de novo molecular design [1–7] and among the most widely used ones are autoregressive language models trained on string representations of molecules [8–11]. These benchmark models are mostly trained on vast swaths of data ranging from millions to billions. Yet the settings in which generation would be most valuable are often the most data-poor. A medicinal chemistry campaign may have only tens to a few hundred molecules of interest around a chemotype or disease target. Learning a useful generative distribution from the low-data regime of around 1,000 molecules or fewer is therefore a recurring, practical, and important challenge in the field of molecular generation and drug discovery.
Most molecular language models operate on Simplified Molecular Input Line Entry System (SMILES) [12], a string built by traversing a molecule atom by atom. A single molecule can be represented by many valid SMILES strings and this redundancy has been exploited as data augmentation [10, 13–15]. Enumerating multiple non-canonical or randomized SMILES per molecule was shown by Arús-Pous et al. [14] to improve the validity, novelty, and distributional coverage of SMILES-based generative models. SMILES randomization exposes the model to many spellings of the same molecule, discouraging memorization of a single canonical form and increasing learning robustness. More recent work extends this idea with SMILES-level operations such as token deletion, atom masking, and bioisosteric substitution for low-data generation [16, 17]. All of these operate on the SMILES grammar, whose only source of randomization is the order in which atoms are traversed.
Sequential Attachment-based Fragment Embedding (SAFE) [18] representation is an alternative, information-equivalent linearization organized by molecular fragments rather than atoms. It preserves fragment composition, connectivity, and scaffold context. A molecule is first decomposed into fragments by a slicing scheme—obtained by BRICS [19] decomposition in our work—which cuts retrosynthetically accessible bonds, resulting in each fragment being written as a SMILES-like block. Fragments are concatenated into a single string, separated by • (dot), and the bonds that originally joined them are preserved as matching ring-bond digits shared across blocks, which act as attachment points. For example, acetanilide becomes c13cccc1.CC2=0.N23, constituting a phenyl block, an acetyl block, and a nitrogen block, with the shared digits 2 and 3 encoding the N—C(=O)C and N—phenyl bonds respectively. This is shown in Figure 1.

Fig. 1: The SAFE representation. The same molecule (acetanilide) is shown three ways: as a SMILES string (top), a 2D structure (middle), and a SAFE string (bottom). SMILES encodes a molecule by an atom-by-atom traversal. SAFE instead decomposes the molecule into fragments, here cleaved by the BRICS algorithm into a phenyl ring (blue), the central nitrogen (orange), and an acetyl group (green), with dashed lines marking the cleaved bonds. Each fragment gets written as a SMILES-like block. The blocks are concatenated with a • separator, and the bonds that originally joined the fragments are preserved as matching ring-bond attachment digits shared across blocks (e.g. the shared 2 and 3). Colors link each fragment to its corresponding block.
Like SMILES, a SAFE string is a valid, invertible encoding that a language model can generate token by token and that can decode back to a unique molecule. Unlike SMILES though, its fragment structure is explicit in the string. This makes SAFE natural for fragment-constrained generation tasks as shown by Zhu and Noutahi [20], and it introduces a second source of string variation that SMILES does not possess: the order of the fragment blocks themselves, which is central to this work. Critically, randomizing a SAFE string can be done by varying two orthogonal axes: the order of fragments and the atom ordering within the fragments, whereas SMILES randomization varies only the atom ordering. This is shown in Figure 2 and discussed in detail in Sec 2.1.
Whether augmenting data by SAFE randomization benefits molecular generation at all, and if so, whether that benefit arises from the fragment-order axis, the atom-order axis, or their combination, is unestablished. Indeed, at benchmark scale (MOSES [21], molecules), Mesbahi and Noutahi [22] reported that SAFE randomization yields limited benefit, attributing what benefit there is largely to extended training and reduced overfitting rather than to improved generalization.

| Canonical | c13cccccc1.CC2=O,N23 | Fixed, deterministic, canonical SAFE representation |
|---|---|---|
| Dot-randomized (fragment-order) | CC2=O.c13cccccc1.N23 | Fragment order permuted but fragment spelling unchanged |
| Atom-randomized (atom-order) | C3(C)=O.N32.c12cccccc1 | Atom traversal rewritten within fragments and block order fixed by deterministic sort |
| Full-randomized (dot + atom) | C2(C)=O.N23.c1cccc3c1 | Both fragment order permuted and fragment spelling rewritten |
Fig. 2: The axes of randomization of a SAFE string. All four SAFE strings encode the same molecule, acetanilide (top) and decode back to it. Colors mark the three BRICS fragments (phenyl:blue, acetyl:green, and nitrogen:orange). Canonical: the single deterministic SAFE string. Dot-randomized (fragment-order): the fragment blocks are permuted while each block's internal spelling is unchanged, meaning the atom traversal within a fragment follows the same order as in the canonical representation. Atom-randomized (atom-order): the atom traversal within each fragment is rewritten, and the resulting blocks are then arranged in deterministic sorted order rather than a random one, so that randomness enters only through the spelling of each fragment and not through their sequence. Full-randomized (dot + atom): both axes vary jointly, the default for SAFE randomizer. Because a molecule's fragments can be reordered and each fragment respelled independently, SAFE exposes two orthogonal randomization axes. SMILES randomization varies only the atom-order axis, making the fragment-order axis unique to SAFE.
These observations leave three questions open, each bearing directly on when and why representation-level randomization helps:
-
Does SAFE randomization help in a strictly low-data regime ( molecules), as SMILES randomization does, or is its benefit as limited there as at benchmark scale?
-
SAFE randomization couples two axes: fragment order and atom order. Which, if either, or both, is responsible for any benefit?
-
If there is indeed a benefit, is it due to the SAFE representation itself or to augmentation in general? Since only SAFE has the fragment-order axis, a controlled comparison against baseline SMILES randomization at matched data and compute can tell the two apart.
To our knowledge, none of these questions has been addressed directly. We approach them with a controlled study built around 1,000 seed molecules and a small decoder-only transformer (OPT) trained from scratch. Across all comparisons we hold the architecture, tokenization scheme, and optimizer-step budget fixed. For the axis ablation and the SAFE-SMILES comparison we additionally match the molecular composition of the training corpora molecule by molecule, so that those arms differ only in the randomization applied. Each arm is trained five times from independent initializations and evaluated on validity, uniqueness, novelty, yield, genuine yield, seed recovery, internal diversity, and physicochemical property distributions. Three results follow:
-
In this low-data setting, SAFE randomization changes the character of the model's output rather than merely improving it. Genuine yield rises from 15 to 7,079 novel molecules per 10,000 samples, so a model that largely reproduces its training set becomes a working molecular generator. This contrasts with the limited benefit reported for SAFE randomization at benchmark scale [22].
-
Neither randomization axis alone approaches their combination. At matched composition, varying both axes of randomization together reaches 6,977 genuine-yield molecules per 10,000 samples, against 712 for atom-order and 1,026 for fragment-order randomization. The two axes thus interact, rather than add.
-
Under identical training and evaluation conditions, fully randomized SAFE produces 7,067 genuine-yield molecules per 10,000 samples against 2,562 for randomized SMILES, a gap that widens relative to the plain novelty count because SMILES randomization diversifies spellings more than the molecules.
Taken together, these comparisons indicate that an augmentation scheme is better characterized by the transformations it introduces than by the number of strings it produces. In other words, in the low-data regime, what one randomizes matters. The fragment-order axis afforded by SAFE's fragment grammar, and absent from SMILES, appears to be what converts string augmentation into molecular novelty.
2.1 Data and Input
We study a deliberately small training set to probe the low-data regime. 1,000 molecules were sampled uniformly at random from the GuacaMol [23] training collection with a disjoint set of 200 molecules held out for validation. All molecules were standardized and canonicalized with RDKit [24]. Each molecule was encoded in two ways: as its RDKit canonical SMILES, and as a SAFE string produced with the reference implementation [18] using BRICS fragmentation, as described in Section 1 and illustrated in Figure 1. The framework is agnostic to the fragmentation scheme (RECAP, Hussain-Rea, MMPA, or other slicing algorithms would serve equally), so our choice of using BRICS is not fundamental. It does, however, set the fragment granularity, and hence the number of fragments per molecule, which bounds the diversity achievable by fragment-order randomization. Given the two SAFE randomization axes, fragment order and atom order, we generate four SAFE variants (see Figure 2) and one SMILES variant:
- Canonical SAFE: The single canonical SAFE string. This yields exactly one string per molecule and applies no augmentation, serving as the unaugmented baseline against which the three randomized schemes are compared.
- Dot-randomized SAFE (Fragment-order): The canonical SAFE string with its fragment blocks randomly permuted, leaving the atom ordering (and thus spelling) within each fragment canonical. Fragment reordering is always valid in SAFE because attachment is defined by matched ring-bond digits rather than position.
- Atom-randomized SAFE (atom-order): The randomized atom ordering within each fragment block, followed by a deterministic sorting of the fragment blocks, which removes fragment order as an independent source of variation and isolates atom-order variation.
- Full-randomized SAFE (atom- and fragment-order randomization): Both axes varied jointly, as in the original SAFE reference.
- Randomized SMILES: non-canonical or randomized SMILES generated by a random atom permutation; atoms are renumbered by a random permutation and the molecule is written non-canonically.
For the atom-randomized axis, we isolate within-fragment atom variation from fragment-order variation. We do so by randomizing at the whole-molecule level so that the shared ring-bond attachment digits that bond the fragments remain mutually consistent and then reordering the resulting fragment blocks by sorting, rather than respelling each fragment in place. Because a fragment's attachment points are encoded as ring-bond digits shared with its neighbors, respelling a fragment in isolation would reassign or break those digits and can yield invalid or wrongly connected strings. Sorting the blocks instead removes fragment order as an independent source of variation while keeping the attachment intact, leaving only the atom ordering within each fragment free to vary. Consequently, although an individual atom-randomized string can resemble a full-randomized string, across the corpus the fragment order is fixed by the sort rather than independently permuted, so unlike the full-randomized axis, the atom-randomized axis contains no free fragment-order randomization.
For every scheme we request up to distinct variants per molecule, seeded reproducibly, deduplicated, and always including the canonical encoding. We define an as a single training configuration: a choice of string representation together with a randomization scheme. For example, SAFE with dot, SAFE with atom, SAFE with full, or randomized SMILES. Applied to the 1,000 seed molecules, each arm produces a corpus of training strings. A naive comparison that simply augments each arm to the same total string count confounds two effects: how many strings an arm contributes and which molecules those strings cover. Because arms differ in how many unique variants they can emit per molecule, equal totals can still leave the per-molecule composition unbalanced. For example, under the fragment-order axis, a small molecule with three SAFE fragments can yield at most distinct strings, whereas a larger molecule with six fragments can yield up to ; an arm that varies atom order has no such cap, so a fixed total would be filled mostly by larger molecules in one arm and spread more evenly across molecules in another. Thus, to isolate the effect of the randomization scheme from that of corpus composition, we match the arms molecule by molecule. For the set of arms under comparison and being the number of unique/distinct strings available for molecule under arm , we set the shared per-molecule multiplicity
and draw exactly strings for molecule from every arm. The resulting corpora then share an identical composition wherein each arm contributes the same number of strings for the same molecule, and the matched total is
identical across all arms in . Any remaining performance difference between arms is therefore attributable to which strings are drawn, not how many or for which molecules. We construct three corpus families, each targeting a distinct question: how much augmentation helps, which randomization axis drives the gain, if any, and whether the representation itself matters. These are:
-
Augmentation sweep. Three SAFE arms, , all using the full randomization scheme which is the default in SAFE [18], and trained on corpora of 1K, 25K, and 50K strings, respectively. The arms deliberately differ in corpus size and are therefore not composition-matched (Eqs. (1) and (2) do not apply); this family quantifies the data-efficiency gain from SAFE augmentation alone.
-
Axis ablation. The three SAFE randomization schemes, , matched to a common total of strings per arm. This family isolates the contribution of each randomization axis of SAFE.
-
Representation comparison. Randomized SAFE (with full) versus randomized SMILES, , matched to strings per arm. This family isolates the effect of the string representation at fixed composition.
Token-length distributions of all eight training corpora are summarized in Table 1 and shown in Figure 3. Within each family the distributions are closely matched, as expected from the composition matching. The small shortfall of safe-dot relative to the other two axis arms reflects its preservation of canonical fragment spelling. Across representations the distributions differ because SAFE strings are longer than the corresponding randomized SMILES.
2.2 Model, tokenizer, and matched-compute training
Tokenizer: We use an atom-level tokenizer for the entire study. A regular-expression pre-tokenizer splits each string into chemically atomic units (bracket atoms, two-letter elements, ring-closure digits, bonds, branches, and the fragment separator), and the tokenizer's decoder reconstructs strings exactly. A separate vocabulary is fitted for each representation on its randomized corpus (51 tokens for SAFE and 38 for SMILES) reflecting that the vocabulary is a property of the representation. The tokenization

Fig. 3: Token-length distributions of the training corpora. Kernel density estimates of tokens per training string, excluding special tokens, with each arm under its own tokenizer. Distributions are closely matched within the augmentation sweep (left) and the axis ablation (middle), but SAFE strings are longer than randomized SMILES (right). See Table 1 for summary statistics.
Table 1: Summary statistics of token-length distributions of the training corpora. Lengths are counts of tokenizer tokens per training string, excluding special tokens. SAFE and SMILES arms use their respective tokenizers.
| Family | Arm | Strings | Median | Mean | SD | Max |
|---|---|---|---|---|---|---|
| Augmentation sweep | safe-1k | 1,000 | 55 | 56.8 | 17.8 | 132 |
| Augmentation sweep | safe-25k | 24,972 | 56 | 57.5 | 17.7 | 132 |
| Augmentation sweep | safe-50k | 49,450 | 56 | 57.8 | 17.6 | 134 |
| Randomization axis ablation | safe-atom | 32,152 | 60 | 63.2 | 17.4 | 134 |
| Randomization axis ablation | safe-dot | 32,152 | 60 | 62.6 | 17.4 | 132 |
| Randomization axis ablation | safe-full | 32,152 | 60 | 63.2 | 17.4 | 134 |
| Representation comparison | smiles-rand | 49,209 | 46 | 47.4 | 14.0 | 98 |
| Representation comparison | safe-rand | 49,209 | 56 | 57.9 | 17.5 | 134 |
scheme is held identical across all arms and we verified that zero unknown tokens occur in the corpora.
Architecture: We used a transformer-based [25], decoder-only, Open Pre-trained Transformer (OPT) Language Model [26] with identical hyperparameters across every arm. The model had a hidden size of 384, 5 layers, 8 attention heads, feed-forward dimension of 1,536, and a maximum sequence length of 140 tokens (chosen to exceed the longest tokenized string in every corpus), resulting in 8.95M parameters. Because we are addressing unconditional autoregressive generation, the models were trained with a causal language-modeling objective and neither masked language modeling nor sequence-to-sequence were used. All models share one architecture, hyperparameters, and parameter count, and are trained from scratch. They differ only in their training corpus: each corpus-model pair is an arm, and the arms are grouped into the three efforts (families) described above.
Matched compute: Every model is trained for an identical number of optimizer steps (20,000, with a batch size of 64, learning rate , weight decay 0.01, and warmup ratio 0.01), so that arms are compared at equal compute. Because the augmented corpora are larger than the canonical one, the canonical arm makes correspondingly more passes over its data. This asymmetry is intrinsic to the low-data regime under study and is not a confound, since it is the direct consequence of having fewer distinct training strings. Each arm is trained five times with independent random seeds, which control both weight initialization and the order in which training strings are presented, and the training corpus is held fixed across the five runs, so the five models of an arm differ only in their optimization trajectory. Validation loss on the 200 held-out molecules was monitored but not used for checkpoint selection and all reported results use the final (step-20,000) checkpoint. The training used HuggingFace [27] Transformers with Accelerate [28] and was performed on NVIDIA RTX Pro Blackwell GPUs (48 GB), one training run per GPU.
2.3 Generation and evaluation
Decoding a generated SAFE string can result in an interesting scenario. Attachment is encoded by ring-bond digits shared between fragment blocks, so if the model emits a digit in one block without its partner elsewhere, the dangling bond is dropped and the string decodes to several disconnected, yet valid molecules. For example, the valid SAFE string C3(C)=0.N32.c12cccccc1 decodes to acetanilide (SMILES: CC(=O)Nc1cccccc1) but omitting the final attachment digit 2 on the phenyl block (C3(C)=0.N32.c1cccccc1) leaves the digit 2 on the nitrogen unpaired, and the string decodes to two disconnected molecules, acetamide and benzene (SMILES: CC(N)=0.c1cccccc1). We therefore define the generative system as sampling followed by selection of the largest connected component whenever a sample decodes to more than one. This is a strict, deliberate choice we adopt. It makes sure that each parseable string contributes exactly one molecule, as in standard salt stripping, which reflects what such a model would deliver in practice. The alternative, counting every component of a multi-component decode as a separate generation, would raise yield for the SAFE arms while leaving the SMILES arm unchanged, since a single SMILES decodes to one component by construction. Our choice therefore works against the differences we report rather than producing them. The same pipeline is applied to every arm in all three families.
From each trained model we generate three independent sets of 10,000 strings (multinomial sampling, temperature 0.9, no top- or nucleus truncation). Every quantity is computed on each set separately and averaged within a training run, so each arm yields five run-level values, which we report as the mean standard deviation. Each parseable sample is first reduced to its largest connected component, as described above. For every arm we then report validity, uniqueness and novelty, together with internal diversity and Bemis-Murcko [29] scaffold diversity, both computed over the novel molecules. These quantities are conditional on one another (uniqueness is computed over valid molecules, and novelty over unique ones), so we also report yield, the number of novel, unique, valid molecules obtained per 10,000 samples, which composes them into a single end-to-end count (yield = ). Yield is the primary outcome and it makes arms directly comparable without trading one component off against another, and a model that produces many valid strings but few distinct new molecules scores low. Two further measures address whether the novel molecules are genuinely new. First, we define Genuine yield as the number of novel molecules whose nearest neighbor among the seed (train set) molecules has a Tanimoto similarity below 0.7 (Morgan fingerprints with radius 2 and 2048 bits). Novelty alone counts any molecule absent from the training and validation set including near-copies that differ from a seed by a single atom or bond, so genuine yield separates structurally new molecules from minor edits of the training data. The threshold of 0.7 is a structural near-duplicate cutoff rather than an activity-relevance criterion as single-atom and single-bond edits typically leave Morgan similarity above this value. Reported activity-relevant similarity values are fingerprint-dependent and lower for circular fingerprints [30, 31], so 0.7 is a permissive cutoff and a stricter one would discard a larger share of the SMILES arm's output than of SAFE's and would therefore widen rather than narrow the differences we report in our results. Second, Seed recovery is the fraction of the 1,000 seed molecules that the model reproduces exactly among its valid generated molecules. It directly measures memorization, since a high value means that much of the output reproduces the training set. These metrics are described in detail in Table 2. Novelty and genuine yield use different reference sets by design. Novelty is measured against the training and validation molecules, so that a molecule appearing anywhere in the study is not counted as new, while nearest-neighbor similarity is measured against the training molecules alone, since only those could have been memorized. The 200 validation molecules alter novelty by less than 0.001 in every arm. No test set is required in this study. We do not evaluate predictive performance or select among models on held-out data. Every arm is trained for the same fixed number of optimizer steps and evaluated at its final checkpoint, and all metrics are computed on generated molecules relative to the training (and validation) molecules.
Differences among the corpus-size arms and among the three randomization axes are assessed by Welch's ANOVA with Games-Howell post-hoc comparisons, while the SAFE-versus-SMILES contrast is assessed by Welch's t-test. Welch's tests are used unconditionally rather than selected on a preliminary variance test, because the arms differ markedly in variance: the ratio of the largest to the smallest per-arm standard deviation reaches 97 in the augmentation sweep. The unit of replication is the training run ( independently trained models per arm), and we report mean differences with 95% confidence intervals alongside -values. Yield and genuine yield are the primary outcomes. All other metrics are secondary and not corrected for multiple comparisons, and internal diversity is reported descriptively. Full test results are given in Supplementary Tables S1–S5.
3 Results and Discussion
We proceed in three steps: (1) we first examine whether representation-level randomization helps in the low-data regime; (2) we then probe which axis of randomization is responsible; and finally (3) we test whether the representation itself matters. Within each step we report significance tests over independently trained models and compare the physicochemical property distributions of the novel molecules against the training set.
Table 2: Evaluation metrics. For one generated set, strings are sampled and each is decoded to a molecule, keeping its largest connected component. is the resulting valid molecules, the distinct molecules in (compared as canonical SMILES), the 1,000 training molecules, the reference set of plus the 200 validation molecules, and the novel molecules. Throughout, denotes the number of items in a set, the items in that are not in , and the items in both. denotes Tanimoto similarity of ECFP4 fingerprints (radius 2, 2048 bits), and the similarity of a generated molecule to its most similar training molecule . The Tanimoto similarity threshold for genuine yield is .
| Metric | Definition |
|---|---|
| Validity | . Fraction of sampled strings that decode to a valid molecule. |
| Uniqueness | . Fraction of valid molecules that are distinct. |
| Novelty | . Fraction of distinct valid molecules absent from the reference set (train plus validation). |
| Yield | , reported per 10,000 samples. Count of novel, distinct, valid molecules that composes the three metrics above into one end-to-end measure. |
| Genuine yield | per 10,000 samples. It excludes novel molecules that are minor edits of a training molecule. |
| Seed recovery | . Fraction of the 1,000 training molecules the model regenerates exactly. Near 1 indicates memorization. |
| IntDiv_mol | $1 - \binom{m}{2}^{-1} \sum_{i |
| IntDiv_scaf | The same quantity over Bemis–Murcko scaffolds. Acyclic molecules having no scaffold are excluded. |
3.1 Augmentation with randomized SAFE improves generation in low-data regime
We first ask whether data augmentation via SAFE randomization improves generation when only 1,000 molecules are available for training. Holding the architecture, tokenizer scheme, and optimizer budget fixed, we trained three arms that differ only in their training corpus: the 1,000 canonical SAFE strings with no augmentation (safe-1k) and full-randomized SAFE corpora of (safe-25k) and (safe-50k) strings derived from the same 1,000 molecules. All three were trained for an identical number of optimizer steps, so the comparison is at matched compute rather than matched epochs. Each arm was trained five times from independent random initializations, and every trained model generated three independent sets of 10,000 molecules. Generation sets were averaged within a training run, so each reported value is a mean over five independently trained models. The results are summarized in Table 3.
Table 3: Effect of corpus size on SAFE generation (augmentation sweep). Values are mean±SD over five independently trained models per arm and each model's value is the mean of three generation sets of 10,000 samples. Yield and genuine yield are counts per 10,000 samples while the remaining rows are fractions.
| Arm | safe-1kCanonical(1,000) | safe-25kRandomized(≈25,000) | safe-50kRandomized(≈50,000) |
|---|---|---|---|
| Training corpus | |||
| Validity | 0.9977±0.0002 | 0.9326±0.0025 | 0.9238±0.0029 |
| Uniqueness | 0.1022±0.0002 | 0.6257±0.0204 | 0.8649±0.0031 |
| Novelty | 0.0198±0.0021 | 0.8466±0.0069 | 0.9371±0.0007 |
| Yield | 20±2 | 4,941±189 | 7,488±31 |
| Genuine yield | 15±3 | 4,643±186 | 7,079±38 |
| Seed recovery | 0.9998±0.0003 | 0.8937±0.0143 | 0.5024±0.0044 |
| IntDiv_mol | 0.9010±0.0044 | 0.8845±0.0006 | 0.8863±0.0003 |
| IntDiv_scaf | 0.8789±0.0082 | 0.8632±0.0006 | 0.8655±0.0005 |
Without augmentation, the model is effectively a lookup table. Validity is near-perfect (0.998), but only 10.2% of the valid samples are distinct, and these ≈1,020 distinct molecules are almost exactly the 1,000 training molecules (seed recovery 0.9998) plus a handful of others. Just 2.0% of these are novel for a yield of 20 molecules per 10,000 samples. High validity here reflects memorization rather than generative quality, which is why it must be read alongside uniqueness and novelty. Randomization changes this behavior. At ≈25,000 strings, uniqueness rises to 0.63 and novelty to 0.85, and at ≈50,000, to 0.86 and 0.94 while seed recovery falls to 0.89 and 0.50. Yield increases about 370-fold from safe-1k to safe-50k, and genuine yield, which excludes novel molecules within a Tanimoto similarity of 0.7 of a training molecule, increases about 458-fold. Internal diversity of the novel molecules is comparable between safe-25k and safe-50k at both the molecule level (0.884 vs. 0.886) and the scaffold level (0.863 vs. 0.866), so the additional yield at 50K comes from more novel molecules of similar diversity rather than from a narrower set. The close agreement between the two levels also indicates that this diversity is not merely substituent variation on a few ring systems. It establishes that SAFE augmentation shaped a memorizing model into a practical generator without narrowing or broadening the sampled chemical space. The model explores the same region of chemistry, but now produces new members of it rather than copies of its training set. The safe-1k diveristy values are not comparable since they are computed from only about 20 novel molecules per set. Validity declines modestly, from 0.998 to 0.933 and 0.924, as the model moves from reproducing its training set to producing new strings. This cost is small relative to the gains in uniqueness and novelty that yield captures.
These differences are found to be statistically significant. Treating the five independently trained models per arm as replicates, Welch's ANOVA with Games–Howell post-hoc comparisons separates all three corpus-size arms on yield (, ), genuine yield, uniqueness, novelty, and seed recovery, with every pairwise comparison resolved. The increments are large relative to their uncertainty. safe-25k exceeds safe-1k by 4,921 novel molecules per 10,000 samples (95% CI 4,620–5,223), and safe-50k exceeds safe-25k by a further 2,547 (95% CI 2,248–2,845). For genuine yield the corresponding increments are 4,628 (95% CI 4,330–4,924) and 2,436 (95% CI 2,144–2,729). Validity moves in the opposite direction and is also resolved, declining by 0.065 from safe-1k to safe-25k and by a further 0.009 to safe-50k. Because the replicates are independently trained models rather than repeated samples from a single model, these tests establish that the arms differ beyond both generation-set sampling noise and training-run variance. Run-to-run variation is itself informative. The standard deviation of yield across training runs is 31 molecules per 10,000 for safe-50k or 0.4% of its mean, against 189 for safe-25k, or 3.8% of its mean, so training-run variation is about an order of magnitude larger in relative terms for the intermediate corpus, where the model is between the memorizing and generating regimes. To check that the gain does not come at the cost of chemical plausibility, Figure 4 compares the distributions of molecular weight, logP, QED, and synthetic accessibility for the novel molecules of safe-25k and safe-50k against the training molecules. safe-1k is omitted since it yields only about 20 novel molecules per set. The novel molecules shift toward lower molecular weight and correspondingly higher QED, while logP and synthetic accessibility track the training distribution closely, so the additional yield is drawn from the drug-like interior of the training distribution rather than from an unusual region of chemical space.
This low-data behavior stands in deliberate contrast to prior observations at benchmark scale. Mesbahi and Noutahi [22] reported that SAFE randomization confers limited benefit when training on MOSES-scale corpora ( molecules), attributing what benefit there is largely to extended training and reduced overfitting rather than to improved generalization. Our results are consistent with theirs rather than contradictory: the benefit of randomization is data regime-dependent. When data is plentiful, a model sees enough distinct molecules that memorization of individual canonical strings is not the dominant failure mode, and randomization adds little. When only molecules are available, a canonical-only model revisits each of its few strings many times and collapses onto them, and randomization is precisely what breaks this collapse. Representation-level augmentation, in other words, is most valuable exactly where generation is hardest: the low-data regime that characterizes most real lead-optimization and target-specific design settings.
3.2 Joint atom-order and fragment-order randomization outperforms either axis alone
We established that data augmentation via SAFE randomization improves molecular generation in the low-data regime. The question that now arises is which of the two axes for randomization (dot vs atom, that is, fragment-order vs atom-order) is primarily responsible for this improvement. To answer this, we trained three arms under the same five-seed protocol. Following the augmentation sweep, in which safe-50k performed best, we requested up to 50 variants per molecule on each axis and then matched the corpora molecule by molecule (Eqs. (1) and (2)), capping each molecule at the smallest count any axis can supply. This gives strings per arm,

Fig. 4: Physicochemical property distributions of the novel generated molecules. Kernel density estimates of molecular weight, logP, QED, and synthetic accessibility score (SAS) for the novel molecules of safe-25k (top) and safe-50k (bottom) against the 1,000 training molecules. Each panel shows one representative generation set from a single trained model per arm. The safe-1k arm is omitted because it yields only about 20 novel molecules per generation set.
on average 32.2 variants per seed, so every arm sees the same number of strings for the same molecules and differs only in which axis those variants vary. Table 4 summarizes the results.
The results show that neither axis of randomization alone is sufficient. Randomizing atom order within fixed, sorted fragment blocks gives a yield of 1,031 novel molecules per 10,000 samples and permitting fragment order while leaving each block canonically spelled gives 1,244. Randomizing both axes jointly gives 7,353, which is the atom-order arm, the fragment-order arm, and the sum of the two. Each single axis falls short of the combination by more than 6,000 molecules per 10,000 samples (95% CI 6,253–6,391 for atom order and 6,026–6,191 for fragment order). Genuine yield shows the same ordering more sharply (712, 1,026, and 6,977), which means that the gap is not an artifact of counting near-duplicates (or very chemically similar molecules) as novel.
The yield decomposition locates where the two single-axis arms fail. Relative to safe-dot, the full arm gains a factor of 4.0 in uniqueness and 1.6 in novelty while losing a factor of 0.92 in validity, and these three together compose to the observed . Uniqueness is therefore the binding constraint. With only one axis varied, roughly four out of five valid samples are repeats of a molecule the model has already emitted. Seed recovery tells the same story from the other side. Both single-axis arms regenerate about 90% of the training set exactly (0.897 and 0.900), close to the 0.9998 of the
Table 4: Contribution of each randomization axis (axis ablation). All three arms are composition-matched to strings per arm by Eqs. (1) and (2), so they differ only in which axis is randomized. Values are mean±SD over five independently trained models per arm and each model's value is the mean of three generation sets of 10,000 samples.
| ArmRandomized axis | safe-atomAtom order | safe-dotFragment order | safe-fullBoth |
|---|---|---|---|
| Validity | 0.9769±0.0017 | 0.9874±0.0006 | 0.9114±0.0031 |
| Uniqueness | 0.1974±0.0034 | 0.2171±0.0051 | 0.8674±0.0047 |
| Novelty | 0.5345±0.0071 | 0.5801±0.0087 | 0.9301±0.0021 |
| Yield | 1,031±30 | 1,244±47 | 7,353±43 |
| Genuine yield | 712±20 | 1,026±42 | 6,977±43 |
| Seed recovery | 0.8973±0.0043 | 0.8997±0.0027 | 0.5525±0.0157 |
| IntDivmol | 0.8872±0.0002 | 0.8843±0.0003 | 0.8842±0.0003 |
| IntDivscaf | 0.8695±0.0010 | 0.8628±0.0013 | 0.8639±0.0005 |
unaugmented model in Table 3, whereas the full arm recovers only 0.552. Thirty-two variants per molecule along a single axis leave the model still largely reproducing its training set but the same budget spread across both axes does not. As in the augmentation sweep (Table 3), the gain in yield is accompanied by a modest validity cost (0.987 to 0.911) and leaves internal diversity essentially unchanged (0.884–0.887 at the molecule level, 0.863–0.870 at the scaffold level), so the additional molecules are more numerous rather than more narrowly distributed.
Welch’s ANOVA with Games–Howell post-hoc comparisons separates all three arms on yield (, ), genuine yield, uniqueness, and novelty. The fragment-order advantage over atom order is small but resolved, at 213 (1244 minus 1031) novel molecules per 10,000 samples (95% CI 139–288) and 314 (1026 minus 712) for genuine yield (95% CI 249–378). The advantage of joint randomization over fragment order alone is an order of magnitude larger, at 6,109 (7,353 minus 1,244; 95% CI 6,026–6,191). The one comparison that does not resolve is seed recovery between the two single-axis arms (; 95% CI -0.009–0.004), where both arms retain about 90% of seeds, compared with 55% under full randomization (differences of 0.345 and 0.347, 95% CIs 0.320–0.369 and 0.322–0.372 respectively), consistent with both axes leaving memorization largely intact. Figure 5 shows the five per-run yield and genuine yield values for each arm, each the mean of three generation sets. The three arms form non-overlapping groups, with the full arm separated from both single-axis arms by roughly six to seven-fold.
Figure 6 compares the property distributions of the novel molecules from the three axis-ablation arms against the training set. All three remain within drug-like ranges in every property, so none of the randomization schemes drives the model into atypical chemistry. The arms differ mainly in molecular weight: safe-atom almost traces the training distribution, with a slightly lower peak and a broader spread, while safe-dot and safe-full shift toward lower values. QED moves in step with this, since QED


Fig. 5: Per-run yield (left) and genuine yield (right) for the three axis-ablation arms. Each point is one trained model, the mean of its three generation sets of 10,000 samples (five models per arm). Horizontal bars show the mean across models and whiskers show the standard deviations. The standard deviations (20 to 47 molecules per 10,000 samples) are small relative to the between-arm differences and are barely visible on the logarithmic y-axis.
penalizes high molecular weight, so the arms with the larger downward weight shift also carry more mass at high QED. LogP is essentially unchanged for safe-atom and safe-full and shifts slightly left for safe-dot, while synthetic accessibility is closest to the training distribution for safe-full. Each panel is drawn from a single generation set, so these differences are qualitative and the quantitative comparison is in Table 4.
These results point towards an interaction between the two axes of SAFE randomization rather than an additive contribution from either. Because the per-molecule multiplicity is matched by construction, the arms differ not in how many strings the model sees per molecule but in how those strings are spread through the space of valid encodings. Atom-order variation respells fragments whose order is fixed, fragment-order variation reorders blocks whose spelling is fixed, and only their combination reaches encodings that differ in both respects at once. A formal two-by-two interaction test is not possible here, because the fourth cell representing no randomization on either axis cannot be matched to the same corpus size (a non-randomized SAFE corpus contains exactly one string per molecule and therefore cannot supply 32,152 strings from 1,000 seeds). The ablation is accordingly a comparison among the three realizable cells, and the super-additivity is descriptive. Even so, this is the central practical finding of this work: the fragment-order axis is what distinguishes SAFE from SMILES, but on its own it recovers only a sixth of the yield that joint randomization achieves, and an implementation that randomizes only fragment order would capture little of what the representation offers.

Fig. 6: Physicochemical property distributions of the novel generated molecules. Kernel density estimates of molecular weight, logP, QED, and synthetic accessibility score (SAS) for the novel molecules of safe-atom (top), safe-dot (middle), and safe-full (bottom) against the 1,000 training molecules. Each panel shows one representative generation set from a single trained model per arm.
3.3 Randomized SAFE outperforms randomized SMILES by diversifying molecules rather than spellings
Finally, we studied how data augmentation in SAFE (safe-rand) compares with data augmentation in SMILES (smiles-rand), shedding light on the comparative usefulness of the representation itself. For SAFE, we use full randomization mode which randomizes both axes, because this configuration gave the best performance in the axis ablation (Section 3.2), exceeding either single axis. We compared the two schemes at a matched corpus size of 49,209 strings, again obtained by requesting up to 50 variants per molecule and matching the arms molecule by molecule, so any difference reflects what is randomized rather than how much training data each scheme happens to produce. Table 5 reports the metrics for both arms, each averaged over five independently trained models.
Table 5: Randomized SMILES versus randomized SAFE at matched corpus size of 49,209 strings. The arm safe-rand randomizes both axes (fragment order and atom order, i.e. full). Entries are mean±SD over five independently trained models per arm and each model's value is the mean of three generation sets of 10,000 samples.
| ArmRandomized axis | smiles-randAtom order | safe-randBoth |
|---|---|---|
| Validity | 0.9484±0.0012 | 0.9230±0.0012 |
| Uniqueness | 0.5096±0.0117 | 0.8650±0.0016 |
| Novelty | 0.7993±0.0054 | 0.9365±0.0012 |
| Yield | 3,864±119 | 7,477±24 |
| Genuine yield | 2,562±90 | 7,067±32 |
| Seed recovery | 0.9697±0.0037 | 0.5067±0.0085 |
| IntDiv_mol | 0.8814±0.0002 | 0.8868±0.0002 |
| IntDiv_scaf | 0.8619±0.0002 | 0.8659±0.0005 |
Randomized SAFE gives a yield of 7,477 novel molecules per 10,000 samples against 3,864 for randomized SMILES, a ratio of 1.94. The gap widens on genuine yield, where SAFE reaches 7,067 against 2,562, a ratio of 2.76. Because only two arms are compared, we use a two-sided Welch t-test on the per-run values, with no omnibus test or post-hoc adjustment. Both differences are large relative to the between-run spread (Welch , for yield and Welch , for genuine yield), corresponding to 3,613 more novel molecules per 10,000 samples (95% CI 3,468–3,760) and 4,505 more genuine ones (95% CI 4,396–4,616). The widening from 1.94 to 2.76 is the more informative of the two numbers. Because genuine yield discards novel molecules whose nearest training neighbor exceeds a Tanimoto similarity of 0.7, 34% of the novel molecules from the SMILES arm are discarded against 5.5% for SAFE. The advantage of fragment-level augmentation is therefore not only that more distinct valid strings are produced, but that a larger fraction of them sit outside the immediate neighborhood of the training molecules.
Randomized SMILES has the higher validity (0.9484 against 0.9230), so the SAFE advantage does not come from producing more valid strings. It comes from uniqueness (0.8650 against 0.5096) and novelty (0.9365 against 0.7993). Seed recovery shows this most directly. The SMILES arm regenerates 97.0% of the seed molecules, against 50.7% for SAFE, so a large part of its output reproduces the training set. Internal diversity over the novel molecules is 0.887 (molecule) and 0.866 (scaffold) for SAFE against 0.881 and 0.862 for SMILES, respectively. These values are descriptive rather than tested. They measure the spread within each set of novel molecules, not whether the two sets occupy the same region of chemical space. One might ask whether SAFE's larger vocabulary (51 against 38 for SMILES), rather than its grammar, accounts for its advantage. A smaller vocabulary makes next-token prediction easier, since the model chooses among fewer alternatives at each step and each token type recurs more often in a corpus of a given size, so the next-token distribution is both lower in entropy and better estimated. Therefore, any effect of vocabulary size would favor the SMILES arm, and the SMILES arm is in fact the one with the higher validity (0.9484 against 0.9230). The vocabulary difference therefore works against the result we report rather than producing it.
Beyond the counts, the generated molecules can be examined directly. Figure 7 compares the property distributions of the novel molecules from smiles-rand and safe-rand against the training set. The two arms differ in how closely their novel molecules reproduce the training distribution. For smiles-rand the generated and training curves are nearly indistinguishable in all four properties, which is what one expects when 34% of its novel molecules lie within a Tanimoto similarity of 0.7 of a seed and 97.0% of the seeds are regenerated exactly. The property distribution is largely inherited rather than learned. safe-rand departs modestly, toward lower molecular weight and correspondingly higher QED (QED penalizes high molecular weight), while logP and synthetic accessibility are essentially unchanged. The departure leaves the novel molecules well inside drug-like ranges in every property, so the larger genuine yield of the SAFE arm is not obtained by drifting into atypical chemistry.

Fig. 7: Physicochemical property distributions of the novel molecules at matched corpus size. Kernel density estimates of molecular weight, logP, QED, and synthetic accessibility score (SAS) for the novel molecules of smiles-rand (top) and safe-rand (bottom), each plotted against the 1,000 training molecules. Each panel shows one representative generation set from a single trained model per arm.
At the level of individual structures, Figure 8 takes a randomly sampled training molecule and shows the generated molecules nearest to it and furthest from it in Tanimoto similarity. The nearest ones retain the aryl sulfonamide linkage, with the closest also reproducing the naphthalene and thiadiazole of the query, while the fused ring system and the attached nitrogen heterocycle vary. Int his example, the closest generated molecule falls below the 0.7 near-duplicate threshold we have used in this work, and similarity drops to 0.36 by the second nearest. The furthest are acyclic aliphatic molecules sharing no ring system or sulfonamide with the query.

Fig. 8: Generated molecules nearest to and furthest from a single, randomly sampled training molecule (top). Middle row shows the four safe-rand molecules with the highest Tanimoto similarity to it and bottom row shows the four with the lowest. The value above each structure is its Tanimoto similarity (Morgan fingerprints, radius 2, 2048 bits) from the training molecule.
Figure 9 shows a sample of novel molecules from the same arm, spanning fused heteroaromatic systems, saturated nitrogen heterocycles, sulfonamides and amides, and halogenated aromatics. These two figures are illustrative and are not evidence of a distributional property, which is what Table 5 and Figure 7 show.
4 Conclusions
We asked three targeted questions in this work and addressed them. Working from 1,000 seed molecules, with the architecture, tokenization, hyperparameters, and training budget held constant, and with every arm trained five times from independent initializations, we asked: (1) Does randomized SAFE augmentation help a decoder-only chemical language model in a strictly low-data regime? It does, and decisively. A 50× expansion of the corpus by data randomization alone, without a single additional

Fig. 9: Sample novel molecules generated by safe-rand. Nine molecules drawn uniformly at random from the generated set.
molecule, converts a model that is effectively a lookup table into a working generator, raising the yield of genuinely novel molecules by 458 fold. (2) Which of its two randomization axes is responsible? Neither alone. With corpora matched molecule by molecule, varying both axes gave a genuine yield that of fragment-order randomization, that of atom-order randomization, and their sum. (3) Does the SAFE representation itself matter once augmentation is held fixed? It does. At a matched corpus size, randomized SAFE reaches the genuine yield of randomized SMILES.
Together, these results identify the design of augmentation and not simply the number of augmented strings, as an important variable in low-data molecular generation. Two results carry the argument, both resting on matched training corpora. The first is the large gap between joint SAFE randomization and either single-axis condition. The second is the advantage of randomized SAFE over randomized SMILES at matched corpus size, which is larger on genuine yield than on yield and therefore isolates what fragment-order randomization contributes. Genuine yield discards novel molecules that are near-copies of a training seed molecule, and it discards a far larger share of the SMILES arm's output than of SAFE's. Randomizing atom order presents the model with many spellings of the same molecule and it learns the spellings. Randomizing fragment order additionally presents many orderings of the parts, and it learns to recombine them. This is also why the two axes are not additive. The reading rests on the matched design: with every arm seeing the same number of strings for the same molecules, nothing remains to explain the gap except what those strings vary. That the benefit appears here and not at benchmark scale [22] is a statement about data regime rather than a contradiction, since randomization pays where a model would otherwise memorize, and on the few hundred to few thousand molecules a real campaign supplies, it would.
Several limitations bound these conclusions. First, the arms in the representation comparison are matched in strings rather than tokens, and because SAFE strings are about 22% longer than the corresponding randomized SMILES (Table 1), the SAFE arm processes correspondingly more tokens at an identical number of optimizer steps. We therefore cannot separate the contribution of the representation from that of the larger token budget it entails. This overhead is intrinsic to the SAFE encoding rather than an experimental choice, so matching the arms on tokens would require unmatching their molecular composition, which will not be justified. Second, the axis ablation compares the three realizable cells of a two-by-two design, since a corpus randomized on neither axis contains exactly one string per molecule and cannot be matched to the same number of strings, so the super-additivity we report is descriptive rather than the outcome of a formal interaction test. Third, all results use a single seed set drawn from GuacaMol, a single fragmentation scheme, one model size, and unconditional generation, and genuine yield depends on a Tanimoto threshold of 0.7 that we did not sweep (Section 2.3). Because each of these choices is held identical across every arm, they bound how far the conclusions generalize but cannot account for the differences between arms, which is what the matched design is constructed to isolate. Finally, BRICS in particular fixes the fragment granularity and therefore bounds the diversity that fragment-order randomization can express. A coarser or finer slicing scheme would change the size of the effect, though we see no reason it would change its direction.
Within these bounds, the practical recommendation is clear. An implementation that randomizes only fragment order, which is the axis unique to SAFE and the one most readily associated with it, recovers about a sixth of the yield that joint randomization achieves, and one that randomizes only atom order recovers even less. The benefit of SAFE in this regime is realized only when both axes vary together. The limitations above also set the agenda. Whether the same augmentation benefits encoder-only SAFE-based models [32], how the effect decays as the seed set grows from toward the benchmark scale at which its benefit has been reported to be limited [22], whether it survives when generation is conditioned on a scaffold or a property target, and how it responds to coarser or finer fragmentation are all open and all testable within the same matched-composition framework, and is the subject of our future work. The broader point this study makes is methodological — string augmentation is not a single knob but a choice of what to vary, and in the data-poor settings where generative models are most needed, that choice determines whether augmentation produces new spellings or new molecules.
Supplementary information. The Supplementary Information contains the full statistical tables for the three families/studies, and the training configuration and sweep design (model, optimization, sampling and replication settings for all 40 training runs).
Declarations
Availability of Data and Materials. All data, code and results supporting this article are publicly available in the safe-lowdata-augmentation repository (https://github.com/kaushal-mind-lab/safe-lowdata-augmentation). The repository contains the seed and validation molecule sets, the scripts that construct all eight training corpora, the tokenizers, the pipeline for training, generation and evaluation, the metrics for all 120 generation sets and 40 training runs, and the statistical analysis code and outputs.
Competing interests. The authors declare no competing interests.
Authors' Contributions. N.K. conceived and designed the study, developed the methodology, performed the experiments, and wrote the original draft of the manuscript. A.T. and A.P. designed and conducted the statistical analysis, and post-processing of results including data visualization and properties extraction. All authors contributed to, reviewed, edited, and approved the final version.
Acknowledgements. This work was supported in part by the NVIDIA Academic Grant Program, which provided 32,000 A100 GPU-hours on the NVIDIA Brev platform. It also used the Delta advanced computing and data resource which is supported by the National Science Foundation (award OAC 2005572) and the State of Illinois. Delta is a joint effort of the University of Illinois Urbana-Champaign and its National Center for Supercomputing Applications. Access to Delta was provided through the National Science Foundation-funded ACCESS program (Project MED250048).
Use of Generative AI. The authors used Claude (Anthropic) to assist with code development and to improve the readability of the manuscript, and ChatGPT (OpenAI) for language editing. The authors reviewed and edited the content as needed and take full responsibility for the content of the publication.
References
[1] Gómez-Bombarelli, R., Wei, J.N., Duvenaud, D., Hernández-Lobato, J.M., Sánchez-Lengeling, B., Sheberla, D., Aguilera-Iparraguirre, J., Hirzel, T.D., Adams, R.P., Aspuru-Guzik, A.: Automatic Chemical Design Using a Data-Driven Continuous Representation of Molecules. ACS Central Science 4(2), 268–276 (2018) https://doi.org/10.1021/acscentsci.7b00572. Accessed 2024-08-19
[2] Sanchez-Lengeling, B., Aspuru-Guzik, A.: Inverse molecular design using machine learning: Generative models for matter engineering. Science 361(6400), 360–365 (2018) https://doi.org/10.1126/science.aat2663
[3] Oliveira, R.I., Pereira, T.O., Abbasi, M., Salvador, J.A.R., Arrais, J.P.: Deep learning for small-molecule drug discovery: From molecular design to clinical translation. Journal of Pharmaceutical Analysis, 101533 (2025) https://doi.org/10.1016/j.jpha.2025.101533. Accessed 2026-06-01
[4] Lee, S., Kreis, K., Veccham, S.P., Liu, M., Reidenbach, D., Peng, Y., Paliwal, S., Nie, W., Vahdat, A.: GenMol: A Drug Discovery Generalist with Discrete Diffusion. arXiv. arXiv:2501.06158 [cs] (2025). https://doi.org/10.48550/arXiv.2501.06158. http://arxiv.org/abs/2501.06158 Accessed 2025-09-23
[5] Cheng, Y., Gong, Y., Liu, Y., Song, B., Zou, Q.: Molecular design in drug discovery: a comprehensive review of deep generative models. Briefings in Bioinformatics 22(6), 344 (2021) https://doi.org/10.1093/bib/bbab344
[6] Tang, X., Dai, H., Knight, E., Wu, F., Li, Y., Li, T., Gerstein, M.: A survey of generative AI for de novo drug design: new frontiers in molecule and protein generation. Briefings in Bioinformatics 25(4), 338 (2024) https://doi.org/10.1093/bib/bbae338. Accessed 2026-10-06
[7] Sousa, T., Correia, J., Pereira, V., Rocha, M.: Generative Deep Learning for Targeted Compound Design. Journal of Chemical Information and Modeling 61(11), 5343–5361 (2021) https://doi.org/10.1021/acs.jcim.0c01496. Accessed 2026-10-06
[8] Segler, M.H.S., Kogej, T., Tyrchan, C., Waller, M.P.: Generating Focused Molecule Libraries for Drug Discovery with Recurrent Neural Networks. ACS Central Science 4(1), 120–131 (2018) https://doi.org/10.1021/acscentsci.7b00512. Accessed 2026-10-06
[9] Moret, M., Pachon Angona, I., Cotos, L., Yan, S., Atz, K., Brunner, C., Baumgartner, M., Grisoni, F., Schneider, G.: Leveraging molecular structure and bioactivity with chemical language models for de novo drug design. Nature Communications 14, 114 (2023) https://doi.org/10.1038/s41467-022-35692-6. Accessed 2026-10-06
[10] Özçelik, R., Ruiter, S., Criscuolo, E., Grisoni, F.: Chemical language modeling with structured state space sequence models. Nature Communications 15(1), 6176 (2024) https://doi.org/10.1038/s41467-024-50469-9. Accessed 2026-10-06
[11] Bagal, V., Aggarwal, R., Vinod, P.K., Priyakumar, U.D.: MolGPT: Molecular Generation Using a Transformer-Decoder Model. Journal of Chemical Information and Modeling 62(9), 2064–2076 (2022) https://doi.org/10.1021/acs.jcim.1c00600
[12] Weininger, D.: SMILES, a chemical language and information system. 1. Introduction to methodology and encoding rules. Journal of Chemical Information and Computer Sciences 28(1), 31–36 (1988) https://doi.org/10.1021/ci00057a005
. Accessed 2026-06-02
[13] Bjerrum, E.: SMILES Enumeration as Data Augmentation for Neural Network Modeling of Molecules. ArXiv (2017). Accessed 2026-10-06
[14] Arús-Pous, J., Patronov, A., Bjerrum, E.J., Tyrchan, C., Reymond, J.-L., Chen, H., Engkvist, O.: SMILES-based deep generative scaffold decorator for de-novo drug design. Journal of Cheminformatics 12, 38 (2020) https://doi.org/10.1186/s13321-020-00441-8. Accessed 2026-10-06
[15] Skinnider, M.A., Stacey, R.G., Wishart, D.S., Foster, L.J.: Chemical language models enable navigation in sparsely populated chemical space. Nature Machine Intelligence 3(9), 759–770 (2021) https://doi.org/10.1038/s42256-021-00368-1. Accessed 2026-10-06
[16] Brinkmann, H., Argante, A., Steege, H., Grisoni, F.: Going beyond SMILES enumeration for data augmentation in generative drug discovery. Digital Discovery 4(10), 2752–2764 https://doi.org/10.1039/d5dd00028a. Accessed 2026-10-06
[17] Grisoni, F.: Chemical language models for de novo drug design: Challenges and opportunities. Current Opinion in Structural Biology 79, 102527 (2023) https://doi.org/10.1016/j.sbi.2023.102527
[18] Noutahi, E., Gabellini, C., Craig, M., Lim, J.S.C., Tossou, P.: Gotta be SAFE: a new framework for molecular design. Digital Discovery 3(4), 796–804 (2024) https://doi.org/10.1039/D4DD00019F. Accessed 2026-06-08
[19] Degen, J., Wegscheid-Gerlach, C., Zaliani, A., Rarey, M.: On the art of compiling and using 'drug-like' chemical fragment spaces. ChemMedChem 3(10), 1503–1507 (2008) https://doi.org/10.1002/cmdc.200800178
[20] Zhu, L., Noutahi, E.: Conditional Chemical Language Models are Versatile Tools in Drug Discovery. arXiv:2507.10273 [cs.LG] (2025). https://doi.org/10.48550/arXiv.2507.10273. http://arxiv.org/abs/2507.10273 Accessed 2026-10-06
[21] Polykovskiy, D., Zhebrak, A., Sanchez-Lengeling, B., Golovanov, S., Tatanov, O., Belyaev, S., Kurbanov, R., Artamonov, A., Aladinskiy, V., Veselov, M., Kadurin, A., Johansson, S., Chen, H., Nikolenko, S., Aspuru-Guzik, A., Zhavoronkov, A.: Molecular Sets (MOSES): A Benchmarking Platform for Molecular Generation Models. Frontiers in Pharmacology 11, 565644 (2020) https://doi.org/10.3389/fphar.2020.565644. Accessed 2026-10-06
[22] Mesbahi, Y.E., Noutahi, E.: SAFE setup for generative molecular design. arXiv. arXiv:2410.20232 [cs.LG] (2024). https://doi.org/10.48550/arXiv.2410.20232. http://arxiv.org/abs/2410.20232 Accessed 2026-10-06
[23] Brown, N., Fiscato, M., Segler, M.H.S., Vaucher, A.C.: GuacaMol: Benchmarking Models for de Novo Molecular Design. Journal of Chemical Information and Modeling 59(3), 1096–1108 (2019) https://doi.org/10.1021/acs.jcim.8b00839
[24] Landrum, G., Tosco, P., Kelley, B., Rodriguez, R., Cosgrove, D., Vianello, R., sriniker, Gedeck, P., Jones, G., Kawashima, E., NadineSchneider, Nealschneider, D., tadhurst-cdd, Dalke, A., Swain, M., Cole, B., Turk, S., Savelev, A., Maeder, N., Walker, R., Vaucher, A., Wójcikowski, M., Faara, H., Take, I., Scalfani, V.F., Probst, D., Ujihara, K., Pechersky, Y., Monat, J., Lehtivarjo, J.: RDKit: Open-source cheminformatics. Zenodo (2026). https://doi.org/10.5281/ZENODO.591637. https://www.rdkit.org
[25] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., Polosukhin, I.: Attention is all you need. In: Proceedings of the 31st International Conference on Neural Information Processing Systems. NIPS'17, pp. 6000–6010. Curran Associates Inc., Red Hook, NY, USA (2017). https://dl.acm.org/doi/10.5555/3295222.3295349
[26] Zhang, S., Roller, S., Goyal, N., Artetxe, M., Chen, M.-Y., Chen, S., Dewan, C., Diab, M.T., Li, X., Lin, X.V., Mihaylov, T., Ott, M., Shleifer, S., Shuster, K., Simig, D., Koura, P.S., Sridhar, A., Wang, T.-L., Zettlemoyer, L.: OPT: Open Pre-trained Transformer Language Models. ArXiv (2022). Accessed 2026-10-07
[27] Wolf, T., Debut, L., Sanh, V., Chaumond, J., Delangue, C., Moi, A., Cistac, P., Rault, T., Louf, R., Funtowicz, M., Davison, J., Shleifer, S., Platen, P.v., Ma, C., Jernite, Y., Plu, J., Xu, C., Scao, T.L., Gugger, S., Drame, M., Lhoest, Q., Rush, A.M.: HuggingFace's Transformers: State-of-the-art Natural Language Processing. arXiv. arXiv:1910.03771 [cs] (2020). https://doi.org/10.48550/arXiv.1910.03771. http://arxiv.org/abs/1910.03771 Accessed 2026-02-25
[28] Gugger, S., Debut, L., Wolf, T., Schmid, P., Mueller, Z., Mangrulkar, S., Sun, M., Bossan, B.: Accelerate: Training and inference at scale made simple, efficient and adaptable. (2022). https://github.com/huggingface/accelerate
[29] Bemis, G.W., Murcko, M.A.: The properties of known drugs. 1. Molecular frameworks. Journal of Medicinal Chemistry 39(15), 2887–2893 (1996) https://doi.org/10.1021/jm9602928
[30] Martin, Y.C., Kofron, J.L., Traphagen, L.M.: Do structurally similar molecules have similar biological activity? Journal of Medicinal Chemistry 45(19), 4350–4358 (2002) https://doi.org/10.1021/jm020155c
[31] Jasial, S., Hu, Y., Vogt, M., Bajorath, J.: Activity-relevant similarity values for fingerprints and implications for similarity searching. F1000Research 5, 591 (2016) https://doi.org/10.12688/f1000research.8357.2
[32] Kaushal, N., Penmatsa, A.M.N.V.: FragBERTa: a fragment-aware molecular representation model with sequential attachment-based fragment embeddings. Machine Learning: Science and Technology 7(4), 045046 (2026) https://doi.org/10.1088/2632-2153/ae911d. Accessed 2026-09-19