Benchmarking cell type and gene set annotation by large language models with AnnDictionary
George Crowley, Robert C. Jones, Mark A. Krasnow, Angela Oliveira Pisco, Julia Salzman, Nir Yosef, Siyu He, Madhav Mantri,
Stanford University · Howard Hughes Medical Institute
Key points
From the paper's conclusion- We use AnnDictionary to perform the first benchmarking study of all major LLMs at de novo cell-type annotation.
Abstract
We develop an open-source package called AnnDictionary to facilitate the parallel, independent analysis of multiple anndata. AnnDictionary is built on top of LangChain and AnnData and supports all common large language model (LLM) providers. AnnDictionary only requires 1 line of code to configure or switch the LLM backend and it contains numerous multithreading optimizations to support the analysis of many anndata and large anndata. We use AnnDictionary to perform the first benchmarking study of all major LLMs at de novo cell-type annotation. LLMs vary greatly in absolute agreement with manual annotation based on model size. Inter-LLM agreement also varies with model size. We find that LLM annotation of most major cell types to be more than 80-90% accurate, and will maintain a leaderboard of LLM cell type annotation. Furthermore, we benchmark these LLMs at functional annotation of gene sets, and find that Claude 3.5 Sonnet recovers close matches of functional gene set annotations in over 80% of test sets. Cell type labelling in single-cell datasets remains a major bottleneck. Here, the authors present AnnDictionary, an open-source toolkit that enables atlas-scale analysis and provides the first benchmark of LLMs for de novo cell type annotation from marker genes, showing high accuracy at low cost.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Large language model consensus substantially improves the cell type annotation accuracy for scRNA-seq dataCommunications Biology · 2026
- Dataset structure outweighs method choice in single-cell cell-type annotationbioRxiv · 2026
- CellOntologyMapper: Consensus mapping of cell type annotation.iMetaOmics · 2026
- LLM-based cell type annotation harmonization across single-cell studies using GCTHarmonyGenome biology · 2026
- Benchmarking LLM-based agents for single-cell omics analysisGenome biology · 2026
- CASSIA: a multi-agent large language model for automated and interpretable cell annotationNature Communications · 2025