Choosing Markers for Single-Step Genomic Evaluation with a Surrogate-Assisted Genetic Algorithm

Livestock and crop breeders predict an animal's genetic value by combining two kinds of relatedness. One comes from the family tree, which records how related animals are expected to be. The other comes from DNA markers, which show how related a genotyped subset actually is. The standard method that fuses the two, single-step genomic evaluation, lets the few genotyped animals sharpen predictions for their many untested relatives. A separate line of work shows that predictions improve when a genetic algorithm, a search method that evolves a population of candidate solutions by selection, recombination and mutation, chooses which markers to include. That work, however, only scored candidate marker sets on small, fully genotyped populations. We propose to search for marker sets using the score breeders actually care about: how well the full single-step model predicts young or untested animals. That score is too expensive to compute thousands of times, so a cheap learned approximation (a surrogate model) decides which candidates are worth scoring.

The opportunity is concrete. In Italian buffalo, only 2,250 of 308,736 pedigreed animals are genotyped. Single-step evaluation raised mean accuracy from 0.86 to 0.89 and moved the dispersion statistic from 0.79 to 0.98 (The present of Italian Mediterranean buffalo). The dispersion statistic is the regression slope of true merit on predicted merit, so 1.0 means predictions are neither inflated nor shrunk. Separately, marker selection by genetic algorithm improved genomic prediction of rice grain yield by up to 26.45% (GA-GBLUP). No one has asked whether those marker-selection gains survive once the chosen markers must also carry information through the pedigree to animals that were never genotyped. No one has made that search affordable at breeding-program scale either.

Core Claim

We make two claims, and each can fail independently. The first is about what to optimize. A marker set chosen to maximize cross-validated accuracy among genotyped animals, as GA-GBLUP does, is not necessarily the set that maximizes accuracy and keeps dispersion near 1.0 for ungenotyped relatives and the next generation of selection candidates. Genotyped animals are a selected, non-random group. A marker set that fits them well can distort the correction that single-step evaluation passes to their relatives.

The second claim is about cost. The correct score requires rebuilding the genomic block of the single-step model and re-solving equations over the whole pedigree for every candidate. That cost is a natural fit for surrogate-assisted evolutionary search.

The structure that makes this search tractable comes from a standard single-step identity. The inverse of the combined relationship matrix is

$$H_w^{-1} = A^{-1} + \begin{pmatrix} 0 & 0 \\ 0 & G_w^{-1} - A_{gg}^{-1} \end{pmatrix}, \qquad G_w = \frac{Z\,\mathrm{diag}(w)\,Z^\top}{c_w},$$

where $A$ is the pedigree relationship matrix and $A_{gg}$ is its block for the genotyped animals. $Z$ is the centered genotype matrix of the genotyped animals, $w$ is the binary marker-inclusion vector the genetic algorithm evolves, and $c_w$ is the usual scaling constant. A candidate marker set therefore changes only one dense block, of size equal to the number of genotyped animals ($n_g$). The sparse pedigree part never changes. Because offspring masks differ from their parents' masks in a few positions, the parent's solution to the model equations is an excellent starting point for the offspring's iterative solver.

Research Program

The high-fidelity score for a marker mask $w$ is computed in four steps. We build $G_w$, form $H_w^{-1}$ by the identity above, solve the single-step mixed-model equations by conjugate-gradient iteration warm-started from the parent's solution, and compute forward-validation statistics. Forward validation follows the linear-regression method used in the buffalo studies: compare predictions for recent animals from a truncated dataset against predictions from the full dataset. The score is accuracy on held-out young animals plus a penalty on $|b_1 - 1|$, where $b_1$ is the dispersion statistic. The penalty keeps the search from buying accuracy with biased predictions.

The low-fidelity score is the GA-GBLUP fitness itself: the cross-validated hat-matrix accuracy within the genotyped animals only. This costs one $n_g \times n_g$ factorization and ignores the pedigree.

The surrogate predicts the high-fidelity score. Its inputs are the low-fidelity score, compact summaries of the mask (for example, how many markers are selected on each chromosome), and the mask's distance to already-evaluated masks. It is a Gaussian process, a regression model that also reports how uncertain each prediction is. The surrogate therefore learns how genotyped-only fit relates to single-step forward performance, rather than learning fitness from raw 0/1 vectors. Raw masks are a poor input for generic tree surrogates such as the XGBoost model in Boosted Genetic Algorithm using Machine Learning for traffic control optimization.

The search loop borrows two techniques from surrogate-assisted evolution:

psLSHADE also constrains our design. Its advantage disappeared at large evaluation budgets, scoring 96.77 against 99.18 for plain LSHADE at $10^4 \cdot D$ evaluations, because a global surrogate stops ranking well once the population crowds into one basin. We therefore refit the surrogate on a local archive late in the search and log its rank correlation (Kendall's $\tau$) against fresh high-fidelity evaluations throughout.

Markers are grouped into blocks of adjacent, highly correlated markers before search, following GA-GBLUP's binning. That paper found binning beat keeping principal components covering 95% of variance, and it reduces the search space to roughly a thousand to a few thousand bins.

Overfitting is the central methodological danger. A genetic algorithm that maximizes a validation score will fit that validation set. Every reported number therefore comes from a nested split. Fitness is computed on an inner forward-validation cohort. Results are reported on a later, untouched cohort, or on true breeding values in simulation.

Baselines

The naive reference point is standard all-marker single-step evaluation (ssGBLUP), with $H$ built by PyAGH's makeH() (PyAGH). It is what breeding programs run today. The reported figures it must be measured against are mean accuracy 0.89 and dispersion 0.98 on buffalo milk traits (The present of Italian Mediterranean buffalo), and accuracies of 0.66–0.71 for fiber diameter and 0.59–0.61 for live body weight in the goat simulation (Accuracy of Genomic Selection … Cashmere and Meat Goats). It is run on exactly the same data splits.

The strongest existing method is GA-GBLUP (GA-GBLUP) ported to the single-step setting. The genetic algorithm selects bins using the paper's best fitness functions, $R^2$ and the hat-matrix score, computed on genotyped animals only. The selected markers are then inserted into $H$ for the final prediction. Its only reported result in the file is a relative gain of up to 26.45% over GBLUP for rice yield. No reported absolute accuracy was found on Lacuna for GA-GBLUP on Rice278 or Maize305. We will therefore reproduce it ourselves, using the same bins, operators, population size and wall-clock budget as our method. Because its fitness is cheap, it can afford far more generations within that budget, and we let it use them. Beating it means higher accuracy on the untouched cohort with dispersion no worse than all-marker single-step evaluation, at equal wall-clock time, across multiple seeds and splits.

Two further baselines isolate the key ingredients:

  • Expensive score, no surrogate. The genetic algorithm uses the high-fidelity single-step score directly, with no surrogate, under the same budget. This separates the value of the right objective from the value of the surrogate.
  • Generic surrogate. An XGBoost model on raw masks with no low-fidelity input, as in the traffic-control work. This tests whether feeding the genotyped-only score into the surrogate matters.

A third ablation removes the retention of unevaluated offspring.

Why not just…?

Why not just keep all markers in single-step evaluation? For traits that are truly spread over thousands of small effects, this may be optimal, and our simulations include such traits to check. The evidence against it as a universal answer is indirect. GA-GBLUP's gains were largest for low-heritability traits. Selected markers linked to general combining ability beat all-marker and random panels in SPDC-HG. A small number of markers carried a measurable share of variance for pig body size (Single-Step GWAS in Yorkshire Pigs). If our method cannot beat all-marker single-step evaluation on the untouched cohort, the right conclusion is that marker selection does not transfer to single-step evaluation.

Why not just run GA-GBLUP on the genotyped animals and plug its markers into H? This is the real threat. If genotyped-only fitness ranks marker sets the same way single-step forward validation does, everything we add is unnecessary. We test this directly. We compute Kendall's $\tau$ between the two fidelities over a few hundred random and evolved masks, and we compare the ported GA-GBLUP head-to-head on the untouched cohort. If $\tau$ is high and the ported method matches ours, we will report that the cheap objective suffices. In that case the contribution shrinks to showing that GA-GBLUP's markers are safe for ungenotyped animals.

Why not just weight or select markers from a single-step association scan instead of searching? Ranking bins by single-step association statistics and keeping the top $k$ costs one model solve, not thousands. We include it, with $k$ tuned on the inner cohort, as an additional baseline. The search should only win where markers matter jointly rather than one at a time. Simulations with interacting effects, which PyAGH's epistatic kernels let us check, are where we expect a gap. If no gap appears, we will say so.

Proposed Experiments

The primary testbed is simulation, because only simulation provides true breeding values. We follow the goat study's design with QMSim: 29 autosome pairs, a historical population to build realistic marker correlations, then selected recent generations. On top of that design we vary four factors:

  • heritability at 0.11 and 0.34, matching that study;
  • number of trait loci at 50, 100, and a highly polygenic setting;
  • an epistatic variant;
  • the fraction of the pedigree that is genotyped, from about 1%, as in buffalo, to 20%.

Genotyping is deliberately non-random: high-performing and older animals are favored, to recreate the selection bias that single-step evaluation exists to correct. Metrics are the correlation between predicted and true breeding values for ungenotyped animals and for the youngest generation, the dispersion statistic, and wall-clock time.

The real-data testbeds are three:

  • The Yorkshire pig data: 5,572 pigs with 589 genotyped, a natural single-step setting (Single-Step GWAS in Yorkshire Pigs). For these traits we found no reported prediction accuracy on Lacuna, so all-marker single-step evaluation is run as the reference.
  • The buffalo association data if access can be arranged (A leap forward), validated forward in time with the linear-regression method.
  • Rice278 and Maize305 as a sanity check. These are fully genotyped, so $H = G$, and our method should reduce to GA-GBLUP and reproduce its reported relative gains.

Four results would settle the question:

  1. The rank agreement between genotyped-only and single-step fitness. If it is low, especially when genotyping is heavily selected, the first claim is supported.
  2. A gap in untouched-cohort accuracy between our method and the ported GA-GBLUP that persists across seeds while dispersion stays near 1.0.
  3. Evidence that, at matched wall-clock time, the surrogate version reaches a better high-fidelity score than the version without a surrogate. This would show the surrogate earns its place.
  4. Evidence that the gain between inner-validation and untouched-cohort accuracy does not vanish. If it does vanish, the search is only fitting the validation set.

In simulation we expect the gains to concentrate in traits with few large-effect loci and low heritability, and to disappear for highly polygenic traits. That pattern is itself a falsifiable prediction.