๐-BLUP: a differentiable genomic BLUP model with learnable variance and marker weights
Abstract
Abstract
Genomic best linear unbiased prediction (GBLUP) is widely used for genomic selection in livestock and crop breeding. There is growing interest in connecting machine learning with genomic breeding value prediction. Although the BLUP formula is itself mathematically differentiable, existing implementations do not expose a differentiable computational graph and cannot be trained end-to-end. Here, we present 𝒟-BLUP, a differentiable implementation of the genomic mixed model in JAX that makes the BLUP solve part of the training process rather than an external step. The variance ratio λ and optional block-level kernel weights are treated as trainable parameters, allowing these components to be learned directly from prediction error while preserving the BLUP structure used in animal and plant breeding. This means BLUP can now fit naturally within gradient-based models common in machine learning without losing its interpretability. The method solves the familiar system ( G w + λ I ) û = y * with either an unweighted VanRaden genomic relationship matrix G or a block-weighted variant G w , via automatic differentiation, allowing simultaneous training. On a public dataset, 𝒟-BLUP with a fixed VanRaden kernel reproduces rrBLUP estimated breeding values and predictive performance, while learning λ, and optionally SNP block weights, from a mean squared error objective. 𝒟-BLUP preserves the structure of BLUP used in routine breeding programs but makes it differentiable, maintaining its interpretability while making it embeddable in machine learning pipelines.
Related articles
Related articles are currently not available for this article.