Abstract
The genotype-phenotype gap is a persistent barrier to complex trait genetic dissection, worsened by the explosive growth of genomic data (1.5 billion variants identified in the UK Biobank WGS study) alongside persistently scarce and subjective human-defined phenotypes. Digital phenotyping offers a potential solution, yet existing tools fail to balance scalable non-manual phenotype generation and biological interpretability of these quantitative traits. Here we report AIPheno, the first generative AI-driven "phenotype sequencer" that bridges this gap. It enables high-throughput, unsupervised extraction of digital phenotypes from imaging data and unlocks their biological meaning via generative network analysis. AIPheno transforms imaging modalities into a rich source of quantitative traits, dramatically enhancing cross-species genetic discovery, including novel loci such as CCBE1 (humans), KITLG-TMTC3 (domestic pigeons), and SOD2-IGF2R (swine). Critically, its generative module decodes AI-derived phenotypes by synthesizing variant-specific images to yield actionable biological insights. Integrating scalable non-manual phenotyping, enhanced genetic discovery power, and generative mechanistic decoding, AIPheno establishes a transformative closed-loop paradigm.
Introduction: The Genotype-Phenotype Imbalance
In modern biology, a significant data imbalance exists: while genomic sequencing has become highly automated and cost-effective, phenotyping—the measurement of physical traits—remains a bottleneck. Traditional Genome-Wide Association Studies (GWAS) rely on Human-Defined Phenotypes (HDPs), which are often subjective and too coarse to capture subtle biological realities. While deep learning has been used to extract "digital phenotypes," these models often function as "black boxes," providing statistical associations without biological context.
Methodology: The AIPheno Framework
AIPheno addresses the interpretability challenge through an Encoder-Generator framework designed to extract and visually decode "Image-Variation Phenotypes" (IVPs). The system utilizes an unconditional StyleGAN2 model to map the spatial distribution of biological images. A Swin Transformer-based encoder then maps real input images into the generator's latent space ($W+$ space).
By applying Independent Component Analysis (ICA) or Principal Component Analysis (PCA) to this latent space, AIPheno discovers mutually independent, interpretable directions. Projecting an image's latent representation onto these directions yields quantitative IVPs suitable for GWAS. Crucially, the framework allows researchers to traverse the latent space along these directions to synthesize image sequences, effectively creating a visual "slider" for biological traits. This hierarchical disentanglement allows the model to capture features ranging from macro-morphology to fine semantic textures.
Results and Cross-Species Discovery
The framework was validated across five multi-species datasets, including human retinal fundus images, domestic pigeon irises, potted rice, and swine CT scans. A simulated maize root dataset was also employed to establish ground-truth validation. In the human retinal dataset (UK Biobank), AIPheno identified 106 genetic loci, including 22 novel associations such as CCBE1.
Beyond human data, AIPheno identified the KITLG-TMTC3 locus for iris color in pigeons and the SOD2-IGF2R locus for fat deposition in swine. The system proved capable of identifying continuous variations within categories previously considered uniform by human observers, such as subtle melanin variations in pigeon irises that breeders previously categorized simply as "pearl" or "gravel."
Discussion: Actionable Interpretability
AIPheno's primary innovation is "actionable interpretability." Unlike traditional saliency maps that merely highlight regions of interest, AIPheno's generative approach demonstrates how a phenotype changes in response to genetic variation. This was exemplified in the study of the OCA2-HERC2 locus, where AIPheno revealed that the associated retinal vascular traits were a secondary effect of pigmentation changes modulating vascular visibility.
While currently limited to 2D image processing and single-modality training, future iterations of AIPheno aim to integrate 3D generative models and multimodal joint training to further bridge the gap between complex genetic data and biological reality.
Conclusion
By integrating scalable phenotyping, enhanced genetic discovery power, and generative mechanistic decoding, AIPheno establishes a transformative closed-loop paradigm. This work redefines the utility of digital phenotypes and accelerates the translation of genetic associations into actionable biological understanding with profound implications for human health and agriculture.
Summary updated