NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

RAGP: a retrieval-augmented deep learning model for genomic prediction in crop breeding

Long Zuo, Xinger Li, Xiaoli Wang, Rui Man, Yang YangResearch Square 2025

TL;DR

RAGP (Retrieval-Augmented Genomic Prediction) brings the "Retrieval-Augmented" paradigm—popularized by Large Language Models—to the world of agricultural science. By dynamically "looking up" genetically and phenotypically similar reference plants from a database, the model significantly improves the accuracy of predicting crop traits like yield and height compared to standard deep learning and statistical methods.

What Problem Does This Paper Address?

In crop breeding, Genomic Prediction (GP) is the "holy grail": predicting how a plant will perform (its phenotype) based solely on its DNA markers (genotype). This allows breeders to skip years of expensive field trials.

However, current models have two major flaws:

  1. Isolation: Most deep learning models treat every plant as an independent data point, ignoring the rich "family tree" and population structures that define genetic relatedness.
  2. Oversimplification: DNA markers (SNPs) are often fed into models as simple numbers (0, 1, 2), which fails to capture the biological complexity of how genes interact.

The authors argue that a model should "contextualize" a specific plant by looking at how its close relatives performed in similar environments.

Methods

The authors propose RAGP, a two-stage deep learning architecture:

  • Stage 1: The Gene-Specific Discriminator: Instead of using raw DNA data, the model uses contrastive learning to create a "phenotype-aware" embedding space. In this space, plants with similar traits are pushed closer together, while dissimilar ones are pulled apart.
  • Stage 2: Retrieval & Augmentation:
    • Retrieval: For any "target" plant, the model searches a genome pool (the training set) to find the top-$k$ most similar neighbors.
  • Augmentation: The model doesn't just look at the target's DNA; it fuses the target's data with the weighted average of its neighbors' genetic embeddings and their actual known phenotypes.
  • Prediction: This "enriched" representation is fed into a final regression network to predict the trait.

This approach is "retrieval-augmented" because the model's knowledge isn't just frozen in its weights; it actively queries a database of known samples during inference.

Datasets

The model was validated on three diverse crop breeding datasets:

  • Wheat599: 599 historical wheat lines with yield data across four environments.
  • Wheat2000: 2,000 Iranian landraces focusing on six grain-related traits (e.g., kernel weight, protein content).
  • Maize8652: A large-scale dataset of 8,652 hybrid maize samples focusing on flowering time (DTT), plant height (PH), and ear weight (EW).

Key Insights and Ideas

  • Phenotypes as a Compass: One of the most striking findings is that including the phenotype labels of the retrieved neighbors during the augmentation phase is crucial. It acts as a "soft" supervisor that helps the model navigate environmental noise and complex genetic interactions (epistasis).
  • Learned Embeddings > Raw SNPs: The paper proves that retrieving neighbors based on a learned, contrastive embedding space is far more effective than using raw DNA similarity. The learned space filters out "noise" and focuses on the genetic patterns that actually matter for the trait being predicted.
  • Capturing Population Structure: By design, RAGP explicitly models the relatedness between individuals. This allows it to perform well even in "small-data" scenarios where standard deep learning models typically overfit.

Key Results

RAGP consistently outperformed both traditional statistical models (GBLUP) and state-of-the-art deep learning models (DeepGS, SoyDNGP, MtCro):

  • Wheat599: Achieved an average Pearson correlation of 0.70, vastly outperforming the "gold standard" GBLUP (0.345) and SVR (0.6125).
  • Wheat2000: Reached an average correlation of 0.718 across six traits.
  • Maize8652: On the highly complex "Days to Tasseling" (DTT) trait, RAGP achieved a near-perfect correlation of 0.97.
  • Generalization: Even when compared to multi-task models (like MtCro) that learn multiple traits simultaneously, RAGP (a single-task model) matched or exceeded their performance.

Limitations and Future Work

  • Computational Overhead: The authors acknowledge that dynamic retrieval (searching for neighbors for every sample) increases computational costs during training and inference compared to simple feed-forward models.
  • Reference Pool Sensitivity: The model's accuracy is heavily dependent on the quality and diversity of the "genome pool." If the pool contains noisy or irrelevant samples, it can degrade the prediction.
  • Future Directions: The authors suggest using Approximate Nearest Neighbor (ANN) search algorithms to scale the model to even larger datasets (millions of samples) and integrating domain-specific biological knowledge (like known gene-trait associations) directly into the retrieval process.

Code Availability: The authors have made their implementation available at https://github.com/l00907l/RAGP.

Summary updated

BibTeX
@inproceedings{zuo2025ragp,
  author = {Long Zuo and Xinger Li and Xiaoli Wang and Rui Man and Yang Yang},
  title = {{RAGP: a retrieval-augmented deep learning model for genomic prediction in crop breeding}},
  booktitle = {Research Square},
  year = {2025},
  doi = {10.21203/rs.3.rs-7229420/v1},
}

Loading related content...

Figure