Cross-Dataset Generalization of Machine Learning Models in Plant Biological Research

Main Article Content

Helen Grace D. Felix

Abstract

Plant biological prediction models are commonly evaluated within the datasets from which they are trained, although practical deployment often requires transfer across populations, sites, years, phenotyping systems, and crop species. This study evaluated cross-dataset generalization of machine-learning models using harmonized maize, rice, soybean, and sorghum data. We aligned productivity, stature, and phenology using ontology-backed functional domains, and processed genomic, climate, soil, and management predictors with training-only transformations. We compared ridge and elastic-net regression, random forest, XGBoost, a conventional deep neural network, VAE-based representation learning, CORAL-DNN, and domain-adversarial neural learning under grouped within-dataset validation, genotype and temporal holdouts, single-source transfer, leave-one-dataset-out testing, multi-source-to-target transfer, and an external sorghum evaluation. The analysis combined RMSE, MAE, R², Spearman correlation, transfer retention, group-aware conformal coverage, dataset-shift diagnostics, clustered uncertainty estimation, ablation, and cross-dataset feature stability. DANN achieved the lowest within-dataset macro sRMSE (0.67) and the lowest leave-one-dataset-out sRMSE (0.81), while XGBoost reached 0.72 and 0.91, respectively. Performance degradation increased with source-target shift (Spearman ρ=0.76, 95% CI 0.61-0.87), and external 90% interval coverage ranged from 0.68 for ridge to 0.86 for DANN. The results show that domain-aware training improved transportability and uncertainty behavior while preserving biologically coherent predictor rankings across the four studied crops and the explicitly harmonized functional domains; they do not establish universal cross-species or raw-trait equivalence.

Downloads

Download data is not yet available.

Article Details

Section

Articles

References

[1]. J. Crossa et al., “Genomic selection in plant breeding: Methods, models, and perspectives,” Trends in Plant Science, vol. 22, no. 11, pp. 961–975, 2017, doi: 10.1016/j.tplants.2017.08.011. DOI: https://doi.org/10.1016/j.tplants.2017.08.011

[2]. D. Jarquín et al., “A reaction norm model for genomic selection using high-dimensional genomic and environmental data,” Theoretical and Applied Genetics, vol. 127, pp. 595–607, 2014, doi: 10.1007/s00122-013-2243-1. DOI: https://doi.org/10.1007/s00122-013-2243-1

[3]. J. G. Moreno-Torres, T. Raeder, R. Alaiz-Rodríguez, N. V. Chawla, and F. Herrera, “A unifying view on dataset shift in classification,” Pattern Recognition, vol. 45, no. 1, pp. 521–530, 2012, doi: 10.1016/j.patcog.2011.06.019. DOI: https://doi.org/10.1016/j.patcog.2011.06.019

[4]. R. Geirhos et al., “Shortcut learning in deep neural networks,” Nature Machine Intelligence, vol. 2, pp. 665–673, 2020, doi: 10.1038/s42256-020-00257-z. DOI: https://doi.org/10.1038/s42256-020-00257-z

[5]. Y. Ganin et al., “Domain-adversarial training of neural networks,” Journal of Machine Learning Research, vol. 17, no. 59, pp. 1–35, 2016, doi: 10.48550/arXiv.1505.07818.

[6]. B. Sun and K. Saenko, “Deep CORAL: Correlation alignment for deep domain adaptation,” in Computer Vision – ECCV 2016 Workshops, pp. 443–450, 2016, doi: 10.1007/978-3-319-49409-8_35. DOI: https://doi.org/10.1007/978-3-319-49409-8_35

[7]. M. Arjovsky, L. Bottou, I. Gulrajani, and D. Lopez-Paz, “Invariant risk minimization,” arXiv:1907.02893, 2019, doi: 10.48550/arXiv.1907.02893.

[8]. D. Krstajic, L. J. Buturovic, D. E. Leahy, and S. Thomas, “Cross-validation pitfalls when selecting and assessing regression and classification models,” Journal of Cheminformatics, vol. 6, art. 10, 2014, doi: 10.1186/1758-2946-6-10. DOI: https://doi.org/10.1186/1758-2946-6-10

[9]. B. A. McFarland et al., “Maize genomes to fields (G2F): 2014–2017 field seasons: genotype, phenotype, climatic, soil, and inbred ear image datasets,” BMC Research Notes, vol. 13, art. 71, 2020, doi: 10.1186/s13104-020-4922-8. DOI: https://doi.org/10.1186/s13104-020-4922-8

[10]. K. Zhao et al., “Genome-wide association mapping reveals a rich genetic architecture of complex traits in Oryza sativa,” Nature Communications, vol. 2, art. 467, 2011, doi: 10.1038/ncomms1467. DOI: https://doi.org/10.1038/ncomms1467

[11]. Q. Song et al., “Genetic characterization of the soybean nested association mapping population,” The Plant Genome, vol. 10, no. 2, 2017, doi: 10.3835/plantgenome2016.10.0109. DOI: https://doi.org/10.3835/plantgenome2016.10.0109

[12]. B. W. Diers et al., “Genetic architecture of soybean yield and agronomic traits,” G3: Genes|Genomes|Genetics, vol. 8, no. 10, pp. 3367–3375, 2018, doi: 10.1534/g3.118.200332. DOI: https://doi.org/10.1534/g3.118.200332

[13]. D. S. LeBauer et al., “Data from: TERRA-REF, an open reference data set from high-resolution genomics, phenomics, and imaging sensors,” Dryad, Dataset, 2020, doi: 10.5061/dryad.4b8gtht99.

[14]. J. T. Abatzoglou, S. Z. Dobrowski, S. A. Parks, and K. C. Hegewisch, “TerraClimate, a high-resolution global dataset of monthly climate and climatic water balance from 1958–2015,” Scientific Data, vol. 5, art. 170191, 2018, doi: 10.1038/sdata.2017.191. DOI: https://doi.org/10.1038/sdata.2017.191

[15]. T. Hengl et al., “SoilGrids250m: Global gridded soil information based on machine learning,” PLOS ONE, vol. 12, no. 2, e0169748, 2017, doi: 10.1371/journal.pone.0169748. DOI: https://doi.org/10.1371/journal.pone.0169748

[16]. R. Shrestha et al., “Bridging the phenotypic and genetic data useful for integrated breeding through a data annotation using the Crop Ontology developed by the crop communities of practice,” Frontiers in Physiology, vol. 3, art. 326, 2012, doi: 10.3389/fphys.2012.00326. DOI: https://doi.org/10.3389/fphys.2012.00326

[17]. L. Cooper et al., “The Planteome database: an integrated resource for reference ontologies, plant genomics and phenomics,” Nucleic Acids Research, vol. 46, no. D1, pp. D1168–D1180, 2018, doi: 10.1093/nar/gkx1152. DOI: https://doi.org/10.1093/nar/gkx1152

[18]. M. K. Tello-Ruiz et al., “Gramene 2018: unifying comparative genomics and pathway resources for plant research,” Nucleic Acids Research, vol. 46, no. D1, pp. D1181–D1189, 2018, doi: 10.1093/nar/gkx1111. DOI: https://doi.org/10.1093/nar/gkx1111

[19]. D. M. Emms and S. Kelly, “OrthoFinder: phylogenetic orthology inference for comparative genomics,” Genome Biology, vol. 20, art. 238, 2019, doi: 10.1186/s13059-019-1832-y. DOI: https://doi.org/10.1186/s13059-019-1832-y

[20]. L. Breiman, “Random forests,” Machine Learning, vol. 45, pp. 5–32, 2001, doi: 10.1023/A:1010933404324. DOI: https://doi.org/10.1023/A:1010933404324

[21]. T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, pp. 785–794, 2016, doi: 10.1145/2939672.2939785. DOI: https://doi.org/10.1145/2939672.2939785

[22]. D. P. Kingma and M. Welling, “An introduction to variational autoencoders,” Foundations and Trends in Machine Learning, vol. 12, no. 4, pp. 307–392, 2019, doi: 10.1561/2200000056. DOI: https://doi.org/10.1561/2200000056

[23]. C. B. Azodi, E. Bolger, A. McCarren, M. Roantree, G. de los Campos, and S.-H. Shiu, “Benchmarking parametric and machine learning models for genomic prediction of complex traits,” G3: Genes|Genomes|Genetics, vol. 9, no. 11, pp. 3691–3702, 2019, doi: 10.1534/g3.119.400498. DOI: https://doi.org/10.1534/g3.119.400498

[24]. A. Montesinos-López, O. A. Montesinos-López, D. Gianola, J. Crossa, and C. M. Hernández-Suárez, “Multi-environment genomic prediction of plant traits using deep learners with dense architecture,” G3: Genes|Genomes|Genetics, vol. 8, no. 12, pp. 3813–3828, 2018, doi: 10.1534/g3.118.200740. DOI: https://doi.org/10.1534/g3.118.200740

[25]. O. A. Montesinos-López et al., “Multi-trait, multi-environment deep learning modeling for genomic-enabled prediction of plant traits,” G3: Genes|Genomes|Genetics, vol. 8, no. 12, pp. 3829–3840, 2018, doi: 10.1534/g3.118.200728. DOI: https://doi.org/10.1534/g3.118.200728

[26]. S. Khaki and L. Wang, “Crop yield prediction using deep neural networks,” Frontiers in Plant Science, vol. 10, art. 621, 2019, doi: 10.3389/fpls.2019.00621. DOI: https://doi.org/10.3389/fpls.2019.00621

[27]. M. Ben Hassen et al., “Genomic prediction accounting for genotype by environment interaction offers an effective framework for breeding simultaneously for adaptation to an abiotic stress and performance under normal cropping conditions in rice,” G3: Genes|Genomes|Genetics, vol. 8, no. 7, pp. 2319–2332, 2018, doi: 10.1534/g3.118.200098. DOI: https://doi.org/10.1534/g3.118.200098

[28]. M. Roorkiwal et al., “Genomic-enabled prediction models using multi-environment trials to estimate the effect of genotype × environment interaction on prediction accuracy in chickpea,” Scientific Reports, vol. 8, art. 11701, 2018, doi: 10.1038/s41598-018-30027-2. DOI: https://doi.org/10.1038/s41598-018-30027-2

[29]. Y. Ovadia et al., “Can you trust your model’s uncertainty? Evaluating predictive uncertainty under dataset shift,” Advances in Neural Information Processing Systems, vol. 32, pp. 13969–13980, 2019, doi: 10.48550/arXiv.1906.02530.

[30]. C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, “On calibration of modern neural networks,” in Proc. 34th Int. Conf. Machine Learning, Proc. Mach. Learn. Res., vol. 70, pp. 1321–1330, 2017, doi: 10.48550/arXiv.1706.04599.

[31]. Y. Romano, E. Patterson, and E. J. Candès, “Conformalized quantile regression,” Advances in Neural Information Processing Systems, vol. 32, pp. 3543–3553, 2019, doi: 10.48550/arXiv.1905.03222.

[32]. S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” Advances in Neural Information Processing Systems, vol. 30, pp. 4765–4774, 2017, doi: 10.48550/arXiv.1705.07874.

[33]. M. Sundararajan, A. Taly, and Q. Yan, “Axiomatic attribution for deep networks,” in Proc. 34th Int. Conf. Machine Learning, Proc. Mach. Learn. Res., vol. 70, pp. 3319–3328, 2017, doi: 10.48550/arXiv.1703.01365.