You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RJT-RL: De novo molecular design using a Reversible Junction Tree and Reinforcement Learning
Implementation of "Molecular design method using a reversible tree representation of chemical compounds and deep reinforcement learning" by Ryuichiro Ishitani, Toshiki Kataoka, Kentaro Rikimaru.
(Paper: https://doi.org/10.1021/acs.jcim.2c00366)
The other package dependencies are described in requirements.txt.
To install the package and dependencies:
pip install .
Usage
Download dataset and model weights
If you want to use the pretrained policy using Zinc250k dataset,
please download the dataset and model weights files from zenodo
and save to the data directory.
Pretraining the policy network
Caution: If you are not trying to use other dataset and have downloaded the dataset and pretrained model files,
you can skip this section.
Run the pretraining of the policy network using the created dataset files.
bash examples/pretrain/run_pretrain_policy.sh
You may change the size of hidden vectors (128 in the example) and num of worker processes (16 in the examples) depending on your dataset and/or environment.
Training and exploration of molecules
To train the policy using the specific reward functions, run the script contained in the specific subdirectories.
If you find our work relevant to your research, please cite:
@article{ishitani2022rjtrl,
title={Molecular design method using a reversible tree representation of chemical compounds and deep reinforcement learning},
author={Ryuichiro Ishitani and Toshiki Kataoka and Kentaro Rikimaru},
year={2022},
journal={J. Chem. Inf. Model. https://doi.org/10.1021/acs.jcim.2c00366}
}
About
RJT-RL: De novo molecular design using a Reversible Junction Tree and Reinforcement Learning