🤖 AI Summary
In single-cell clustering analysis, resolution selection and GO functional annotation rely heavily on subjective expertise, lacking objective, quantitative criteria. To address this, we propose the first LLM-driven intelligent agent framework that formalizes functional annotation as an optimization problem involving hypothesis generation and validation: a large language model generates candidate GO term hypotheses, while sentence embeddings quantify intra-cluster consistency and inter-cluster separation to construct a differentiable resolution scoring function. This approach eliminates heuristic parameter tuning, enabling automated resolution selection and objective, reproducible annotation. Evaluated on K562 Perturb-seq data, our score significantly outperforms conventional metrics—including silhouette coefficient and modularity—and better aligns with known biological pathways. The framework establishes a novel, interpretable, and reproducible paradigm for functional interpretation of single-cell data.
📝 Abstract
Large-scale single-cell and Perturb-seq investigations routinely involve clustering cells and subsequently annotating each cluster with Gene-Ontology (GO) terms to elucidate the underlying biological programs. However, both stages, resolution selection and functional annotation, are inherently subjective, relying on heuristics and expert curation. We present HYPOGENEAGENT, a large language model (LLM)-driven framework, transforming cluster annotation into a quantitatively optimizable task. Initially, an LLM functioning as a gene-set analyst analyzes the content of each gene program or perturbation module and generates a ranked list of GO-based hypotheses, accompanied by calibrated confidence scores. Subsequently, we embed every predicted description with a sentence-embedding model, compute pair-wise cosine similarities, and let the agent referee panel score (i) the internal consistency of the predictions, high average similarity within the same cluster, termed intra-cluster agreement (ii) their external distinctiveness, low similarity between clusters, termed inter-cluster separation. These two quantities are combined to produce an agent-derived resolution score, which is maximized when clusters exhibit simultaneous coherence and mutual exclusivity. When applied to a public K562 CRISPRi Perturb-seq dataset as a preliminary test, our Resolution Score selects clustering granularities that exhibit alignment with known pathway compared to classical metrics such silhouette score, modularity score for gene functional enrichment summary. These findings establish LLM agents as objective adjudicators of cluster resolution and functional annotation, thereby paving the way for fully automated, context-aware interpretation pipelines in single-cell multi-omics studies.