32
Review of methods to assess Review of methods to assess a QSAR Applicability Domain a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova – Jeliazkova IPP Bulgarian Academy of Sciences Sofia , Bulgaria

Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Embed Size (px)

Citation preview

Page 1: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Review of methods to assess Review of methods to assess a QSAR Applicability Domaina QSAR Applicability Domain

Joanna JaworskaProcter & Gamble

European Technical CenterBrussels, Belgium

and

Nina Nikolova – JeliazkovaIPP

Bulgarian Academy of SciencesSofia , Bulgaria

Page 2: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

ContentsContents

• Why we need applicability domain ?

• What is an applicability domain ?– Training data set coverage vs predictive domain

• Methods for identification of trainingset coverage

• Methods for identification of predictive domain

• Practical use / software availability

Page 3: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Why we need applicability Why we need applicability domain for a QSAR ?domain for a QSAR ?

• Use of QSAR models for decision making increases– Cost & time effective– Animal alternatives

• Concerns related to quality evaluation of model predictions and prevention of model’s potential misuse.– Acceptance of a result = prediction from applicability

domain

• Elements of the quality prediction – define whether the model is suitable to predict activity of a

queried chemical– Assess uncertainty of a model’s result

Page 4: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

QSAR models as a high consequence QSAR models as a high consequence computing – can we learn from others computing – can we learn from others ? ?

• In the past QSAR research focused on analyses of experimental data & development of QSAR models

• The applicability domain QSAR definition has not been addressed in the past– Acceptance of a QSAR result was left to the

discretion of an expert – It is no longer classic computational toxicology– currently the methods and software are not very

well integrated with

• However, Computational physicists and engineers are working on the same topic – Reliability theory and Uncertainty analysis– increasingly dominated by Bayesian approaches

Page 5: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

What is an applicability What is an applicability domain ?domain ?

• Setubal report (2002) provided a philosophical definition of the applicability domain but not possible to compute code.

• Training data set from which a QSAR model is derived provides basis for the estimation of its applicability domain.

• The training set data, when projected in the model’s multivariate parameter space, defines space regions populated with data and empty ones.

• Populated regions define applicability domain of a model i.e. space the model is suitable to predict. This stems from the fact that generally, interpolation is more reliable than extrapolation.

Page 6: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Experience using QSAR training set Experience using QSAR training set domain as application domain domain as application domain

. Root Mean Squared Error of

KOWWIN data sets

0

0.2

0.4

0.6

0.8

1

RM

SE

All 0.22 0.47

In-domain 0.22 0.45

Out-of-domain

0 0.72

Training set Validation set

•Interpolative predictive accuracy defined as predictive accuracy within the training set is in general greater than Extrapolative predictive accuracy

•The average prediction error outside application domain defined by the training set ranges is twice larger than the prediction error inside the domain.

•Note that it is true only on average, i.e. there are many individual compounds with low error outside of the domain, as well as individual compounds with high error inside

the domain. For more info see poster

Page 7: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

What have we missed while What have we missed while defining applicability domain?defining applicability domain?

• The so far discussed approach to applicability domain addressed ONLY training data set coverage

• Is applicability domain for 2 different models developed on the same data set same or different ?

• Clearly we need to take into account model itself

Page 8: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Applicability domain –Applicability domain –evolved viewevolved view

• Assessing if the prediction is from interpolation region representing training set does not tell anything about model accuracy– The only link to the model is by using model variables

( descriptors)

• Model predictive error is eventually needed to make decision regarding acceptance of a result.– Model predictive error is related to experimental data

variability, parameter uncertainty– Quantitative assessment of prediction error will allow for

transparent decision making where different cutoff values of error acceptance can be used for different management applications

Page 9: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Applicability domain estimation Applicability domain estimation – 2 step process– 2 step process

• Step 1 – Estimation of Application domain– Define training data set coverage by interpolation

• Step 2 – Model Uncertainty quantification– Calculate uncertainty of predictions , i.e. predictive

error

Page 10: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Application domain of a QSARApplication domain of a QSAR

Training set of chemicals

Multivariate descriptor space

Legend:

Estrogen binding training set

HVPC database

Applicability domain =

populated regions in multivariate descriptor

space ?

Page 11: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Application domain estimationApplication domain estimation

• Most of current QSAR models are not LFERs

• They are statistical models with varying degree of mechanistic interpretationusualy developed a posteriori

• Statistical models application is confined to interpolation region of the data used to develop a model i.e. training set

• Mathematically, interpolation projection of the training set in the model’ descriptors space is equivalent to estimating a multivariate convex hull

Page 12: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Is classic definition of interpolation Is classic definition of interpolation sufficient ?sufficient ?

In reality often– data are sparse and nonhomogenous;

• Group contribution methods are especially vulnerable by the “Curse of dimensionality”

– Data in the training set are not chosen to follow experimental design because we are doing retrospective evaluations

Empty regions within the interpolation space may exist;The relationship within the empty regions can differ from the derived model and we can not verify this

without additional data;

Page 13: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Interpolation vs. ExtrapolationInterpolation vs. Extrapolation

1D : parameter range determines interpolation region

>2D: is empty space within ranges interpolation ?

Legend:

BCF Training set

Legend:

SRC KOWWIN Training set

Page 14: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Interpolation vs. Extrapolation Interpolation vs. Extrapolation (Linear models)(Linear models)

Linear model: Predicted results within interpolation range do

not exceed training set endpoint values

Linear model - 2D – can exceed training set endpoint values even within ranges

Page 15: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Approaches to determine Approaches to determine interpolation regionsinterpolation regions

•Descriptor Descriptor rangesranges

•DistancesDistances

•GeometriGeometricc

•ProbabilisticProbabilistic

Page 16: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Ranges of descriptors Ranges of descriptors

• Very simple

• Will work for high dimensional models

– Only practical solution for group contribution method – KOWIN model contains over 500 descriptors

• Cannot pick holes in the interpolated space• Assumes homogenous distribution of the data

Page 17: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Distance approachDistance approach

• Euclidean distance – Gaussian distribution of data– No correlation between descriptors

• Mahalonobis distance– Gaussian distribution of data– Correlation between descriptors

Page 18: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Probabilistic approach Probabilistic approach

• Does not assume standard distribution. Solution for general multivariate case by nonparametric distribution estimation

• The probability density is a most accurate approach to identify regions containing data

• Can find internal empty regions and differentiate between differing density regions

• Accounts for correlations, skewness

Page 19: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Bayesian Classification Rule provides theoretically optimal decision boundaries with smallest classification error

Bayesian Probabilistic Approach to Bayesian Probabilistic Approach to ClassificationClassification

• Estimate density of each data set

• Read off probability density value for the new point for each data set

• Classify the point to the data set with the highest probability value

•R.O.Duda and P.E.Hart. Pattern Classification and Scene Analisys, Wiley, 1973

•Duda R., Hart P., Stork D., Pattern Classification, 2nd ed., John Wiley & Sons, 2000

•Devroye L., Gyorfi L., Lugosi G., A probabilistic Theory of Pattern Recognition, Springer, 1996

Page 20: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Probability Density EstimationProbability Density Estimationmultidimensional approximationsmultidimensional approximations

Assume xi independent

•Estimate 1D density by fast algorithm.

•Estimate nD density by product of 1D densities

Does not account for correlation between descriptors

•Extract principal components

•Estimate 1D density by fast algorithm on each principal component

•Estimate nD density by product of 1D densities

Accounts for linear correlations

via PCA (rotation of the coordinate system)

Page 21: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Various approximations of Various approximations of Application domain may lead to Application domain may lead to different resultsdifferent results

(a) ranges

(b) distance based

(c) distribution based

(a)

(b) (b) (c)

Page 22: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Is it correct to say :

• “prediction result is always reliable for a point within the application region” ?

• “prediction is always unreliable if the point is outside the application region” ?

Interpolation regions and Interpolation regions and Applicability domain of a modelApplicability domain of a model

Page 23: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Assessment of predictive errorAssessment of predictive error

• Assessment of the predictive error is related to model uncertainty quantification given the uncertainty of model parameters– Need to calculate uncertainty of model

coefficients– Propagate this uncertainty through the model

to assess prediction uncertainty• Analytical method of variances if the model is

linear in parametersy=ax1+ bx2

• Numerical Monte Carlo method

Page 24: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Methods to assess predictive error Methods to assess predictive error of the modelof the model

– Training set error– test error– Predictive error

• External validation error• Crossvalidation• bootstrap

Page 25: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

ConclusionsConclusions• Applicability domain is not a one step evaluation. It requires

• estimation of application domain - data set coverage

• Estimation of predictive error of the model

• Various methods exist for estimation of interpolated space, boundaries defined by different methods can be very different.

• Be honest and do not apply “easy” methods if the assumptions will be violated. It is important to differentiate between dense and empty regions in descriptor space, because Relationship within empty space can be different than the model and we can not verify this without additional data

• To avoid complexity of finding Application Domain after model development Use Experimental design before model development

Page 26: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Conclusions -2 Conclusions -2

•Different methods of uncertainty quantification exist, choice depends on the type of the model ( linear, nonlinear)

Page 27: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Practical use/software Practical use/software availabilityavailability

• For uncertainty propagation can we advertise Busy ?

Page 28: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

COVERAGE ApplicationCOVERAGE Application

Page 29: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Thank you !Thank you !

Acknowledgements to Tom Aldenberg ( RIVM) Acknowledgements to Tom Aldenberg ( RIVM)

Page 30: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Example: Two data sets, represented in two different 1D descriptors:

•green points

•red points

Two models (over two different descriptors X1 and X2.

•Linear model (green)

•Nonlinear model (red)

The magenta point is within coverage of both data sets.

Coverage estimation should be used only as a warning,

and not as a final decision of “model applicability”

Interpolation regions and Interpolation regions and applicability domain of a modelapplicability domain of a model

Is the prediction reliable ?

Experimental activity

Page 31: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Possible reasons for the error :Possible reasons for the error :

The true relationshipThe models

• Models missing important parameter• Wrong type of model• Non-unique nature of the descriptors

Experimental activity

Experimental activity

Page 32: Review of methods to assess a QSAR Applicability Domain Joanna Jaworska Procter & Gamble European Technical Center Brussels, Belgium and Nina Nikolova

Two data sets, represented in two different 1D descriptors:

•green points

•red points

Two models (over two different descriptors X1 and X2.

•Linear model (green)

•Nonlinear model (red)

The magenta point is OUT of coverage of both data sets.

Prediction could be correct,

if the model is close to the TRUE RELATIONSHIP

outside the training data set!

Correct predictions outside of the Correct predictions outside of the data set coverage. Example:data set coverage. Example: