CellMaster: Collaborative Cell Type Annotation in Single-Cell Analysis

Zhen Wang, Yiming Gao, Jieyuan Liu, Enze Ma, Jefferson Chen, Mark Antkowiak, Mengzhou Hu, JungHo Kong, Dexter Pratt, Zhiting Hu, Wei Wang, Trey Ideker, Eric P. Xing · DOI

Abstract

Single-cell RNA-seq (scRNA-seq) enables atlas-scale profiling of complex tissues, revealing rare lineages and transient states. Yet, assigning biologically valid cell identities remains a bottleneck because markers are tissue- and state-dependent, and novel states lack references. We present CellMaster, an AI agent that mimics expert practice for zero-shot cell-type annotation. Unlike existing automated tools, CellMaster leverages LLM-encoded knowledge (e.g., GPT-4o) to perform on-the-fly annotation with interpretable rationales, without pre-training or fixed marker databases. Across 9 datasets spanning 8 tissues, CellMaster improved accuracy by 7.1% over best-performing baselines (including CellTypist and scTab) in automatic mode. With human-in-the-loop refinement, this advantage increased to 18.6%, with a 22.1% gain on subtype populations. The system demonstrates particular strength in rare and novel cell states where baselines often fail.

Introduction

Single-cell RNA sequencing (scRNA-seq) has revolutionized our ability to understand tissue complexity by profiling thousands of individual cells. However, the process of assigning biological identities to these cells—cell-type annotation—remains a significant bottleneck. Traditional manual annotation is highly accurate but labor-intensive and difficult to scale. Conversely, automated classifiers often rely on pre-trained models or fixed marker databases, which frequently fail when encountering "out-of-distribution" data, such as rare cell states or tissues not represented in the training set.

To address these challenges, we introduce CellMaster, an AI agent designed to automate cell-type annotation by mimicking the iterative reasoning of human experts. By utilizing the vast biological knowledge encoded in Large Language Models (LLMs), CellMaster performs "zero-shot" annotation, requiring no specific pre-training or static reference atlases.

Methodology

CellMaster employs a multi-agent LLM architecture (utilizing models like GPT-4o) that follows a structured, four-stage iterative pipeline:

  1. Hypothesis Generation: The agent analyzes differential gene expression patterns and dataset context (e.g., tissue type) to propose potential cell identities.
  2. Marker Selection: It dynamically selects biological markers to test these hypotheses.
  3. Expression Analysis: The system generates visualizations, such as dotplots, to verify if the proposed markers effectively discriminate between clusters.
  4. Result Evaluation: The agent assigns labels accompanied by confidence scores and natural-language rationales. If a cluster is ambiguous, the system suggests a "zoom-in" (sub-clustering) to resolve finer subtypes.

This pipeline is integrated into a collaborative web UI, allowing researchers to act as supervisors. Experts can critique the AI’s reasoning, add specific markers, or adjust label granularity in real-time.

Experimental Evaluation

We evaluated CellMaster across 9 diverse datasets spanning 8 tissues, including liver (mouse development), human blood (PBMC), lymphoma (BCL), bone marrow (Myeloid), brain, large intestine, limb muscle, and retina. The datasets ranged in scale from approximately 2,600 to over 65,000 cells. We benchmarked CellMaster against established tools such as CellTypist, scTab, CellMarker 2.0, GPTCelltype, and Biomni.

Key Results

  • Superior Accuracy: In fully automatic mode, CellMaster outperformed the best baselines by 7.1% in accuracy across all datasets.
  • Human-in-the-Loop Synergy: When provided with minimal human feedback (e.g., brief one-sentence suggestions), the performance gap widened to 18.6% over existing baselines.
  • Subtype Mastery: The system demonstrated a 22.1% gain in identifying specific cell subtypes compared to standard tools, proving particularly effective at resolving maturing cell populations (e.g., neutrophil stages).
  • Robustness to Rarity: Unlike traditional tools that struggle with small clusters (fewer than 100 cells), CellMaster remained effective, highlighting its utility for discovering rare cell populations.

Discussion and Limitations

CellMaster’s strength lies in its interpretability and flexibility. By providing natural-language rationales (e.g., "Cluster X is likely a Hepatocyte because it expresses Alb and Afp"), it allows scientists to audit and trust the AI’s decisions.

However, several limitations remain. The probabilistic nature of LLMs can lead to run-to-run variability (stochasticity), though stabilization mechanisms have been implemented. Additionally, the reliance on commercial APIs introduces costs and potential privacy concerns for sensitive clinical data. Currently, the system is unimodal, focusing on transcriptomics; future iterations will aim to integrate multi-omic data, such as spatial transcriptomics and protein levels, to further enhance annotation precision.

Conclusion

CellMaster represents a shift from "black-box" automated classification to a collaborative, expert-mimicking AI agent. By combining LLM-based biological reasoning with human-in-the-loop refinement, it provides a scalable and accurate solution for the complex task of single-cell annotation.

Summary updated

BibTeX
@misc{wang2026cellmaster,
  author = {Zhen Wang and Yiming Gao and Jieyuan Liu and Enze Ma and Jefferson Chen and Mark Antkowiak and Mengzhou Hu and JungHo Kong and Dexter Pratt and Zhiting Hu and Wei Wang and Trey Ideker and Eric P. Xing},
  title = {{CellMaster: Collaborative Cell Type Annotation in Single-Cell Analysis}},
  year = {2026},
  eprint = {2602.13346},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.13346},
}
Figure