- 1Dipartimento di Scienze del Suolo, della Pianta e degli Alimenti, Università degli Studi di Bari Aldo Moro, Bari, Italy
- 2Istituto Nazionale di Fisica Nucleare, Sezione di Bari, Bari, Italy
- 3Dipartimento Interateneo di Fisica “M. Merlin”, Università degli Studi di Bari Aldo Moro, Bari, Italy
Background: Advances in DNA sequencing revolutionized plant genomics and significantly contributed to the study of genetic diversity. However, predicting phenotypes from genomic data remains a challenge, particularly in the context of plant breeding. Despite significant progress, accurately predicting phenotypes from high-dimensional genomic data remains a challenge, particularly in identifying the key genetic factors influencing these predictions. This study aims to bridge this gap by integrating explainable artificial intelligence (XAI) techniques with advanced machine learning models. This approach is intended to enhance both the predictive accuracy and interpretability of genotype-to-phenotype models, thereby improving their reliability and supporting more informed breeding decisions.
Results: This study compares several ML methods for genotype-to-phenotype prediction, using data available from an almond germplasm collection. After preprocessing and feature selection, regression models are employed to predict almond shelling fraction. Best predictions were obtained by the Random Forest method (correlation = 0.727 ± 0.020, an R2 = 0.511 ± 0.025, and an RMSE = 7.746 ± 0.199). Notably, the application of the SHAP (SHapley Additive exPlanations) values algorithm to explain the results highlighted several genomic regions associated with the trait, including one, having the highest feature importance, located in a gene potentially involved in seed development.
Conclusions: Employing explainable artificial intelligence algorithms enhances model interpretability, identifying genetic polymorphisms associated with the shelling percentage. These findings underscore XAI’s efficacy in predicting phenotypic traits from genomic data, highlighting its significance in optimizing crop production for sustainable agriculture.
1 Background
Next generation DNA sequencing technologies nowadays allow the cost-effective identification and call of a large number of single nucleotide polymorphisms (SNPs), using whole genome resequencing (WGS) and reduced representation sequencing (RRS) approaches Pavan et al. (2020). In turn, this facilitates the prediction of phenotypes based on genomic data, using genomic selection (GS) methods. For both annual and perennial crops, GS has the potential to dramatically reduce the time and the cost required for the development of new cultivars Crossa et al. (2017). The advantage of GS is even more noticeable for fruit tree species, for which phenotypic selection requires to grow plants for several years until the completion of the juvenile period. However, despite these remarkable strides, the accurate prediction of phenotypes from genomic data remains an enduring challenge in the field of plant breeding van Dijk et al. (2021). In the contemporary landscape of “big data” available for crop species, the ability predict phenotypes from genotypic information holds paramount importance, particularly in the context of breeding applications. The comprehension of the dynamic interplay between genotypic variation and resulting phenotypes offers profound insights into fundamental aspects of plant physiology and development Tong and Nikoloski (2021).
While traditional linear regression models have been valuable tools in genetic studies, they may have limitations in capturing the nuanced relationships between genotypes and phenotypes. These models often assume linearity, which may not hold true for complex biological interactions. Additionally, they may struggle with high-dimensional genomic data, leading to issues such as overfitting and multicollinearity, which can reduce predictive accuracy and reliability Guzzetta et al. (2010); Okser et al. (2014); Danilevicz et al. (2022). However, the emergence of Machine Learning (ML) techniques, notably non-linear models and tree-based models, has heralded a paradigm shift in this domain Li et al. (2018); Abdollahi-Arpanahi et al. (2020); Wang et al. (2022); Azodi et al. (2019). These sophisticated methodologies excel at generating precise predictions from the extensive biological datasets generated in plant genotyping and phenotyping studies John et al. (2022); Sehrawat et al. (2023). ML, as a computational approach for discerning predictive patterns within data, holds significant promise in revolutionizing genotype-to-phenotype predictions in plant science Guo and Li (2023); Wang et al. (2023). ML techniques have become essential tools for plant researchers, facilitating the processing and integration of vast datasets to unveil deeper insights into the intricate relationships between genotypes and phenotypes. Recent reviews and studies highlight the application and comparison of various ML models in genomic prediction, showcasing their effectiveness in different contexts Chafai et al. (2023); Lourenço et al. (2024). Moreover, recent advancements in machine learning have led to the development of explainable artificial intelligence (XAI) algorithms, aimed at elucidating the inner workings of machine learning models often deemed as “black boxes” Novielli et al. (2024); Linheiro et al. (2023); Mostafa et al. (2023); Van Stein et al. (2022); Cilli et al. (2022); Lombardi et al. (2022). These XAI algorithms enhance the reliability and interpretability of results by elucidating the variables that have the most significant impact on the predictive outcome. The connection between prediction accuracy and interpretability is crucial in breeding applications, as understanding the genetic mechanisms underlying trait predictions can inform better breeding decisions. For example, recent studies have applied explainable AI to genomic prediction in crops, demonstrating the value of this approach in identifying marker effects and estimating heritability Coelho de Sousa et al. (2022); Sousa et al. (2020). This development is particularly promising in the context of crop breeding, as it enables the identification of key SNPs driving the regression model, potentially leading to significant breakthroughs in predicting phenotypic traits such as yield.
Despite the advances in genomic selection, there remains a significant gap in accurately predicting phenotypes from high-dimensional genomic data, particularly in identifying the key genetic factors that most impact these predictions. This study aims to address these challenges by leveraging XAI techniques in conjunction with advanced machine learning models to enhance the predictive accuracy of genotype-to-phenotype predictions. Our specific research goals are to demonstrate the effectiveness of XAI in identifying key genomic regions associated with phenotypic traits. We hypothesize that advanced machine learning models, particularly tree-based methods, will outperform traditional linear models in predicting phenotypic traits from genomic data. Additionally, we expect that the use of XAI will reveal significant SNPs and genomic regions that are strongly associated with phenotypic traits, such as shelling fraction.
2 Materials and methods
2.1 Phenotipic and genotipic data
Our study aimed to compare three machine learning methods to investigate the relationship between plant genetic data and phenotypic traits. To accomplish this, we utilized genotypic and phenotypic data from 98 cultivars from the CREA-AA (Italian Council for Agricultural Research and Analysis of Agricultural Economics—Section Agriculture and Environment) ex situ germplasm collection, previously described by Pavan et al. (2021); Pavan et al. (2021). Almond, as one of the primary tree nut species worldwide and among the oldest domesticated tree species, has its genome organized into eight chromosomes Delplancke et al. (2013).
The dataset comprised 98 individuals, each represented by a unique cultivar genotyped. SNP data were obtained by the genotyping-by-sequencing (GBS) RRS approach Elshire et al. (2011), using the Lauranne genome for the alignment of reads Sánchez-Pérez et al. (2019). Four-year data on kernel and fruit weight were used to calculate the average shelling fraction (i.e. the ratio of kernel weight to total fruit weight), which was further considered as target phenotypic variable. Detailed information about the cultivars and the phenotypic variable can be found in Supplementary Table 1. This variable is very important for the technological quality of the product and it is strongly linked to the genotype rather than the agronomic practices The International Union for the Protection of New Varieties of Plants-UPOV (https://www.upov.int/edocs/mdocs/upov/en/tc_edc/2011/tg_56_4_proj_3_e.pdf). Data were preprocessed to ensure quality control using TASSEL v.556. Marker quality control involved filtering for biallelic SNP loci with a minor allele frequency > 0.05 and a call rate > 0.7, resulting in 93119 single-nucleotide polymorphisms (SNPs) available for analysis. Subsequently, Linkage Disequilibrium (LD) pruning was conducted using the LD pruning algorithm in PLINK v.1.90 Ye et al. (2019); Nimmakayala et al. (2014). This algorithm calculates pairwise R2 for all marker pairs in sliding windows with a size of 50 markers and an increment of 5 markers, removing the first marker of pairs in which R2< 0.5.
The Variant Call Format (VCF) file containing the SNPs underwent additional encoding to prepare it for the subsequent machine learning framework phase: homozygous variants, indicated by 0/0, were encoded as 0; heterozygous variants, indicated by 0/1 and 1/0, were encoded as 1; and homozygous variants, indicated by 1/1, were encoded as 2. Here, “0” denotes the reference allele, and “1” denotes the alternative allele.
2.2 Workflow analysis
Figure 1 illustrates the general schema followed to conduct the analysis. After preparation, SNP and phenotypic data were input into the ML framework. Due to the limited number of plants available for study compared to the number of SNP variables, to avoid the curse of dimensionality Crespo Márquez (2022); Altman and Krzywinski (2018), a feature selection algorithm was adopted. The curse of dimensionality refers to various phenomena that arise when analyzing and organizing data in high-dimensional spaces. In our study, having a high number of SNPs relative to the number of plants can lead to overfitting and poor model generalization because the model may fit the noise in the data rather than the actual signal. Subsequently, three tree-based ML regression models and traditional regression models (e.g., gBLUP and rrBLUP) were compared, and their performance was evaluated using different evaluation metrics (Pearson correlation, R2, and RMSE). The SHAP (SHapley Additive exPlanations) values algorithm was utilized to provide an interpretable explanation for the model’s predictions. This method helps to identify and quantify the contribution of each SNP to the predicted phenotypic traits, ensuring transparency and understanding of the model’s decision-making process. To validate the procedure, 10-fold cross-validation (CV) was employed. Feature selection was nested within the cross-validation to prevent data leakage. Data leakage occurs when information from outside the training dataset is used to create the model, leading to overly optimistic performance estimates. When performing feature selection on all of the data and then cross-validating, the test data in each fold of the CV procedure could be used to choose the features, which biases the performance analysis (Samala et al. (2020); Saravanan et al., 2018). Thus, feature selection was applied to each split of the CV, followed by training an ML regression model. Moreover, the cross-validation procedure was repeated 15 times to ensure robustness in the analysis, with each repetition involving different splits of the folds. After each repetition of the cross-validation, the model assessment metric was computed, providing uncertainty associated with the results to obtain a statistical analysis of the findings.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/1434229/fpls-15-1434229-HTML/image_m/fpls-15-1434229-g001.jpg)
Figure 1. Flowchart illustrating the analysis workflow. Input genetic data underwent preprocessing steps before being subjected to a feature selection algorithm. Subsequently, the preprocessed data were fed into tree-based machine learning algorithms to evaluate regression results and provide explanations.
The sequence of steps involved in the analysis are summarized in Table 1.
2.3 Feature selection
Feature selection is a critical step in data preprocessing, aiming to identify and retain the most informative features while discarding irrelevant ones, thereby enhancing the model’s performance Ross (2014); Kraskov et al. (2004); Tangaro et al. (2015). In our study, we employed a feature selection technique based on Mutual Information (MI) Gain. This method, a univariate filtering approach, calculates the mutual information for continuous target variables in regression problems, relying on the entropy of the variables Guo et al. (2020).
Mutual Information quantifies the dependency between variables, where higher values indicate stronger dependency. It essentially measures the amount of information one variable provides about another. Like other feature selection techniques, the goal of MI Gain is to reduce the size of the input feature set. This reduction can simplify the problem, decrease computational time, and potentially improve model performance.
In our approach, SNPs are ranked based on their MI scores, and those above the 80th percentile of the MI scores are selected for further analysis. This percentile-based threshold ensures that we retain the most informative SNPs, focusing on the top 20% that provide the highest dependency information.
2.4 Benchmark methods
To provide a comprehensive comparison, we included traditional genomic regression methods as benchmarks. Specifically, we performed genomic best linear unbiased prediction (GBLUP) and ridge regression best linear unbiased prediction (rrBLUP) as benchmark methods Crossa et al. (2017). These models do not involve variable selection and serve as a reference for evaluating the performance of the machine learning models with feature selection.
GBLUP and rrBLUP are widely used in genomic prediction due to their simplicity and robustness. GBLUP uses a mixed linear model approach that incorporates all available SNPs as random effects, assuming a common variance for all SNPs. rrBLUP is a variant of GBLUP that applies ridge regression to handle multicollinearity among SNPs, thus providing stable and reliable predictions Clark and van der Werf (2013); Tan et al. (2017); Nazzicari and Biscarini (2022).
2.5 Tree-based ML regressors
The machine learning models chosen for regression are tree-based ML models, which typically perform effectively on tabular data Grinsztajn et al. (2022); Manduchi et al. (2021). The models selected are AdaBoost, RandomForest, and Gradient Boosting.
AdaBoost: The core principle of AdaBoost is to fit a sequence of weak learners, such as small decision trees, on repeatedly modified versions of the data Freund and Schapire (1997). The predictions from all weak learners are then combined to produce the final prediction. At each boosting iteration, the data modifications involve adjusting weights assigned to each training sample based on prediction accuracy.
Gradient Boosting: Gradient boosting regression tree algorithms utilize an ensemble learning technique, amalgamating multiple individual regression trees, also known as weak learners, to construct robust forecasting models. This algorithm effectively reduces the error rate associated with weakly learned models, characterized by high bias, low variance, and minimal regularization, thereby enhancing their predictive performance. Boosting algorithms typically comprise three key components: an additive model, weak learners, and a loss function. In the case of gradient boosting machines, the approach involves identifying the deficiencies of weak models by leveraging gradients. Through an iterative process, the algorithm progressively addresses these limitations by iteratively combining base learners to minimize prediction errors. This integration is achieved by employing an additive model while simultaneously minimizing the loss function using gradient descent techniques Friedman (2001).
Random Forests: In random forests Breiman (2001), each tree in the ensemble is built from a sample drawn with replacement from the training set. When splitting each node during tree construction, the best split is found through an exhaustive search of feature values from either all input features or a random subset. This randomness decreases the variance of the forest estimator, reducing overfitting. Random forests achieve reduced variance by combining diverse trees, sometimes at the cost of a slight increase in bias.
Hyperparameters play a crucial role in controlling the complexity of the models, avoiding overfitting, and achieving better performance. The hyperparameters varied for the tree-based models used in this study include:
• Learning Rate (learning_rate): This parameter controls the contribution of each weak learner to the final model in boosting algorithms. A smaller learning rate makes the model more robust to overfitting but requires more trees to achieve optimal performance.
• Number of Estimators (n_estimators): This parameter specifies the number of weak learners (trees) to be used in the ensemble. Increasing the number of estimators generally improves the model’s performance but also increases computational cost.
• Maximum Depth (max_depth): This parameter controls the maximum depth of the trees. Limiting the depth of the trees helps to prevent overfitting by ensuring the trees do not become too complex.
To determine the optimal performance of regression in the cross-validation (CV) mode, the following parameters for Gradient Boosting and AdaBoost were varied:
● learning_rate ∈ {0.01, 0.05, 0.1, 0.2}
● n_estimators ∈ {30, 50, 100, 500}
For Random Forests, the following parameters were varied:
● max_depth ∈ {4, 7, 10}
● n_estimators ∈ {30, 50, 100, 500}
Hyperparameter tuning was performed using the RandomizedSearchCV Python library to find the best combination of hyperparameters for each model. The optimal hyperparameters identified were as follows:
• Random Forest:
•: 500
•: 7
• Gradient Boosting:
•: 100
•: 0.1
• AdaBoost:
•: 500
•: 0.05
To assess the regression results and compare different algorithms, the following metrics were used:
• Pearson correlation:
• Coefficient of determination:
• Root mean squared error:
where represents the predicted values, denotes their average, are the observed values of the phenotypic trait, and denotes its average.
2.6 SHAP values
Based on game theory, SHAP values assign an importance score to each feature for a given prediction. A positive SHAP value means that the feature has increased the prediction, while a negative SHAP value means that it has decreased the prediction. The larger the absolute value of the SHAP value, the stronger the feature’s impact on the prediction. One of the main benefits of SHAP values is that they are model-agnostic, meaning they can be used to interpret any machine learning model.
The computation of SHAP values involves evaluating the effect of including or excluding each feature from the model. Imagine we have a set of features used to make a prediction. By calculating the difference in the prediction with and without each feature across all possible subsets of features, we can determine the contribution of each feature. This approach ensures that the feature contributions are fairly distributed. To compute SHAP values, we look at the difference in model output when a specific feature is included versus when it is excluded, across all possible combinations of features. This process can be mathematically represented as follows:
where represents the permutations of features in the subset denotes the permutations of features in the subset is the total number of feature permutations, and and represent the regression score obtained by including and not including the j-th feature, respectively Lundberg and Lee (2017).
In simpler terms, this formula aggregates the change in prediction when the feature j is added to every possible subset of other features. The aggregation is weighted to ensure fairness, considering all possible orders in which features can be added. To make this concept clearer, let’s consider a simplified example with a dataset containing three features: A, B, and C. To compute the SHAP value for feature A for a specific instance, we would:
1. Calculate the model prediction using all subsets that include A and those that don’t.
2. Measure the difference in predictions for each subset pair (with and without A).
3. Aggregate these differences, applying the weighting formula to ensure a fair contribution.
Details about the software and packages used in all the analysis are provided in the Supplementary Material.
3 Results
The aim of this work was to explore the application of explainable artificial intelligence (XAI) principles to tree-based machine learning models (Random Forests, AdaBoost, and Gradient Boosting) for genomic prediction using almond germplasm data. Specifically, we aimed to construct regression models with feature selection and calculate SHAP values to provide interpretability for the predictions.
The result of data filtering and pruning indicated a substantial reduction in the SNP count from 93119 to approximately 43711. Dimensionality reduction was applied by performing feature selection as described previously. The initial filtering approach served as a quality control measure for SNPs, while LD pruning was used to remove multicollinearity from the SNP data. Subsequently, feature selection was employed to further reduce the number of SNPs, effectively addressing the ‘curse of dimensionality’ and ensuring that only the most informative markers were used in the analysis. For the phenotypic trait of shelling fraction, we analyzed its Manhattan plot, wherein each point denotes a SNP. The x-axis represents the SNPs organized by chromosome, while the y-axis depicts mutual information values. SNPs with mutual information values above the 80th percentile were selected, resulting in the retention of approximately 8600 SNPs. An example of the Manhattan plot corresponding to one fold of the cross-validation is depicted in Figure 2. The horizontal white line denotes the threshold corresponding to the 80th percentile.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/1434229/fpls-15-1434229-HTML/image_m/fpls-15-1434229-g002.jpg)
Figure 2. Manhattan plot illustrating the distribution of SNPs for the phenotypic trait of almond shelling fraction. Each point represents a SNP, grouped by chromosome on the x-axis. The y-axis depicts mutual information values. SNPs with mutual information above the 80th percentile were selected for further analysis, as indicated by the horizontal white line. P value < 10-4.
Table 2 presents the results of the five models in terms of correlation, R2, and RMSE. The table displays the results obtained by repeating the cross-validation procedure 15 times, presenting the average values along with their standard deviations. Figure 3 depicts the performance of the three algorithms as boxplots of the distributions obtained in the 15 repetitions of the procedure. Figures 3A–C represent correlation, R2, and RMSE, respectively. Each boxplot on the x-axis corresponds to one algorithm (Random Forest, Gradient Boosting, and AdaBoost), while the y-axis represents the scores. It can be observed that Random Forest statistically outperforms the other two algorithms in terms of correlation. Regarding R2 and RMSE, Random Forest outperforms Gradient Boosting, gBLUP and rrBLUP but has statistically comparable results to AdaBoost. Consequently, Random Forest is considered the best regressor, with average results of correlation of 0.727 ± 0.020, a R2 of 0.511 ± 0.025, and an RMSE of 7.746 ± 0.199. XAI results are shown for this algorithm, but the results of the other models are consistent with those of Random Forest. The statistical tests for comparing the distributions were conducted using the Mann-Whitney U test Mann and Whitney (1947).
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/1434229/fpls-15-1434229-HTML/image_m/fpls-15-1434229-g003.jpg)
Figure 3. Performance comparison of machine learning algorithms in terms of (A) correlation, (B) R2, and (C) RMSE. Each boxplot represents the distribution of scores obtained from 15 repetitions of crossvalidation for the following algorithms: Random Forest, Gradient Boosting, AdaBoost, gBLUP and rrBLUP. Significance stars indicate the results of Mann-Whitney U test comparing the distributions of each algorithm’s performance scores. The significance levels are denoted as follows: ns (not significant), ∗ (10−2 < p − value < 5 × 10−2), ∗∗ (10−3 < p − value < 10−2), ∗∗∗ (10−4 < p − value < 10−3), and **** p value < 10-4.
Figure 4 depicts the scatter plot of the cross-validated prediction results of the best model (Random Forest). The x-axis represents the actual shelling fraction values, while the y-axis represents the predicted values. Additionally, two lines are plotted to highlight the regression results: the gray line represents the bisector, and the blue line represents the regression line.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/1434229/fpls-15-1434229-HTML/image_m/fpls-15-1434229-g004.jpg)
Figure 4. Scatter plot of cross-validated prediction results for the best model (Random Forest). The x-axis represents the actual shelling fraction values, while the y-axis represents the predicted values. The gray line represents the bisector, and the blue line represents the regression line.
After evaluating the performance, SHAP values were computed. Figure 5 illustrates the feature importance calculated using SHAP values. The variables are ordered by importance, with the 20 most important variables depicted from most to least important based on the mean absolute value of the SHAP values. These values represent the average impact on the model output magnitude. It’s worth noting that the feature importance visualized in Figure 5 is for the features common to all folds post-feature selection. Therefore, for explainability, only the most stable features, those selected in every fold of cross-validation, were considered.
![www.frontiersin.org](https://www.frontiersin.org/files/Articles/1434229/fpls-15-1434229-HTML/image_m/fpls-15-1434229-g005.jpg)
Figure 5. Feature importance calculated using SHAP values. The variables are ordered by importance, with the 20 most important variables depicted from most to least important based on the mean absolute value of the SHAP values. These values represent the average impact on the model output magnitude.
By far, the SNP “S4_8267”, located at the beginning of chromosome 4, was associated with the highest feature importance. Using available annotation for the Lauranne, genome, this SNP was found to reside within the gene Prudu_010622, predicted to encode a member of the plant QWRF motif-containing protein family. Protein BLAST revealed similarity with the Arabidopsis endosperm defective protein 1, previously shown to be essential for seed development Pignocchi et al. (2009).
4 Discussion
In this research, we developed an artificial intelligence workflow to apply eXplainable Artificial Intelligence (XAI) principles to tree-based machine learning models (Random Forests, Adaboost, and Gradient Boosting) for genomic prediction using almond germplasm data. The primary focus was on predicting phenotypic traits from SNP values obtained from 98 almond cultivars, aiming to study the correlation between genotype and phenotype and to provide interpretability for the predictions through SHAP values. Predicting shelling fraction from genomic data carries significant implications for both plant science and agricultural practices. Understanding the genetic foundations of shelling fraction is very important for the breeding programs, in order to predict the efficiency of the tree in producing seeds Sun et al. (2019); Upadhyaya et al. (2010). By leveraging genomic information, breeders can identify and select plants with desirable traits, accelerating the process of crop improvement. Furthermore, precise yield predictions enable farmers to optimize resource allocation, improve crop management practices, and mitigate risks associated with environmental variability and climate change Van Klompenburg et al. (2020); Alhnaity et al. (2019); Pant et al. (2021).
Our results have shown that the phenotypic variable, shelling fraction, is correlated with SNPs, as evidenced by a coefficient of determination of 0.511 ± 0.025. The R2 value of 0.511 indicates that our model explains about 51.1% of the variance in the phenotypic trait based on genetic data alone. This level of accuracy is significant in the context of genomic prediction, where multiple factors influence phenotypic traits.
Machine learning models have proven effective in predicting this trait. In our study, we compared the machine learning models to benchmark models (gBLUP and rrBLUP), and the results demonstrated the added value of incorporating feature selection and advanced machine learning techniques in genomic prediction.
One of the strengths of this study is the utilization of an eXplainable Artificial Intelligence (XAI) framework. By employing SHAP values, which are model-agnostic, we were able to estimate the importance of SNPs in predicting phenotypic variation. Notably, we found that the SNP locus associated with the highest importance resides in a gene, Prudu 010622, showing high level of homology with Arabidopsis endosperm defective 1, previously implicated in seed development Pignocchi et al. (2009). Further functional studies might test whether Prudu 010622 is also playing a role in kernel development, thus affecting kernel yield.
4.1 Caveats and future perspectives
While this study demonstrates the potential of combining XAI with advanced machine learning models for genotype-to-phenotype predictions, there are several caveats and limitations to consider. Firstly, the dataset used in this study is relatively small, consisting of only 98 almond cultivars. This limited sample size may affect the generalizability and robustness of the findings. Future studies should aim to include larger and more diverse datasets to validate the results and improve the model’s predictive performance. Additionally, while our study focused primarily on genetic data, we acknowledge that incorporating environmental variables alongside genetic information holds promise for further improving prediction accuracy. Environmental factors, such as temperature, precipitation, soil composition, and management practices, play a crucial role in shaping crop yields Rebetzke et al. (2012). The absence of environmental data in our current models could be seen as a limitation of this study. Integrating environmental data into machine learning models can provide a more comprehensive understanding of the genotype-environment-phenotype interactions, leading to more accurate predictions and tailored agricultural interventions Gagneur et al. (2013); Guo and Li (2023); Barros and Offenbacher (2009). Future work should aim to combine genetic data with relevant environmental variables to enhance the robustness and applicability of genomic prediction models.
Validation steps are crucial for the broader application of these models in real-world breeding programs. Independent validation using external datasets should be performed to ensure the reliability and reproducibility of the findings. Moreover, functional validation of the identified SNPs and genomic regions is necessary to confirm their biological relevance and potential utility in breeding applications. Future research should also explore the application of these models to other crop species and phenotypic traits, expanding the scope of genotype-to-phenotype predictions in plant breeding.
5 Conclusions
The analysis presented in this study underscores the model’s predictive capacity, revealing a significant correlation between genotypes and shelling fraction across 98 almond cultivars. Our best ML model achieved an R2 of 0.511 ± 0.025, outperforming traditional GS methodologies like gBLUP and rrBLUP. In addition, the application of XAI highlighted specific chromosomal regions and SNP positions of major importance in predicting the target phenotype, offering valuable insights for further genetic studies and contributing to more conclusive results. These findings emphasize the potential of integrating machine learning models with explainable AI to enhance the interpretability and accuracy of genomic predictions, ultimately advancing the field of plant breeding.
Furthermore, this study paves the way for future research endeavors exploring similar associations in other cultivar types and various phenotypic traits. By expanding the scope of investigation, we can deepen our understanding of genotype-phenotype relationships in plant science, ultimately contributing to advancements in agricultural practices and crop optimization.
Data availability statement
The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the author SP, stefano.pavan@uniba.it.
Author contributions
PN: Writing – original draft, Writing – review & editing, Conceptualization, Software, Visualization, Methodology, Formal analysis, Investigation. DR: Writing – review & editing, Methodology. SP: Writing – review & editing, Data curation, Validation. PL: Writing – review & editing, Data curation, Validation. AS: Writing – review & editing, Validation. DD: Writing – review & editing, Methodology. RB: Writing – review & editing, Methodology. ST: Writing – original draft, Writing – review & editing, Conceptualization, Funding acquisition, Methodology, Project administration, Supervision.
Funding
The author(s) declare financial support was received for the research, authorship, and/or publication of this article. Part of this paper has been supported by the TEBAKA (TErritorial BAsic Knowledge Acquisition project “Avviso MIUR n.1735 del 13/07/2017”, part of this study was carried out within the Agritech National Research Center and received funding from the European Union Next-GenerationEU (PIANO NAZIONALE DI RIPRESA E RESILIENZA (PNRR) – MISSIONE 4 COMPONENTE 2, INVESTIMENTO 1.4 – D.D. 1032 17/06/2022, CN00000022). Part of this paper is funded by METROFOOD-IT, funding from the European Union - NextGenerationEU, PNRR - Mission 4 “Education and Research” Component 2: from research to business, Investment 3.1: Fund for the realization of an integrated system of research and innovation infrastructures - IR0000033 (D.M. Prot. n.120 del 21/06/2022).
Acknowledgments
Authors would like to thank the resources made available by ReCaS, a project funded by the MIUR (Italian Ministry for Education, University and Research) in the “PON Ricerca e Competitività 2007–2013-Azione I-Interventi di rafforzamento strutturale” PONa3_00052, Avviso 254/Ric, University of Bari.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
The author(s) declared that they were an editorial board member of Frontiers, at the time of submission. This had no impact on the peer review process and the final decision.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Author disclaimer
This manuscript reflects only the authors’ views and opinions, neither the European Union nor the European Commission can be considered responsible for them.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fpls.2024.1434229/full#supplementary-material
References
Alhnaity, B., Pearson, S., Leontidis, G., Kollias, S. (2019). “Using deep learning to predict plant growth and yield in greenhouse environments,” in International Symposium on Advanced Technologies and Management for Innovative Greenhouses: GreenSys2019, Vol. 1296. (Acta Horticulturae: International Society for Horticultural Science), 425–432.
Altman, N., Krzywinski, M. (2018). The curse (s) of dimensionality. Nat. Methods 15, 399–400. doi: 10.1038/s41592-018-0019-x
Azodi, C. B., Bolger, E., McCarren, A., Roantree, M., de Los Campos, G., Shiu, S.-H. (2019). Benchmarking parametric and machine learning models for genomic prediction of complex traits. G3: Genes Genomes Genet. 9, 3691–3702. doi: 10.1534/g3.119.400498
Barros, S. P., Offenbacher, S. (2009). Epigenetics: connecting environment and genotype to phenotype and disease. J. Dental Res. 88, 400–408. doi: 10.1177/0022034509335868
Chafai, N., Hayah, I., Houaga, I., Badaoui, B. (2023). A review of machine learning models applied to genomic prediction in animal breeding. Front. Genet. 14, 1150596. doi: 10.3389/fgene.2023.1150596
Cilli, R., Elia, M., D’Este, M., Giannico, V., Amoroso, N., Lombardi, A., et al. (2022). Explainable artificial intelligence (xai) detects wildfire occurrence in the mediterranean countries of southern europe. Sci. Rep. 12, 16349. doi: 10.1038/s41598-022-20347-9
Clark, S. A., van der Werf, J. (2013). Genomic best linear unbiased prediction (gblup) for the estimation of genomic breeding values. Methods Mol. Biol. (Clifton, N.J.) 1019, 321–330. doi: 10.1007/978-1-62703-447-0_13
Coelho de Sousa, I., Nascimento, M., de Castro Sant’anna, I., Teixeira Caixeta, E., Ferreira Azevedo, C., Damião Cruz, C., et al. (2022). Marker effects and heritability estimates using additive-dominance genomic architectures via artificial neural networks in coffea canephora. PloS One 17 (1), e0262055. doi: 10.1371/journal.pone.0262055
Crespo Márquez, A. (2022). “The curse of dimensionality,” in Digital Maintenance Management: Guiding Digital Transformation in Maintenance (Springer Series in Reliability Engineering), 67–86.
Crossa, J., Pérez-Rodríguez, P., Cuevas, J., Montesinos-López, O., Jarquín, D., De Los Campos, G., et al. (2017). Genomic selection in plant breeding: methods, models, and perspectives. Trends Plant Sci. 22, 961–975. doi: 10.1016/j.tplants.2017.08.011
Danilevicz, M. F., Gill, M., Anderson, R., Batley, J., Bennamoun, M., Bayer, P. E., et al. (2022). Plant genotype to phenotype prediction using machine learning. Front. Genet. 13, 822173. doi: 10.3389/fgene.2022.822173
Delplancke, M., Alvarez, N., Benoit, L., Espíndola, A., I Joly, H., Neuenschwander, S., et al. (2013). Evolutionary history of almond tree domestication in the m editerranean basin. Mol. Ecol. 22, 1092–1104. doi: 10.1111/mec.12129
Elshire, R. J., Glaubitz, J. C., Sun, Q., Poland, J. A., Kawamoto, K., Buckler, E. S., et al. (2011). A robust, simple genotyping-by-sequencing (gbs) approach for high diversity species. PloS One 6, e19379. doi: 10.1371/journal.pone.0019379
Freund, Y., Schapire, R. E. (1997). A decision-theoretic generalization of on-line learning and an application to boosting. J. Comput. system Sci. 55, 119–139. doi: 10.1006/jcss.1997.1504
Friedman, J. H. (2001). Greedy function approximation: a gradient boosting machine. Ann. Stat., 1189–1232. doi: 10.1214/aos/1013203451
Gagneur, J., Stegle, O., Zhu, C., Jakob, P., Tekkedil, M. M., Aiyar, R. S., et al. (2013). Genotypeenvironment interactions reveal causal pathways that mediate genetic effects on phenotype. PloS Genet. 9, e1003803. doi: 10.1371/journal.pgen.1003803
Grinsztajn, L., Oyallon, E., Varoquaux, G. (2022). Why do tree-based models still outperform deep learning on typical tabular data? Adv. Neural Inf. Process. Syst. 35, 507–520.
Guo, H., Yu, Z., An, J., Han, G., Ma, Y., Tang, R. (2020). A two-stage mutual information based bayesian lasso algorithm for multi-locus genome-wide association studies. Entropy 22, 329. doi: 10.3390/e22030329
Guo, T., Li, X. (2023). Machine learning for predicting phenotype from genotype and environment. Curr. Opin. Biotechnol. 79, 102853. doi: 10.1016/j.copbio.2022.102853
Guzzetta, G., Jurman, G., Furlanello, C. (2010). A machine learning pipeline for quantitative phenotype prediction from genotype data. BMC Bioinf. 11, 1–9. doi: 10.1186/1471-2105-11-S8-S3
John, M., Haselbeck, F., Dass, R., Malisi, C., Ricca, P., Dreischer, C., et al. (2022). A comparison of classical and machine learning-based phenotype prediction methods on simulated data and three plant species. Front. Plant Sci. 13, 932512. doi: 10.3389/fpls.2022.932512
Kraskov, A., Stögbauer, H., Grassberger, P. (2004). Estimating mutual information. Phys. Rev. E 69, 066138. doi: 10.1103/PhysRevE.69.066138
Li, B., Zhang, N., Wang, Y.-G., George, A. W., Reverter, A., Li, Y. (2018). Genomic prediction of breeding values using a subset of snps identified by three machine learning methods. Front. Genet. 9, 237. doi: 10.3389/fgene.2018.00237
Linheiro, E. S. M., Shinde, G. R., Mahalle, P. N., Mirajkar, R. (2023). “Explainable ai (xai) for agriculture,” in Industry 4.0 Convergence with AI, IoT, Big Data and Cloud Computing: Fundamentals, Challenges and Applications, 161. doi: 10.2174/9789815179187123040014
Lombardi, A., Diacono, D., Amoroso, N., Biecek, P., Monaco, A., Bellantuono, L., et al. (2022). A robust framework to investigate the reliability and stability of explainable artificial intelligence markers of mild cognitive impairment and alzheimer’s disease. Brain Inf. 9, 17. doi: 10.1186/s40708-022-00165-5
Lourenço, V. M., Ogutu, J. O., Rodrigues, R. A., Posekany, A., Piepho, H.-P. (2024). Genomic prediction using machine learning: a comparison of the performance of regularized regression, ensemble, instance-based and deep learning methods on synthetic and empirical data. BMC Genomics 25, 152. doi: 10.1186/s12864-023-09933-x
Lundberg, S. M., Lee, S.-I. (2017). “A unified approach to interpreting model predictions,” in Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS'17). (Red Hook, NY, USA: Curran Associates Inc.), 4768–4777.
Manduchi, E., Le, T. T., Fu, W., Moore, J. H. (2021). Genetic analysis of coronary artery disease using tree-based automated machine learning informed by biology-based feature selection. IEEE/ACM Trans. Comput. Biol. Bioinform. 19 (3), 1379–1386.
Mann, H. B., Whitney, D. R. (1947). On a test of whether one of two random variables is stochastically larger than the other. Ann. Math. Stat., 50–60. doi: 10.1214/aoms/1177730491
Mostafa, S., Mondal, D., Panjvani, K., Kochian, L., Stavness, I. (2023). Explainable deep learning in plant phenotyping. Front. Artif. Intell. 6. doi: 10.3389/frai.2023.1203546
Nazzicari, N., Biscarini, F. (2022). Stacked kinship cnn vs. gblup for genomic predictions of additive and complex continuous phenotypes. Sci. Rep. 12, 19889. doi: 10.1038/s41598-022-24405-0
Nimmakayala, P., Levi, A., Abburi, L., Abburi, V. L., Tomason, Y. R., Saminathan, T., et al. (2014). Single nucleotide polymorphisms generated by genotyping by sequencing to characterize genome-wide diversity, linkage disequilibrium, and selective sweeps in cultivated watermelon. BMC Genomics 15, 1–15. doi: 10.1186/1471-2164-15-767
Novielli, P., Romano, D., Magarelli, M., Bitonto, P. D., Diacono, D., Chiatante, A., et al. (2024). Explainable artificial intelligence for microbiome data analysis in colorectal cancer biomarker identification. Front. Microbiol. 15, 1348974. doi: 10.3389/fmicb.2024.1348974
Okser, S., Pahikkala, T., Airola, A., Salakoski, T., Ripatti, S., Aittokallio, T. (2014). Regularized machine learning in the genetic prediction of complex traits. PloS Genet. 10, e1004754. doi: 10.1371/journal.pgen.1004754
Pant, J., Pant, R., Singh, M. K., Singh, D. P., Pant, H. (2021). Analysis of agricultural crop yield prediction using statistical techniques of machine learning. Materials Today: Proc. 46, 10922–10926.
Pavan, S., Delvento, C., Mazzeo, R., Ricciardi, F., Losciale, P., Gaeta, L., et al. (2021). Almond diversity and homozygosity define structure, kinship, inbreeding, and linkage disequilibrium in cultivated germplasm, and reveal genomic associations with nut and seed weight. Horticulture Res. 8, 15. doi: 10.1038/s41438-020-00447-1
Pavan, S., Delvento, C., Ricciardi, L., Lotti, C., Ciani, E., D’Agostino, N. (2020). Recommendations for choosing the genotyping method and best practices for quality control in crop genome-wide association studies. Front. Genet. 11, 506075. doi: 10.3389/fgene.2020.00447
Pignocchi, C., Minns, G. E., Nesi, N., Koumproglou, R., Kitsios, G., Benning, C., et al. (2009). Endosperm defective1 is a novel microtubule-associated protein essential for seed development in arabidopsis. Plant Cell 21, 90–105. doi: 10.1105/tpc.108.061812
Rebetzke, G. J., Chenu, K., Biddulph, B., Moeller, C., Deery, D. M., Rattey, A. R., et al. (2012). A multisite managed environment facility for targeted trait and germplasm phenotyping. Funct. Plant Biol. 40, 1–13. doi: 10.1071/FP12180
Ross, B. C. (2014). Mutual information between discrete and continuous data sets. PloS One 9, e87357. doi: 10.1371/journal.pone.0087357
Samala, R. K., Chan, H.-P., Hadjiiski, L., Koneru, S. (2020). “Hazards of data leakage in machine learning: a study on classification of breast cancer using deep neural networks,” in Medical Imaging 2020: Computer-Aided Diagnosis (SPIE), Vol. 11314. 279–284.
Sánchez-Pérez, R., Pavan, S., Mazzeo, R., Moldovan, C., Aiese Cigliano, R., Del Cueto, J., et al. (2019). Mutation of a bhlh transcription factor allowed almond domestication. Science 364, 1095–1098. doi: 10.1126/science.aav8197
Saravanan, N., Sathish, G., Balajee, J. M. (2018). Data wrangling and data leakage in machine learning for healthcare. JETIR- International Journal of Emerging Technologies and Innovative Research. 5 (8), 553–557. Available at: https://ssrn.com/abstract=3708142.
Sehrawat, S., Najafian, K., Jin, L. (2023). Predicting phenotypes from novel genomic markers using deep learning. Bioinf. Adv. 3, vbad028. doi: 10.1093/bioadv/vbad028
Sousa, I. C., Nascimento, M., Silva, G. N., Nascimento, A. C. C., Cruz, C. D., Almeida, D., et al. (2020). Genomic prediction of leaf rust resistance to arabica coffee using machine learning algorithms. Scientia Agricola 78, e20200021. doi: 10.1590/1678-992X-2020-0021
Sun, Q., Wang, P., Li, W., Li, W., Lu, S., Yu, Y., et al. (2019). Genomic selection on shelling percentage and other traits for maize. Breed. Sci. 69, 266–271. doi: 10.1270/jsbbs.18141
Tan, B., Grattapaglia, D., Martins, G. S., Ferreira, K. Z., Sundberg, B., Ingvarsson, P. K. (2017). Evaluating the accuracy of genomic prediction of growth and wood traits in two eucalyptus species and their f 1 hybrids. BMC Plant Biol. 17, 1–15. doi: 10.1186/s12870-017-1059-6
Tangaro, S., Amoroso, N., Brescia, M., Cavuoti, S., Chincarini, A., Errico, R., et al. (2015). Feature selection based on machine learning in mris for hippocampal segmentation. Comput. Math. Methods Med 2015 (1), 814104. doi: 10.1155/2015/814104
Tong, H., Nikoloski, Z. (2021). Machine learning approaches for crop improvement: Leveraging phenotypic and genotypic big data. J. Plant Physiol. 257, 153354. doi: 10.1016/j.jplph.2020.153354
Upadhyaya, H. D., Yadav, D., Dronavalli, N., Gowda, C., Singh, S. (2010). Mini core germplasm collections for infusing genetic diversity in plant breeding programs. Electronic J. Plant Breed. 1, 1294–1309.
van Dijk, A. D. J., Kootstra, G., Kruijer, W., de Ridder, D. (2021). Machine learning in plant science and plant breeding. Iscience 24 (1), 101890. doi: 10.1016/j.isci.2020.101890
Van Klompenburg, T., Kassahun, A., Catal, C. (2020). Crop yield prediction using machine learning: A systematic literature review. Comput. Electron. Agric. 177, 105709. doi: 10.1016/j.compag.2020.105709
Van Stein, B., Raponi, E., Sadeghi, Z., Bouman, N., Van Ham, R. C., Bäck, T. (2022). A comparison of global sensitivity analysis methods for explainable ai with an application in genomic prediction. IEEE Access 10, 103364–103381. doi: 10.1109/ACCESS.2022.3210175
Wang, K., Abid, M. A., Rasheed, A., Crossa, J., Hearne, S., Li, H. (2023). Dnngp, a deep neural network-based method for genomic prediction using multi-omics data in plants. Mol. Plant 16, 279–293. doi: 10.1016/j.molp.2022.11.004
Wang, X., Shi, S., Wang, G., Luo, W., Wei, X., Qiu, A., et al. (2022). Using machine learning to improve the accuracy of genomic prediction of reproduction traits in pigs. J. Anim. Sci. Biotechnol. 13, 60. doi: 10.1186/s40104-022-00708-0
Keywords: genotype-phenotype prediction, machine learning, explainable artificial intelligence, shelling fraction, almond
Citation: Novielli P, Romano D, Pavan S, Losciale P, Stellacci AM, Diacono D, Bellotti R and Tangaro S (2024) Explainable artificial intelligence for genotype-to-phenotype prediction in plant breeding: a case study with a dataset from an almond germplasm collection. Front. Plant Sci. 15:1434229. doi: 10.3389/fpls.2024.1434229
Received: 17 May 2024; Accepted: 13 August 2024;
Published: 09 September 2024.
Edited by:
Andrés J. Cortés, Colombian Corporation for Agricultural Research (AGROSAVIA), ColombiaReviewed by:
Moyses Nascimento, Universidade Federal de Viçosa, BrazilVanda Lourenco, NOVA University of Lisbon, Portugal
Copyright © 2024 Novielli, Romano, Pavan, Losciale, Stellacci, Diacono, Bellotti and Tangaro. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Sabina Tangaro, sabina.tangaro@uniba.it