CellTypeAgent: Trustworthy cell type annotation with Large Language Models
Jiawen Chen, Jianghao Zhang, Huaxiu Yao, Yun Li
TL;DR
Cell type annotation in single-cell RNA-seq is essential but labor-intensive and susceptible to LLM hallucinations. The authors propose a two-stage hybrid approach: an LLM proposes top cell-type candidates from marker genes, followed by gene-expression–based verification using the CZ CELLxGENE Discover data to select the final annotation. The final decision is formalized as $c^* = \operatorname{argmax}_{c \in \mathcal{C}} \text{score}(c)$, where $\text{score}(c)$ combines the LLM-derived rank $r_c$ with expression-based ranks $\text{rank}(\sum_g e_{gc}(\mathcal{s},\tau))$ and $\text{rank}(\sum_g \rho_{gc}(\mathcal{s},\tau))$, with optional literature and gene-sum inputs. Across nine datasets, CellTypeAgent outperforms GPTCellType and CellxGene-alone baselines, and experiments with open-source Deepseek-R1 show competitive gains while addressing privacy concerns. The work demonstrates improved accuracy and reliability for scRNA-seq cell-type annotation and releases code publicly for reproducibility.
Abstract
Cell type annotation is a critical yet laborious step in single-cell RNA sequencing analysis. We present a trustworthy large language model (LLM)-agent, CellTypeAgent, which integrates LLMs with verification from relevant databases. CellTypeAgent achieves higher accuracy than existing methods while mitigating hallucinations. We evaluated CellTypeAgent across nine real datasets involving 303 cell types from 36 tissues. This combined approach holds promise for more efficient and reliable cell type annotation.
