Learning To Plan Chemical Syntheses Yunhao (Jack) Ji Yizhan (Ethan) - - PowerPoint PPT Presentation

learning to plan chemical syntheses
SMART_READER_LITE
LIVE PREVIEW

Learning To Plan Chemical Syntheses Yunhao (Jack) Ji Yizhan (Ethan) - - PowerPoint PPT Presentation

Learning To Plan Chemical Syntheses Yunhao (Jack) Ji Yizhan (Ethan) Jiang Shuja (Shuja) Khalid Lipai (Jim) Xu CSC 2547 Introduction Neural Networks MCTS Results Learning To Search Presenter - Yunhao (Jack) Ji Introduction Retrosynthesis


slide-1
SLIDE 1

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Learning To Plan Chemical Syntheses

Yunhao (Jack) Ji Yizhan (Ethan) Jiang Shuja (Shuja) Khalid Lipai (Jim) Xu

Yunhao (Jack) Ji

slide-2
SLIDE 2

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Introduction

  • Retrosynthesis

Yunhao (Jack) Ji

1 8, 9 2, 6 7, 8 3, 6 4, 5, 6 A Search Tree Representation

slide-3
SLIDE 3

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Motivation and Related Work

  • Manual constructing a valid tree can be hard

Yunhao (Jack) Ji

slide-4
SLIDE 4

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Motivation and Related Work

  • Computer-assisted synthesis planning (CASP) can automatically extract the

transformations

  • The generated tree has short depth but large branching factors and hard to

define heuristics.

An illustration of an example search tree to a synthesis planning Yunhao (Jack) Ji

slide-5
SLIDE 5

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Neural Networks

Learn Chemical Reaction Rules 12.4 million reactions from Reaxys database as dataset

Yizhan (Ethan) Jiang

slide-6
SLIDE 6

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Neural Networks for Action Selection

Actions in AlphaGo Actions in Chemical Synthesis

Yizhan (Ethan) Jiang

slide-7
SLIDE 7

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Neural Networks for Action Selection (1/2)

  • Expansion Policy Neural Network

○ Find K most possible molecular transformations

Yizhan (Ethan) Jiang

slide-8
SLIDE 8

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Neural Networks for Action Selection (2/2)

  • In-Scope Filter Neural Network

○ Filter out infeasible transformations

Yizhan (Ethan) Jiang

slide-9
SLIDE 9

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Neural Network for Rollout

  • Rollout Policy Neural Network

○ Select 10 most possible transformations ○ Only three layers for creating fast rollout policy

Yizhan (Ethan) Jiang

slide-10
SLIDE 10

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Synthesis Planning with 3N-MCTS

Selection Expansion Evaluate Backup

Shuja Khalid

3N - MCTS

The 3 Neural Networks covered

  • n previous slides

Next!

slide-11
SLIDE 11

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Synthesis Planning with 3N-MCTS

Target Molecule

? ? Selection Expansion Evaluate Backup

: Visit count of state-action pair : Prior probability of visiting state-action pair

c : Exploration constant

: Scalar value of state-action pair

Shuja Khalid

slide-12
SLIDE 12

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Synthesis Planning with 3N-MCTS

A

Target Molecule

B C Selection Expansion Evaluate Backup

Shuja Khalid

slide-13
SLIDE 13

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Synthesis Planning with 3N-MCTS

A

Target Molecule

B C

  • Check if state is terminal
  • Terminal → evaluate with the reward function
  • Non-terminal → begin rollout/evaluation step
  • Recursively sample actions from rollout policy until

termination condition is met Selection Expansion Evaluate Backup

Shuja Khalid

slide-14
SLIDE 14

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Synthesis Planning with 3N-MCTS

A B C

: Visit count of state-action pair : Custom objective function : Reward ∈ [-1,0,1]

Selection Expansion Evaluate Backup

Shuja Khalid

slide-15
SLIDE 15

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Synthesis Planning with MCTS

Shuja Khalid

AlphaGo Zero 3N-MCTS Algorithm Selection Expand and evaluate Backup Selection Expansion Rollout Update (p, v) = f(s) q = froll(s) , t = fexp(s) , p = fscope(s, r)

p: probability of selecting each move from a list of action probabilities v: scalar evaluation that estimates the probability of the current player winning from position s q: scalar evaluation of node r: reactions between molecules t: possible transformations p: probability of the molecules reacting

Select the set of actions (from a fixed set of actions) that will lead to victory! Take that Lee Sedol! Selecting the set of transformations (from a fixed set of transformations) that will help us find new drugs to cure diseases! Take that cancer!

Neural Nets Goal

slide-16
SLIDE 16

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Results & Discussion

  • Comparison with related methods
  • Preference of chemical experts
  • Limitations

Lipai (Jim) Xu

slide-17
SLIDE 17

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Comparison with related methods

Lipai (Jim) Xu

Method Time lim 3N-MCTS nBFS hBFS 5 sec 80% 40% 0% 60 sec 92% 71% 4% 1200 sec ~93% ~80% ~75%

slide-18
SLIDE 18

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Preference of Chemical Experts

Lipai (Jim) Xu

slide-19
SLIDE 19

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Limitations

  • Not enough train data for some tasks
  • Stereochemistry
  • Not totally admitted by the industry

Lipai (Jim) Xu

slide-20
SLIDE 20

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Thank You

Lipai (Jim) Xu

slide-21
SLIDE 21

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

References

Background image: http://turnoff.us/geek/binary-tree (with changes) Alpha Go content: http://discovery.ucl.ac.uk/10045895/1/agz_unformatted_nature.pdf Learning to Plan Chemical Synthesis content: https://arxiv.org/pdf/1708.04202.pdf

slide-22
SLIDE 22

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Presenter - Your Name!

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

slide-23
SLIDE 23

Presenter -

CSC 2547 Learning To Search

Introduction Neural Networks MCTS Results

Synthesis Planning with MCTS

Shuja Khalid

Alpha Go Zero 3N-MCTS Algorithm Neural Nets Objective Selection Expand and evaluate Backup Selection Expansion Rollout Update (p, v) = f(s) q = froll(s) , t = fexp(s) , p = fscope(s, r)

p: probability of selecting each move from a list of action probabilities v: scalar evaluation that estimates the probability of the current player winning from position s q: scalar evaluation of node ; r: reactions between molecules t: possible transformations ; p: probability of the molecules reacting where, U(s,a) ∝ P(s,a)/(1+N(s,a)) Q(s,a): action-value ; N(s,a): count visit ; P(s,a): prior probability

Maximise an upper confidence bound on Q(s,a) + U(s,a) Maximise the Q function which includes an adjustable

  • bjective W(bi)

where, N(s,a): count visit ; zi: reward received during rollout