Skip to main content
Molecular Breeding : New Strategies in Plant Improvement logoLink to Molecular Breeding : New Strategies in Plant Improvement
. 2025 Sep 10;45(9):75. doi: 10.1007/s11032-025-01598-6

Comparing artificial and convolutional neural networks with traditional models for Genomic prediction in wheat

Wei Zhao 1, Jie Sheng 1,2,✉
PMCID: PMC12423009  PMID: 40949319

Abstract

With the rapid development of sequencing technology, the application of genomic prediction has become more and more common in breeding schemes of livestocks and crops. Selecting an appropriate statistical model is of central importance to achieve high prediction accuracy. Recently, machine learning models have been expected to upgrade genomic prediction into a new era. However, the perspective still suffers from lack of evidence that machine learning models can generally outperform the traditional ones on empirical data sets. In this study, we compared two machine learning models based on artificial neural network (ANN) and convolutional neural network (CNN) with four traditional models, including genomic best linear unbiased prediction (GBLUP), Bayesian ridge regression (BRR), BayesA and BayesB, using three published data sets for grain yield in wheat. For each model, we considered two variants: modeling and ignoring the genotype-by-environment (Inline graphic) interaction. In the comparison, we considered two strategies of cross-validation: predicting genotypes that have not been evaluated in any environment (CV1) and predicting genotypes that have been tested in other environments (CV2). Our results showed that traditional Bayesian models (BayesA, BayesB, and BRR) outperformed GBLUP, ANN and CNN when considering Inline graphic interaction. The accuracies of ANN and CNN were higher than traditional models only in CV1 and when Inline graphic interaction was ignored. It was also found that the performance of the two machine learning models was significantly affected by the interaction between the CV strategy and the way of treating the Inline graphic interaction, while that of the four traditional models was only influenced by whether the Inline graphic interaction was considered or not. Thus, machine learning models can be a powerful complementary to the traditional ones and their superiority may depend on the prediction scenario. Among the two machine learning models, we observed that the accuracy of ANN was higher than CNN in most cases, indicating that it is still challenging to adapt complex machine learning models such as CNN to genomic prediction.

Keywords: ANN, CNN, genomic prediction, GBLUP, Bayesian model

Introduction

Genomic prediction (GP) was introduced by Theo Meuwissen in 2001 (Meuwissen et al. 2001) and has been extensively applied in animal and plant breeding. It uses high-density molecular markers covering the whole genome to predict the genomic estimated breeding value (GEBV) of individuals. Based on the GEBV, breeders can select superior genotypes without observing their phenotypic performance, thereby shortening the generation interval (Ghosh et al. 2018), accelerating the breeding process (Watson et al. 2019), saving costs (Bernardo 2008), and promoting the development of precision and efficiency in modern breeding. Therefore, it is crucial to build reliable prediction models in order to obtain accurate GEBVs. Sine the choice of model could greatly affect the accuracy and efficiency of genomic prediction, it has been an active research area to compare the prediction accuracies of different models with different data sets.

For over a decade, the genomic best linear unbiased prediction (GBLUP) model (VanRaden 2008) has been the most popular approach applied in genomic prediction. It predicts the phenotypic performance of the individuals in the test set, in which only the genomic data is available, by building a genomic relationship matrix from molecular markers. This relationship matrix serves as a bridge between the individuals in the test and those in the training set, in which both genomic and phenotypic data are available. The GBLUP model is statistically equivalent to the ridge regression best linear unbiased prediction (RRBLUP) model (Meuwissen et al. 2001), which is in turn equivalent to the Bayesian ridge regression (BRR) model (de Los Campos et al. 2013). In the BRR model, the effect of each marker is explicitly modeled as a random variable and the variances of all marker effects are assumed to be equal. The estimation of these marker effects is done within the training set, and the estimated marker effects are then used to predict the individuals in the test set. From biological point of view, the contributions of different markers across the genome to the total genetic variance are not necessarily the same. Motivated by this, Meuwissen et al. modified the assumptions and proposed two alternative models: BayesA and BayesB (Meuwissen et al. 2001). In both models, each marker effect has its own variance. But in BayesB, there is an additional assumption that a proportion of markers has zero effects, which may better fit the reality that many genetic markers do not contribute to the trait at all. Meuwissen’s early study compared the accuracy of least squares, RRBLUP, BayesA, and BayesB, which showed that BayesB had the highest accuracy and the accuracy of the two Bayesian models was higher than that of RRBLUP (Meuwissen et al. 2001). Clark et al. compared the accuracy of BayesB and GBLUP using simulated data sets, and found that BayesB was more accurate than GBLUP in the case that most markers contributing to the trait have rare alleles (Clark et al. 2011). On the other hand, it was found that the computational load of BayesB was higher than RRBLUP and BayesA (Verbyla et al. 2009). In this study, these models are called traditional models as they are among the earliest models for genomic prediction and have been extensively studied by the research community.

All traditional models introduced above are parametric models, and more precisely, linear models. Thus, the models assume that each marker contributes to the trait separately and the final trait value is a linear combination of all marker effects. However, biological evidences suggest that markers may interact with each other. To take this into account, semi-parametric and machine learning models were introduced to genomic prediction and have gained popularity. Due to the successful application in many research areas (Egmont-Petersen et al. 2002; LeCun et al. 2015), the artificial neural network (ANN) and the convolutional neural network (CNN) were expected to be promising in genomic prediction, and there has been a few studies comparing them with the traditional models. McDowell compared some traditional models with several models based on ANN by using data sets in Arabidopsis, maize, and wheat, and found that, among the six traits (two for each species), the ANN-based models achieved the highest accuracy in three traits, and the traditional models were more accurate for the other three traits (McDowell 2016). Rachmatia et al. found that the deep belief network model (a type of ANN) outperformed GBLUP, for traits with a non-additive genetic architecture in maize (Rachmatia et al. 2017). Ma et al. compared CNN with two traditional models (RR-BLUP and GBLUP) and three ANN-based models for eight traits in wheat, and found that the accuracies of CNN, RR-BLUP, and GBLUP were comparable with each other and were higher than the three ANN-based models (Ma et al. 2018. In Liu et al. (2019), it was shown that CNN was superior to traditional models (RRBLUP, BRR, and BayesA) in predicting five traits in soybean.

As reviewed in Montesinos-López et al. (2021), there has been no strong evidence that machine learning models have better predictive power than traditional models generally across data sets. Thus, to gain more insights into the prospect of applying machine learning models in genomic prediction, we compared two machine learning models (ANN and CNN) with four traditional models (GBLUP, BRR, BayesA and BayesB) using three published wheat data sets in this study. Since all data sets were generated with multiple environments, and the environment may impact genetic traits through genotype-by-environment (Inline graphic) interaction (DeLacy et al. 1996; Heslot et al. 2014), we evaluated two situations for all models: considering and ignoring the Inline graphic interaction effects.

Materials and methods

Data Set

The three wheat datasets used in this article were developed by CIMMYT’s global wheat program and obtained from its wheat breeding station at Cd. Obregon, Sonora, Mexico. The environments were three irrigation regimes (moderate drought stress, optimal irrigation, and high drought stress), two planting systems (bed and flat planting), and two planting dates (normal and late). All phenotype and genotype data can be obtained in Montesinos-López et al. (2018). Two datasets contain four environments (Inline graphic, Inline graphic, Inline graphic, Inline graphic), and one dataset contains five environments (Inline graphic, Inline graphic). The number of wheat lines evaluated in the three data sets are 693, 670 and 807, respectively. The phenotypic traits of all three datasets were adjusted based on experimental design for grain yield (GY, tons/hectare). The lines were genotyped using genotyping-by-sequencing technology (GBS) (Poland et al. 2012). For all data sets, 15, 744 single nucleotide polymorphism (SNP) markers were used in this study.

Genomic best linear unbiased prediction (GBLUP)

The GBLUP model considering Inline graphic interaction is as follows:

graphic file with name d33e353.gif

This model was proposed by Montesinos-López et al. (2018). Here Inline graphic is the response variable of the ith line in the jth environment (Inline graphic, Inline graphic). The Inline graphic is the fixed effects of the jth environment, and Inline graphic is the random genetic effect of the ith line, with Inline graphic, where Inline graphic is the genotypic variance and Inline graphic is the genomic relationship matrix (GRM). Each Inline graphic is the random interaction term between the genomic effect of the ith line and the jth environment, and Inline graphic, where Inline graphic is the interaction variance. The symbol Inline graphic represents a random residual associated with the ith line in the jth environment distributed as Inline graphic, where Inline graphic is the residual variance. When Inline graphic interaction is not considered, the Inline graphic term is omitted.

Bayesian ridge regression (BRR), BayesA, and BayesB

The BRR, BayesA, and BayesB models are extensions of the standard normal linear regression models based on the Bayesian theory framework. Different Bayesian models can be obtained by assuming different prior distributions of parameters. For the BRR model (cf. Montesinos-López et al. (2022)), marker effects are assumed to be independent and have the same prior distributions. More precisely, let Inline graphic be the effects of p markers, then Inline graphic, where Inline graphic is the prior variance of marker effects. The random error term Inline graphic follows a prior distribution Inline graphic. Both variance components, Inline graphic and Inline graphic, are assigned inverse Chi-square distributions: Inline graphic, Inline graphic. It can be shown that the posterior mean of marker effects is the best linear unbiased predictor (BLUP) of marker effects, so Bayes ridge regression is also referred to as RRBLUP (de Los Campos et al. 2013).

The BayesA model (cf. Montesinos-López et al. (2022)) slightly modifies the BRR model by assuming different prior variances for the marker effects. Specifically, the marker effects are distributed as Inline graphic, where Inline graphic. The BayesB model can be considered a direct extension of the BRR and BayesA models by adding a parameter Inline graphic that represents the prior proportion of markers with null effects. Therefore, for the BayesB model, the prior distribution of marker effects is as follows (Pérez-Rodríguez et al. 2012):

graphic file with name d33e582.gif

The Gibbs sampler is then used to estimate the posterior distribution of the parameters. All models were implemented by the BGLR package (v 1.1.0, (de los Campos et al. 2015)) in R (v 4.3.1) with default parameters.

Artificial neural network (ANN)

Neural networks are based on perceptron extensions, and ANNs can be understood as neural networks with many hidden layers, so ANNs are sometimes called multi-layer perceptron (MLP). According to the location of different layers in ANN, the internal neural network layers can be divided into three categories: input layer, hidden layer, and output layer. The ANN diagram used in this study is shown in Fig. 1. The first layer is the input layer, then the hidden layer and the last layer is the output layer. The output of the previous layer is used as the input value of the later layer, and when ANN is used as regression, there is only one neuron in the output layer.

Fig. 1.

Fig. 1

Outline of ANN. The input layer has six neurons, the hidden layer has four neurons, and the output layer has one neuron

The ANN model in the figure above can be expressed by the formulas as follows:

graphic file with name d33e607.gif 1
graphic file with name d33e613.gif 2

In the formulas Eqs. 1 and 2, the Inline graphic function represents the activation function of the ith layer, Inline graphic refers to the ith element of the input vector x, d represents the number of neurons in the input layer, and N denotes the number of neurons in the hidden layer. The symbols Inline graphic and Inline graphic denote the weight of neurons in the input layer and the hidden layer, respectively. After the weighted sum of each layer of neurons, the offsets are denoted by Inline graphic and b. The learning process of the neural network is to update the weight and bias so that the loss function is minimized, i.e.,

graphic file with name d33e676.gif

The form of the function J varies depending on the problem. The variables predicted in this paper are continuous, so MSE was chosen as the loss function.

Overfitting is a common problem in deep learning. Overfitting refers to a state where one can only fit the training data but not well fit other data that is not included in the training data. Regularization prevents overfitting. The regularization method used in this paper is Dropout, proposed by Srivastava et al. (2014). It randomly deletes neurons during the learning process so they do not participate in the next layer of the neuron meter. This method is one of the most effective and commonly used regularization techniques in neural networks. Dropout values range from 0 to 1 (Weidman 2019). In this study, the dropout value is fixed as 0.05. The learning rate determines whether and when the objective function converges to the local minimum, which is essential in deep learning. If the learning rate is too low, the loss function will change slowly, significantly increasing the convergence complexity of the network, and it is easy to get trapped in the local minimum value. If the learning rate is too high, the loss function may directly pass the global optimal value, the gradient oscillates around the minimum value, and may even fail to converge. We set two learning rate values (0.001, 0.005) to prevent these two situations from training the model. The ReLU activation function is utilized for ANN due to its simplicity and effectiveness. Generally, it refers to the ramp function in mathematics, defined as Inline graphic. This can be expressed as a piecewise function as shown below:

graphic file with name d33e699.gif

Convolutional neural network (CNN)

Convolutional neural networks are widely used algorithms in deep learning, suitable for situations where input variables are distributed along spatial patterns, such as 1D-CNN (e.g., SNP or text), 2D or 3D (e.g., images). The CNN model is a particular type of neural network that uses convolution instead of full matrix multiplication in hidden layers (Goodfellow et al. 2016. In one-dimensional convolutional neural networks, from input to output, the model can be expressed as Inline graphic, where x is the input vector, y is the output vector, and w is the parameter vector (convolution operator). The length of y is Inline graphic, and each element in y is evaluated as

graphic file with name d33e739.gif

The structure of CNN is divided into three layers: the convolution layer, the pooling layer, and the fully connected layer. Each neuron in the latter convolutional layer is connected only to neurons in a small rectangular region in the previous convolutional layer. The former convolutional layer of CNN focuses on relatively low-level features, while the latter convolutional layer integrates the features of the previous convolutional layer to form relatively complex features. Pooling is an operation to reduce the dimensionality of the input object in terms of height and length, such as Max pooling (selecting the maximum value from the target area) and average pooling (calculating the average value of the target area). Pooling can also reduce the complexity of the network without damaging the recognition results and, to some extent, prevent overfitting. In the fully connected layer, the neurons of adjacent layers are all connected, and the number of outputs can be arbitrarily determined.

The CNN used in this paper combines multi-layer convolution, max pooling layers and nonlinear activation functions, as shown in Fig. 2. There are three convolutional layers in Fig. 2, and each layer will be pooled after the convolution. Because the dependent variable analyzed in this paper is a scalar, the last layer is a fully connected layer with one neuron output. The activation function ReLU is also commonly used in convolutional neural networks.

Fig. 2.

Fig. 2

Outline of CNN. The architecture consists of three convolutional layers, each followed by a ReLU activation and max pooling, and concludes with a fully connected layer and a ReLU activation

The ANN and CNN models utilized identical structured inputs. We integrated environmental, genotypic, and genotype by environment interaction components into a unified design matrix Inline graphic, constructed as follows:

  • the design matrix for environmental effects Inline graphic, a Inline graphic incidence matrix allocating the kp observed phenotypic values to k environments.

  • the design matrix for genomic effects Inline graphic, which was derived from the Inline graphic genomic relationship matrix (GRM) Inline graphic:
    graphic file with name d33e804.gif
  • the design matrix for genotype-by-environment interaction effects Inline graphic, which was formulated through Kronecker product Inline graphic:
    graphic file with name d33e824.gif

When the Inline graphic interaction is disregarded, the input becomes: Inline graphic. In both the ANN and CNN models, the input vector Inline graphic is a row vector extracted from the design matrix Inline graphic. A detailed description of the design matrix can be found in Montesinos-López et al. (2022). To simplify the calculation of deep learning models, we used Keras, the most popular advanced deep learning framework (Allaire 2018; Géron 2022).

Cross-validation and predictive accuracy

We considered the prediction problems for two different scenarios. The first type of cross-validation is denoted as CV1. We assessed the prediction accuracy of the models when training (TRN) and testing (TST) data consist of disjoint sets of lines. This method mimics the problem of predicting lines that have not been evaluated in any field trials. To generate TRN and TST sets in CV1, we randomly assigned Inline graphic of the lines to TRN and the remaining Inline graphic to TST. To ensure robustness, this partitioning procedure was independently repeated five times. While this differs from conventional 5-fold cross-validation (where folds are mutually exclusive and exhaustive), the results are not anticipated to diverge significantly from standard cross-validation protocols under sufficiently large sample sizes.

The second cross-validation strategy CV2 comes from Lopez-Cruz et al. (2015). We considered predicting the performance of lines in environments in which lines have not been evaluated. This approach mimics the prediction problem in incomplete field trials where lines are evaluated in some but not all target environments. There are m environments denoted as Inline graphic, and w lines denoted as Inline graphic, so there are Inline graphic records in each data set. To select the entries in the TST data set, we randomly chose Inline graphic lines and then randomly picked one environment per line. The resulting data was used as the TST set, and the unselected data was used as the TRN set. As the data in this paper satisfies Inline graphic, some lines contain multiple environments when sampling. We used the Pearson correlation coefficient between the predicted results and observed values in the TST dataset to determine the prediction accuracy of each model. CV2 adopted the identical five-repetition framework established in CV1, maintaining independent data partitioning across all iterations.

In the deep learning model, we applied an inner CV strategy to determine the hyperparameters using grid search. The inner CV strategy requires splitting each training set of the (outer) CV strategy above. In each training set (TRN), Inline graphic of genotypes was assigned as the inner TRN and the remaining as the inner TST. For the ANN model, the hyperparameters to be tuned are the number of neurons, batch size and learning rate value. There are two values (30 and 90) for the number of neurons, two values (28 and 56) for batch size, and there are also two learning rate values (0.001, 0.005). For other hyperparameters, only one value was used. So there are 8 hyperparameter combinations to train the artificial network model. The inner TST set was used to test the accuracy of 8 hyperparameter combinations. Then we selected the hyperparameter combination with the highest accuracy for outer cross-validation. Finally, we used the obtained hyperparameters to construct the model and calculate its accuracy. For the CNN model, the inner five-fold cross-validation was used to choose dropout, the number of unit and filter. In grid search, the CNN model also has 8 hyperparameter combinations: two values (0, 0.05) of dropout, two units (33, 57), and two values (32, 64) of filters. This inner CV strategy can be simplified using Keras’ (version 2.11.1) internal function and the validation_split parameter on the fit() function.

In the paper, statistical analysis of variance (two-way ANOVA) was performed to assess whether the accuracy of each model was affected by Inline graphic interaction or cross-validation strategies. As a remark, we emphasize that all models described in the previous subsections were implemented by assuming independent environmental effects, i.e., there is no environmental covariance. Of course, the assumption does not necessarily hold in reality. Nevertheless, it is not possible to explicitly model the covariance as no environmental covariates are available in the datasets used in this study. Although there is the option of assuming a general covariance matrix among the environments and let the model itself estimate the missing covariance parameters, it would probably lead to an over-parametrized model. Therefore, we decided to maintain this assumption for all models throughout this study.

Results

Comparing the prediction accuracies between the traditional and deep learning models

The prediction accuracies of all models conducted with and without Inline graphic interaction, in each environment for each data set and for each CV strategy were shown in Figs. 3-5. In the following, if there are no special instructions, the accuracy of each model refers to the mean performance across all environments (Fig. 6). In CV1, when the Inline graphic interaction was not considered, the ANN and CNN models were better than traditional models. In each dataset, the accuracy of the ANN and CNN models were higher than the average accuracy of all traditional models; on average across data sets, the accuracy of ANN (CNN) was Inline graphic (Inline graphic) higher than the average accuracy of traditional models. When considering Inline graphic interaction, the traditional Bayesian models (BA, BB and BRR) outperformed the GBLUP, ANN and CNN models. In each dataset, the average accuracy of traditional Bayesian models was higher than the accuracy of the ANN and CNN models; on average across data sets, the average accuracy of traditional Bayesian models was Inline graphic higher than the accuracy of ANN, and Inline graphic higher than the accuracy of CNN. However, in CV2, when the Inline graphic interaction was not considered, the difference between the accuracies of ANN and traditional models was not significant (T-test, Inline graphic). And the accuracy of the CNN model was lower than the other five models. In CV2, when considering Inline graphic interaction, the traditional Bayesian models outperformed the GBLUP, ANN and CNN models. In each dataset, the average accuracy of traditional Bayesian models was higher than the accuracy of the ANN and CNN models; on average across data sets, the average accuracy of traditional Bayesian models was Inline graphic higher than the accuracy of ANN, and Inline graphic higher than the accuracy of CNN.

Fig. 4.

Fig. 4

Prediction accuracy of all models in different scenarios for Data2. (a) Estimated prediction accuracy of all models in four environments with no Inline graphic interaction for Data2 in CV1; (b) Estimated prediction accuracy of all models in four environments with Inline graphic interaction for Data2 in CV1; (c) Estimated prediction accuracy of all models in four environments with no Inline graphic interaction for Data2 in CV2; (d) Estimated prediction accuracy of all models in four environments with Inline graphic interaction for Data2 in CV2. BA, BayesA; BB, BayesB; BRR, Bayesian Ridge Regression; GBLUP, Genomic Best Linear Unbiased Prediction; ANN, Artificial Neural Network; CNN, Convolutional Neural Network; SE, Standard Error; PA, Prediction Accuracy

Fig. 3.

Fig. 3

Prediction accuracy of all models in different scenarios for Data1. (a). Estimated prediction accuracy of all models in four environments with no Inline graphic interaction for Data1 in CV1; (b). Estimated prediction accuracy of all models in four environments with Inline graphic interaction for Data1 in CV1; (c). Estimated prediction accuracy of all models in four environments with no Inline graphic interaction for Data1 in CV2; (d). Estimated prediction accuracy of all models in four environments with Inline graphic interaction for Data1 in CV2. BA, BayesA; BB, BayesB; BRR, Bayesian Ridge Regression; GBLUP, Genomic Best Linear Unbiased Prediction; ANN, Artificial Neural Network; CNN, Convolutional Neural Network; SE, Standard Error; PA, Prediction Accuracy

Fig. 5.

Fig. 5

Prediction accuracy of all models in different scenarios for Data3. (a) Estimated prediction accuracy of all models in five environments with no Inline graphic interaction for Data3 in CV1; (b) Estimated prediction accuracy of all models in five environments with Inline graphic interaction for Data3 in CV1; (c) Estimated prediction accuracy of all models in five environments with no Inline graphic interaction for Data3 in CV2; (d) Estimated prediction accuracy of all models in five environments with Inline graphic interaction for Data3 in CV2. BA, BayesA; BB, BayesB; BRR, Bayesian Ridge Regression; GBLUP, Genomic Best Linear Unbiased Prediction; ANN, Artificial Neural Network; CNN, Convolutional Neural Network; SE, Standard Error; PA, Prediction Accuracy

Fig. 6.

Fig. 6

Mean prediction accuracy across environments for all models. (a) Mean prediction accuracy across environments for all models conducted with Inline graphic and no Inline graphic interaction in Data1 and for each CV; (b) Mean prediction accuracy across environments for all models conducted with Inline graphic and no Inline graphic interaction in Data2 and for each CV; (c) Mean prediction accuracy across environments for all models conducted with Inline graphic and no Inline graphic interaction in Data3 and for each CV

Based on the above observations, it is clear that the ranking of model performance depends on the CV strategy and was affected by whether the Inline graphic interaction was considered. We can conclude that, regardless of the CV strategy, the traditional Bayesian models were better than ANN and CNN when considering Inline graphic interaction. The ANN and CNN models were superior to the traditional models only when the Inline graphic interaction was not considered and the CV1 strategy was adopted.

The influence of CV strategy and Inline graphic interaction on the accuracies of different models

The Table 1 presents the results of a two-way ANOVA analyzing the interaction between CV strategy and Inline graphic interaction across all models. It was shown that, neither the CV strategy nor its interaction with the Inline graphic interaction was significant (Inline graphic) for traditional models, indicating no significant change in the accuracy between CV1 and CV2, regardless of whether the Inline graphic interaction was considered or not. But the way of treating Inline graphic interaction significantly (Inline graphic) affected the accuracy. In both CV strategies, considering Inline graphic interaction increased the accuracy of traditional Bayesian models. Across three traditional Bayesian models in three datasets, the average accuracy improved by Inline graphic in CV1 and by Inline graphic in CV2. In contrast, the accuracy of the ANN and CNN models was significantly (Inline graphic) affected by the interaction between the CV strategy and the way of treating Inline graphic interaction. In CV1, considering Inline graphic interaction decreased the accuracy of the ANN and CNN models. On average across three datasets, the accuracy of ANN decreased by Inline graphic, and that of CNN decreased by Inline graphic. In CV2, considering Inline graphic interaction improved the accuracy of the ANN and CNN models. On average across three datasets, the accuracy of ANN improved by Inline graphic, and that of CNN improved by Inline graphic. When the Inline graphic interaction was not considered, the accuracy of the ANN and CNN models was significantly (Inline graphic) higher in CV1 than in CV2, while the opposite was observed when the interaction was considered (Fig. 7).

Table 1.

The results of the two-way ANOVA for the interaction between cross-validation and Inline graphic interaction.

Source SS df MS F statistic P-value
BA CV 0.000602 1 0.000602 0.062674 0.803387
Inline graphic 0.283717 1 0.283717 29.51403 0.00000182
Interaction 0.00000556 1 0.00000556 0.000578 0.980917
Error 0.461422 48 0.009613
BB CV 0.00512 1 0.00512 0.820607 0.369528
Inline graphic 0.24702 1 0.24702 39.58876 8.96E-08
Interaction 0.023609 1 0.023609 3.783689 0.057625
Error 0.299504 48 0.00624
BRR CV 0.00128 1 0.00128 0.100535 0.752564
Inline graphic 0.277985 1 0.277985 21.83233 0.0000244
Interaction 0.000192 1 0.000192 0.015103 0.902703
Error 0.61117 48 0.012733
GBLUP CV 0.00221 1 0.00221 0.098446 0.755062
Inline graphic 0.06732 1 0.06732 2.998793 0.08975
Interaction 1.92E-08 1 1.92E-08 0.000000857 0.999265
Error 1.077554 48 0.022449
ANN CV 0.005838 1 0.005838 0.480445 0.491561
Inline graphic 0.023481 1 0.023481 1.932257 0.170925
Interaction 0.123581 1 0.123581 10.16942 0.002515
Error 0.583308 48 0.012152
CNN CV 0.012836 1 0.012836 0.865273 0.356922
Inline graphic 0.02628 1 0.02628 1.771488 0.189486
Interaction 0.307538 1 0.307538 20.73061 0.0000362
Error 0.71208 48 0.014835

SS, Sum of Squares; df, degree of freedom; MS, Mean Squares

Fig. 7.

Fig. 7

Prediction accuracy of all models in different environments for all data sets combined. (a) Prediction accuracy of all models with Inline graphic interaction; (b) Prediction accuracy of all models with no Inline graphic interaction. Boxplots contain 13 prediction values. Red boxes show results of CV1, while blue boxes show results of CV2

A detailed comparison between the accuracies of ANN and CNN models

Figure 8 shows the prediction accuracy of the ANN and CNN models in each environment within each data set, and for each of the four combinations of CV strategies (CV1 and CV2) and means of treating the Inline graphic interaction (considering and ignoring). In CV1, regardless of whether the Inline graphic interaction was considered, the CNN model exhibited higher accuracy than the ANN model across environments Inline graphic, Inline graphic, and Inline graphic for both Data1 and Data3, with the sole exception of Inline graphic in Data1 when the Inline graphic interaction was ignored. In CV2, when considering the Inline graphic interaction, the CNN outperformed the ANN in Inline graphic, Inline graphic, and Inline graphic for Data2, as well as in Inline graphic for Data3. In all other scenarios, the ANN model outperformed the CNN model. On average across the four combinations in all environments, the prediction accuracy of ANN was higher than CNN in all three data sets. The paired samples t-test showed that the difference was significant (i.e. Inline graphic) in Data1 (Inline graphic) and Data2 (Inline graphic), and was not significant in Data3 (Inline graphic). Regardless of whether the Inline graphic interaction was considered, in three out of four environments (Inline graphic, Inline graphic and Inline graphic), the average accuracy of ANN across all datasets was significantly (Inline graphic) higher than that of CNN. Therefore, we conclude that in our case, the ANN model was superior to the CNN model.

Fig. 8.

Fig. 8

Prediction accuracy of ANN and CNN in different scenarios. (a) The prediction accuracy of ANN and CNN in Data1; (b) The prediction accuracy of ANN and CNN in Data2; (c) The prediction accuracy of ANN and CNN in Data3

Discussion

There are many instances of the effective use of machine learning in genomic prediction (Ma et al. 2018; González-Camacho et al. 2012; Libbrecht and Noble 2015; Okser et al. 2014; Pérez-Enciso and Zingaretti 2019; Sandhu et al. 2021b). It was expected that ML models are superior to traditional genomic selection models in terms of prediction accuracy. However, there is not enough empirical evidence in the literature to support this claim (Montesinos-López et al. 2019). Thus, we investigated the applicability of established machine learning models in genomic prediction by comparing the ANN and CNN methods with traditional prediction models (BA, BB, BRR, and GBLUP) using public datasets in wheat.

In this study, we found that the accuracy of ANN and CNN models was similar to or lower than traditional models when considering the Inline graphic interaction. Only in CV1, when the interaction was not considered, the ANN and CNN models outperformed traditional models. This was unexpected because using deep learning methods may help to capture complex interaction, which often helps to improve prediction accuracy. But our findings are supported by results of previous studies. Montesinos-López et al. showed that a deep learning method with densely connected network architecture was as effective as the GBLUP method, but generally speaking, the GBLUP method outperformed the deep learning method when considering Inline graphic interaction (Montesinos-López et al. 2018). However, when ignoring the Inline graphic interaction, the deep learning method was better than the GBLUP method in six out of the nine datasets. Montesinos-López et al. compared the prediction accuracy of MLP, support vector machine (SVM), and the Bayesian threshold genomic best linear unbiased prediction (TGBLUP) model in four datasets with and without Inline graphic interaction (Montesinos-López et al. 2019). When the Inline graphic interaction was considered, the TGBLUP model produced the best prediction in all four datasets. When the Inline graphic interaction was ignored, the accuracy of TGBLUP was similar to or lower than that of MLP and SVM in all four datasets. As discussed in Montesinos-López et al. (2018), deep learning models could capture complex relationships hidden in the data without a need for strong assumptions about underlying mechanisms, which were frequently unknown or insufficiently defined. This might be the reason for the superiority of deep learning models over the GBLUP model when Inline graphic interaction was not considered. On the other hand, the deep learning models often require a large amount of data to train effectively. When considering the Inline graphic interaction, the dimensionality of the data increases, but the sample size does not increase. Thus, in this case, it would be difficult to exploit the advantage of deep learning models. This might explain why the traditional prediction models outperformed the deep learning models when Inline graphic interaction was considered.

It is important to note that all models considered in this study were implemented with the assumption of no environmental covariance, as was already mentioned in Materials and Methods. As a consequence, the performance of the evaluated models and their rankings in different scenarios (with or without Inline graphic interaction) were strongly affected by this assumption. If additional data measuring the environments, such as climate and soil parameters, are available, a better approach is to model the environmental covariance by using these factors (Jarquín et al. 2014). In such a case, the machine learning models may be able to capture the implicit patterns of phenotype-envirotype-genotype relations, and hence have the potential to increase the prediction accuracy (Crossa et al. 2022). This is also relevant for the application of genomic prediction in reality, since for breeders, the most critical scenario is predicting new genotypes in new environments. But this scenario cannot be evaluated without data specifically describing the new environments. While investigating these issues is beyond the scope of the current study, it is certainly a promising and interesting direction for further research.

There were also studies in which deep learning models were reported to have the best performance or at lease one of the best models in terms of prediction accuracy. To predict grain protein content and grain yield in wheat, Sandhu et al. evaluated nine models, including GBLUP, four Bayesian models, Random Forest (RF), SVM, MLP, and CNN (Sandhu et al. 2021a). The results indicated that MLP performed the best. To predict grain length in wheat, Ma et al. evaluated CNN and two popular genomic prediction models (RR-BLUP and GBLUP) and three versions of the MLP (Ma et al. 2018). They concluded that the best models were CNN, RR-BLUP and GBLUP. Thus, it seems that the relative advantage between the traditional and deep learning models depends on the trait, and even on the specific data set. This is justified because of the No Free Lunch (NFL) Theorem (Wolpert and Macready 1995), which states that for any algorithm, any elevated performance over one class of problems is exactly paid for in performance over another class.

The commonly used deep learning models in plant breeding are MLP and CNN, as reported by Pérez-Enciso and Zingaretti (2019). The ANN model used in this paper is the MLP model with one hidden layer. The results of our study showed that the ANN model was generally better than the CNN model in three data sets. This finding is supported by Sandhu et al. (2021b) in which the performance of MLP and CNN for predicting five traits in wheat was evaluated. And the results showed that the prediction accuracy of the MLP model was Inline graphic higher than that of the CNN model for both grain yield and grain protein content in wheat. However, there were also contrasting results in wheat reported in the literature. According to Pérez-Enciso and Zingaretti (2019), the CNN model showed better performance than MLP for predicting grain yield in wheat. Ma et al. reported that the performance of the CNN model was slightly better than the GBLUP model which in turn was more accurate than the MLP model in predicting grain length in wheat (Ma et al. 2018). Thus the relative advantage of ANN and CNN are still not clear and further studies are needed.

Both traditional prediction models and deep learning models are potent tools for genomic selection. Traditional predictive models have the advantage of providing a transparent build process and interpretability, avoiding adjusting hyperparameters, but sometimes the resulting accuracy may not be satisfactory. For example, the accuracy of GBLUP in this paper is relatively low in most cases. As datasets grow in size and feature richness, using deep learning models becomes increasingly feasible (Jubair and Domaratzki 2023). However, it is also prone to overfitting, and it requires training a large number of parameters, such as the initial values of network topology, weights, and thresholds. And one cannot observe the learning process in using a deep learning model. It is challenging to interpret the process of prediction (the output results are the predicted values, which does not require interpretations), which will affect the credibility and acceptability of the results. Hence, depending on the species/trait in consideration and the scenario of prediction, deep learning methods can be a powerful complement to traditional genomic prediction tools.

Acknowledgements

We gratefully acknowledge the great help of Yong Jiang from IPK in completing this project.

Funding

No funding was received.

Data Availability

The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.

Declarations

Ethics approval

All authors approved the submission.

Consent to participate

Not applicable.

Consent for publication

Not applicable.

Conflict of interest

The authors declare no competing interests.

References

  1. Allaire J (2018) Tfruns: training run tools for ‘tensorflow’. https://cran.r-project.org/package=tfruns
  2. Bernardo R (2008) Molecular markers and selection for complex traits in plants: learning from the last 20 years. Crop Sci. 48(5):1649–1664 [Google Scholar]
  3. de los Campos G, Pataki A, Pérez P (2015) The bglr (bayesian generalized linear regression) r-package
  4. Crossa J, Montesinos-López O, Pérez-Rodríguez P et al (2022) Genome and environment based prediction models and methods of complex traits incorporating genotype Inline graphic environment interaction. Methods Mol. Biol. 2467:245–283. 10.1007/978-1-0716-2205-6_9 [DOI] [PubMed] [Google Scholar]
  5. de Los Campos G, Hickey JM, Pong-Wong R et al (2013) Whole-genome regression and prediction methods applied to plant and animal breeding. Genetics 193(2):327–345 [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. DeLacy IH, Basford KE, Cooper M, et al. (1996) Analysis of multi-environment trials–an historical perspective. In: Plant adaptation and crop improvement. CAB International, p 39–124
  7. Egmont-Petersen M, de Ridder D, Handels H (2002) Image processing with neural networks–a review. Pattern recognition 35(10):2279–2301
  8. Egmont-Petersen M, de Ridder D, Handels H (2002) Image processing with neural networks-a review. Pattern Recogn. 35(10):2279–2301 [Google Scholar]
  9. Ghosh S, Watson A, Gonzalez-Navarro OE et al (2018) Speed breeding in growth chambers and glasshouses for crop breeding and model plant research. Nature protocols 13(12):2944–2963 [DOI] [PubMed]
  10. Ghosh S, Watson A, Gonzalez-Navarro OE et al (2018) Speed breeding in growth chambers and glasshouses for crop breeding and model plant research. Nat. Protoc. 13(12):2944–2963 [DOI] [PubMed] [Google Scholar]
  11. González-Camacho J, de Los Campos G, Pérez P et al (2012) Genome-enabled prediction of genetic values using radial basis function neural networks. Theor. Appl. Genet. 125:759–771 [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Heslot N, Akdemir D, Sorrells ME et al (2014) Integrating environmental covariates and crop modeling into the genomic selection framework to predict genotype by environment interactions. Theoretical and applied genetics 127:463–480 [DOI] [PubMed]
  13. Heslot N, Akdemir D, Sorrells ME et al (2014) Integrating environmental covariates and crop modeling into the genomic selection framework to predict genotype by environment interactions. Theor. Appl. Genet. 127:463–480 [DOI] [PubMed] [Google Scholar]
  14. Jarquín D, Crossa J, Lacaze X et al (2014) A reaction norm model for genomic selection using high-dimensional genomic and environmental data. Theor. Appl. Genet. 127:595–607. 10.1007/s00122-013-2243-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Jubair S, Domaratzki M (2023) Crop genomic selection with deep learning and environmental data: A survey. Frontiers in Artificial Intelligence 5. 10.3389/frai.2022.1040295 [DOI] [PMC free article] [PubMed]
  16. LeCun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521(7553):436–444 [DOI] [PubMed] [Google Scholar]
  17. Libbrecht MW, Noble WS (2015) Machine learning applications in genetics and genomics. Nat. Rev. Genet. 16(6):321–332 [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Liu Y, Wang D, He F et al (2019) Phenotype prediction and genome-wide association study using deep convolutional neural network of soybean. Front. Genet. 10. 10.3389/fgene.2019.01091 [DOI] [PMC free article] [PubMed]
  19. de Los Campos G, Hickey JM, Pong-Wong R et al (2013) Whole-genome regression and prediction methods applied to plant and animal breeding. Genetics 193(2):327–345 [DOI] [PMC free article] [PubMed]
  20. Ma W, Qiu Z, Song J et al (2018) A deep convolutional neural network approach for predicting phenotypes from genotypes. Planta 248:1307–1318 [DOI] [PubMed] [Google Scholar]
  21. McDowell R (2016) Genomic selection with deep neural networks. PhD thesis, Iowa state university
  22. Meuwissen TH, Hayes BJ, Goddard M (2001) Prediction of total genetic value using genome-wide dense marker maps. genetics 157(4):1819–1829 [DOI] [PMC free article] [PubMed]
  23. Montesinos-López A, Montesinos-López OA, Gianola D, et al. (2018) Multi-environment genomic prediction of plant traits using deep learners with dense architecture. G3: Genes, Genomes, Genetics 8(12):3813–3828 [DOI] [PMC free article] [PubMed]
  24. Montesinos-López OA, Martín-Vallejo J, Crossa J et al (2019) A benchmarking between deep learning, support vector machine and bayesian threshold best linear unbiased prediction for predicting ordinal traits in plant breeding. G3: Genes, Genomes, Genetics 9(2):601–618 [DOI] [PMC free article] [PubMed]
  25. Montesinos-López OA, Montesinos-López A, Pérez-Rodríguez P, et al. (2021) A review of deep learning applications for genomic selection. BMC genomics 22(1). 10.1186/s12864-020-07319-x [DOI] [PMC free article] [PubMed]
  26. Montesinos-López OA, Montesinos-López A, Crossa J (2022) Multivariate statistical machine learning methods for genomic prediction. Springer Nature [PubMed]
  27. Okser S, Pahikkala T, Airola A et al (2014) Regularized machine learning in the genetic prediction of complex traits. PLoS genetics 10(11). 10.1371/journal.pgen.1004754 [DOI] [PMC free article] [PubMed]
  28. Pérez-Enciso M, Zingaretti LM (2019) A guide for using deep learning for complex trait genomic prediction. Genes 10(7). 10.3390/genes10070553 [DOI] [PMC free article] [PubMed]
  29. Pérez-Rodríguez P, Gianola D, González-Camacho JM, et al. (2012) Comparison between linear and non-parametric regression models for genome-enabled prediction in wheat. G3: Genes, Genomes, Genetics 2(12):1595–1605 [DOI] [PMC free article] [PubMed]
  30. Poland J, Endelman J, Dawson J et al (2012) Genomic selection in wheat breeding using genotyping-by-sequencing. The Plant Genome 5(3):103–113 [Google Scholar]
  31. Rachmatia H, Kusuma WA, Hasibuan LS (2017) Prediction of maize phenotype based on whole-genome single nucleotide polymorphisms using deep belief networks. J. Phys: Conf. Ser. 835. 10.1088/1742-6596/835/1/012003
  32. Sandhu K, Patil SS, Pumphrey M et al (2021a) Multitrait machine-and deep-learning models for genomic selection using spectral information in a wheat breeding program. The Plant Genome 14(3). 10.1002/tpg2.20119 [DOI] [PubMed]
  33. Sandhu KS, Lozada DN, Zhang Z et al (2021b) Deep learning for predicting complex traits in spring wheat breeding program. Frontiers in Plant Science 11. 10.3389/fpls.2020.613325 [DOI] [PMC free article] [PubMed]
  34. Srivastava N, Hinton G, Krizhevsky A et al (2014) Dropout: a simple way to prevent neural networks from overfitting. The journal of machine learning research 15(1):1929–1958 [Google Scholar]
  35. VanRaden PM (2008) Efficient methods to compute genomic predictions. J. Dairy Sci. 91(11):4414–4423 [DOI] [PubMed] [Google Scholar]
  36. Verbyla KL, Hayes BJ, Bowman PJ et al (2009) Accuracy of genomic selection using stochastic search variable selection in australian holstein friesian dairy cattle. Genetics research 91(5):307–311 [DOI] [PubMed] [Google Scholar]
  37. Watson A, Hickey LT, Christopher J et al (2019) Multivariate genomic selection and potential of rapid indirect selection with speed breeding in spring wheat. Crop Sci. 59(5):1945–1959 [Google Scholar]
  38. Weidman S (2019) Deep learning from scratch: Building with python from first principles. O’Reilly Media
  39. Wolpert DH, Macready WG (1995) No free lunch theorems for search. Tech. rep, Santa Fe Institute [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.


Articles from Molecular Breeding : New Strategies in Plant Improvement are provided here courtesy of Springer

RESOURCES