[Paper Review] Gene Set Summarization using Large Language Models
This paper introduces SPINDOCTOR, a method leveraging GPT-based large language models (LLMs) to summarize gene set functions by generating biologically plausible Gene Ontology (GO) terms from diverse data sources—curated annotations, narrative summaries, or direct retrieval. While LLMs produce coherent and relevant summaries, they fail to deliver statistically reliable p-values or consistently identify the most precise enrichment terms, rendering them unsuitable as replacements for standard enrichment analysis due to poor determinism and reasoning limitations.
Molecular biologists frequently interpret gene lists derived from high-throughput experiments and computational analysis. This is typically done as a statistical enrichment analysis that measures the over- or under-representation of biological function terms associated with genes or their properties, based on curated assertions from a knowledge base (KB) such as the Gene Ontology (GO). Interpreting gene lists can also be framed as a textual summarization task, enabling the use of Large Language Models (LLMs), potentially utilizing scientific texts directly and avoiding reliance on a KB. We developed SPINDOCTOR (Structured Prompt Interpolation of Natural Language Descriptions of Controlled Terms for Ontology Reporting), a method that uses GPT models to perform gene set function summarization as a complement to standard enrichment analysis. This method can use different sources of gene functional information: (1) structured text derived from curated ontological KB annotations, (2) ontology-free narrative gene summaries, or (3) direct model retrieval. We demonstrate that these methods are able to generate plausible and biologically valid summary GO term lists for gene sets. However, GPT-based approaches are unable to deliver reliable scores or p-values and often return terms that are not statistically significant. Crucially, these methods were rarely able to recapitulate the most precise and informative term from standard enrichment, likely due to an inability to generalize and reason using an ontology. Results are highly nondeterministic, with minor variations in prompt resulting in radically different term lists. Our results show that at this point, LLM-based methods are unsuitable as a replacement for standard term enrichment analysis and that manual curation of ontological assertions remains necessary.
Motivation & Objective
- To explore whether large language models (LLMs) can effectively summarize gene set functions without relying on curated knowledge bases like Gene Ontology (GO).
- To evaluate the performance of LLMs in generating biologically meaningful and precise GO term lists for gene sets.
- To compare LLM-based summarization using structured annotations, narrative summaries, and direct retrieval against standard enrichment analysis.
- To assess the reliability, determinism, and statistical validity of LLM-generated summaries in comparison to established methods.
- To determine whether LLMs can generalize and reason using ontological structures to identify the most informative functional terms.
Proposed method
- SPINDOCTOR employs structured prompt engineering to guide GPT models in generating functional summaries for gene sets.
- The method supports three input types: curated GO annotations, ontology-free narrative summaries of genes, and direct retrieval of gene functional descriptions by the LLM.
- Prompts are designed to interpolate natural language descriptions of controlled terms, enabling the model to infer relevant GO terms.
- The approach uses few-shot prompting and zero-shot inference to generate summary term lists based on input gene lists.
- Model outputs are evaluated for biological plausibility, precision, and consistency across multiple runs.
- Comparative evaluation is performed against standard hypergeometric enrichment analysis to assess term accuracy and statistical reliability.
Experimental results
Research questions
- RQ1Can LLMs generate biologically valid and coherent functional summaries for gene sets without relying on a structured knowledge base?
- RQ2How do LLM-generated summaries compare to standard enrichment analysis in terms of identifying the most precise and informative GO terms?
- RQ3To what extent do LLM-based methods reproduce statistically significant terms with reliable p-values?
- RQ4How sensitive are LLM outputs to minor prompt variations, and what is the resulting impact on determinism and consistency?
- RQ5Can LLMs effectively reason with ontological structures to generalize across gene set functions?
Key findings
- LLM-based summarization using SPINDOCTOR produces biologically plausible and coherent GO term lists across all input types—structured annotations, narrative summaries, and direct retrieval.
- Despite generating plausible summaries, LLMs fail to produce reliable p-values or statistical significance scores, limiting their use in rigorous biological interpretation.
- The method often fails to recapitulate the most precise and informative term identified by standard enrichment analysis, indicating a lack of ontological reasoning capability.
- Results are highly nondeterministic: minor prompt variations lead to drastically different term lists, undermining reproducibility.
- The inability of LLMs to generalize or reason with ontological hierarchies prevents them from replacing traditional enrichment methods.
- Manual curation of ontological assertions remains essential for accurate and reliable functional interpretation of gene sets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.