LeCellModel: Interpretable Density Estimation over the Gene Expression Manifold
Organizations: Weizmann Institute of Science
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.
Figures & tables
| HLCA Core | Heart v2 | Pancreas | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Method | Bio | Batch | Total | Bio | Batch | Total | Bio | Batch | Total |
| PCA | |||||||||
| Scanorama | |||||||||
| Harmony | |||||||||
| scVI | |||||||||
| LeCellModel | |||||||||
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
| HLCA Core | Heart v2 | Pancreas | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Configuration | Bio | Batch | Total | Bio | Batch | Total | Bio | Batch | Total |
| Baseline (w/ disp.) | 0.727 | 0.632 | 0.689 | 0.849 | 0.627 | 0.760 | 0.807 | 0.640 | 0.741 |
| No displacement aux. | 0.716 | 0.603 | 0.671 | 0.845 | 0.577 | 0.738 | 0.820 | 0.629 | 0.744 |
| HLCA Core | Heart v2 | Pancreas | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Configuration | Bio | Batch | Total | Bio | Batch | Total | Bio | Batch | Total |
| Baseline | 0.727 | 0.632 | 0.689 | 0.849 | 0.627 | 0.760 | 0.807 | 0.640 | 0.741 |
| No adversary | 0.685 | 0.472 | 0.600 | 0.727 | 0.446 | 0.614 | 0.656 | 0.371 | 0.542 |
| , masks | 0.714 | 0.619 | 0.676 | 0.849 | 0.596 | 0.748 | 0.794 | 0.637 | 0.731 |
| HLCA Core | Heart v2 | Pancreas | |
| Batch size | 1024 | 1024 | 512 |
| 0.5 | 0.5 | 0.5 | |
| Adversary weight | 0.5 | 0.5 | 1.0 |
| Adv. progress factor | 1.8 | 1.8 | 1.5 |
| Adv. warmup epochs | 0 | 0 | 0 |
| 1 / 6 | 1 / 6 | 1 / 6 |
| HLCA mono–mac | HLCA lymphoid | |
| Batch size | 1024 | 1024 |
| 0.5 | 0.5 | |
| Adversary weight | 0.7 | 0.5 |
| Adv. progress factor | 1.6 | 1.6 |
| Adv. warmup epochs | 0 | 0 |
| 2 / 6 | 2 / 6 |
| Rare-state detection | |
| Batch size | 1024 |
| 0.35 | |
| Adversary weight | 0.4 |
| Adv. progress factor | 1.0 (CD16 pairs); 1.4 (CD14 pairs) |
| Adv. warmup epochs | 5 |
| 2 / 6 |
| Bio-Conservation | Batch-Correction | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | Iso. Lab. | NMI | ARI | Sil. | cLISI | Bio | BRAS | iLISI | kBET | GC | PCR | Batch | Total |
| GeneJEPA (zero-shot) | |||||||||||||
| LeCellModel | |||||||||||||
| HLCA Core | Pancreas | |||||
| Method | Bio | Batch | Total | Bio | Batch | Total |
| GeneJEPA (zero-shot) | 0.389 | 0.401 | 0.394 | 0.389 | 0.381 | 0.386 |
| GeneJEPA (from scratch) | 0.466 | 0.507 | 0.482 | 0.403 | 0.158 | 0.305 |
| GeneJEPA (fine-tuned) | 0.386 | 0.396 | 0.390 | 0.386 | 0.377 | 0.382 |
| scGPT (zero-shot) | 0.598 | 0.487 | 0.554 | 0.682 | 0.490 | 0.605 |
| scGPT (fine-tuned) | 0.706 | 0.414 | 0.589 | 0.760 | 0.496 | 0.655 |
| Bio-Conservation | Batch-Correction | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | Iso. Lab. | NMI | ARI | Sil. | cLISI | Bio | BRAS | iLISI | kBET | GC | PCR | Batch | Total |
| PCA | |||||||||||||
| Scanorama | |||||||||||||
| Harmony | |||||||||||||
| scVI | |||||||||||||
| LeCellModel | |||||||||||||
| Bio-Conservation | Batch-Correction | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | Iso. Lab. | NMI | ARI | Sil. | cLISI | Bio | BRAS | iLISI | kBET | GC | PCR | Batch | Total |
| PCA | |||||||||||||
| Scanorama | |||||||||||||
| Harmony | |||||||||||||
| scVI | |||||||||||||
| LeCellModel | |||||||||||||
| Bio-Conservation | Batch-Correction | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | Iso. Lab. | NMI | ARI | Sil. | cLISI | Bio | BRAS | iLISI | kBET | GC | PCR | Batch | Total |
| PCA | |||||||||||||
| Scanorama | |||||||||||||
| Harmony | |||||||||||||
| scVI | |||||||||||||
| LeCellModel | |||||||||||||
| Pair | LeCellModel | PCA-kNN | PCA-Mahal | PCA-IForest | scVI-IForest | scVI-recon | scVI-Mahal | scVI-kNN | |
|---|---|---|---|---|---|---|---|---|---|
| IL-10 CD16 | 0.01 | 0.835 | 0.863 | 0.820 | 0.817 | 0.847 | 0.604 | 0.819 | 0.839 |
| 0.03 | 0.844 | 0.822 | 0.773 | 0.738 | 0.797 | 0.561 | 0.748 | 0.769 | |
| 0.05 | 0.854 | 0.801 | 0.745 | 0.742 | 0.704 | 0.565 | 0.719 | 0.739 | |
| 0.10 | 0.832 | 0.751 | 0.698 | 0.704 | 0.663 | 0.557 | 0.656 | 0.683 | |
| IL-10 CD14 | 0.01 | 0.749 | 0.720 | 0.680 | 0.661 | 0.737 | 0.562 | 0.729 | 0.711 |
| 0.03 | 0.756 | 0.702 | 0.674 | 0.679 | 0.677 | 0.556 | 0.694 | 0.666 |
| Pair | LeCellModel | PCA-kNN | PCA-Mahal | PCA-IForest | scVI-IForest | scVI-recon | scVI-Mahal | scVI-kNN | |
|---|---|---|---|---|---|---|---|---|---|
| IL-10 CD16 | 0.01 | 0.085 | 0.054 | 0.045 | 0.046 | 0.129 | 0.015 | 0.081 | 0.093 |
| 0.03 | 0.217 | 0.103 | 0.090 | 0.076 | 0.134 | 0.038 | 0.096 | 0.102 | |
| 0.05 | 0.326 | 0.141 | 0.121 | 0.127 | 0.112 | 0.062 | 0.127 | 0.134 | |
| 0.10 | 0.416 | 0.208 | 0.182 | 0.193 | 0.180 | 0.119 | 0.174 | 0.185 | |
| IL-10 CD14 | 0.01 | 0.024 | 0.020 | 0.017 | 0.017 | 0.028 | 0.012 | 0.026 | 0.024 |
| 0.03 | 0.071 | 0.052 | 0.049 | 0.052 | 0.055 | 0.036 | 0.059 | 0.055 |
| Pair | LeCellModel | PCA-kNN | PCA-Mahal | PCA-IForest | scVI-IForest | scVI-recon | scVI-Mahal | scVI-kNN | |
|---|---|---|---|---|---|---|---|---|---|
| IL-10 CD16 | 0.01 | 0.532 | 0.514 | 0.565 | 0.611 | 0.414 | 0.252 | 0.384 | 0.390 |
| 0.03 | 0.463 | 0.378 | 0.470 | 0.449 | 0.279 | 0.235 | 0.275 | 0.238 | |
| 0.05 | 0.473 | 0.280 | 0.361 | 0.339 | 0.151 | 0.239 | 0.183 | 0.126 | |
| 0.10 | 0.428 | 0.182 | 0.255 | 0.232 | 0.083 | 0.249 | 0.071 | 0.032 | |
| IL-10 CD14 | 0.01 | 0.363 | 0.172 | 0.250 | 0.265 | 0.142 | 0.252 | 0.133 | 0.072 |
| 0.03 | 0.315 | 0.122 | 0.240 | 0.238 | 0.104 | 0.250 | 0.029 | -0.048 |
| Pair | JEPA-SCORE | NN | Mahal. | IForest | |
|---|---|---|---|---|---|
| IL-10 CD14 | 0.01 | 0.746 | 0.312 | 0.314 | 0.525 |
| 0.03 | 0.758 | 0.277 | 0.288 | 0.549 | |
| 0.05 | 0.761 | 0.272 | 0.289 | 0.601 | |
| 0.10 | 0.744 | 0.280 | 0.293 | 0.569 | |
| IL-10 CD16 | 0.01 | 0.837 | 0.273 | 0.273 | 0.576 |
| 0.03 | 0.865 | 0.184 | 0.223 | 0.617 |
| Monocyte-derived macrophages (Module 1) | CD4 T cells (Module 1) | ||||
| Rank | Gene | Rank | Gene | ||
| 1 | CHI3L1 | 1 | FOXP3 | ||
| 2 | ADAMDEC1 | 2 | TNFRSF18 | ||
| 3 | MMP9 | 3 | IL2RA | ||
| 4 | CHIT1 | 4 | TNFRSF9 | ||
| 5 | CTSK | 5 | TNFRSF4 | ||
| Monocyte–macrophage | Lymphoid | |||||
|---|---|---|---|---|---|---|
| Comparison | Overlap | 2% | Overlap | 2% | ||
| Seeds 42, 1, 2, 3 | 0.965 | 90.2% | 99.9% | 0.843 | 89.5% | 99.6% |
| Mask rates , , | 0.936 | 80.6% | 90.6% | 0.877 | 88.2% | 94.2% |
| Poisson resampling off vs. on | 0.954 | 87.1% | 95.0% | 0.894 | 93.1% | 99.5% |
| Gene | Setting | Input grad. | Raw grad. | DE | Expressed |
| CD177 | IPF, CD4 T cells | 2 | 1 | 25 | 37% |
| SIGLEC15 | IPF, mono.-derived macrophages | 9 | 4 | 43 | 50% |
| SPP1 | IPF, mono.-derived macrophages | 414 | 2,875 | 8 | 92% |
| F13A1 | IL-10 CD14 (seed 1) | 1 | 12 | 1 | 59% |
| ALOX15 | IL-4 CD14 (seed 1) | 1 | 3 | 2 | 68% |
| CCL18 | IL-4 CD14 (seed 1) | 8 | 25 | 93 | 14% |