The engineering challenges of foundation models for single‑cell biology
Akram Baharlouei
Altos Labs
Outline
01
Why single cells
02
What to measure
03
Why it's hard: heterogeneity
04
Modeling cells
05
Takeaways
From Tokens to CellsAltos Labs
SECTION 01
Why single cells
Rejuvenation, the path to a virtual human, and a way to bend the cost curve of medicine.
01 · Why single cells
Yamanaka factors (OSKM)
In 2006, Shinya Yamanaka discovered that just four proteins — Oct3/4 · Sox2 · Klf4 · c-Myc — can reset any adult cell to an embryonic-like state. Nobel Prize 2012.
FULL →
Regenerative medicine
Erases age + cell identity. iPSCs can become any tissue type.
PARTIAL →
Cellular rejuvenation
Resets age only. Short OSKM bursts — cell keeps its identity.
From Tokens to CellsAltos Labs
Sarah Teichmann & the Human Cell AtlasFrom Tokens to Cells · Altos Labs
01 · Why single cells
AI at every stage of drug development
1
Research & Development
3–6 years
Target identification Compound screening Lead optimization
↓
AI REPLACES
Protein engineering models Scientific reasoning agents
›
2
Preclinical Studies
1–2 years
In vitro studies In vivo animal models Toxicity testing
↓
AI REPLACES
Virtual cells Virtual tissues & organs In silico toxicity
›
3
Clinical Trials
4–7 years
Phase I, II & III trials Dosage & safety monitoring Patient recruitment
↓
AI REPLACES
Virtual humans In silico trials Synthetic patient cohorts
Two “identical” cells rarely read the same — and not all of it is signal.
03 · Heterogeneity
Technical: variation that isn't biology
batch‑effect
Two labs, two machines, two days — different numbers for the same biology.
dropout
Expressed genes read as zero — absence you can't trust.
depth
Sequencing depth varies cell to cell, rescaling every count.
ambient‑RNA
Free‑floating transcripts contaminate every droplet.
platform
Different chemistries and protocols aren't directly comparable.
The trap: confounds look exactly like signal. Disentangling them is half the modeling problem.
From Tokens to CellsAltos Labs
04 · Modeling cells · an open question
Quantum computing might be a better fit for biology in the future
A cell's state lives in a ~20,000-dimensional gene space. Classical computers search it sequentially. Quantum computers explore many states at once — which might be a natural match. Nobody knows yet.
THE INTUITION
Quantum state spaces scale exponentially with dimension — on paper, that matches the combinatorial complexity of gene co-expression. Molecular simulation is also a natural quantum application.
WHERE WE ACTUALLY ARE
Hardware is noisy, small-scale, and nowhere near the qubit counts needed. No quantum algorithm has shown a real advantage on biological data.
From Tokens to CellsAltos Labs
SECTION 04
Modeling cells
From the obvious choice — transformers — to what actually fits the data.
04 · Modeling cells
The input: a cells × genes count matrix
GAPDH
ACTB
CD3D
CD19
MKI67
TP53
PTPRC
VIM
EPCAM
SOX2
···
Cell_0001
47
31
0
0
0
12
0
0
0
0
···
Cell_0002
0
0
83
0
0
0
38
0
0
0
···
Cell_0003
22
8
0
71
0
0
0
0
0
0
···
Cell_0004
0
0
0
0
94
0
0
0
27
0
···
Cell_0005
0
14
0
0
0
0
0
59
0
0
···
⋮
⋮
⋮
⋮
⋮
⋮
⋮
⋮
⋮
⋮
~20,000 genes (columns)
ROWS
Cells
Thousands to millions per experiment. Each row is one destroyed cell.
COLUMNS
Genes ~20,000
Every known human gene. No natural ordering.
VALUES
Integer UMI counts
80–95% zeros. Sparse, non-negative, not normally distributed.
From Tokens to CellsAltos Labs
04 · Modeling cells
First instinct: treat genes like tokens
WHAT WE TRIED
scGPT, Geneformer & friends
Rank or tokenize expression, run the language‑model playbook, self‑supervise on millions of cells with masked / next‑gene prediction.
TRAINING DATA
scGPT33M human cells · CellxGene Census · 51 tissues
Geneformer29.9M cells · 100+ datasets · 30 organs
WHY IT STALLS
No order. Genes aren't a sequence — position is meaningless.
Continuous, not categorical. Expression is a magnitude; tokenizing discards it.
Mostly zeros. A ~20k‑dim, sparse vector wastes the objective on absence.
The token objective optimizes the wrong thing — it discards the magnitudes that carry the biology. → sc‑gene‑scope
From Tokens to CellsAltos Labs
04 · Modeling cells
The deeper problem: the latent bottleneck loses information
Real cell
~20,000 genes
→
Encoder
→
Latent vector
compressed · lossy
→
Decoder
→
Reconstruction
≠ the original
Downstream on the embedding
Tasks run on the latent — inheriting whatever it failed to keep.
Reconstruction is wrong
The rare, sparse signal that matters most is the first thing compressed away.
So: preserve the information
Build models that keep the full expression — which leads us to flow matching.
From Tokens to CellsAltos Labs
04 · Modeling cells
Flow matching: transport a distribution from noise to data
THE ODE
dX_t/dt = u_t(X_t)
A neural network learns the velocity field u_t that drives each point from Gaussian noise to the data distribution.
STRAIGHT PATHS
x_t = (1−t)·x₀ + t·z
Linear interpolation between noise and data. No stochastic noise mid-trajectory — unlike diffusion, paths are straight.
FOR CELLS
Sample any cell state
Draw noise → follow u_t → land in the distribution of perturbed cell states. Works directly in full 20k-gene space.
The bottleneck compresses away the rare, sparse signal that matters most.
PRIMEFLOW
raw expression vectors→flow matching→predicted distribution
No autoencoder, no latent — the model sees the real cell, nothing thrown away.
Sharper perturbation prediction, better‑preserved heterogeneity — at the cost of working in a high‑dimensional space.
From Tokens to CellsAltos Labs
SECTION 05
Takeaways
Where we are, what works, and what's still hard.
05 · Conclusion
Three things to take away
01
Single cell is the right unit of study
Cellular rejuvenation, a path to a digital human, and a better drug development cycle — none of this is possible without resolving biology at the single-cell level.
02
scRNA-seq scales — other modalities still lag
We have high-throughput transcriptomics at millions of cells. Proteomics, spatial, and epigenomics are catching up — technological advances in those modalities will reshape what's learnable.
03
Flow matching fits the data — but we need more of it
Transformers hit a ceiling on continuous, unordered gene expression. Flow matching better captures the full distribution of cell states. The next frontier: more and better data to generalize across cell types and organisms.