LeCellModel: Interpretable Density Estimation over the Gene Expression Manifold

Gil Karin, Artemy Bakulin, Nir YosefNeurIPS 2026

TL;DR

Single-cell biology usually relies on giant neural networks to sort cells into buckets, bolting on separate, clunky tools afterward to hunt for rare anomalies or disease drivers. LeCellModel flips this script: by forcing a lightweight neural network to map messy gene expression data onto a clean, spherical bell curve, the geometry of the network itself automatically reveals how "typical" or "rare" each cell is. Better yet, you can take the mathematical derivative of that rarity score right back to the genes, uncovering hidden disease states—like a tumor-associated immune cell unexpectedly hiding out in scarred lung tissue—purely from unsupervised math.

What Problem Does This Paper Address?

Single-cell RNA sequencing (scRNA-seq) gives us a snapshot of which genes are active in hundreds of thousands of individual cells. To make sense of this high-dimensional count data, researchers train models—like Variational Autoencoders (scVI) or massive BERT-style foundation models (scGPT, Geneformer)—to compress cells into lower-dimensional "embeddings."

Here is the catch: most models learn by trying to reconstruct the raw gene counts. Because single-cell data is notoriously noisy and plagued by "batch effects" (technical quirks from different labs or sequencing machines), reconstruction-based models get rewarded for memorizing that technical noise alongside actual biology. Furthermore, we judge these embeddings almost entirely on how well they cluster known cell types, ignoring how faithfully they capture the underlying probability distribution of cell states. Consequently, if you want to find rare cell states or figure out which genes drive a subtle disease shift, you have to freeze the embedding and bolt on separate, disconnected anomaly-detection algorithms.

Methods

Instead of reconstructing noisy inputs, the authors build on LeJEPA (a Joint-Embedding Predictive Architecture). They take a single cell's gene expression, create multiple "views" of it using biologically realistic augmentations (like randomly masking 60% of the genes or simulating sequencing-depth noise via Poisson resampling), and train an encoder to map all views of the same cell to the exact same point in latent space.

What makes LeCellModel special is how it combines standard tricks with novel geometric insights:

  • Lightweight & Teacher-Free: Unlike massive transformers or older JEPAs that need complex "stop-gradient" heuristics to avoid collapsing (mapping every cell to zero), LeCellModel uses simple, two-layer MLPs and a single symmetric network.
  • SIGReg (Sketched Isotropic Gaussian Regularization): To prevent collapse, SIGReg forces the entire cloud of embedded cells to match an isotropic Gaussian (a multidimensional spherical bell curve).
  • Adversarial Batch Correction: A gradient-reversal layer actively penalizes the encoder if a secondary network can guess which lab or sequencing batch a cell came from.
  • JEPA-SCORE (The Typicality Readout): Because the latent space is forced into a known Gaussian shape, calculus gives us a free lunch: the log-volume of the network’s Jacobian matrix (how much the network stretches or squishes space around a cell) acts as an implicit density estimator. Read within a cell type, a low score flags rare, atypical cell states.
  • Differentiable Gene Attribution (New!): Because the MLP is tiny, computing its Jacobian is ~2,000x cheaper than for a 100M-parameter transformer. Even better, the authors differentiate the JEPA-SCORE with respect to the input genes ($\nabla_x S(x)$). Without needing a control group for comparison, this second-order derivative points directly to the exact genes making a specific cell state rare.

Datasets

The authors evaluate LeCellModel across three standard batch-integration benchmarks and three biological discovery cohorts (no newly sequenced datasets are introduced, though custom benchmark subsets are assembled):

  • Integration Benchmarks: Human Lung Cell Atlas (HLCA) Core (~585K cells, 14 studies), Heart Cell Atlas v2 (~704K cells, 32 preparations across 3 modalities), and Human Pancreas (~16K cells, 9 batches).
  • Ground-Truth Rare State Validation: Parse Biosciences PBMC cytokine-stimulation panel, where immune cells exposed to signaling molecules (IL-4, IL-10) are subsampled down to 1%–10% minority fractions, withholding labels during training.
  • Disease Discovery Subsets: Two cohorts assembled from the extended HLCA combining healthy donors and Idiopathic Pulmonary Fibrosis (IPF) patients (~8% disease cells): a monocyte–macrophage subset (~258K cells) and a lymphoid subset (~160K cells).

Key Insights and Ideas

  • Why rare states have low volume: Because SIGReg averages across batches, tiny cell subpopulations barely influence the global push toward a spherical Gaussian. If a rare state is driven by a tight, coordinated handful of genes, the network satisfies its prediction loss using just a few dominant mathematical directions—shrinking its Jacobian volume and lighting up the JEPA-SCORE.
  • Bigger isn't always better: In an era obsessed with massive foundation models, a humble two-layer MLP paired with smart geometry beats 100M+ parameter transformers on integration and unlocks exact second-order calculus that would be computationally intractable at transformer scale.
  • Drivers over bystanders: Standard differential expression highlights whichever genes are loudest (most abundant). Differentiating the typicality score instead highlights local geometric drivers—surfacing subtle signaling checkpoints and tissue-remodeling enzymes while ignoring abundant background markers.

Key Results

  • Atlas-Scale Integration: On the scIB benchmark (balancing biological conservation and batch removal), LeCellModel takes first place across the board: scoring 0.689 on HLCA Core (+0.031 over scVI) and 0.760 on Heart v2 (+0.033 over Harmony), while tying scVI on the smaller Pancreas dataset (0.741 vs. 0.736). Notably, zero-shot and fine-tuned foundation models (scGPT, UCE, GeneJEPA) trailed behind standard baselines.
  • Catching Rare Perturbations: In the cytokine benchmark, traditional density tools (like k-NN or Isolation Forests on scVI/PCA embeddings) degrade as the stimulated cell fraction grows from 1% to 10% (e.g., scVI-kNN AUROC drops from 0.839 to 0.683). LeCellModel's JEPA-SCORE stays rock-solid, leading AUROC and AUPRC past the 1% mark and correlating with the actual biological intensity of the pathway response.
  • Unsupervised Disease Discovery: In IPF lung tissue, LeCellModel rediscovered a known profibrotic macrophage state (2.53x enriched in IPF) and prioritized its remodeling effectors (MMP9, CTSK, SIGLEC15) over its loudest generic marker (SPP1). More strikingly, within CD4 T cells, it uncovered a CD177$^{+}$ activated regulatory T-cell population previously known only to infiltrate tumors. Purely from embedding geometry—without Treg labels even existing in HLCA's harmonized vocabulary—it isolated this subset, which proved to be 10.76-fold enriched in fibrotic IPF lungs.

Limitations and Future Work

  • Small-data variance & edge sensitivity: Cross-seed variance is slightly higher on smaller datasets like Pancreas ($\sigma = 0.008$) than on giant atlases ($\sigma \le 0.003$). Additionally, because JEPA-SCORE reflects training dynamics and augmentations, separate runs can occasionally disagree right at the cutoff boundary of the rarest tail.
  • Correlation $\neq$ Causation: The gene gradient ($\nabla_x S$) identifies genes that mathematically shape the model's local geometry; these are sharp hypotheses, not experimentally validated causal drivers, and cannot yet separate model uncertainty from true biological rarity.
  • Future Work: Currently, LeCellModel is trained fresh per dataset. The natural next leap is training an atlas-scale reference model once (perhaps scaling up the backbone), freezing its coordinate system, and mapping new patient samples onto it—turning rare-cell discovery and gene attribution into an instant, query-time lookup.

Summary updated

Abstract

Representation learning for single-cell RNA-seq has been evaluated by the identities representations capture — cell types, lineages, perturbations — rather than how faithfully they model the distribution of cell states on the gene expression manifold. As a result, density estimation, rare-state detection, perturbation scoring, and gene-level attribution are bolted onto frozen embeddings as separate models, disconnected from the geometry of the data. We argue that modeling the distribution of cell states should be the primary objective, and that representation quality follows from it. Building on LeJEPA, whose SIGReg objective enforces a provably optimal isotropic Gaussian latent, we introduce LeCellModel, which reads the encoder's Jacobian log-volume (JEPA-SCORE) under this Gaussian latent as a relative typicality score. Across several datasets, LeCellModel outperforms established methods on the scIB benchmark for representation quality. Furthermore, we show that LeCellModel enables detection of rare expression states using JEPA-SCORE as a typicality measure, applying it to a controlled cytokine panel, where it identifies stimulated cells across minority fractions and tracks pathway-response magnitude. We introduce gene-level interpretability of the typicality score — to our knowledge, the first method for analyzing JEPA-SCORE in feature space. Leveraging this framework, LeCellModel recapitulates the known association of a profibrotic macrophage program with idiopathic pulmonary fibrosis, and discovers a CD177$^{+}$ activated regulatory T cell subpopulation previously described only in tumor contexts. Both findings emerge directly from the geometry of the learned embedding, without relying on supervised annotations.
BibTeX
@inproceedings{karin2026lecellmodel,
  author = {Gil Karin and Artemy Bakulin and Nir Yosef},
  title = {{LeCellModel: Interpretable Density Estimation over the Gene Expression Manifold}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=LiIO6ykiB6},
}
Figure