Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding...

30
Encoding molecular structures as ranks of models: A new, secure way for sharing chemical data and development of ADME/T models Igor V. Tetko IBPC, Ukrainian Academy of Sciences, Kyiv, Ukraine and Institute for Bioinformatics, Munich, Germany March 14th, ACS

Transcript of Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding...

Page 1: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Encoding molecular structures as ranks ofmodels: A new, secure way for sharing

chemical data and development of ADME/Tmodels

Igor V. Tetko

IBPC, Ukrainian Academy of Sciences, Kyiv,Ukraine and Institute for Bioinformatics,

Munich, Germany

March 14th, ACS

Page 2: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Encoding molecular structures as SHUFFLEDranks of models: A new, secure way for sharing

chemical data and development of ADME/Tmodels

Igor V. Tetko

IBPC, Ukrainian Academy of Sciences, Kyiv,Ukraine and Institute for Bioinformatics,

Munich, Germany

Page 3: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Structure-Property correlations

•• Require representation (description) of the molecule in a Require representation (description) of the molecule in aformat that can be used for machine learning methods, i.e.format that can be used for machine learning methods, i.e.MLRA, neural network, PLSMLRA, neural network, PLS•• Two major systems: topological and 3D based Two major systems: topological and 3D based

•• Fragment-based indicesFragment-based indices•• topological indices topological indices•• E-state indices E-state indices

••Quantum-chemical parametersQuantum-chemical parameters•• VolfSurf VolfSurf descriptorsdescriptors•• Molecular shape parameters Molecular shape parameters

Page 4: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Three scenario for structure decoding

• Can we identify the molecule provided we have it inour portfolio?

• Can we do the same in knowledge that the moleculecan be originated from one of several chemicalseries?

• Can we identify the molecule provided we do notknow anything about it?

-- the most difficult scenario

-- the practical scenario

Page 5: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Can we identify the molecule provided we have it inour portfolio? Topological indices.

• The ability to unambiguously identify a molecule is limitedto information content of indices

• If the indices contain sufficient information, theidentification is possible

• Information content of a molecule:

• CCCCC -- 11111 (5 bits)• C1CCCC1N -- 12111123 (11 bits)

C -- 1 bit1 -- 2 bitsN -- 3 bits

Page 6: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Information content of molecules in set of12908 molecules (PHYSPROP database)

BitsFrequencyElement

178777C

276965c

342336)

442336(

529349O

6236481

720610=

816156N

9126582

0

2

4

6

8

10

12

0 20 40 60

bits/atom

non-hydrogen atoms

not optimal -- Huffman, arithmetic coding, other algorithms:gz, zip -- 3.5 bits/atom, bzip2 -- 2.9 bits/atom

Page 7: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Information content of a molecule

• 30 -- 40 atoms -- 90 -- 110 bits

• 1 double value -- 32 bits, 3 -- 4 topological indices potentiallycontains sufficient information to unambiguously decodemolecule with 40 atoms!

• In reality a larger number of indices can be required because ofrounding effects, non-optimal storage of information

• Thus, the encoding of molecules using topological indices canbe insecure.

Page 8: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

0

10

20

30

0 10 20 30 40 50 60 70

When reverse engineering is impossible? Apractical scenario.

• ALOGPS program:75 indices per molecule for logP33 indices per molecule for logS

• We use decreased resolution of data, i.e to just 3 significant digits per index(7-10 bits instead of 32 bits)

• Additional bits are coming from range ~ 11 bits per index => 10-12 indicesper molecule with 40 atoms

The information encoded in theindices could be (theoretically)adequate to decode themolecules with < 50 heavy atoms.

Average numberof indices per molecule

number of molecules

number of indices

But, this can be too pessimisticconclusion. The theoreticalpossibility to decode does notpropose a way how this can bedone!

“Decoding” limit

Page 9: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

ALOGPS 2.1••LogPLogP:: 75 input variables corresponding to electronic and topologicalproperties of atoms (E-state indices), 12908 molecules in thedatabase, 64 neural networks in the ensemble. Calculated resultsRMSE=0.35, MAE=0.26, n=76 outliers (>1.5 log units)

•LogS: 33 input E-state indices, 1291 molecules in the database, 64neural networks in the ensemble. Calculated results RMSE=0.49,MAE=0.35, n=18 outliers (>1.5 log units)

• Tetko, Tanchuk & Villa, JCICS, 2001, 41, 1407-1421.• Tetko, Tanchuk, Kasheva & Villa, JCICS, 2001, 41, 1488-1493.• Tetko & Tanchuk, JCICS, 2002, 42, 1136-1145.

Page 10: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

http://www.vcclab.org

Page 11: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Artificial Feed-Forward Back-propagation NeuralArtificial Feed-Forward Back-propagation NeuralNetwork (FBNN)Network (FBNN)

Page 12: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Early Stopping Over Ensemble (ESE)Early Stopping Over Ensemble (ESE)

InitialTraining Set

Learning/Validation Sets

Set no 2

Set no 1

Set no 199

Set no 200

Artificial NeuralNetwork Training

Artificial NeuralNetwork Ensemble Analysis

Learning

Validation

network no 1

network no 2

network no 199

network no 200

Partition

Page 13: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

ASNN: an example correction

!

12.3

4.6

M

13.2

10.1

"

#

$ $ $ $ $ $

%

&

' ' ' ' ' '

!

net 1

net 2

M

net 63

net 64

"

#

$ $ $ $ $ $

%

&

' ' ' ' ' '

!

13.7

4.8

M

15.8

12.0

"

#

$ $ $ $ $ $

%

&

' ' ' ' ' '

!

net 1

net 2

M

net 63

net 64

"

#

$ $ $ $ $ $

%

&

' ' ' ' ' '

-- both molecules are thenearest neighbors, r2=0.47, inspace of residuals!

N

HO

N

HO

logP=3.11

logP=3.48

Calculated logP=3.65, δ=+0.54

Calculated logP=4.24, δ=+0.76

1-kNN correction

Morphinan-3-ol, 17-methyl-

Levallorphan

--> 3.65-0.76=2.89 (δ=+0.22)

--> 4.24-0.54=3.70 (δ=+0.22)

Page 14: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Associative Neural Network (ASNN)Associative Neural Network (ASNN)

A prediction of case i:

!

xi[ ] • ANNE[ ]

M= z

i[ ] =

z1

i

M

zk

i

M

zM

i

"

#

$ $ $ $ $ $

%

&

' ' ' ' ' '

Pearson’s (Spearman) correlation coefficient rij=R(zi,zj)>0 in space of residuals

!=

=Mk

i

kiz

Mz

,1

1

( )!"

#+=$)(

1

ikNj

jjkii zyzzx

Ensemble approach:Ensemble approach:

<<= ASNN bias correction <<= ASNN bias correction

The correction of neural network ensemble value is performed using errors (biases)calculated for the neighbor cases of analyzed case xxii detected in space of neuralnetwork models

Page 15: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Prediction Space of the model does not coverthe “in house” compounds

“In house” data

Training set data

Each new molecule is encoded as rank of models

Page 16: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Encoding of a molecule as rank of models

21106934875

0.940.950.83.8850.850.910.900.860.880.89

Millions of solutions provide the same ranks of NN responses --> no way to decode -- previous name of the paper, but…

21106934875

0.140.150.03.0850.050.110.100.060.080.09

21106934875

0.840.950.03.4850.150.710.600.260.380.59

•ΔlogP=logPexp-logPcalc•64 values, ranks of NN

Page 17: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

How selective is rank coding?

• 8x64 = 512 bits (comparable to MDL keys)• 126 out of 121281 Asiprox (0.1%)• 12 out of 12908 PHYSPROP (0.1%)

Page 18: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

ALOGPS: Extrapolation vs Interpolation

Tetko, JCICS, 2002, 42, 717-742.Tetko & Bruneau, J. Pharm. Sci., 2004, 94, 3103-3110.

ALOGPS logP (blind) :MAE = 1.27, RMSE=1.63ALOGPS logP (LIBRARY):MAE = 0.49, RMSE=0.70

Page 19: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Pallas PrologD : MAE = 1.06, RMSE=1.41ACDlogD (v. 7.19): MAE = 0.97, RMSE=1.32ALOGPS: MAE = 0.92, RMSE=1.17ALOGPS LIBRARY: MAE = 0.43, RMSE=0.64

Tetko & Poda, J. Med. Chem., 2004, 94, 5601-5604.

Analysis of Pfizer data

Page 20: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

XLOGP

1873

CLOGP

9429

PHYSPROP 12 908

star set

nova set

PHYSPROP data set

Total:12908

3479 training“nova” -->predictionstar set

Page 21: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Prediction performance as function ofsimilarity in space of models of “star” set

Blind prediction

max correlation coefficientof a test compound to trainingset compounds

LIBRARY mode

max correlation coefficientof a test compound toLIBRARY compounds

MAE=0.28 (0.26)MAE=0.43

Page 22: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

NCI,250,000

http://ambinter.com650,000

http://asinex.com120,000

PHYSPROP

Reliability of new compoundpredictions

>0.7

~0.6

~0.5

~0.4

<0.3

0-0.2

r2 error

0.2-0.4

0.4-0.6

0.6-0.8

0.8-1

Page 23: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

NCI,250,000

http://ambinter.com650,000

http://asinex.com120,000

Aurora data PHYSPROP

Reliability of new compoundpredictions

>0.7

~0.6

~0.5

~0.4

<0.3

0-0.2

r2 error

0.2-0.4

0.4-0.6

0.6-0.8

0.8-1

Page 24: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Is identification possible?PHYSPROP -- Asinex study

NHN

O

O

O

O

O

HN

N O

r2=0.82

HNF

N

O

r2=0.85

F

NH

N

O

S

O

HN

NH2

O

NH

S

O

NH2

O

r2=0.97

Page 25: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Is identification possible?PHYSPROP -- Asinex study

O

O

HN

N O

N

OHN

O

O

0.77

N NH

O

O

0.67

N

HN

O

O

0.67

NHN

O

O

0.70

0.64

N NH

Cl

O

O

Page 26: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Is identification possible?PHYSPROP -- Asinex study

0.61

0.60

0.60

N

F

F

F

N

F

HN

F

N

F

F

F

N

F

HN

F

N

F

HN

N

F

F

F

F

F

F

F

N

NHN

NH

F

F

Page 27: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Securing the data -- shuffling ranks!

Shuffle r2=0.8 Shuffle r2=0.6

Page 28: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Rank shuffling• Shuffled rank molecule is less similar to itself than the

molecules from the other series wiil be pick-upped --> secureencoding

• Different molecules will have different distribution of neighborsas function of similarity=> lower level of security (e.g. 1 in 105, 1in 106) can be determined individually for each singlecompound using an external library (e.g. completeenumeration, compilation of public libraries)

• Everything can be done in completely automatic mode

Page 29: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

Possible approaches

• Development of new global models, afterthe development the data can bediscarded

• There is a theoretical possibility todecode the structure, particular forsmaller number of atoms in a molecule(not clear if such algorithm can berealized)

• One-to-one contract may be required…

• Allows to incorporate explicit structuralparameters as feature elements

• No limitation on the number of indices• The quality of local correction is

comparable to retraining• Very appealing to share on the WWW• Security can be controlled by shuffling

but will deteriorate prediction quality ofmodel

Raw topological indices Rank of models

• Develop new models in-house• Provide them to be included in the set of

models• Predict new data using an ensemble of

diverse models (ASNN in space of modelsof different companies)

• A complete set of automated tools todevelop them can be provided

Development of new models

Page 30: Encoding molecular structures as ranks of models: A new, secure … · 2006-07-08 · Encoding molecular structures as SHUFFLED ranks of models: A new, secure way for sharing chemical

AcknowledgementAcknowledgement Part of this presentation was done thanks to VirtualComputational Chemistry Laboratory INTAS-INFO 00-

0363 project (http://www.vcclab.org).

I thank Prof Hugo Kubinyi, Drs Pierre Bruneau andGennadiy Poda for collaboration and Prof. Tudor Oprea

for inviting me to participate in this conference.

Thank you for your attention!