Classification and Visualization of Genotype × Phenotype Interactions in Biomass Sorghum

Abby Stylianou, Robert Pless, Nadia Shakoor, Todd C. Mockler

Introduction

In the pursuit of sustainable biofuels, researchers are focused on optimizing biomass sorghum for rapid growth and resource efficiency. This optimization requires a deep understanding of the relationship between a plant's genotype (its genetic blueprint, specifically Single Nucleotide Polymorphisms or SNPs) and its phenotype (observable physical characteristics). Historically, mapping these interactions has been a labor-intensive, manual process. While high-throughput phenotyping platforms now generate massive amounts of sensor data, the bottleneck remains the automated interpretation of these images to identify genetic traits.

This research introduces a computer vision pipeline designed to bridge this gap. By training deep learning models to predict genetic markers directly from RGB images, the system can autonomously "discover" the visual traits that human experts traditionally use to identify genetic variations.

Methodology

The core of the proposed approach is a three-stage pipeline that leverages explainable AI to connect DNA to visual data.

The proposed computer vision pipeline: ResNet-50 architecture for genotype classification followed by Class Activation Mapping (CAM) for trait visualization.
  1. SNP Identification: Genetic markers known to influence visible traits (such as leaf wax or dwarfing) are selected as targets.
  2. CNN Training: A ResNet-50 convolutional neural network is trained for binary classification. The model learns to distinguish between the "reference" and "alternate" versions of a specific SNP based on 256x256 pixel RGB image patches.
  3. Visualization via CAM: To ensure the model is learning biologically relevant features rather than noise, the researchers employ Class Activation Mapping (CAM). This technique generates heatmaps that highlight the specific pixels most influential in the model's decision-making process.

Dataset and Experimental Setup

The study utilizes data from the TERRA-REF project, which features a state-of-the-art field phenotyping gantry in Maricopa, Arizona. The dataset includes:

  • Subjects: 390 fully sequenced sorghum cultivars from the Bioenergy Association Panel (BAP).
  • Imagery: High-resolution stereo-RGB images captured during the mid-growing season (June 2017).
  • Labels: Five genetic marker families were used: Leaf Wax, dw (dwarfing), Dry Stalk (d) locus, ma (maturity), and tan (pigmentation).

Results and Discussion

The models demonstrated significant predictive power, consistently outperforming random chance across all genetic markers.

Quantitative Performance

The accuracy of the models improved dramatically when moving from individual image predictions to cultivar-level aggregation (using a majority vote across multiple images of the same plant type).

  • Per-Image Accuracy: Ranged from 62.75% (dw) to 68.59% (tan).
  • Per-Cultivar Accuracy: Reached up to 85.19% for the tan marker and 85.00% for the ma marker.

Qualitative Insights and AI-Human Alignment

The CAM visualizations provided crucial validation of the model's biological relevance. For the "Leaf Wax" marker, the AI consistently focused on the junction between the stem and the leaf—the exact location where wax accumulation is most prominent to human observers.

Visualizations of Class Activation Maps (CAM) showing how the model identifies specific regions of interest on sorghum leaves corresponding to genetic markers.

Interestingly, the model also discovered indirect phenotypes. For the tan marker (associated with tannin production), the heatmaps highlighted panicles where seeds had been consumed by birds. Because low-tannin varieties are more palatable to wildlife, the AI effectively used bird damage as a proxy for the underlying genotype.

Conclusion and Future Directions

This work demonstrates that deep learning can autonomously identify the physical manifestations of genetic sequences. By treating the genotype as a latent label, the model performs a form of unsupervised trait discovery.

Future research will look to expand beyond RGB imagery to include hyperspectral and 3D data, which may reveal traits invisible to the human eye. Additionally, moving beyond homozygous markers to handle complex multi-gene interactions and heterozygous cases will be essential for broader application in plant breeding.

Summary updated

Abstract

We introduce a simple approach to understanding the relationship between single nucleotide polymorphisms (SNPs), or groups of related SNPs, and the phenotypes they control. The pipeline involves training deep convolutional neural networks (CNNs) to differentiate between images of plants with reference and alternate versions of various SNPs, and then using visualization approaches to highlight what the classification networks key on. We demonstrate the capacity of deep CNNs at performing this classification task, and show the utility of these visualizations on RGB imagery of biomass sorghum captured by the TERRA-REF gantry. We focus on several different genetic markers with known phenotypic expression, and discuss the possibilities of using this approach to uncover unknown genotype × phenotype relationships.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
TERRA-REF sorghum BAP genetic-marker test setDeep CNN classifierClassification accuracy — per image.6275Image Classification · split: test · marker=dw · aggregation=per-image · image_period=June 2017 · split_strategy=cultivar-disjoint
Source quote
L116: dw │ .6275 │ 0.8375
TERRA-REF sorghum BAP genetic-marker test setDeep CNN classifierClassification accuracy — per cultivar0.8375Image Classification · split: test · marker=dw · aggregation=per-cultivar mode · image_period=June 2017 · split_strategy=cultivar-disjoint
Source quote
L116: dw │ .6275 │ 0.8375
TERRA-REF sorghum BAP genetic-marker test setDeep CNN classifierClassification accuracy — per image.6859Image Classification · split: test · marker=tan · aggregation=per-image · image_period=June 2017 · split_strategy=cultivar-disjoint
Source quote
L119: tan │ .6859 │ 0.8519
TERRA-REF sorghum BAP genetic-marker test setDeep CNN classifierClassification accuracy — per cultivar0.8519Image Classification · split: test · marker=tan · aggregation=per-cultivar mode · image_period=June 2017 · split_strategy=cultivar-disjoint
Source quote
L119: tan │ .6859 │ 0.8519
BibTeX
@inproceedings{stylianou2021classification,
  author = {Abby Stylianou and Robert Pless and Nadia Shakoor and Todd C. Mockler},
  title = {{Classification and Visualization of Genotype × Phenotype Interactions in Biomass Sorghum}},
  booktitle = {ICCVW},
  year = {2021},
  url = {https://openreview.net/forum?id=yxImx4rz4h},
}
Figure