Literature DB >> 27489209

Cross-Validation Without Doing Cross-Validation in Genome-Enabled Prediction.

Daniel Gianola1, Chris-Carolin Schön2.   

Abstract

Cross-validation of methods is an essential component of genome-enabled prediction of complex traits. We develop formulae for computing the predictions that would be obtained when one or several cases are removed in the training process, to become members of testing sets, but by running the model using all observations only once. Prediction methods to which the developments apply include least squares, best linear unbiased prediction (BLUP) of markers, or genomic BLUP, reproducing kernels Hilbert spaces regression with single or multiple kernel matrices, and any member of a suite of linear regression methods known as "Bayesian alphabet." The approach used for Bayesian models is based on importance sampling of posterior draws. Proof of concept is provided by applying the formulae to a wheat data set representing 599 inbred lines genotyped for 1279 markers, and the target trait was grain yield. The data set was used to evaluate predictive mean-squared error, impact of alternative layouts on maximum likelihood estimates of regularization parameters, model complexity, and residual degrees of freedom stemming from various strengths of regularization, as well as two forms of importance sampling. Our results will facilitate carrying out extensive cross-validation without model retraining for most machines employed in genome-assisted prediction of quantitative traits.
Copyright © 2016 Gianola and Schon.

Entities:  

Keywords:  GenPred; Shared Data Resources; cross-validation; genomic BLUP; genomic prediction; genomic selection; reproducing kernels

Mesh:

Year:  2016        PMID: 27489209      PMCID: PMC5068934          DOI: 10.1534/g3.116.033381

Source DB:  PubMed          Journal:  G3 (Bethesda)        ISSN: 2160-1836            Impact factor:   3.154


Whole-genome-enabled prediction, introduced by Meuwissen , has received much attention in animal and plant breeding (e.g., Van Raden 2008; Crossa ; Lehermeier ), primarily because it can deliver reasonably accurate predictions of the genetic worth of candidate animals or plants at an earlier time in the context of artificial selection. It has also been suggested for prediction of complex traits in human medicine (e.g., de los Campos ; Makowsky ; Vázquez ; López de Maturana ; Spiliopoulou ) An important contribution of Utz ) and of Meuwissen was implanting cross-validation (CV) in plant and animal breeding as a mechanism for comparing prediction models, typically multiple linear regressions on molecular markers. In retrospect, it is perplexing that the progression of genetic prediction models, e.g., from simple “sire” or “family” models in the late 1960s (Henderson ) to complex multivariate and longitudinal specifications (Mrode 2014), proceeded without CV, as noted by Gianola and Rosa (2015). An explanation, at least in animal breeding, is the explosion of best linear unbiased prediction, BLUP (Henderson 1973, 1984). The power and flexibility of the linear mixed model led to the (incorrect) belief that a bigger model is necessarily better, simply because of extra explanatory power from an increasing degree of complexity. However, a growing focus on predictive inference and on CV has altered such perception. A simple prediction model may produce more stable, and even better, results than a complex hierarchical model (Takezawa 2006; Wimmer ), and the choice can be made via CV. Today, CV is a sine qua non part of studies comparing genome-assisted prediction methods. Most often, CV consists of dividing a data set with n cases (each including a phenotypic measurement and a vector of genomic covariables) into a number of folds (K) of approximately equal size. Data in K − 1 folds are used for model training, and to effect predictions of phenotypes in the testing fold, given the realized values of the genomic covariables. The prediction exercise is repeated for each fold, and the overall results are combined; this is known as a K-fold CV (Hastie ). A loss function, such as mean-squared error (MSE) or predictive correlation is computed to gauge the various predictive machines compared. However, the process must be repeated a number of times, with folds reconstructed at random (whenever possible) to obtain measures of CV uncertainty (e.g., Okut ; Tusell ). CV is computationally taxing, especially when Bayesian prediction models with a massive number of genomic covariates and implemented via Markov chain Monte Carlo (MCMC) are involved in the comparison. Stylized formulae (e.g., Daetwyler ) suggest that the expected predictive correlation (“accuracy”) in genome-enabled prediction is proportional to training sample size (n). On intuitive grounds, more genetic variability ought to be spanned as a training sample grows, unless additional cases bring redundant information. With larger n, it is more likely that genomic patterns appearing in a testing set are encountered in model training. Although the formulae do not always fit real data well (Chesnais ), it has been observed that a larger n tends to be associated with larger predictive correlations (Utz ; Erbe ). Arguably, there is no better expectation than what is provided by a CV conducted under environmental circumstances similar to those under which the prediction machine is going to be applied. When n is small, the largest possible training set sample size is attained in a leave-one-out (LOO) CV, e.g., Ober with about 200 lines of Drosophila melanogaster. In LOO CV, n − 1 cases are used for model training, to then predict the single out-of-sample case. Model training involves n implementations, each consisting of a training sample of size n − 1 and a testing set of size 1. It is not widely recognized that it is feasible to obtain CV results by running the model only once, which is well known for least-squares regression (e.g., Seber and Lee 2003). Here, we show that this idea extends to other prediction machines, such as ridge regression (Hoerl and Kennard 1970), genome-based best linear unbiased prediction (GBLUP; Van Raden 2008), and reproducing kernel Hilbert spaces regression (RKHS; Gianola ; Gianola and van Kaam 2008). It is also shown that the concept can be applied in a MCMC context to any Bayesian hierarchical model, e.g., members of the “Bayesian alphabet” (Meuwissen ; Gianola ; Gianola 2013). This manuscript reviews available results for least-squares based CV, and shows how CV without actually doing CV can be conducted for ridge regression, BLUP of marker effects, GBLUP, and RKHS for any given kernel matrix. It is described how importance sampling can be used to produce Bayesian CV by running MCMC only once, which has great advantage in view of the intensiveness of MCMC computations. Illustrations are given by using a well characterized data set containing wheat grain yield as phenotype and 1279 binary markers as regressors, and the paper concludes with a Discussion. Most technical results are presented in a series of Appendices, to facilitate reading the main body of the manuscript.

Cross-Validation with Ordinary Least-Squares

Setting

A linear model used for regressing phenotypes on additive codes at biallelic marker loci (−1, 0, 1 for aa, Aa and AA, respectively), such as in a genome-wide association study, isHere, is the vector of phenotypic measurements, is the marker matrix, and is the number of copies of a reference allele at locus j observed in individual is a vector of fixed regressions on marker codes, known as allelic substitution effects. Phenotypes and markers are often centered; if an intercept is fitted, the model is expanded by adding as an effect common to all phenotypes. The residual vector is assumed to follow the distribution where is an identity matrix, and is a variance parameter common to all residuals. The basic principles set here carry to the other prediction methods discussed in this paper. In this section, we assume so that ordinary least-squares (OLS) or maximum likelihood under the normality assumption above can be used. The OLS estimator of is , and the fitted residual for datum i is , where is the row of Assuming the model holds, , so the estimator is unbiased. A review of the pertinent principles is given in Appendix A, from which we extract results. It is shown in Appendix A that the uncertainty of a prediction, as measured by variance, increases with p (model complexity), and decreases with the size of the testing set, . Two crucial matters in genome-enabled prediction must be underlined. First, if the model is unnecessarily complex, prediction accuracy (in the MSE sense) degrades unless the increase in variance is compensated by a reduction in prediction bias. Second, if the training set is made large at the expense of the size of the testing set, prediction mean squared error will be larger than otherwise. The formulae of Daetwyler suggest that expected prediction accuracy, as measured by predictive correlation (not necessarily a good metric; González-Recio ), increases with n. However, the variability of the predictions would increase, as found by Erbe in an empirical study of Holstein progeny tests with alternative CV layouts. Should one aim at a higher expected predictive correlation or at a more stable set of predictions at the expense of the former? This question does not have a simple answer.

Leave-one-out (LOO) cross-validation

LOO is often used when n is small and there is concern about the limited size of the training folds. Let be with its row removed, so that its order is Sinceare matrices. Likewise, if is with its element removed, the OLS right-hand sides in LOO areMaking use of (81) in Appendix B, the least-squares estimator of formed with the observation deleted from the model is expressible asEmploying Appendix C, the estimator can be written in the formwhere and is the fitted residual using all n observations in the analysis; the fitted LOO residual isHence, the LOO estimator and prediction error can be computed directly from the analysis carried out with the entire data set: no need for n implementations. Making use of (6), the realized LOO CV mean squared error of prediction isand the expected mean squared error of prediction is given bywhere is an diagonal matrix. As shown in Appendix A the LOO expected PMSE gives an upper bound for the expected squared error in least-squares based CV. The extent of overstatement of the error depends on the marker matrix (via the ) and on the prediction biases Hence, LOO CV represents a conservative approach, with the larger variance of the prediction resulting from the smallest possible testing set size If the prediction is unbiased, the terms vanish, and it is clear that observations with values closer to 1 contribute more to squared prediction error than those with smaller values, as the model is close to overfitting the former type of observations.

Leave-d-out cross-validation

The preceding analysis suggests that reallocation of observations from training into testing sets is expected to reduce PMSE relative to the LOO scheme. Most prediction-oriented analyses use fold CV, where K is chosen arbitrarily (e.g., ) as mentioned earlier; the decision of the number of folds is usually guided by the number of samples available. Here, we address this type of scheme generically by removing d out of the n observations available for training, and declaring the former as members of the testing set. Let be with d of its rows removed, and be the data vector without the d corresponding data points. As shown in Appendix D,where note that does not always exist but can be replaced by a generalized inverse, and will be invariant to the latter if . Predictions are invariant with respect to the generalized inverse used. The similarity with (5) is clear: appears in lieu of of order contains (in columns) the rows of being removed, and are the residuals corresponding to the left out obtained when fitting the model to the entire data set. The error of prediction of the d phenotypes entering into the testing set isThe mean-squared error of prediction of the d observations left out (testing set) becomesThe prediction bias obtained by averaging over all possible data sets iswhere is a vector of true means of the distribution of observations in the testing sets. After algebra,andObserve that the term in brackets is a matrix counterpart of (76) in Appendix A, with playing the role of in the expression. The two terms in the equation above represent the contributions and bias and (co) variance to expected squared prediction error. The next section illustrates how the preceding logic carries to regression models with shrinkage of estimated allelic substitution effects

Cross-Validation with Shrinkage of Regression Coefficients

BLUP of markers (ridge regression)

Assume again that phenotypes and markers are centered. Marker effects are now treated as random variables and assigned the normal distribution, where is a variance component. The BLUP of (Henderson 1975) is given bywhere is a shrinkage factor taken as known. BLUP has the same mathematical form as the ridge regression estimator (Hoerl and Kennard 1970), developed mainly for tempering problems caused by colinearity among columns of in regression models where and with all regression coefficients likelihood-identified. The solution vector can also be assigned a Bayesian interpretation as a posterior expectation in a linear model with Gaussian residuals, and used as prior distribution, with variance components known (Dempfle 1977; Gianola and Fernando 1986). A fourth view of is as a penalized maximum likelihood estimator under an penalty (Hastie ). Irrespective of its interpretation, provides a “point statistic” of for the situation. In BLUP, or in Bayesian inference, it is not a requirement that the regression coefficients are likelihood identified. There is one formula with four interpretations (Robinson 1991). Given a testing set with marker genotype matrix the point prediction of yet to be observed phenotypes is We consider LOO CV because subsequent developments assume that removal of a single case has a mild effect on and . This assumption is reasonable for animal and plant breeding data sets where n is large, so removing a single observation should have a minor impact on, say, maximum likelihood estimates of variance components. If λ is kept constant, it is shown in Appendix E thatwhere , and is the residual from ridge regression BLUP applied to the entire sample. A similar expression for leave-d-out cross-validation using the same set of variance components is also in Appendix E. If is smaller and n is reasonably large, the error resulting from using variance components estimated from the entire data set should be small. The error of predicting phenotype i is now and is expressible assimilar to that LOO OLS. Letting be a vector of prediction biases, and the expected prediction MSE isThe first term is the average squared prediction bias, and the second is the prediction error variance. As , (18) tends to the least-squares

Genomic BLUP

Once marker effects are estimated as , a representation of genomic BLUP (GBLUP) for n individuals is the vector with its element being . In GBLUP, “genomic relationship matrices” are taken as proportional to (where often has centered columns) various genomic relationship matrices are in, e.g., Van Raden (2008), Astle and Balding (2009) and Rincent . Using (16) LOO GBLUP (i.e., excluding case i from the training sample) isThe formula above requires finding given the procedure entails solving p equations on p unknowns and finding the inverse of is impossible or extremely taxing when p is large. A simpler alternative based on the well-known equivalence between BLUP of marker effects and of additive genotypic value is used here. If is a vector of marked additive genetic values and then Many genomic relationship matrices are expressible as for some constant so that and is called “genomic variance” or “marked additive genetic variance” if encodes additive effects; clearly, there is no loss of generality if is used, thus preserving the λ employed for BLUP of marker effects. The model for the “signal” becomesLetting , then is GBLUP using all data points. Appendix F shows how LOO GBLUP and d-out GBLUP can be calculated indirectly from elements or blocks of and elements of

RKHS regression

In RKHS regression (Gianola ; Gianola and van Kaam 2008), input variables, e.g., marker codes, can be transformed nonlinearly, potentially capturing both additive and nonadditive genetic effects (Gianola , 2014b), as further expounded by Jiang and Reif (2015) and Martini . When a pedigree or a genomic relationship matrix is used as kernel, RKHS yields pedigree-BLUP and GBLUP, respectively, as special cases (Gianola and de los Campos 2008; de los Campos , 2010). The standard RKHS model iswith (and therefore ); is an positive (semi)definite symmetric matrix so that when the inverse is unique, and can be obtained by solving the systemwith solution (since and is invertible)The BLUP of under a RKHS model iswhere K stands for “kernel,” and Putting the RKHS solution has the same form as as given in the preceding section. Using Appendix F, it follows thatandThe previous expressions reduce to the LOO CV situation by setting

Bayesian Cross-Validation

Many Bayesian linear regression on markers models have been proposed for genome-assisted prediction of quantitative traits (e.g., Meuwissen ; Heslot ; de los Campos ; Gianola 2013). All such models pose the same specification for the Bayesian sampling model (a linear regression), but differ in the prior distribution assigned to allelic substitution effects. Implementation is often via MCMC, where computations are intensive even in the absence of CV; shortcuts and approximations are not without pitfalls. Is it possible to do CV by running an MCMC implementation only once? What follows applies both to LOO and out CV situations as well as to any member of the Bayesian alphabet (Gianola ; Gianola 2013) Suppose some Bayesian model has been run with MCMC, leading to S samples collected from a distribution with posterior density here, are all unknowns to be inferred and H denotes hyper-parameters arrived at in a typically subjective manner, e.g., arbitrary variances in a four-component mixture distribution assigned to substitution effects (MacLeod ). In CV, the data set is partitioned into , training and testing sets are chosen according to the problem in question, and Bayesian learning is based on the posterior distribution . Predictions are derived from the predictive distribution of the testing set datathe preceding assumes that is independent of given , a standard assumption in genome-enabled prediction. The point predictor chosen most often is the expected value of the predictive distributionIn the context of sampling, representation (29) implies that one can explore the “augmented” distribution , and estimate by ergodic averaging of samples. Representation (30) uses Rao-Blackwellization: if can be written in closed form, as is the case for regression models , the Monte Carlo variance of an estimate of based on (30) is less than, or equal to, that of an estimate obtained with (29). We describe Bayesian LOO CV, but extension to a testing set of size d is straightforward. In LOO, the data set is partitioned as where is the predictand and is the vector containing all other phenotypes in the data set. A brute force process involves running the Bayesian model n times, producing the posterior distributions Since LOO CV is computationally formidable in an MCMC context, procedures based on drawing samples from and converting these into realizations from can be useful (e.g., Gelfand ; Gelfand 1996; Vehtari and Lampinen 2002). Use of importance sampling, and of sampling importance resampling (SIR), algorithms for this purpose is discussed next. Cantet and Matos present early applications of importance sampling to animal breeding.

Importance sampling

We seek to estimate the mean of the predictive distribution of the left-out data point Since is independent of , one hasAs shown in Appendix GHere, is called an “importance sampling” weight (Gelfand ; Albert 2009). Expression (32) implies that the posterior mean of in a training sample can be expressed as the ratio of the posterior means of , and of taken under a Bayesian run using the entire data set. It is shown in Appendix F that, given draws from the full-posterior distribution, the posterior expectation can in equation (32) be estimated aswhereBy making reference to (31), it turns out that a Monte Carlo estimate of the mean of the predictive distribution of datum i in the Bayesian LOO CV is given byThis type of estimator holds for any Bayesian linear regression model irrespective of the prior adopted, i.e., it is valid for any member of the “Bayesian alphabet” (Gianola ; Gianola 2013). In CV, the prediction iswherewhere for j being a member of the of observations forming the testing set. The importance sampling weights are the reciprocal of conditional likelihoods; this specific mathematical representation can produce imprecise estimates of posterior expectations, especially if the posterior distribution with all data has much thinner tails than the posterior based on the training set. Vehtari and Lampinen (2002) calculate the “effective sample size” for a LOO CV asIf all weights are equal over samples, the weight assigned to any draw is and the variance of the weights is yielding on the other hand, can be much smaller than S if the variance among weights is large, e.g., when some weights are much larger than others. The SIR algorithm described by Rubin (1988), Smith and Gelfand (1992) and Albert (2009) can be used to supplement importance sampling; SIR can be viewed as a weighted bootstrap. Let the sampled values and the (normalized) importance sampling weights be and respectively, for and Then, obtain a resample of size S by sampling with replacement over with unequal probabilities proportional to respectively, obtaining realizations Finally, average realizations for estimating in (31).

The special case of “Bayesian GBLUP”

The term “Bayesian GBLUP” is unfortunate but has become entrenched in animal and plant breeding. It refers to a linear model that exploits genetic or genomic similarity matrix among individuals (as in GBLUP), but where the two variance components are unknown and learned in a Bayesian manner. Prior distributions typically assigned to variances are scale inverted chi-square processes with known scale and degrees of freedom parameters (e.g., Pérez and de los Campos 2014). The model is with ; the hierarchical prior is and , where the hyper-parameters are . A Gibbs sampler iteratively loops over the conditional distributionsAbove, denotes the data plus H and all other parameters other than the ones being sampled in a specific conditional posterior distribution; indicates the reciprocal of a draw from a central chi-square distribution on degrees of freedom. The samples of are drawn from a multivariate normal distribution of order Its mean, is GBLUP computed at the current state of the variance ratio, which varies at random from iteration to iteration; the covariance matrix is The current GBLUP is calculated as in this representation, must exist. If it does not, a representation of GBLUP that holds iswhere is an matrix of regression coefficients of on . LikewiseOnce the Gibbs sampler has been run and burn-in iterations discarded, S samples become available for posterior processing, with sample s consisting of In a leave-d-out CV, the posterior expectation of (the point predictor of the future phenotype of individual j) is estimated aswhereandwith the product of the normal densities taken over members of the testing set. Sampling weights may be very unstable if d is large.

Data availability

The authors state that all data necessary for confirming the conclusions presented in the article are represented fully within the article.

Evaluation of Methodology

The methods described here were evaluated using the wheat data available in package BGLR (Pérez and de los Campos 2014). This data set is well curated and has also been used by, e.g., Crossa , Gianola and Long . The data originated in trials conducted by the International Maize and Wheat Improvement Center (CIMMYT), Mexico. There are 599 wheat inbred lines, each genotyped with 1279 DArT (Diversity Array Technology) markers and planted in four environments; the target trait was grain yield in environment 1. Sample size was then with being the number of markers. These DArT markers are binary and denote presence or absence of an allele at a marker locus in a given line. There is no information on chromosomal location of markers. The objective of the analysis was to illustrate concepts, as opposed to investigate a specific genetic hypothesis. The data set of moderate size allowed extensive replication and reanalysis under various settings.

LOO vs. leave-d-out CV: ordinary least-squares

The linear model had an intercept and regressions on markers 301 through 500 in the data file; markers were chosen arbitrarily. Here, and ensuring unique OLS estimates of substitution effects, i.e., there was no rank deficiency in . Seven CV layouts were constructed in which testing sets of sizes 2, 3,…, 7, or 8 lines were randomly drawn (without replacement) from the 599 inbred lines. Training set sizes decreased accordingly, e.g., for training sample size was 599 – 7= 592. Larger sizes of testing sets were not considered because in (9) became singular as d increased beyond that point. The training-testing process was repeated 300 times at random, to obtain an empirical distribution of prediction mean squared errors. For LOO CV, regression coefficients were calculated using (5), and the predictive mean squared error was computed as in (7). For the leave-d-out CV, regressions and PMSE were computed with (9) and (11), respectively. Figure 1 shows that the median PMSE for leave-d-out CV was always smaller than the LOO PMSE (horizontal line), although it tended toward the latter as d increased, possibly due to the increasingly smaller training sample size. PMSE in LOO was 1.12, while it ranged from 0.80 to 1.04 for testing sets containing two or more lines. An increase in testing set size at the expense of some decrease in training sample size produced slightly more accurate but less variable predictions (less spread in the distribution of PMSE); this trend can be seen in the box plots depicted in Figure 1. Differences were small but LOO was always less accurate.
Figure 1

Predictive mean squared error (PMSE) of ordinary least-squares for seven cross-validation (CV) layouts, each replicated 300 times at random. Training sets had size 599 – d (d = 2,3,…,7, and 8). Horizontal line is PMSE for leave-one-out CV.

Predictive mean squared error (PMSE) of ordinary least-squares for seven cross-validation (CV) layouts, each replicated 300 times at random. Training sets had size 599 – d (d = 2,3,…,7, and 8). Horizontal line is PMSE for leave-one-out CV.

BLUP of marker effects

The developments for ridge regression or BLUP of marker effects depend on assuming that allocation of observations into testing sets, with a concomitant decrease in training set size, does not affect the ratio of variance components appreciably. First, we examined consequences of removing each of the 599 lines at a time on maximum likelihood estimates (MLE) of marker and residual variances. The model was as in (1), without an intercept (phenotypes were centered), assuming and were independently distributed, and with all 1279 markers used when forming An eigen-decomposition of coupled with the R function (G. de los Campos, personal communication) was used for computing MLE. It was assumed that convergence was always to a global maximum, as it was not practical to monitor the 599 implementations for convergence in each case. MLE of were found by replacing the unknown variances by their corresponding estimates. With all lines used in the analysis, Figure 2 displays the 599 estimates of λ, and the resulting empirical cumulative distribution function when LOO was used. Removal of a single line produced MLE of λ ranging from 174.5 to 195.6 (corresponding to estimates of spanning the range ); the 5 and 95 percentiles of the distribution of the LOO estimates of λ were 185.9 and 192.7, respectively. Model complexity (Ruppert ; Gianola 2013) was gauged by evaluating the “effective number of parameters” as ; the “effective degrees of freedom” are For the entire data set with and variation of λ from 174.5 to 195.6 was equivalent to reducing from 164.2 to 155.3, with ranging from 435.8 to 443.7. These metrics confirm that the impact of removing a single line from the training process was fairly homogeneous across lines.
Figure 2

Maximum likelihood estimates of for each of 599 leave-one-out settings; residual variance, variance of marker effects. The bottom panel gives the empirical distribution function of the estimates.

Maximum likelihood estimates of for each of 599 leave-one-out settings; residual variance, variance of marker effects. The bottom panel gives the empirical distribution function of the estimates. Next, we excluded 10, 50, 100, 200, 300, 400, and 500 lines from the analysis, while keeping constant. The preceding was done by sampling with replacement the appropriate number of rows from the entire data matrix and removing these rows from the analysis; the procedure was repeated 100 times at random for each value of to obtain an empirical distribution of the MLE. Figure 3 and Figure 4 depict the distributions of estimates. As d increased (training sample size decreased) the median of the estimates and their dispersion increased. Medians were 192.0 196.3 192.7 201.7 212.5 , 222.0 , and 234.3 The increase of medians as training sample size decreased can be explained as follows: (a) stronger shrinkage (larger ) must be exerted on marker effects to learn signal from 1279 markers as sample size decreases. (b) MLE of variance components have a finite sample size bias, which might be upwards for λ here; bias cannot be measured, so the preceding is conjectural.
Figure 3

Maximum likelihood estimates of for each of seven CV settings, each replicated 100 times at random. Training sets had size 599 – d; d = 10, 50, 100, 200, 300, 400, and 500.

Figure 4

Empirical distribution function of maximum likelihood estimates of for each of four CV settings each replicated 100 times at random residual variance, variance of marker effects. Training set sizes were 599 – d; d = 10, 100, 200, and 500.

Maximum likelihood estimates of for each of seven CV settings, each replicated 100 times at random. Training sets had size 599 – d; d = 10, 50, 100, 200, 300, 400, and 500. Empirical distribution function of maximum likelihood estimates of for each of four CV settings each replicated 100 times at random residual variance, variance of marker effects. Training set sizes were 599 – d; d = 10, 100, 200, and 500. In short, it appears that keeping λ constant in a LOO setting is reasonable; however, the estimated variance ratio was sensitive with respect to variation in training set size when 100 or more lines, i.e., 15% or more of the total number of cases, were removed for model training. To assess the impact on PMSE of number of lines removed from training and allocated to testing, 300 testing sets for each of lines were formed by randomly sampling (with replacement) from the 599 lines. The regression model was trained on the remaining lines using the entire battery of 1279 markers with . Figure 5 shows the distribution of PMSE for each of the layouts. A comparison with Figure 1 shows that the PMSEs for BLUP were smaller than for OLS; this was expected because, even though training set sizes were smaller than those used for OLS, BLUP predictions with are more stable and the model was more complex, since 1279 markers were fitted jointly. As testing set size increased, median PMSE was 0.68 0.70 and 0.72–0.73 for the other testing set sizes. For LOO, PMSE was 0.72. As in the case of OLS, the distribution of PMSE over replicates became narrower as d grew. As anticipated, decreases in training set size produced a mild deterioration in accuracy of prediction (in an MSE sense) but generated a markedly less variable CV distribution. Testing sets of about 10% of all lines produced a distribution of PMSE with a similar spread to what was obtained with larger testing sets without sacrificing much in mean accuracy. We corroborated that attaining the largest possible training sample is not optimal if done at the expense of testing set size, because predictions are more variable.
Figure 5

PMSE of BLUP of markers (ridge regression) for 300 testing sets in each of nine CV settings of sizes d = 10, 20, 30, 40, 50, 60, 70, 80, and 90; training set size was 599 – d.

PMSE of BLUP of markers (ridge regression) for 300 testing sets in each of nine CV settings of sizes d = 10, 20, 30, 40, 50, 60, 70, 80, and 90; training set size was 599 – d. Testing sets of size to (in increments of 50 lines) were evaluated as in the preceding case, again using 300 replicates for each setting and with Comparison of Figure 6 with Figure 5 indicates that a marked deterioration in PMSE ensued, which may be due to insufficient regularization or overfitting from the decrease in training set size. For example, a testing set of size 500 implies that the model with 1279 markers was trained using only 99 inbred lines. In this case, stronger regularization (shrinkage of regression coefficients toward 0) may be needed than what is effected by To examine whether overfitting or insufficient regularization was the source of degradation in PMSE, the effective residual degrees of freedomwere calculated for each of 70 combinations of and each combination was replicated 50 times by sampling with replacement from and extracting the appropriate number of rows The values were averaged over the 50 replications. Figure 7 displays plotted against training set size ( 99, 149,…,499, 549): the impact of variations in λ on was amplified in absolute and relative terms as training set size increased. For instance, for , each observation in the training set contributed 0.48 and 0.74 residual degrees of freedom when λ varied from 100 to 400; when the corresponding contributions were 0.64 and 0.82. Figure 8 shows how varied with λ for each of the training set sizes. Overfitting did not seem to be the cause of degradation in PMSE because the models “preserved” a reasonable number of degrees of freedom in each case considered.
Figure 6

PMSE of BLUP of markers (ridge regression) for 300 testing sets in each of nine CV settings of sizes d = 100, 150, 200, 250, 300, 350, 400, 450, and 500; training set size was 599 – d.

Figure 7

Effective residual degrees of freedom against training sets sizes (n – d = 99, 149, 199, 249, 299, 349, 399, 449, 499, and 549) at selected values of the regularization parameter (λ = 100,150, 200, 250, 300, 350, and 400). Values are averages of 50 random replications.

Figure 8

Effective residual degrees of freedom against the regularization parameter (λ = 100, 150, 200, 250, 300, 350, and 400) at various training sets sizes (n – d = 99, 149, 199, 249, 299, 349, 399, 449, 499, 549). Values are averages of 50 random replications.

PMSE of BLUP of markers (ridge regression) for 300 testing sets in each of nine CV settings of sizes d = 100, 150, 200, 250, 300, 350, 400, 450, and 500; training set size was 599 – d. Effective residual degrees of freedom against training sets sizes (n – d = 99, 149, 199, 249, 299, 349, 399, 449, 499, and 549) at selected values of the regularization parameter (λ = 100,150, 200, 250, 300, 350, and 400). Values are averages of 50 random replications. Effective residual degrees of freedom against the regularization parameter (λ = 100, 150, 200, 250, 300, 350, and 400) at various training sets sizes (n – d = 99, 149, 199, 249, 299, 349, 399, 449, 499, 549). Values are averages of 50 random replications. These results reinforce the point that, in shrinkage-based methods, such as GBLUP or any member of the “Bayesian alphabet” (Gianola ; Gianola 2013), there is an interplay between sample size, model complexity, and strength of regularization. The effective number of parameters in the training process is given by and here it varied from 25.64 to 198.73 Even though 1279 markers were fitted, the model was not able to estimate beyond about 200 linear combinations of marker effects. This illustrates that the “prior” (i.e., the distribution assigned to marker effects) matters greatly when . In other words, there were ∼ 1079 estimates of marker effects that are statistical artifacts from regularization, and which should not be construed as sensible estimates of marker locus effects, as pointed out by Gianola (2013). Bayesian learning would gradually improve over time if n would grow faster than which seems unlikely given a tendency toward overmodeling as sequence and postgenomic data accrue. Standard GBLUP, of genotypic values of the 599 lines was computed with . Subsequently, was obtained for each of the 599 lines, i.e., the GBLUP of all lines after removing line i in the training process. Euclidean distances between and were calculated asthis metric measures the extent to which removal of line i influences model training. The minimum and maximum absolute distances were and 1.082, respectively, and the coefficient of variation of distances was about 80%. An observation was deemed influential when 0.83, the 99-percentile of the empirical distribution. Figure 9 (top panel) shows a scatter plot of the ; influential lines (28, 440, 461, 503, 559, and 580) correspond to points on top of the horizontal line. The relationship between the phenotype of the line excluded in the LOO CV is shown in the bottom panel: larger phenotypes tended to be associated with larger distances.
Figure 9

Euclidean distances between genomic BLUP (GBLUP) with all observations and leave-one-out (LOO) GBLUP, by line removed from training in the CV. Bottom panel depicts the association between phenotype left out in training and distances. The regularization parameter used was .

Euclidean distances between genomic BLUP (GBLUP) with all observations and leave-one-out (LOO) GBLUP, by line removed from training in the CV. Bottom panel depicts the association between phenotype left out in training and distances. The regularization parameter used was . Using data from all lines, GBLUP is ; the influence of phenotype of line j on GBLUP of line i is element of the matrix Observe thatis as a matrix of regression coefficients; its row contains the regression of the genotype of line i on the n phenotypes. A measure of overall influence (leverage) of line j is the average of values (or absolute values) of elements in column j of Clearly, leverages depend on relatedness structure and on λ but not on phenotypes. Figure 10 depicts plots of LOESS regressions (Cleveland 1979) of Euclidean distance between GBLUP calculated with all lines, and LOO GBLUP on two measures of leverage: the average of absolute values of over rows for each line (leverage 1), and the average of elements of over rows, by line (leverage 2). LOESS fits (span parameter equal to 0.50) indicated that leverage 1 informs about the impact of removing a specific line in LOO: the larger the leverage 1 of a line, the larger the effect of its removal from the training process.
Figure 10

Nonparametric (LOESS) fits of Euclidean distance between GBLUP with all observations and LOO GBLUP on two measures of influence (leverage) a line has on model training. Leverage 1 is the average of absolute values of the regression of all lines on the phenotype of a given line; leverage 2 is the average of such regressions.

Nonparametric (LOESS) fits of Euclidean distance between GBLUP with all observations and LOO GBLUP on two measures of influence (leverage) a line has on model training. Leverage 1 is the average of absolute values of the regression of all lines on the phenotype of a given line; leverage 2 is the average of such regressions.

RKHS

We built a kernel matrix with typical element (ranging between 0 and 1) for Here is the vector of marker genotypes in line , and are bandwidth parameters tuned to establish “global,” “regional” and “local” similarities between individuals (as h increases, similarity decreases); , and are weights assigned to the three sources of similarity, such that and We arbitrarily chose , and and , and . From we created three additional kernels by placing for leading to matrices , and Mean off-diagonal elements of the four kernel matrices were 0.73 , 0.29 , 0.09 , and 0.47 these values can be interpreted as correlations between pairs of individuals. Hence, and produced the highest and lowest degrees of correlation, respectively; complexity of the models increases from kernel 1 to kernel 3 because the fit to the data increases with h (de los Campos , 2010). The four no-intercept RKHS models had the basic formwhere was either as in (48) or Variance components were estimated by maximum likelihood, producing as estimates of , , and The effective number of parameters was calculated (e.g., kernel 1) as yielding 224.5, 319.2, and 376.3 for kernel matrices 1, 2, and 3, respectively; for the effective number of parameters fitted was 330.3. As expected, model complexity increased as the model became more “local.” We fitted the four RKHS models to all 599 lines, and conducted a LOO CV for each model. In the fitting process, the corresponding regularization parameter was employed; e.g., for . For each of the models, RKHS predictions of genotypic values were calculated asThe implicit dependence of predictions on bandwidths and weights is indicated in the notation above, but not used hereinafter. In LOO (line j left out in the training process), predictions and predictive mean-squared errors are calculated as for LOO GBLUP, that is,where is the diagonal element of andPredictive MSEs were 0.6795 0.6446 0.6555 , and 0.6439 ; predictive correlations were 0.566, 0.597, 0.591, and 0.598. Differences between kernels with respect to the criteria used were nil, but the model combining three kernels conveying differing degrees of locality had a marginally smaller MSE and a slightly larger correlation. LOO prediction errors plotted against line phenotypes are shown in Figure 11 for the four kernels used. Prediction errors were larger in absolute value for lines with lowest and highest grain yields, suggesting that the model may benefit by accounting for possibly heterogeneous residual variances. and captured some substructure in the distribution of fitted residuals. The more global kernel arguably capturing mostly additive effects, did not suggest any substructure, which reemerged when the three kernels were combined into The preceding exercise illustrates that predictive correlations and PMSE do not fully describe the performance of a prediction machine.
Figure 11

LOO prediction errors (testing set) of four reproducing kernel Hilbert spaces (RKHS) regression models against line phenotypes.

LOO prediction errors (testing set) of four reproducing kernel Hilbert spaces (RKHS) regression models against line phenotypes.

Bayesian GBLUP with known variance components

Bayesian GBLUP with known variances has a closed form solution: using all data, the posterior distribution is where and . Set , and is centered. This problem was attacked (with Monte Carlo error) by drawing independent samples from the 599-variate normal posterior distribution; no MCMC is needed. Using (34), the importance sampling weights for LOO arewhere is sample s for line i; is drawn from . The importance sampling weight becomesObserve that the likelihood that confers to is inversely proportional to Hence, samples in which the phenotype removed confers little likelihood to the receive more weight. We took 15,000 independent samples from The effective number of weights per line, calculated with (38) ranged from 76.4 to 14,983.5; the median (mean) weight was 10,991.0 (9789.2), and the first and third quartiles of the distribution were 6826.1 and 14,983.5, respectively. On average, 1.54 independent samples were required for drawing an effectively independent LOO posterior sample. Figure 12 illustrates the variability among some arbitrarily selected lines of the mean number of importance weights. A phenotype having a small mean importance weight would be “surprising” with respect to the model. However, there are theoretical and numerical issues with the weights used here, a point retaken in the discussion.
Figure 12

Effective number of importance samples for LOO Bayesian GBLUP (given the variances) for selected lines; 15,000 independent samples were drawn from the posterior distribution of genotypic values.

Effective number of importance samples for LOO Bayesian GBLUP (given the variances) for selected lines; 15,000 independent samples were drawn from the posterior distribution of genotypic values. Figure 13 shows that GBLUP using the entire sample of size n fitted closely. Correlations between predictors were 0.91 in all cases. Mean-squared errors were 0.40 (GBLUP, entire sample), 0.73 (Bayes LOO), and 0.73 (LOO GBLUP). The correlation between predictions and phenotypes was 0.81 for GBLUP (entire sample), 0.52 for LOO GBLUP, and 0.51 for Bayes LOO.
Figure 13

Associations between phenotypes and predictions (GBLUP with all lines used in training; LOO GBLUP, leave-one-out genomic BLUP; LOO BAYES GBLUP, direct sampling from the posterior distribution of genotypic values of followed by importance sampling to obtained the LOO predictions.

Associations between phenotypes and predictions (GBLUP with all lines used in training; LOO GBLUP, leave-one-out genomic BLUP; LOO BAYES GBLUP, direct sampling from the posterior distribution of genotypic values of followed by importance sampling to obtained the LOO predictions. The importance sampling scheme worked well. Ionides (2008) suggested a modification of the importance ratio assigned to sample s and data point , as followswhere is the average (over samples) importance sample ratio for line i in the context of the wheat data set. Ionides (2008) argued that truncation of large importance sampling weights (TIS) would be less sensitive with respect to the importance sampling density function used (the posterior distribution using all data points in our case) than IS. We converted the IS weights into normalized TIS weights using rule (55) applied to the normalized IS weights. As mentioned earlier, the effective number of normalized IS weights ranged between 76.4 and 14983.5; for normalized TIS weights, the effective number spanned from 691.9 to 13,970. TIS produced more stable weights than standard IS. However, truncation of weights introduces a bias, which may affect predictive performance adversely (Vehtari ). However, it may be that TIS made the weights “too homogeneous,” thus creating a bias toward the posterior distribution obtained with all data points. If all weights were equal to a constant, IS or TIS would retrieve the full posterior distribution.

Discussion

Cross-validation (CV) has become an important tool for calibrating prediction machines in genome-enabled prediction (Meuwissen ), and is often preferred over resampling methods such as bootstrapping. It gives a means for comparing and calibrating methods and training sets (e.g., Isidro ). Typically, CV requires dividing data into training and testing folds, and the models must be run many times. An extreme form of CV is LOO; here if the sample has size each observation is removed in the training process, and labeled as a testing set of size 1. Hence, n different models must be run to complete a LOO CV. Our paper presented statistical methodology aimed at enabling extensive CV in genome-enabled prediction using a suite of methods. These were OLS, BLUP on markers, GBLUP, RKHS, and Bayesian procedures. Formulae were derived that enable arriving at the predictions that would be obtained if one or more cases were to be excluded from the training process and declared as members of the testing set. In the cases of OLS, BLUP, GBLUP, and RKHS, and assuming that the ratio of variance components do not change appreciably from those that apply to the entire sample, the formulae are exact. The deterministic formulae can also be applied in a multiple-kernel or multiple-random factors setting, given the variance components. For example, consider the bikernel RKHS regression (e.g., de los Campos ; Tusell )Here, is genetic signal captured by pedigree, and is genetic signal captured by markers; and are unknown and independently distributed RKHS regression coefficients, and and are positive-definite similarity matrices. Suppose that , i.e., the numerator relationship matrix based on the assumption of additive inheritance, and that is a Gaussian kernel such as those employed earlier in the paper. The standard assumption for the RKHS regression coefficients iswhere and are variance components associated with kernels and respectively. Hence, and The BLUP of and can be found by solving the linear systemwhere and . Hence, the solutions satisfyApplying the logic leading to (102) for the LOO situation, the preceding equations can be written aswhere are the diagonal elements of respectively; and are the corresponding solutions to the system of equations (58). The prediction of the left-out phenotype is The situation is different for Bayesian models solved by sampling methods such as MCMC. Typically, there is no closed form solution, except in some stylized situations, so sampling must be used. The Bayesian model must be run with the entire data set and posterior samples weighted, e.g., via importance sampling, to convert realizations into draws pertaining to the posterior distribution that would result from using just the CV training set. Unfortunately, importance weights can be extremely variable. In (34), it can be seen that weights are proportional to the reciprocal of likelihoods evaluated at the posterior samples, so if a data point (or a vector of data points) “left out” confers a tiny likelihood to the realized value of the parameter sampled, then the sample is assigned a very large weight; on the other hand, if the likelihood is large, the weight is small. This phenomenon produces a large variance among weights, which we corroborated empirically. Another view at the issue at stake is as follows: the importance weight is hence, if the posterior obtained with all data points has much thinner tails than the posterior density constructed by excluding one or more cases, the weights can “blow up.” The preceding problem would be exacerbated by including more than one observation in the testing set. Vehtari examined seven data sets, and used “brute force” LOO MSE as a gold standard to examine the performance of various forms of importance sampling. TIS gave a better performance than standard importance sampling (IS) weights in two out of seven comparisons, with the standard method being better in three of the data sets; there were two ties. Vehtari suggested another method called Pareto smoothed importance sampling (PSIS) that was better than IS in four of the data sets (two ties), and better than TIS in three of the analyses (two ties). Calculation of PSIS is involved, requiring several steps in our context: (a) compute IS ratios; (b) for each of the 599 lines, fit a generalized Pareto distribution to the 20% largest values found in (a); (c) replace the largest M IS ratios by expected values of the order statistics of the fitted generalized Pareto distribution, where (d) for each line, truncate the new ratios. Clearly, this procedure does not lend itself to large scale genomic data, and the results of Vehtari , obtained with small data sets and simple models, are not conclusive enough. Additional research is needed to examine whether TIS, IS, or PSIS are better for genome-enabled prediction. It is known (e.g., Henderson 1973, 1984; Searle 1974) that the best predictor, that is, the function of the data with the smallest squared prediction error (MSE) under conceptual repeated sampling (i.e., infinite number of repetitions over the joint distribution of predictands and predictors) is . This property requires knowledge of the form of the joint distribution, and of its parameters. In the setting of the case study, under multivariate normality, and with a zero-mean model and known variance components, GBLUP is the best predictor. However, in CV, the property outlined above does not hold. One reason is that the data set represents a single realization of the conceptual scheme. Another reason is that incidence and similarity matrices change at random in CV, plus parameters are estimated from the data at hand. For example, if datum i is removed from the analysis, the training model genomic relationship matrix becomes whereas, if observation j is removed, the matrix used is Further, the entire data set is used in the CV, so yet-to-be observed data points appear in the training process at some point. The setting of best prediction requires that the structure of the data remains constant over repeated sampling, with the only items changing being the realized values of the data , and of the unobserved genotypic values The CV setting differs from the idealized scheme, and expectations based on theory may not always provide the best effective guidance in predictive inference. In conclusion, CV appears to be the best gauge for calibrating prediction machines. Results presented here provide the basis for conducting extensive cross-validation from results of a single run with all data. Future research should evaluate importance sampling schemes for more complex Bayesian models, e.g., those using thick-tailed processes or mixtures as prior distributions. An important challenge is to make the procedures developed here computationally cost-effective, so that software for routine use can be developed.
  37 in total

1.  Best linear unbiased estimation and prediction under a selection model.

Authors:  C R Henderson
Journal:  Biometrics       Date:  1975-06       Impact factor: 2.571

2.  Semi-parametric genomic-enabled prediction of genetic values using reproducing kernel Hilbert spaces methods.

Authors:  Gustavo De los Campos; Daniel Gianola; Guilherme J M Rosa; Kent A Weigel; José Crossa
Journal:  Genet Res (Camb)       Date:  2010-08       Impact factor: 1.588

3.  Efficient methods to compute genomic predictions.

Authors:  P M VanRaden
Journal:  J Dairy Sci       Date:  2008-11       Impact factor: 4.034

4.  Model averaging for genome-enabled prediction with reproducing kernel Hilbert spaces: a case study with pig litter size and wheat yield.

Authors:  L Tusell; P Pérez-Rodríguez; S Forni; D Gianola
Journal:  J Anim Breed Genet       Date:  2014-01-08       Impact factor: 2.380

5.  Marker-assisted prediction of non-additive genetic values.

Authors:  Nanye Long; Daniel Gianola; Guilherme J M Rosa; Kent A Weigel
Journal:  Genetica       Date:  2011-06-15       Impact factor: 1.082

6.  Prediction of genetic values of quantitative traits in plant breeding using pedigree and molecular markers.

Authors:  José Crossa; Gustavo de Los Campos; Paulino Pérez; Daniel Gianola; Juan Burgueño; José Luis Araus; Dan Makumbi; Ravi P Singh; Susanne Dreisigacker; Jianbing Yan; Vivi Arief; Marianne Banziger; Hans-Joachim Braun
Journal:  Genetics       Date:  2010-09-02       Impact factor: 4.562

7.  Whole genome prediction of bladder cancer risk with the Bayesian LASSO.

Authors:  Evangelina López de Maturana; Stephen J Chanok; Antoni C Picornell; Nathaniel Rothman; Jesús Herranz; M Luz Calle; Montserrat García-Closas; Gaëlle Marenne; Angela Brand; Adonina Tardón; Alfredo Carrato; Debra T Silverman; Manolis Kogevinas; Daniel Gianola; Francisco X Real; Núria Malats
Journal:  Genet Epidemiol       Date:  2014-05-05       Impact factor: 2.135

8.  Genome-wide prediction of traits with different genetic architecture through efficient variable selection.

Authors:  Valentin Wimmer; Christina Lehermeier; Theresa Albrecht; Hans-Jürgen Auinger; Yu Wang; Chris-Carolin Schön
Journal:  Genetics       Date:  2013-08-09       Impact factor: 4.562

9.  Training set optimization under population structure in genomic selection.

Authors:  Julio Isidro; Jean-Luc Jannink; Deniz Akdemir; Jesse Poland; Nicolas Heslot; Mark E Sorrells
Journal:  Theor Appl Genet       Date:  2014-11-01       Impact factor: 5.699

10.  Enhancing genome-enabled prediction by bagging genomic BLUP.

Authors:  Daniel Gianola; Kent A Weigel; Nicole Krämer; Alessandra Stella; Chris-Carolin Schön
Journal:  PLoS One       Date:  2014-04-10       Impact factor: 3.240

View more
  14 in total

1.  Accuracy of genomic selection to predict maize single-crosses obtained through different mating designs.

Authors:  Roberto Fritsche-Neto; Deniz Akdemir; Jean-Luc Jannink
Journal:  Theor Appl Genet       Date:  2018-02-14       Impact factor: 5.699

Review 2.  Genomic Prediction: Progress and Perspectives for Rice Improvement.

Authors:  Jérôme Bartholomé; Parthiban Thathapalli Prakash; Joshua N Cobb
Journal:  Methods Mol Biol       Date:  2022

3.  Incorporation of parental phenotypic data into multi-omic models improves prediction of yield-related traits in hybrid rice.

Authors:  Yang Xu; Yue Zhao; Xin Wang; Ying Ma; Pengcheng Li; Zefeng Yang; Xuecai Zhang; Chenwu Xu; Shizhong Xu
Journal:  Plant Biotechnol J       Date:  2020-09-02       Impact factor: 9.803

4.  A deep convolutional neural network approach for predicting phenotypes from genotypes.

Authors:  Wenlong Ma; Zhixu Qiu; Jie Song; Jiajia Li; Qian Cheng; Jingjing Zhai; Chuang Ma
Journal:  Planta       Date:  2018-08-12       Impact factor: 4.116

5.  Predicted Residual Error Sum of Squares of Mixed Models: An Application for Genomic Prediction.

Authors:  Shizhong Xu
Journal:  G3 (Bethesda)       Date:  2017-03-10       Impact factor: 3.154

6.  Prediction of Complex Traits: Robust Alternatives to Best Linear Unbiased Prediction.

Authors:  Daniel Gianola; Alessio Cecchinato; Hugo Naya; Chris-Carolin Schön
Journal:  Front Genet       Date:  2018-06-05       Impact factor: 4.599

7.  Combining pedigree and genomic information to improve prediction quality: an example in sorghum.

Authors:  Julio G Velazco; Marcos Malosetti; Colleen H Hunt; Emma S Mace; David R Jordan; Fred A van Eeuwijk
Journal:  Theor Appl Genet       Date:  2019-04-09       Impact factor: 5.699

8.  Integrating Gene Expression Data Into Genomic Prediction.

Authors:  Zhengcao Li; Ning Gao; Johannes W R Martini; Henner Simianer
Journal:  Front Genet       Date:  2019-02-25       Impact factor: 4.599

9.  On the Use of the Pearson Correlation Coefficient for Model Evaluation in Genome-Wide Prediction.

Authors:  Patrik Waldmann
Journal:  Front Genet       Date:  2019-09-26       Impact factor: 4.599

10.  Pitfalls and Remedies for Cross Validation with Multi-trait Genomic Prediction Methods.

Authors:  Daniel Runcie; Hao Cheng
Journal:  G3 (Bethesda)       Date:  2019-11-05       Impact factor: 3.154

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.