MODEL LEARNING PATH
Geneformer
Original Geneformer V1 encodes a ranked list of expressed genes with a bidirectional transformer. Contextual gene and cell representations support supervised tasks and comparisons after in-silico token edits.
Loading the interactive page…
An early landmark connecting large-corpus rank-token pretraining to small-data network-biology tasks, with targeted cardiomyocyte experimental follow-up in its original study. It is featured for the transfer-learning idea and scientific hypotheses, not for proven universal cell simulation or best zero-shot performance.
Chapters
Rank the transcriptome
Normalize expression with supplied corpus medians, then embed gene identities and rank positions.
Rank normalized expression and embed gene identity separately from rank.
Encode gene context
A bidirectional BERT-style encoder produces representations and supports masked gene-identity supervision.
Contextualize ranked genes and supervise selected gene identities.
Read and adapt representations
Pool contextual states or train a task-specific gene/cell classifier.
Pool valid contextual states or apply a task-specific readout.
Edit, re-encode and compare
Delete or promote gene tokens, run the encoder again, then compare the resulting states.
Edit gene tokens, re-encode the sequence and compare contextual representations.
All exercises in this guide
- Masked Sum
- Masked Mean
- Corpus-normalized gene rank tokenization
- Token Embedding Lookup
- Layer Normalization
- ReLU
- Affine Projection
- Affine projection and embedding lookup
- Feedforward Block
- Masked Softmax
- Multi-head attention with masks and additive bias
- LayerNorm and RMSNorm from reductions
- Activations and gated feed-forward transitions
- Masked sums, means and weighted reductions
- Delete Gene Tokens
- Promote Gene Tokens
- Gene-token deletion and rank promotion
- Stable vector norms, normalization, dot and cross features
- Paired gene-embedding perturbation statistics
- Masked Log-Sum-Exp
- Categorical Cross-Entropy
- Stable categorical and binary classification losses