Skip to content
Open access

An embedding-based framework enables statistical testing of gene-set function hypotheses inferred by large language models

Jul 2026 · Nature Communications · Vol 17 · 0 citations · 35 references
Medicine

TL;DR

An embedding-based statistical framework is developed that transforms gene and function descriptions into vector representations, enabling statistical testing of gene-gene and gene-function relationships and quantitative prioritization of de novo functional hypotheses inferred by LLMs.

Abstract

Emerging large language models (LLMs) can infer gene functions directly from gene lists, enabling hypothesis generation without predefined gene sets. However, these LLM-derived predictions are qualitative, and principled statistical validation is lacking. Here, we develop an embedding-based statistical framework that transforms gene and function descriptions into vector representations, enabling statistical testing of gene-gene and gene-function relationships and quantitative prioritization of de novo functional hypotheses inferred by LLMs. We benchmark seven state-of-the-art embedding models using curated and retrieval-augmented literature-derived gene descriptions across diverse biological contexts. OpenAI’s text-embedding-3-large and Google’s gemini-embedding-001 perform best, capturing gene-gene functional relationships in 88.7-92.5% of Gene Ontology biological processes and approximately 98.6% of canonical pathways. In gene-function association analyses, these models achieve high sensitivity (95.2-98.4%) and specificity (72.7-84.3%). Through contamination analysis and evaluation using experimentally informed protein assembly gene sets, our framework distinguishes biologically meaningful LLM-inferred hypotheses from noise, outperforming confidence-based inference and conventional enrichment analysis. We further develop the open-source R package DEGEmbedR and demonstrate its utility for interpreting a drug perturbation-derived differentially expressed gene (DEG) signature lacking significant conventional enrichment results. Together, these results establish LLM-derived embeddings as a quantitative foundation for functional genomics and the statistical validation of LLM-based gene function inference. Whilst large language models can infer gene functions from gene lists, these predictions lack validation. Here the authors develop a framework to transform gene and function descriptions into vector representations, enabling statistical testing of gene-gene and gene-function relationships.

Read PDF

Similar papers

Open access Aug 2026

Systematic detection of predictive gene sets by semantics-based selection

The findings demonstrate that Gene Ontology can be effectively leveraged for semantics-aware gene selection in clinical machine learning and offers a scalable strategy to uncover new, testable biological hypotheses–revealing gene functions that might otherwise remain hidden when examining only broadly selected gene com...

Peter Eckhardt-Bellmann, N. Taha, Silke D. Werle et al. · 0 citations
Review Jul 2026

Genomic language models (gLMs): Emerging applications, challenges, and future directions in computational genomics.

Across the included studies, stronger evidence for gLM utility was generally associated with biologically informed or task-aligned model design, including evolutionary alignments, motif-aware objectives, long-context architectures, RNA structural priors, population-aware representations, and domain-specific pretraining...

Mahinaz A. Mashhour, M. A. Wahed, Mai S. Mabrouk · 0 citations
Open access Jul 2026

Comparative assessment of large language models for microbial phenotype assignment

This study systematically assessed the biological knowledge encoded in publicly available LLMs for structured phenotype assignment of microbial species, including state-of-the-art models such as Claude Sonnet 4 and the GPT-5 family of models.

Philipp C. Münch, Nasim Safaei, René Mreches et al. · 0 citations
Jul 2026

A novel support vector regression approach for detecting gene-environment interactions and predicting trait values.

A novel statistical framework, iSVR, is presented that incorporates gene-environment interaction terms into a support vector regression model, enabling both modeling of interaction effects and their statistical testing, and provides a powerful approach to characterize the gene-environment interaction landscapes underly...

Xuewei Li, Wanqiu Xie, Liang Tong et al. · 0 citations
Open access Jul 2026

High-resolution dissection of concept acquisition in different families of protein language models

A high-resolution layer-by-layer interpretability analysis of 8 models from the ESM2 and AMPLIFY families on 22 concepts from human proteome annotations found that these models encode concepts of increasing levels of complexity along their depth: basic physicochemical properties and linear motifs are best captured by e...

Shawn T. Whitfield, Tom Marty, Robert M. Vernon et al. · 0 citations
Preprint Jul 2026

LLMBDC: Language Model for Biological Domains Oriented Clustering of Gene Ontology

LLMBDC (Large Language Model for Biological Domains Oriented Clustering of Gene Ontology) provides a scalable, reproducible, and interpretable route to context-aware, system-level interpretation of GO enrichment results while preserving biological specificity.

Xi-Ming Ran, Jie Xu, Peng Jin et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.