E XPLORING D EEP R ECURRENT M ODELS WITH R EINFORCEMENT L EARNING FOR M OLECULE D ESIGN
Anonymous authors
Paper under double-blind review
A BSTRACT
The design of small molecules with bespoke properties is of central importance to drug discovery. However signiﬁcant challenges yet remain for computational methods, despite recent advances such as deep recurrent networks and reinforcement learning strategies for sequence generation, and it can be difﬁcult to compare results across different works.
This work proposes 19 benchmarks selected by subject experts, expands smaller datasets previously used to approximately[-
-]
million training molecules, and explores how to apply new reinforcement learning techniques effectively for molecular design.
The benchmarks here, built as OpenAI
Gym environments, will be open-sourced to encourage innovation in molecular design algorithms and to enable usage by those without a background in chemistry.
Finally, this work explores recent development in reinforcement-learning methods with excellent sample complexity (the A2C and PPO algorithms) and investigates their behavior in molecular generation, demonstrating signiﬁcant performance gains compared to standard reinforcement learning techniques.
I NTRODUCTION
Novel drugs are developed using design - make - test cycles: molecules are designed, synthesized in the laboratory, and then tested for their biological effect.
The insights gained from these tests then inform the design for the next iteration.
The objective of de novo design methodologies is to perform this cycle with computational methods (Brown, 2015; Schneider, 2013).
The test phase was the ﬁrst to be automated, using the broad categorization of machine learning models known as quantitative structure-activity/property relationships (QSAR/QSPR) to predict the activity of a molecule against a certain biological target, or physicochemical properties.
To make virtual molecules, symbolic approaches based on graph rewriting have been used, which are domain-speciﬁc and rely on extensive hand-engineering by experts.
To optimize the properties of a molecule, for example its activity against a biological target ( design ), global optimization approaches such as evolutionary algorithms or ant colony optimization have been used (Brown, 2015; Schneider, 2013).
Symbolic approaches have been highlighted as either generating unrealistic molecules that would be difﬁcult to synthesize, or for being too conservative, and therefore not sufﬁciently exploring the space of tractable molecules (Schneider, 2013; Brown & Bostr¨om, 2016).
Recently, generative models have been proposed to learn the distribution of real druglike molecules from data, and then to generate chemical structures that are appropriate for the application domain (White & Wilson, 2010).
Interestingly, the generation of molecules is related to natural language generation (NLG).
Two classic problems of NLG – preserving coherent long-range dependencies, and syntactic and semantic correctness – directly map to molecules.
Current investigations draw heavily from tools developed for language tasks, including variational autoencoders (VAE) (G´omezBombarelli et al., 2016; Kusner et al., 2017), recurrent neural network (RNN) models (Segler et al., 2017;
Jaques et al., 2017; Olivecrona et al., 2017), generative adversarial networks (GAN) (Guimaraes et al., 2017) and Monte Carlo Tree Search (MCTS) (Yang et al., 2017).
This work seeks to consolidate the growing body of recurrent models for molecular design that employ reinforcement learning.
Here, we suggest a set of 19 benchmarks of relevance to de novo design.
Furthermore, an implementation of these benchmarks as an OpenAI Gym is provided to the community to spur further innovation.
Finally, we demonstrate state-of-the-art performance using new techniques drawing from recent advances in reinforcement learning. [Figure]
R EPRESENTING M OLECULES AS S EQUENCES
De novo design can be seen as a structured prediction problem, where molecular structures have to be predicted.
This paper will use the term “molecule” to denote the chemical structures of interest.
Molecular structures are represented well as labeled
graphs M =
( A, B ) , with atoms
A as vertices and bonds B as edges, elemental types as vertex labels, and bond order as edge labels (Brown, 2009).
While neural network models which output graphs remain underexplored, sequence generation is well established.
To encode molecules as sequences of symbols (strings), the canonicalized Simpliﬁed
Molecular-Input Line-Entry System (SMILES) notation (Weininger, 1988; Weininger et al., 1989) can be used (see Fig. 1).
This establishes the link to sequence-based language-focused neural network models (Segler et al., 2017; Goldberg, 2016), which can be then be used to generate molecules.
D ATA AND B ENCHMARKS 3. D ATA
In this paper, we expand the scope of previous work to a standardized, much larger dataset, which furthermore is of real-world interest to drug discovery scientists.
Here, we build on the ChEMBLdataset (Gaulton et al., 2011), a collection extracted from the scientiﬁc literature of 1,735,442 distinct compounds and their reported biological activities on 11,538 targets.
Though partitioned and ﬁltered, this work employs substantially more training examples than previous work to access the breadth of chemistries that have been demonstrated to be of interest.
The preprocessing steps can be found in the Appendix.
To stimulate further work in this domain, our OpenAI Gym interface to these benchmarks will be open-sourced to allow the community to prototype new RL algorithms for chemistry.
Here, we offer 19 benchmarks to be used for molecule generation, comprised of basic suitability benchmarks, basic physicochemical property optimizations, drug-likeness approximations, and multi-objective balancing.
The benchmark framework is general enough to be used with any possible small molecule generation method, whether rule-based or learned, and is not limited to sequence-based generation relying on SMILES.
3. V ALIDITY AND D IVERSITY OF G ENERATED M OLECULES
A basic but crucial molecular generation benchmark is simply what percentage of the sampled molecules are valid.
For a sample set S of cardinality m sampled from a model M , the percentage of valid molecules is: [Equation] where valid () is a function returning 1 if the open-source chemoinformatics toolkit RDKit (Landrum et al.) is able to return a valid molecular object given the SMILES representation, and 0 otherwise.
Similarly, it is not ideal if the generative model is able to produce a valid molecule, but only repeats the same molecule.
Therefore, the ratio unique benchmark samples m molecules from the model,
OH
N
O NH
F I
F
F
HN
Cobimetinib
Cl
N N O O NH
Cl
Aripiprazole
O
N
N
NH
O HN
N
N
N
Osimertinib
O
O OH N N O
[Figure]
and measures the number of unique molecules:
[Equation]
3. S INGLE O BJECTIVE M AXIMIZATION
Previous work has explored a variety of optimization objectives of interest to molecular designers.
Physicochemical properties, such as the octanol-water partition coefﬁcient (ClogP) and molecular weight (MW), have strong implications for the viability of a molecule progressing as a potential drug and have been explored as optimization objectives in previous work (Firth et al., 2015; Jaques et al., 2017; G ´ omez-Bombarelli et al., 2016).
Similarly, SMARTS (SMILES Arbitrary Target
Speciﬁcation) sequences allow to specify substructures (subgraphs) which should be contained in the target molecules.
This allows to deﬁne a reward function SMARTS(X, Y) which returnsif a generated molecule Y contains subgraph X and − 1 otherwise.
The RDKit (Landrum et al.) includes automatic code to calculate these functions, providing a straightforward route to include these objectives in RL scenarios.
For a target value x or respectively subgraph X , and a generated sequence Y , the reward is:
[Equation]
This work chooses ﬁve ClogP points x ∈ {− 1 , 0 , 1 , 2 , 3 } as benchmarks.
A more challenging optimization objective is to generate a family of molecules similar to a target given only a ﬁngerprint of the target molecule, in an unpopulated area of chemical space.
Here, the commonly-used Functional Connectivity Fingerprint Counts (FCFC4; Rogers & Hahn (2010)) is used to encode the molecular graph as a ﬁxed-size integer vector.
After encoding both the proposed molecule and the target molecule, their Tanimoto (akin to Jaccard) similarity is calculated.
This work uses ten marketed drugs which modulate different biological target types (Figure 2, Table 3) as molecular targets for approximation.
To ensure that no leakage occurs between test and train set, the target molecules themselves as well as compounds similar to them were removed from the training data (see Appendix).
The reward of the Tanimoto similarity with x, y as the ﬁngerprint vectors of
X, Y is:
[Equation] 3. M ULTI -O BJECTIVE M AXIMIZATION
To test balanced optimization, two further tests are proposed:
Lipinski’s Rule-of-Five (Ro5) parameters for the estimation of solubility and permeability important for oral bioavailability, and a weighted multi-parameter optimization.
The Ro5 is a heuristic for druglikeness, evaluating four parameters that can be calculated readily from a molecular structure: molecular weight (MW), ClogP, hydrogen-bond donors (HBD) and acceptors (HBA) (Ghose et al.,
Lipinski, 2004)
In this work, the Ro5 formulation used is to penalize via MSE, the MW if outside the interval [180, 500]
Similarly, any arbitrary balanced weighting of objective functions can be used to simulate a multiobjective optimization, similar to those that are recognized in drug discovery scenarios.
Here, an equally-weighted target of ClogP=4, SMARTS fragment-matching to include a benzene ring, and
a
MW of 180 is deﬁned. [Equation]  M ODELS 4. R ECURRENT N EURAL N ETWORKS Gated recurrent models such as Long short-term memory (LSTM) (Hochreiter & Schmidhuber, 1997) are important for modern deep RNN models, and are used as the principal deep model used in this work (Graves, 2013).
These RNN models are able to process the SMILES format strings with the addition of an embedding layer as is commonly used in natural language tasks (Gal & Ghahramani, 2016; Cho et al., 2014).
Fully-connecting the output of the RNN model to a layer of neurons equal in cardinality to the vocabulary size of our SMILES language (42 symbols, see Supplementary Material
Table 2) can be trained to produce a probability distribution over the output symbols.
A model π θ parameterized by θ trained on sequences z of length T in dataset S can be trained with the following standard differentiable loss (the cross-entropy loss):
[Equation]
In this work, this is called the pretrained maximum likelihood estimation (MLE) model and can be trained using standard supervised gradient descent techniques with backpropagation (Goldberg, 2016).
This model functions as a composable, initialized block for more advanced architectures due to its effectiveness in generating realistic chemical sequences.
Algorithm 1 demonstrates a slightly more unusual formulation in which a pretrained MLE model π θ is combined with an arbitrary reward function R to maximize reward by alternately sampling and retraining via Eq.
9 on the k -highest reward sequences (Segler et al., 2017), which we call Hillclimb-MLE (HC-MLE) .
Require: pretrained MLE model π θ ; a reward function R ; initial set of sequences Σ = ∅ 1: for n-steps do 2: for m-sequences do 3:
Generate a sequence Y i, 1: T = ( y 1 , . .
, y T )
∼ π θ 4:
Calculate r i =
R ( Y i, 1: T ) 5: end for 6: Σ ← Σ ∪ m (cid:83) i =1 { Y i } 7:
Keep k -top sequences in Σ with highest corresponding r i 8:
Fine-tune MLE model π θ to minimize cross-entropy according to Eq.
9 on dataset Σ 9: end for
R EINFORCEMENT L EARNING
Recently, advances in reinforcement learning (RL) have prompted explorations into using RL methods within the drug discovery loop (Jaques et al., 2017; Olivecrona et al., 2017; Segler et al., 2017).
RL is a natural environment for drug discovery, which requires online learning balanced against expensive sample evaluation and generation.
Moreover, most molecule characteristics are not directlyoptimizable since they are non-differentiable quantities.
Instead, casting it into a RL framework allows for the exploration of chemical space in the absence of true loss gradients.
Formally, a SMILES string is a sequence y :
[Equation]
Thus, each string is comprised of a set of m symbols from the symbol dictionary D , including the padding character, establishing the SMILES environment as a large but discrete state space of size | D | m and a discrete action space of size | D | .
From an RL perspective, each symbol in the
SMILES sequence corresponds to an action a t taken at sequence step t .
The goal of an RL agent here is to develop a policy π θ , parameterized by θ , to calculate an action a t from the current state s t
=
( a 1 , . .
. , a t − 1 ) that maximizes the expected reward.
That is, to maximize the following:
[Equation]
where our policy predicts the probability of choosing an action a t in sequence y from the set of all possible sequences Y , and the reward function Q ( a t , y 1: t − 1 ) provides the reward for that action given the sequence so far, y 1: t − 1 .
However, molecule generation is inherently episodic, producing rewards only at the completion of the SMILES string (in our dictionary, ' \ n' ); for example, parentheses may be open which results in an invalid molecule for evaluation until the matching parentheses closes the branch.
To acquire a training gradient to use with a neural network as π θ , the log-derivative trick can be used to arrive at:
[Equation]
(12) which yields the differentiable loss used in the REINFORCE algorithm (Williams, 1992), used here as the policy gradient model:
[Equation]
Notably, the ﬁnal reward R ( Y 1: t ) is distributed equally without temporal discounting to every action in the sequence, as temporal distance in SMILES strings is less relevant than most action-spaces.
Reinforced Generative Adversarial Networks
The recently-introduced GANs (Goodfellow et al., 2014) have experienced a surge of popularity, extending in new ways their original formulation:
[Equation]
which describes the minimax zero-sum game that combines a generator G , converting samples z from a standard distribution p z into data-like samples, and a discriminator D which attempts to determine whether samples x are from the true distribution p data and which are generated samples G ( z ∼ p z ) .
GANs have been applied as a novel architecture type to a variety of domains, particularly in image synthesis where they have been found to generate perceptually realistic images (Radford et al., 2015;
Zhu et al., 2017).
The GAN formulation was extended in Yu et al.
(2017) to allow sequences to be generated with a
GAN-like architecture, using RL and a policy gradient technique to train.
This forms the basis of the method published in Guimaraes et al.
(2017) to use a RL framework with GANs to optimize arbitrary ﬁtness functions.
Training is comprised of three phases: a maximum-likelihood pretraining phase during which the RNN generator learns to generate molecules from a chemical structure dataset, while a discriminator is pretrained on produced versus within-dataset sequences; a RL generator phase in which the generator learns to maximize the reward function balanced with the discriminator; and, ﬁnally, a discrimination phase which subsequently guides generation.
The latter two phases are alternated throughout the optimization phase.
The reward used to reinforce the network uses a parameter λ which balances the likelihood that the discriminator D φ classiﬁes the generated sequence as true data against the arbitrary ﬁtness objective O : [Equation]
[Equation]
However, while calculating the reward during sequence generation, the ﬁnal reward is not yet available until the end of the sequence.
In order to maximize the number of training steps (rather than one step per sequence) and to guide the generation process, the objective-reinforced GAN (Guimaraes et al., 2017) uses Monte-Carlo rollouts from the current state to estimate the reward of the available actions.
This strategy, however, can have high variance and signiﬁcantly undersamples the large branching in molecule generation (with 42 symbols per step and an average sequence length of 44 steps).
Advantage Actor-Critic Networks
A wealth of new techniques for reinforcement learning have recently appeared which have yet to be adapted to molecule generation.
One technique to minimize the variance that hinders policy gradient training and to accelerate convergence is to subtract an estimate of the reward from the true reward.
Importantly, this does not introduce estimator bias but can diminish the variance.
This can be seen as an actor-critic model that separates the policy training from the value estimation in which the actor is the policy π θ and the baseline value estimate
V s t is the critic that gives the approximate value of that state (Degris et al., 2012; Sutton & Barto, 1998; Mnih et al., 2016).
This advantage actor-critic (A2C) training is the synchronous version of the asynchronous advantage actor critic (A3C) model (Mnih et al., 2016) and can use generalized advantage estimation (Schulman et al., 2015).
In this work, the following differentiable loss function is used to simultaneously reduce the variance of the reward and to minimize the difference between the expected reward V φ and the true reward:
[Equation]
The value estimation function V φ is a neural network itself here, parameterized by φ ; this work uses a fully-connected network from the hidden state of the LSTM to a single node predicting reward.
Proximal Policy Optimization Finally, great success has been found recently in the family of proximal policy optimization algorithms (Schulman et al., 2017).
These algorithms exhibit very low sample complexity and are of particular interest as reliable data is always at a premium in chemistry, and both generation and evaluation time of a molecule can be long.
Using the advantage ˆ
A t =
R ( s t ) − V φ ( s t ) from above, the following clipped PPO loss is used:
[Equation]
The motivation for this pessimistic loss given by the min() function, succinctly stated in Schulman et al.
(2017), ignores changes in the probability ratio when it would increase the objective and focuses learning in which the objective would worsen.
Furthermore, the clipped boundary region provides a tight bound, outside of which the loss has function has no incentive to further change, encouraging smaller changes.
The hyperparameter (cid:15) controls the width of this region and can be found in Table 4.
Regularization for Molecular Generation There are additional costs that can be combined with the above techniques.
As the goal of de novo design is not to generate a single molecule, but rather a family of candidate molecules to present to an expert domain scientist; a diverse set of suggested molecules is always beneﬁcial.
To encourage robust learning, a regularization factor on the KullbackLeibler (KL) divergence between the current policy and the original policy can be added to encourage the model to not stray far from a good model of chemical distributions:
[Equation]
using a weight parameter λ and evaluating the static, pretrained policy π MLEθ ( a i | s t ) .
Similarly, for
RL scenarios, a way to explicitly encourage exploration is to place a cost on the distribution entropy of the model:
[Equation]
The values used in this work can be found in the supplementary material.
Additionally, we evaluate the policy gradient regularization scheme proposed by Olivecrona et al.
(2017), denoted “Aug. MLE” in this paper.
[Figure]
[Figure]
[Figure]
n o r m a li
z
e
d r e w a r d s
Celecoxxib 0.
n o r m a li
z
e
d r e w a r d s
MPO
[Figure]
Fexofenadine [Figure] Cobimetinib Ro
[Figure]
R ESULTS
These algorithms were built using PyTorch (Paszke et al., 2017), with RDKit (Landrum et al.) providing the chemoinformatics functionality.
These benchmarks were built as new environments in the OpenAI Gym (Brockman et al., 2016), and will be released as open-source to the community.
The code was run using an NVIDIA Tesla V100 GPU, with optimization times for 1000 action-steps shown in the “Runtime” category of Table 1.
The ﬁnal RNN architecture that underlies the Policy
Gradient, Regularized PG, GAN, A2C, PPO, HC MLE, and Augmented MLE models consists of three layers of 512 LSTM neurons, with a 512-dimensional embedding layer and a fully-connected output layer of 42 neurons.
It takes approximately eight hours to train for 70 epochs on the ﬁltered
ChEMBL dataset, with 50,000 randomly-sampled SMILES strings for development, 200,000 for test, and the remaining 1190203 used for training.
For the GAN architecture, the discriminator is a convolutional network with two alternating layers of ten kernels of 3x3 convolutions followed by 2x max-pooling, with global averaging over the ﬁnal two (real and fake) outputs.
Experiments were run for approximately 1.6M action-steps, corresponding roughly to 1000 SMILES in batches of 32 with an average sequence length of 44.
Encouragingly, the baseline MLE model after training produces 94.7% valid SMILES out of 10k generated molecules without further ﬁne-tuning, establishing an extremely competitive benchmark.
For similar evaluation, a GVAE was trained on the same dataset and achieved 37.1% valid molecules.
Moreover, 99.87% of these MLE-sampled molecules were unique, establishing very high diversity.
The RL model results, which are the remaining 17 benchmark tasks including multi-objective optimization, Ro5 optimization, ClogP targeting, and drug-ﬁngerprint targeting, can be found in
Table 1, with example RL curves in Fig.
The benchmarks referred to by a drug name are the
Tanimoto-approach benchmarks, in which a drug is held out from the training set and the model must design a similar drug given only the FCFC4 semantic hash of the drug.
The baseline model samples 10k random molecules from the training set, keeping only the best-performing ones.
Hillclimb-MLE Perhaps surprisingly, the alternating sampling and HC-MLE training algorithm was the most successful model.
The model effectively avoided nonoptimal local minima and steadily increased reward throughout training.
Given a large computation budget, this model appears the most successful for widely sampling while still optimizing towards a target.
PPO The PPO with the clipped objective was the most successful standard RL algorithm for this task.
It often converges an order-of-magnitude faster than other algorithms, but occasionally chooses a less optimal ﬁnal conﬁguration or occasional catastrophic loss.
For future work where molecule ﬁtness function testing time is signiﬁcant - if, for example, an assay is required - PPO is a valuable [Table] candidate as an optimization strategy.
A wide range of learning rates and entropy exploration costs were sampled (not shown) with PPO consistently and reliably training to achieve good performance.
GAN The GAN is a nascent and intriguing architecture, but was found to not be optimal for this task yet.
The complexity of balancing the discriminator against the generator, interleaving epochs, and choosing a correct architecture made it difﬁcult to use, though a signiﬁcant body of literature is working to address more stable training (Arjovsky et al., 2017; Salimans et al., 2016).
Though
MC rollouts are costly in action-steps (leading to the slightly unfair showing in Figure 3), the other problem is more fundamental: as Fig.
4a shows in a Principal Component Analysis (PCA) plot of the
MQN descriptors (Nguyen et al., 2009) of the generated molecules, stronger discriminator weight φ D forces the generated molecules to more closely match the primary modes of the training data.
Effectively reproducing the training data, however, contrasts with the purpose of the generator for optimizing towards a given molecule.
While this operates effectively as a regularizer, it is far more stable and explicit to regularize against the KL divergence as is done for the Regularized Policy
Gradient model than to balance the hyperparameters of a GAN.
Perhaps future work can investigate other uses of the GAN to, e.g. , coerce the architecture away from reproducing identical sequences rather than memorizing the training data.
Beneﬁts of extended sampling Examining the difference in the best single reward on the plotted runs (parentheses) in Table 1 and the ﬁnal timestep mean (no parentheses), algorithms clearly beneﬁt merely from sampling from a well-trained initial model for an extended period of time.
The regularized policy gradient model, in particular, demonstrates high peak performance yet consistently does not learn effectively, suggesting that straightforward sampling for a large, diverse model may be an acceptable strategy in the absence of convergence-time costs.
Temperature Sampling
A temperature factor is often included in available implementations to allow the generation of more diverse molecules.
It has a straightforward formulation for an output distribution P yielding P t = 1 Z e P/t , with normalization constant Z , temperature t , and temperaturealtered probability distribution P t .
However, as shown in the t-distributed Stochastic Neighbor
Embedding (t-SNE) (Maaten & Hinton, 2008) plot in Fig.
4b, higher temperatures do not necessarily translate to a better coverage of chemical space.
As a large proportion of possible SMILES strings are invalid, increasing the temperature is likely to invalidate the SMILES string.
The molecules generated [Figure] in the highest-temperature network favor short, brief SMILES strings that vastly undersample the chemical space.
Indeed, this suggests the best strategy to achieve high diversity and a larger sampling of valid space is to not use temperature sampling at all.
C ONCLUSION
In this work, we proposed a large, standardized dataset and a set of 19 benchmarks to evaluate models for molecule generation and design.
Several RL strategies were investigated on these benchmarks.
Here, the results suggest that the Hillclimb-MLE model is a surprisingly robust technique with large datasets and deep models, outperforming PPO given sufﬁcient compute times and sample evaluations.
In the space of constrained compute and sample evaluations, PPO was shown to be an effective learning algorithm, converging an order of magnitude before other reinforcement-learning algorithms for molecule generation.
Nevertheless, there is still tremendous need for more efﬁcient and effective models for molecular design, which could have a profound impact on molecular design — including drug, materials and agrochemicals discovery — and thus immediately on human well-being.
With the present, easily usable benchmark, we hope to inspire the machine learning community to pick up this challenge.
A S UPPLEMENTARY M ATERIAL
This supplementary material section offers additional information and to aid in reproducibility for the reader.
For visibility regarding the extent to which the MLE pretrained-model matches the trained space of chemistry, Figure 5 demonstrates its ability to effectively map and generate the space of
ChEMBL molecules.
In Table 2, the SMILES dictionary used in this work can be found.
The drugs used in the Tanimoto ﬁngerprint approach task can be found in Table 3, with the hyperparameters used in this work in Table 4.
D ATASET P ROPROCESSING
Preprocessing the Chembl-23 dataset is comprised of a few steps.
First, all molecules containing the compounds are neutralized and salts are stripped, keeping only the largest connected component.
Then, the canonical SMILES representation of the molecules are generated using RDKit (Landrum et al.), and all SMILES sequences longer than 100 characters are ﬁltered out.
Most molecules with more than 100 SMILES symbols are either peptides, too heavy or too complex to be considered in de novo -design, and 96.7% of ChEMBL is less than 100 symbols in length.
Any SMILES containing forbidden symbols (Table 2) are ﬁltered out.
Further, the molecules of the Tanimoto benchmark are removed from the set.
Finally, all molecules similar to these benchmark molecules in terms
a
Tanimoto coefﬁcient greater than 0.5 on ECFC4 ﬁngerprints are removed.
The remaining molecules are randomly split into train, test and development set.
Before one-hot encoding, the four multi-character included atoms (Br, Cl, Si, Se) were replaced with single-character substitutes.
Then, the included symbols (including start character 'Q' and end character ' \ n' are converted to integer token equivalents.
[Table]
'Li','Be','Ne','Na','Mg','Al','Ar','K','Ca','Sc', 'Ti','V','Cr','Mn','Fe','Co','Ni','Cu','Zn','Ga', 'Ge','As','Kr','Rb','Sr','Y','Zr','Nb','Mo','Tc', 'Ru','Rh','Pd','Ag','Cd','In','Sn','Sb','Xe','Cs', 'Ba','Hf','Ta','W','Re','Os','Ir','Pt','Au','Hg', 'Tl','Pb','Bi','Po','At','Rn','Fr','Ra','Rf','Db', 'Sg','Bh','Hs','Mt','Ds','Rg','Cn','Fl','Lv','La', 'Ce','Pr','Nd','Pm','Sm','Eu','Gd','Tb','Dy','Ho', 'Er','Tm','Yb','Lu','Ac','Th','Pa','U','Np','Pu', 'Am','Cm','Bk','Cf','Es','Fm','Md','No','Lr','as', 'te','Te','se'
Multi-character Symbols 'Br':Y, 'Cl':X, 'Si':A, 'Se':Z
Included Symbols 'Q',' \ n',' ','#','%','(', ')','+','-','.
','0','1', '2','3','4','5','6','7','8','9','=','A','B','C', 'F','H','I','N','O','P','S','X','Y','Z','[',']', 'b','c','n','o','p','s'
[Table]
N N
S
NH
O O
F
[Figure]
C
Celecoxxib
OH
N
O NH
F I
F F
HN
Cobimetinib
Cl
N N
[Figure]
O
NH
Cl
Aripiprazole
O
N N
NH
O HN
N
N N
Osimertinib
O
S O
HN
O O
OH
Troglitazone
O
O
OH N
N
O
HN
Ranolazine
[Figure]
[Table]
number of actions of RL optimization max grad norm=0.
Maximum norm of gradient before clipping gamma=1.
Time-discount factor lr=4eLearning rate of Adam optimizer eps=1eEpsilon parameter for Adam optimizer num steps=
Number of steps of forward steps batch size=
Number of parallel environments entropy coef=0.
Multiplicative cost of the entropy gae=
Do not use generalized advantage estimation val loss wt=0.
Weight of the value loss