Grammars and reinforcement learning for molecule optimization

Egor Kraev
11/27/2018
cs.LGphysics.chem-phstat.ML
rl

Official code: ZmeiGorynych/generative_playground (11 stars, Python, MIT, last commit 2023-07-06).

Abstract

We seek to automate the design of molecules based on specific chemical properties. Our primary contributions are a simpler method for generating SMILES strings guaranteed to be chemically valid, using a combination of a new context-free grammar for SMILES and additional masking logic; and casting the molecular property optimization as a reinforcement learning problem, specifically best-of-batch policy gradient applied to a Transformer model architecture.

Show full abstract

This approach uses substantially fewer model steps per atom than earlier approaches, thus enabling generation of larger molecules, and beats previous state-of-the art baselines by a significant margin. Applying reinforcement learning to a combination of a custom context-free grammar with additional masking to enforce non-local constraints is applicable to any optimization of a graph structure under a mixture of local and nonlocal constraints.

View on arXivView PDF

Code Implementations(1)

MIT

A collection of pytorch models and calibration types for generating discrete objects: equations, molecules, etc

115Python, Jupyter NotebookJun 13, 20183 years agoMIT

Similar Papers

Cite this paper

@article{kraev2018grammars,
  title  = {Grammars and reinforcement learning for molecule optimization},
  author = {Egor Kraev},
  year   = {2018},
  eprint = {1811.11222},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.11222}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.11222.svg)](https://codeofpaper.com/paper/1811.11222)

Discussion