Skip to content

About

Cyto.Identity (scVerity): evidence-grounded reasoning for open-world single-cell annotation — Beijing Zhongguancun Academy & BGI Research

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Cyto System - Beijing Zhongguancun Academy and BGI Research

Cyto.Identity · scVerity

Evidence-grounded reasoning for open-world single-cell annotation

Cyto System Beijing Zhongguancun Academy | BGI Research Cell identity and state Benchmark Case Study

Cyto.Identity is the cell-identity module of the Cyto Model Family, jointly developed by Beijing Zhongguancun Academy and BGI Research. The scVerity framework decouples per-cell candidate hypothesis generation from evidence-based biological verification: an Adaptive Manifold Provider proposes ranked candidate identities, which are rigorously audited and adjudicated through an iterative, multi-agent reasoning loop against the molecular programmes measured directly in the query sample.


Motivation

  • Continuous variation provides local context. Differentiation, activation, and tissue adaptation place related cells along continuous developmental trajectories. A global embedding often recovers the broad lineage while failing to separate its nearest sibling subtypes. scVerity learns a cell-conditioned Riemannian metric and multiple prototypes, preserving competing identities until local differences are tested.
  • Partial discreteness reveals heterogeneity. A cluster may contain multiple distinct identities or transient states, while one biological identity may span multiple transcriptional modes. scVerity separates label-free population construction from identity assignment, evaluating lineage, differentiation, function, tissue context, and technical quality as distinct evidence dimensions.
  • Sample-grounded verification prevents hallucination. Single-cell foundation models and reference classifiers assign labels based on global embedding proximity rather than observed gene programmes. scVerity requires measurable molecular support within the query sample, preventing erroneous over-annotation.

Cell annotation = high-recall candidates from the manifold and knowledge graph + measurable local-population evidence from the Analyst + the finest supported label under Reviewer constraints.


System Overview

scVerity main figure: Adaptive Manifold Provider, Analyst Agent, Per-Cluster Report, Reviewer Agent, knowledge graph, Meta Review, and ontology-linked annotation

Click the figure to open the vector PDF.

The framework comprises four connected, modular components:

  1. Adaptive Manifold Provider: Pretrained once across 8.72M reference cells spanning 203 Cell Ontology labels to propose ranked ontology candidate distributions ($P_i$) using multi-view representation learning and cell-conditioned quadratic metric tensors.
  2. Analyst Agent: Autonomously builds label-free cell populations from query expression ($X$) and sample metadata ($M$), generating a structured Per-Cluster Report across internal evidence, external review, and action logs.
  3. Reviewer Agent & Knowledge Graph: Interrogates candidate hypotheses, retrieves external marker panels and tissue constraints via reciprocal rank fusion, and executes targeted actions (Inspect, Split, Merge, Ancestor Fallback, or Report).
  4. Meta Review: Multi-agent specialist adjudication that incorporates multimodal measurements (e.g., same-cell paired $\alpha\beta$ and $\gamma\delta$ TCR repertoire sequences, CITE-seq surface proteins, and external proteomic reference atlases) to resolve complex lineage ambiguities and gene dropout.

The final output is an Ontology-Constrained Release declaring the finest supported identity, cellular state, and traceable evidence record for each verified cell population.


From Candidates to Evidence-Supported Identities

1. Candidate Hypothesis Generation

For cell $i$ with expression profile $x_i$, the Adaptive Manifold Provider encodes gene rank, binary detection support, and coordinated gene programmes into a representation $z_i\in\mathbb{R}^{512}$. Each candidate identity $c$ is modeled by $M_c$ prototypes $\mu_{cr}$. A cell-conditioned metric tensor stretches locally discriminative directions:

$$ G_i = I + \frac{1}{r_L} L_i^{\top} L_i, \qquad D_{icr} = (z_i - \mu_{cr})^{\top} G_i (z_i - \mu_{cr}). $$

Direct classification logits, prototype matching, and Riemannian metric matching are combined under dynamic routing weights $\alpha_{i,\ell(c),j}$ and lineage prior $\pi_i$:

$$ p_i(c) = \pi_i(\ell(c)) \sum_{j\in{\mathrm{dir},\mathrm{proto},\mathrm{met}}} \alpha_{i,\ell(c),j} q_{ic}^{j}, \qquad P_i = \mathrm{Top5}_c, p_i(c). $$

Candidate scores prioritize biological hypotheses without defining cell clusters. Identities outside $P_i$ can still be introduced by knowledge-guided retrieval when supported by observed expression programmes.

2. Label-Free Population Construction & Local Evidence

The Analyst Agent constructs cellular populations completely independently of the Provider predictions:

$$ C^{(0)} = \Pi_{\theta}(X, M), $$

where $\Pi_{\theta}$ denotes standard quality control, CP10k normalization with $\log(1+x)$, selection of 2,000 highly variable genes, 50 principal components, a two-dimensional UMAP projection, and a 15-nearest-neighbour graph partitioned via Leiden community detection across resolutions and seeds.

Within population $C_k$, candidate support is summarized by top-1 and top-5 appearance frequencies:

$$ \rho_{kv}^{(1)} = \frac{1}{|C_k|} \sum_{i\in C_k} \mathbf{1}!\left[v = P_{i1}\right], \qquad \rho_{kv}^{(5)} = \frac{1}{|C_k|} \sum_{i\in C_k} \mathbf{1}!\left[v \in P_i\right]. $$

For each candidate $v$, the Analyst tests defining markers, sibling contrasts, cell-level heterogeneity, and technical explanations, assigning each claim into four rigorous evidence categories:

$$ e_{kv} \in {\mathrm{Supported}, \mathrm{Unresolved}, \mathrm{Contradicted}, \mathrm{Unmeasured}}. $$

An unmeasured feature is never treated as negative evidence.

3. Knowledge Graph & Cross-Population Comparison

Curated Cell Ontology profiles are retrieved by combining BM25 marker breadth $B(c)$ and inverse-frequency panel containment $C(c)$ through reciprocal rank fusion:

$$ R(c) = \frac{1}{60 + r_B(c)} + \frac{1}{60 + r_C(c)}. $$

Related populations serve as comparative references. A shared lineage marker can support a broad ancestor without resolving sibling subtypes; hence, decisive evidence requires targeted target-versus-reference contrasts.

4. Review Actions & Convergence

The Reviewer Agent executes five closed-loop actions:

  • Inspect: Request targeted molecular measurements or expression contrasts from the Analyst.
  • Split: Partition $C_k$ into disjoint sub-populations $C_{k1} \cap C_{k2} = \emptyset$ ($C_{k1} \cup C_{k2} = C_k$) only when verifiable, cell-level biological divergence persists after ruling out technical batch artifacts.
  • Merge: Combine populations only when they share a supported biological identity and no meaningful functional boundary is lost.
  • Ancestor Fallback: Report a conservative common ancestor in the Cell Ontology when fine-grained sibling alternatives cannot be resolved by available measurements.
  • Report: Assign the finest supported identity and state to the member cells.

5. Multimodal Meta-Review & Final Release

Meta Review arbitrates challenging populations by integrating multimodal data (e.g., paired TCR repertoire, CITE-seq, or external proteomic atlases). For member cells $S \subseteq C_k$, let $V_{\mathrm{elig}}(S)$ contain candidate terms with supported identity evidence, no remaining measurable contradiction, and observed required modalities. The released term satisfies:

$$ v^{\star} \in V_{\mathrm{elig}}(S), \qquad \mathrm{depth}(v^{\star}) = \max_{v \in V_{\mathrm{elig}}(S)} \mathrm{depth}(v). $$


Benchmark Evaluation

scVerity is evaluated across three independent, disjoint single-cell cohorts comprising 577,063 cells with zero study-, donor-, and cell-level overlap with the pretraining corpus. Performance is measured using multi-assertion ontology compatibility (Accuracy / Macro-F1, %):

Dataset Cells / Donors scVerity SCimilarity CellTypist SingleR CASSIA mLLMCelltype
Small intestine 89,849 / 13 64.91 / 69.43 56.28 / 50.69 60.81 / 61.90 54.78 / 53.68 61.83 / 46.80 61.27 / 38.49
Pan-cancer T-cell 368,852 / 256 52.98 / 41.67 10.84 / 15.89 19.22 / 13.88 32.29 / 29.61 19.47 / 11.16 16.89 / 12.45
NSCLC T-cell 118,362 / 36 66.18 / 38.17 33.53 / 17.02 44.75 / 21.59 52.43 / 30.51 49.63 / 22.00 43.30 / 24.10
Dataset-equal mean 577,063 / 305 61.36 / 49.76 33.55 / 27.87 41.59 / 32.46 46.50 / 37.93 43.64 / 26.65 40.49 / 25.01

Comparative Insights

  • Substantial Performance Gain: scVerity outperforms SingleR by +14.86pp Accuracy / +11.83pp Macro-F1, CellTypist by +19.77pp Accuracy / +17.30pp Macro-F1, and pretrained SCimilarity by +27.81pp Accuracy / +21.89pp Macro-F1.
  • Why Global Foundation Models Collapse on T Cells: Closely related T-cell subsets share dominant lineage programmes (CD3D, CD3E, TRAC) while distinguishing markers occupy sparse, low-magnitude transcriptional axes. Global Euclidean or cosine metrics collapse fine-grained subtypes into generic ancestors, causing SCimilarity's accuracy to drop to 10.84% in Pan-cancer T-cell. scVerity's cell-conditioned Riemannian metric preserves anisotropic variations, achieving 52.98% accuracy.

Case Study: Multimodal Lineage Annotation of Human T Cells

We evaluate scVerity on 78,228 primary human T cells across thymus and peripheral blood from 13 donors, evaluated against experimental FACS-sorted ground-truth annotations across five major T-cell lineages (CD4+, CD8+, γδ T, MAIT, and iNKT).

Stage-Wise Performance Progression

Verification Stage Accuracy (%) Macro-F1 Reclassified Cells Net Correct Gain Biological Focus
Manifold Provider 52.29 0.4304 0 0 Initial candidate mapping baseline
Agent Review 55.85 0.4534 3,949 +2,784 CD4/CD8 discordance & local graph splits
Meta Review 56.63 0.4761 611 +606 Paired TCR invariant receptor verification

Visual Evidence & Biological Discoveries

Animated scVerity review showing evidence assessment, relabeling, and local population refinement

Key Biological Discoveries:

  1. Reconciling CD4+/CD8+ Developmental Discordance: Coreceptor shedding and cytotoxic activation programmes frequently cause cross-lineage confusion. Agent Review resolved discrepancies across all 13 donors, increasing CD8+ recall from 61.25% to 74.22% with +2,784 net validated corrections (1,502 blood cells and 1,664 thymus cells corrected to CD8+, and 436 blood cells corrected to CD4+).
  2. Dissecting Hidden Thymic Lineages via Local Community Refinement: In parent thymic cluster envelopes, local graph re-clustering resolved three distinct sub-branches (C1--C3): TRDC detection rose from 13.5% in C1 to 83.2% in C2 and 96.6% in C3, isolating an authentic thymic $\gamma\delta$ developmental trajectory.
  3. High-Fidelity Recovery of Rare Invariant T Cells: Meta Review integrated same-cell paired TCR sequencing:
    • 179 iNKT cells identified by canonical $\alpha$-chain CDR3 (TRAV10--TRAJ18) paired with TRBV25-1: 98.88% precision (177/179) confirmed by CD1d-PBS57 tetramer sorting.
    • 432 MAIT cells identified by canonical TRAV1-2 rearrangement paired with TRAJ33/12/20 and KLRB1/SLC4A10: 99.54% precision (430/432) confirmed by MR1-5-OP-RU tetramer sorting.
  4. Rescuing Technical Dropout via Multimodal Evidence: Relaxing the transcriptomic requirement for SLC4A10 while enforcing paired invariant TCRs increased MAIT recall from 69.09% to 84.30% (+144 true cells), and paired TCR alone reached 91.91% (+85 true cells), with false positives strictly constant at 23 cells. Scirpy shared clonotype analysis confirmed identical amino-acid CDR3 sequences with verified MAIT clones.

Architectural Positioning

Paradigm Exemplar Tools Key Limitations What scVerity Adds
Reference Mapping SingleR, Azimuth Bound to fixed reference cohorts; sensitive to batch shifts Manifold candidates serve as hypotheses tested against query expression
Foundation Models SCimilarity, Geneformer Global metrics collapse sparse subtype-discriminating axes Cell-conditioned Riemannian metric, label-free populations, explicit evidence audit
Marker Review Manual / Scripted Subjective, non-reproducible, lacks multi-scale context Traceable Analyst-Reviewer loop, split/merge criteria, ontology-constrained release
LLM Reasoning Agents CASSIA, mLLMCelltype Annotate fixed cluster summaries; prone to hallucination Grounded query measurement verification layer, multimodal receptor integration, Meta Review

Cyto System

Cyto organizes spatiotemporal-cell modeling into composable, biologically grounded modules. Cyto.Identity addresses cell identity and state; the organization indexes perturbation-response, spatial, and multi-scale biological foundation modules as they become available.

Explore Cyto-System.

Developed by Beijing Zhongguancun Academy and BGI Research.

About

Cyto.Identity (scVerity): evidence-grounded reasoning for open-world single-cell annotation — Beijing Zhongguancun Academy & BGI Research

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors