arxiv: v1 [stat.ml] 2 Aug 2012

Similar documents
INF Introduction to classifiction Anne Solberg

INF Introduction to classifiction Anne Solberg Based on Chapter 2 ( ) in Duda and Hart: Pattern Classification

INF Anne Solberg One of the most challenging topics in image analysis is recognizing a specific object in an image.

Gaussian Process Vine Copulas for Multivariate Dependence

CONTINUOUS SPATIAL DATA ANALYSIS

Kernel PCA, clustering and canonical correlation analysis

MACHINE LEARNING 2012 MACHINE LEARNING

Towards Increasing Learning Speed and Robustness of XCSF: Experimenting With Larger Offspring Set Sizes

Semi-Supervised Laplacian Regularization of Kernel Canonical Correlation Analysis

EigenGP: Gaussian Process Models with Adaptive Eigenfunctions

Optimum Structure of Feed Forward Neural Networks by SOM Clustering of Neuron Activations

Nonstationary Covariance Functions for Gaussian Process Regression

x y plane is the plane in which the stresses act, yy xy xy Figure 3.5.1: non-zero stress components acting in the x y plane

Regression with Input-Dependent Noise: A Bayesian Treatment

Bayesian Inference of Noise Levels in Regression

Basic Tree Thinking Assessment David A. Baum, Stacey DeWitt Smith, Samuel S. Donovan

Uncertainty and Parameter Space Analysis in Visualization -

CSE 546 Midterm Exam, Fall 2014

A comparison of estimation accuracy by the use of KF, EKF & UKF filters

Optimal Kernels for Unsupervised Learning

Iran University of Science and Technology, Tehran 16844, IRAN

Lecture 1c: Gaussian Processes for Regression

ESANN'2001 proceedings - European Symposium on Artificial Neural Networks Bruges (Belgium), April 2001, D-Facto public., ISBN ,

Deep Nonlinear Non-Gaussian Filtering for Dynamical Systems

Mathematics 309 Conic sections and their applicationsn. Chapter 2. Quadric figures. ai,j x i x j + b i x i + c =0. 1. Coordinate changes

A greedy approach to sparse canonical correlation analysis

Exploring the posterior surface of the large scale structure reconstruction

1.1 The Equations of Motion

Tutorial on Gaussian Processes and the Gaussian Process Latent Variable Model

Exercise solutions: concepts from chapter 5

A New Perspective and Extension of the Gaussian Filter

Package OUwie. August 29, 2013

What is Fuzzy Logic? Fuzzy logic is a tool for embedding human knowledge (experience, expertise, heuristics) Fuzzy Logic

Perturbation Theory for Variational Inference

Methods for Advanced Mathematics (C3) Coursework Numerical Methods

Copyright, 2008, R.E. Kass, E.N. Brown, and U. Eden REPRODUCTION OR CIRCULATION REQUIRES PERMISSION OF THE AUTHORS

Department of Physics and Astronomy 2 nd Year Laboratory. L2 Light Scattering

Statistical nonmolecular phylogenetics: can molecular phylogenies illuminate morphological evolution?

Color Scheme. swright/pcmi/ M. Figueiredo and S. Wright () Inference and Optimization PCMI, July / 14

Gaussian Process priors with Uncertain Inputs: Multiple-Step-Ahead Prediction

6. Vector Random Variables

CLASSIFICATION (DISCRIMINATION)

Biol 206/306 Advanced Biostatistics Lab 11 Models of Trait Evolution Fall 2016

Learning From Data Lecture 7 Approximation Versus Generalization

σ = F/A. (1.2) σ xy σ yy σ zx σ xz σ yz σ, (1.3) The use of the opposite convention should cause no problem because σ ij = σ ji.

Estimation Of Linearised Fluid Film Coefficients In A Rotor Bearing System Subjected To Random Excitation

Variational Principal Components

Consider a slender rod, fixed at one end and stretched, as illustrated in Fig ; the original position of the rod is shown dotted.

4 Strain true strain engineering strain plane strain strain transformation formulae

2: Distributions of Several Variables, Error Propagation

General Vector Spaces

BASE VECTORS FOR SOLVING OF PARTIAL DIFFERENTIAL EQUATIONS

Discrete & continuous characters: The threshold model

Gaussian Process Regression

Applications of Proper Orthogonal Decomposition for Inviscid Transonic Aerodynamics

Power Functions. A polynomial expression is an expression of the form a n. x n 2... a 3. ,..., a n. , a 1. A polynomial function has the form f(x) a n

Learning Gaussian Process Models from Uncertain Data

RANGE CONTROL MPC APPROACH FOR TWO-DIMENSIONAL SYSTEM 1

5.6 RATIOnAl FUnCTIOnS. Using Arrow notation. learning ObjeCTIveS

Gaussians. Hiroshi Shimodaira. January-March Continuous random variables

Proper Orthogonal Decomposition Extensions For Parametric Applications in Transonic Aerodynamics

Lecture 3: Latent Variables Models and Learning with the EM Algorithm. Sam Roweis. Tuesday July25, 2006 Machine Learning Summer School, Taiwan

Lecture 5. Equations of Lines and Planes. Dan Nichols MATH 233, Spring 2018 University of Massachusetts.

Wavelet-Based Linearization Method in Nonlinear Systems

Eigenvectors and Eigenvalues 1

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures AB = BA = I,

17.3. Parametric Curves. Introduction. Prerequisites. Learning Outcomes

A HAND-HELD SENSOR FOR LOCAL MEASUREMENT OF MAGNETIC FIELD, INDUCTION AND ENERGY LOSSES

Exponential and Logarithmic Functions

Multiscale Principal Components Analysis for Image Local Orientation Estimation

15. Eigenvalues, Eigenvectors

Least-Squares Independence Test

STA414/2104. Lecture 11: Gaussian Processes. Department of Statistics

UNFOLDING THE CUSP-CUSP BIFURCATION OF PLANAR ENDOMORPHISMS

Nonparametric Bayesian Methods (Gaussian Processes)

Linear, threshold units. Linear Discriminant Functions and Support Vector Machines. Biometrics CSE 190 Lecture 11. X i : inputs W i : weights

Model Selection for Gaussian Processes

An Accurate Incremental Principal Component Analysis method with capacity of update and downdate

1.6 ELECTRONIC STRUCTURE OF THE HYDROGEN ATOM

3.2 LOGARITHMIC FUNCTIONS AND THEIR GRAPHS

1 History of statistical/machine learning. 2 Supervised learning. 3 Two approaches to supervised learning. 4 The general learning procedure

Strain Transformation and Rosette Gage Theory

Nonparameteric Regression:

A Modified Incremental Principal Component Analysis for On-line Learning of Feature Space and Classifier

Principal Component Analysis

7-6. nth Roots. Vocabulary. Geometric Sequences in Music. Lesson. Mental Math

1 HOMOGENEOUS TRANSFORMATIONS

Control Schemes to Reduce Risk of Extinction in the Lotka-Volterra Predator-Prey Model

Monte Carlo integration

Velocity Limit in DPD Simulations of Wall-Bounded Flows

Fixed Point Theorem and Sequences in One or Two Dimensions

Anomaly Detection and Removal Using Non-Stationary Gaussian Processes

The Joy of Path Diagrams Doing Normal Statistics

Transformation of kinematical quantities from rotating into static coordinate system

Classification for High Dimensional Problems Using Bayesian Neural Networks and Dirichlet Diffusion Trees

Table of Contents. Module 1

Exact Differential Equations. The general solution of the equation is f x, y C. If f has continuous second partials, then M y 2 f

17.3. Parametric Curves. Introduction. Prerequisites. Learning Outcomes

Demonstrate solution methods for systems of linear equations. Show that a system of equations can be represented in matrix-vector form.

Introduction to Machine Learning

Transcription:

Ancestral Inference from Functional Data: Statistical Methods and Numerical Eamples Pantelis Z. Hadjipantelis, Nick, S. Jones, John Moriart, David Springate, Christopher G. Knight arxiv:1208.0628v1 [stat.ml] 2 Aug 2012 Abstract Man biological characteristics of evolutionar interest are not scalar variables but continuous functions. Here we use phlogenetic Gaussian process regression to model the evolution of simulated functionvalued traits. Given function-valued data onl from the tips of an evolutionar tree and utilising independent principal component analsis (IPCA) as a method for dimension reduction, we construct distributional estimates of ancestral function-valued traits, and estimate parameters describing their evolutionar dnamics. Kewords: comparative analsis; Ornstein- Uhlenbeck process; non-parametric Baesian inference; functional phlogenetics; ancestral reonconstruction 1 Introduction The number, reliabilit and coverage of evolutionar trees is growing rapidl [1].However, knowing organisms evolutionar relationships through phlogenetics is onl one step in understanding the evolution of their characteristics [2]. Two issues are particularl challenging: first, information is tpicall onl available for etant organisms, represented b tips of a phlogenetic tree, whereas understanding their evolution requires inference about ancestors deeper in the tree. Second, available information for different organisms in a phlogen is not independent: a phlogen describes a comple pattern of non-independence. A variet of statistical models have been developed to address these issues Centre for Compleit Science, Universit of Warwick, Coventr CV4 7AL, UK Department of Mathematics, Imperial College London, SW7 2AZ School of Mathematics, Universit of Manchester, Oford Road, Manchester M13 9PL, UK Facult of Life Sciences, Universit of Manchester, Oford Road, Manchester M13 9PT, UK (e.g. see [3]). However, most deal with onl one characteristic of an organism, encapsulated in a single value, at a time. This simplicit contrasts with the compleit of an organism which has, not onl man individual characteristics, but also characteristics impossible to represent effectivel as single numbers. Some such characteristics, for eample growth curves, ma be modelled as function-valued traits [4], i.e. as points in an infinite dimensional space. A novel approach to analsing the evolution of functionvalued traits has recentl been proposed: phlogenetic Gaussian process regression [5, 6]. Here we develop a practical implementation of this approach, which first linearl decomposes function-valued traits for a set of taa into statisticall independent components. This phlogeneticall agnostic method of dimension reduction is robust to mied inherited and taon-specific variation in the data (e.g. see [7]). Our method then implements the Baesian regression analsis described in [5], returning posterior distributions for ancestral function-valued traits. We show that this analsis produces reliable distributional estimates for our simulated data, which ma be further separated into inherited and specific components of variation. We also analse the statistical performance of the method for making point estimates for the (hper-)parameters [8] describing the evolutionar dnamics of the components. Overall, our method appropriatel combines developments in functional data analsis with the evolutionar dnamics of quantitative phenotpic traits, allowing nonparametric Baesian inference from phlogeneticall non-independent function-valued traits. Details of the simulation and inference methods are given in section 2 and section 3 gives results and discussion both for reconstructing ancestral function-valued traits and for estimating their evolutionar parameters. 1

2 Methods 2.1 Simulating function-valued traits We simulate datasets using the Ornstein-Uhlenbeck (OU) Gaussian process as a model of evolutionar change. The technical justification for the broad applicabilit of this model is presented in 2.2 and 2.3. However, OU processes are alread well documented in the evolutionar biolog literature [9, 10], having the advantage over simpler Brownian motion models [11] of modelling both selection and genetic drift. The OU model also ehibits a stationar distribution with covariances between character values decreasing eponentiall with phlogenetic distance [12]. We first generated a random, non-ultrametric, 128- tip phlogentic tree T, with branch lengths drawn from an inverse Gaussian (IG) distribution, IG(.5,.5) (figure 1A). Function-valued traits were simulated at each tip and internal node b randoml miing a common set of basis functions; for each i = 1, 2, 3 a smooth function (figure 1B,Upper-left) was discretised producing a basis vector φ i of length 1024. An OU Gaussian Process (independent for each i) was used to generate weights for the ith component w i at each of the 255 nodes of T (128 tips and 127 internal nodes), with mean zero and covariance function kt(t i 1, t 2 ) = E[wt i 1, wt i 2 ] (1) ( ) = (σf i ) 2 dt (t 1, t 2 ) ep + (σn) i 2 δ t1,t 2 λ i for t 1 and t 2 T, where d T (t 1, t 2 ) denotes the patristic distance (that is, the distance in T) between t 1 and t 2. This covariance function is developed in section IIC2 of [5]: in the present contet, σ i f quantifies the intensit of inherited variation, λ i is the characteristic length-scale of the evolutionar dnamics [8] (equivalent to the inverse of the strength of selection), and σ i n quantifies the intensit of specific variation (i.e. variation unattributable to the phlogen). We selected the hperparameters in table 1, to give different qualities to each of the three components of variation. In particular, component 2 (figure 1B, upperleft, dashed line) has no inherited variation and it follows that the characteristic length-scale/strength-ofselection parameter λ 2 has no meaning for this component. Each node in the tree t T thus had an associated vector w t = (w 1 t, w 2 t, w 3 t) giving the weights for each of the three basis functions. These weighted basis functions were used to produce a single functioni σf i λ i σn i 1 4.5 17.9 0.45 2 0 NA 1 3 3.0 8.95 0.45 Table 1: Hperparameter values used to generate the function-valued data shown in figure 1A. The three hperparameters (inherited variation σ f, length-scale λ and specific variation σ n, see tet), define the covariance of the basis functions (figure 1B, upper-left) at different points in the tree according to equation (1). valued trait f t at each node (of which four are shown in figure 1B, lower-left panel): f t = w T t φ (2) where φ is the 3 1024 matri having each φ i as its rows. The resulting set of 255 curves f t (t T) was divided into two parts: the 128 curves at tips of T to be used as training data (that is, inputs to our regression analsis), and the 127 curves at internal nodes of T to be used for validation of the method. 2.2 Dimension reduction and source separation for functional data Since the space of all (univariate) continuous functions is infinite-dimensional, if the sample curves lie close to a finite dimensional linear subspace, an acceptable approimation can be obtained b utilising weighted sums of basis curves that span that linear subspace. Effectivel, this involves reversing equation (2): given the curves f t, the task is to estimate the common basis φ and the weights w t. This is the challenge of source separation [13]. A more rigorous justification for this heuristic is provided b [5]. It is shown there that a wide class of Gaussian processes of function-valued traits on a phlogen have eactl the linear decomposition in equation (2), where for each of the i basis functions the weights wt i themselves form a (univariate) phlogenetic Gaussian process w i on the phlogen T. The task, then, is to estimate the basis φ and weights w t at the tips of T accuratel. The standard approach to choosing basis curves is PCA [14], which does so b eplaining the greatest possible variation in successive orthogonal components, an approach etended to 2

A) B) Figure 1: A The 128-tip random tree used with function-valued traits at four tips (right), the root and one internal node (left). The maimal distance between an two tips is 17.9, the mean distance 7.43. B Panels, clockwise from top-left: The common basis functions used to generate data (φ 1, φ 2, φ 3 ); results of PCA on the training data; results of IPCA on the training data; and the simulated function-valued traits at the four tips indicated in A (black lines), with the sample mean curve (red). take account of phlogenetic relationships [15]. However, if a sample of functions is generated b miing non-orthogonal basis functions, the principal components of the sample (whether or not the account for phlogen) will not equal the basis curves, due to the assumption of orthogonalit: see figure 1B. If we remove the assumption of orthogonalit, however, we must replace it with an alternative assumption in order to have the right number of mathematical constraints to perform source separation. In independent components analsis (ICA), the alternative assumption made is that the weight components w i are statisticall independent for different values of i. This assumption fits naturall into our model. PCA is an appropriate tool for estimating true dimensionalit. Therefore, to achieve both dimension reduction and source separation, we first applied PCA to the training data (the 128 curves at the tips of T) to determine the appropriate value for k [14], which was correctl returned as k = 3. The principal components were then passed to the CubICA implementation of ICA [16]. ICA has proved fruitful in other biological applications [17] as has passing the results of PCA to ICA, which has been termed IPCA [18]. CubICA returned a new set of k components (figure 1B, lower-right panel) and, for each i, a corresponding weight wt i at each tip t. An independent, univariate phlogenetic Gaussian process regression was then performed for each value of i, as described in 2.3, to obtain posterior distributions for the weights throughout the tree. The posterior distributions at ever node in the tree (one posterior for each w i ) were then mapped to a single functional posterior distribution. Using IPCA we can therefore approimatel reconstruct both the basis φ and the miing vectors w t from the tip data, in such as wa as to be full compatible with the phlogenetic Gaussian process framework of [5]. 2.3 Phlogenetic Gaussian process regression The mechanics of phlogenetic Gaussian process regression using a basis φ are discussed in detail in [5], section IIC2. As discussed there, the phlogenetic OU process is the onl stationar and Markovian Gaussian process. For each i = 1, 2, 3, under these assumptions we would therefore choose the covariance function given in equation (1), and onl the hperparameters θ i = (σf i, σi n, λ i ) would remain to be specified (for a fied phlogen T). In the ancestral inference described in 2.2, we assume the parameter values in table 1 to be known. 3

For the task of parameter estimation we performed the following procedure. For each of the three components σ i f, σi n, λ i in turn, given the values of of the other two components we maimise the likelihood epression (2) in [5] with respect to the third component to obtain their maimum likelihood estimates, and compare these to the true value. 3 Results and Discussion Given a tree T and functional data associated with each of its tips, we shall make inferences about ancestral traits and evolutionar parameters. We simulate data on the tree in figure 1A as described in 2.1, and we estimate the independentl varing basis functions φ i using IPCA (figure 1B) on tip data alone. Using the basis φ and the process hperparameters, we derive posterior distributions over functional traits throughout the tree. Eamples of the posterior distributions obtained are shown in figure 2. Since specific variation (represented b the light gre band) is modelled as statisticall independent at each point in T, the specific variance ma simpl be subtracted from the total posterior variance to obtain the posterior variance due to inherited variation (whose standard deviation is given b the width of the dark gre band). The simulated validation data is also shown in black, and can be seen tpicall to lie within the posterior standard deviation (given b the width of the dark gre plus light gre band). Note that the contribution of specific variation to the posterior variance is constant across the tree since tip data are silent concerning the specific component of the functionvalued trait at internal nodes. On the other hand, the darker gre band decreases in width going awa from the root, reflecting the decreasing (although not entirel vanishing) uncertaint concerning the inherited component of the function-valued trait as we approach the measured traits at the tips. We note that the posterior distribution, even at the root, puts a clear constraint on the possible ancestral functional data: in this (admittedl simulated and highl controlled) setting we can reason effectivel about ancestral function-valued traits. We net considered whether parameters describing evolutionar dnamics could be estimated, given onl functional data from the tips of the tree. Specificall, we fied two of the three components of θ i to random values and estimated the third: results shown in figures S1-2. The accurac of the predictions is ver encouraging: essentiall the are problematic onl on relativel rare occasions when an over-simplified model is fitted ecluding either inherited or specific variation entirel. Similarl promising statistical performance was obtained when λ was known and knowledge of either σ f or σ n was replaced b knowledge of the ratio between them. When there is greater uncertaint over the hperparameters, we anticipate that the use of hperpriors will enable statistical performance to be maintained for inference about ancestral function-valued traits, but we reserve this for future work. R Code for the IPCA, ancestral reconstruction and hperparameter estimation is available from http://tinurl.com/funcphlo1 References [1] Maddison DR, Schulz KS. The Tree of Life Web Project; 2007. http://tolweb.org. [2] Yang Z, Rannala B. Molecular phlogenetics: principles and practice. Nature Reviews Genetics. 2012;13(5):303 14. [3] Salamin N, Wuest RO, Lavergne S, Thuiller W, Pearman PB. Assessing rapid evolution in a changing environment. Trends in Ecolog & Evolution. 2010;25(12):692 8. [4] Kirkpatric M, Heckman N. A quantitative genetic model for growth, shape, reaction norms, and other infinite-dimensional characters. Journal of Mathematical Biolog. 1989;27:429 450. [5] Jones NS, Moriart J. Evolutionar Inference for Function-valued Traits: Gaussian Process Regression on Phlogenies. arxiv:10044668. 2012;. [6] Group TFP. Phlogenetic inference for functionvalued traits: speech sound evolution. Trends in Ecolog & Evolution. 2012;27(3):160 6. [7] Cheverud JM, Dow MM, Leutenegger W. The Quantitative Assessment of Phlogenetic Constraints in Comparative Analses: Seual Dimorphism in Bod Weight Among Primates. Evolution. 1985;39(6):pp. 1335 1351. [8] Rasmussen CE, Williams CKI. Gaussian Processes for Machine Learning. MIT Press; 2006. [9] Butler MA, King AA. Phlogenetic Comparative Analsis: A Modelling Approach for Adaptive Evolution. American Naturalist. 2004;164(6):683 695. 4

Root Estimate Internal Node Estimate Tip Estimate Figure 2: Posterior distributions at three points in the phlogen. The prediction made b the regression analsis shown via the posterior mean (red line), the component of posterior standard deviation due to inherited variation (dark gre band) and specific variation (light gre band). The black line shows the simulated data. In the left and centre panels this black line enables validation of the ancestral predictions. In the right panel, the black line is the training data at that tip and the posterior distribution should be understood as a prediction for an independent organism at the same point in the phlogen. The root and internal node here are the same as those indicated in figure 1A, and the tip is the second from bottom on the right of figure 1A. [10] Hansen T, Martins E. Translating between microevolutionar process and macroevolutionar patterns: the correlation structure of interspecific data. Evolution. 1996;50(4):1404 1417. [11] Felsenstein J. Phlogenies and the Comparative Method. American Naturalist. 1985;125(1):1 15. [12] Hansen T. Stabilizing Selection and the Comparative Analsis of Adaptation. Evolution. 1997;51(5):1341 1351. [17] Scholz M, Gatzek S, Sterling A, Fiehn O, Selbig J. Metabolite fingerprinting: detecting biological features b independent component analsis. Bioinformatics. 2004;20(15):2447 2454. [18] Yao F, Coquer J, Le Cao KA. Independent Principal Component Analsis for biologicall meaningful dimension reduction of large biological data sets. BMC Bioinformatics. 2012;13(1):13 24. [13] Hvärinen A, Oja E. Independent component analsis: algorithms and applications. Neural Networks. 2000;13(4-5):411 430. [14] Minka TP. Automatic choice of dimensionalit for PCA. NIPS. 2000;13:514. [15] Revell LJ. Size-correction and principal components for interspecific comparative studies. Evolution. 2009;63(12):3258 3268. [16] Blaschke T, Wiskott L. CuBICA: Independent Component Analsis b Simultaneous Third- and Fourth-Order Cumulant Diagonalization. IEEE Transactions on Signal Processing. 2004;52(5):1250 1256. 5