Manuscript Offprint
arXiv:2611.02311CytoWave: Perturbation-Centric Pretraining for Single-Cell Response Prediction
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Predicting gene expression under perturbations from single-cell data is a fundamental task for modeling cellular responses, with applications in discovering gene function and designing therapeutics. However, existing methods often struggle to generalize across datasets due to differences in experimental protocols, biological contexts, and species. We present CytoWave, a perturbation-centric pretraining framework for single-cell genetic perturbation response prediction. We leverage large-scale cross-species perturbation datasets unified via orthology and train CytoWave in a two-stage manner. In the first stage, we learn reference control cell states via masked gene expression recovery on unperturbed cells. In the second stage, we pretrain the model to predict perturbed gene expression given control states and perturbation signals, together with a contrastive objective that aligns latent representations of perturbation responses with perturbation signals. We perform strict dataset-held-out evaluation across multiple condition combinations and case studies of pathway activity changes, demonstrating consistent and effective performance of CytoWave in predicting single-cell genetic perturbation responses.
1 Introduction
Single-cell genetic perturbation experiments measure transcriptomic responses to targeted gene perturbations at single-cell resolution, providing a rich data source for characterizing gene function, regulatory relationships, and cellular state variation. Compared to unperturbed single-cell atlases, perturbation data links perturbation targets to expression responses, enabling comparison of perturbation responses across cellular contexts and experimental conditions [1, 2]. These perturbation-response data provide a rich basis for learning generalizable representations of gene function and cellular response patterns [3, 4]. Advances in Perturb-seq and CRISPR-based technologies have led to the accumulation of large-scale perturbation datasets with increasing gene coverage and experimental diversity, supporting cross-dataset and cross-condition pretraining [1, 2, 5, 6]. In this context, a variety of methods have been developed for modeling single-cell perturbation responses.
Existing methods for single-cell perturbation modeling have demonstrated strong potential in capturing gene expression responses and highlight the importance of accurately predicting cellular responses after genetic perturbations [3, 7, 8, 9, 10, 11]. These approaches are often developed for specific datasets or experimental conditions using supervised training, or applied from general single-cell models to perturbation tasks through downstream fine-tuning. Recent CRISPR-based wet-lab experi-
40th Conference on Neural Information Processing Systems (NeurIPS 2026).
ments have covered a broader set of perturbed genes, achieved deeper read depth, and incorporated diverse experimental conditions, contributing to the increasing scale and diversity of perturbation data [12, 13, 14, 15, 16, 6, 5]. This evolving data landscape makes it possible and promising to extend existing approaches toward perturbation-centric pretraining, motivating the unification of large-scale datasets across diverse experimental conditions, gene identifiers, and species.
With this growing data landscape, an important question is how to represent perturbation responses in a way that supports generalization across diverse cellular contexts. Modeling single-cell genetic perturbations requires going beyond fitting individual gene expression responses. Biologically, the transcriptional state of a cell is governed by gene regulatory programs that shape expression patterns across functionally related genes [17, 18]. Perturbations propagate through these programs to induce global transcriptional responses rather than isolated gene-level changes [1, 14]. Regulatory programs are often shared across cellular contexts, and perturbations acting through similar regulatory mechanisms can induce related patterns of cellular response across different cells. These observations suggest that perturbation responses depend on both the initial cellular state and the applied perturbation. Rather than modeling this relationship independently for each cell, we parameterize perturbation responses within a shared latent representation space, where perturbations are represented through cellular-state-dependent response patterns. This provides a unified way to represent related perturbation response patterns across different cellular contexts.
To address these challenges, we propose CytoWave, a perturbation-centric pretraining framework for single-cell genetic perturbation modeling. We begin by systematically collecting and organizing large-scale perturbation datasets across studies and species, and unify them through orthology-based gene alignment and standardized metadata vocabularies. This enables pretraining on diverse perturbation data under a unified setting, with evaluation datasets held out from pretraining. Building on this unified data foundation, CytoWave models perturbation-dependent changes in latent cellular states. The model is trained in a two-stage manner. First, it learns reference control cell representations from unperturbed data. It then predicts perturbed gene expression from control states and perturbation signals, together with a contrastive objective that aligns latent state changes with perturbation signals. Together, these design choices define a unified framework for learning perturbation-aware representations and support generalization across genes and experimental conditions. The main contributions of this work can be summarized as follows:
- We collect and unify 42 single-cell genetic perturbation datasets across 19 studies and 2 species using orthology-based gene alignment and standardized metadata, resulting in a corpus of 24.7 million cells for pretraining and dataset-held-out benchmarking.
- We introduce CytoWave, a perturbation-centric pretraining framework learning perturbation-aware representations by modeling perturbation-dependent changes in latent cellular states.
- CytoWave generalizes under dataset-held-out evaluation, accurately predicting genetic perturbation responses and capturing perturbation-associated pathway activity changes.
2.1 Single-cell Pretrained Models in Perturbation
In recent years, several single-cell pretrained models have included genetic perturbation tasks in downstream evaluations to assess their applicability to perturbation modeling [7, 11]. Among these, scGPT performs large-scale generative pretraining on single-cell transcriptomic data and subsequently applies the learned representations to perturbation response prediction, treating perturbations as conditional inputs during downstream modeling [7]. Similarly, scFoundation is pretrained on large collections of single-cell data and evaluated across a range of downstream tasks, including genetic perturbation settings, demonstrating the applicability of pretrained representations in perturbation-related analyses [11]. Beyond within-species modeling, GeneCompass incorporates cross-species information and external biological knowledge into a unified framework and evaluates its representations on perturbation-related tasks, highlighting the potential of cross-species pretraining [19]. In addition, several approaches leverage pretrained language model embeddings for perturbation prediction. Methods such as GenePert, scouter, and scELMo leverage pretrained representations as gene- or cell-level features for perturbation prediction [10, 20, 21], while recent work, including Geneformer and LPM, further explores large-scale pretraining for learning general-purpose representations applicable to

Figure 1: CytoWave architecture and two-stage self-supervised pretraining. Stage 1: Learning control representations via masked gene expression and recovery using a joint Transformer encoder with FiLM-conditioned gene embeddings. Stage 2: Learning a genetic perturbation operator by jointly predicting cellular responses after perturbation (MSE loss) and contrastive perturbation alignment, where predicted perturbation embeddings are aligned with ground-truth masked perturbation embeddings with in-batch InfoNCE loss.
perturbation-related tasks [22, 23]. These models are typically pretrained on unperturbed single-cell expression data, with genetic perturbation incorporated at the downstream stage. CytoWave further introduces a perturbation-centric pretraining framework that learns perturbation-aware representations by modeling perturbation-dependent changes in latent cellular states.
2.2 Genetic Perturbation Models
Many existing methods for single-cell perturbation modeling are formulated as dataset-specific supervised models, typically trained and evaluated within a single dataset and experimental setting [8, 9, 24, 10, 25]. CPA introduces a compositional representation in latent space, where perturbation responses are factorized and combined to support prediction under complex and combinatorial perturbation settings [8]. GEARS focuses on generalizing to unseen multi-gene perturbations by incorporating gene interaction networks to capture dependencies among perturbed genes [9]. AttentionPert models interactions among perturbed genes through attention mechanisms, enabling it to capture joint effects under multiplexed perturbations [24]. In addition to these deep learning approaches, simple baselines including linear models and mean-based predictors are commonly included in perturbation benchmarks, and recent studies have evaluated their performance alongside more complex models under diverse settings [25, 26]. Beyond direct prediction of expression responses, another line of work models perturbation responses at the distribution level. Optimal transport-based methods learn population-level mappings between control and perturbed cells [27]. Flow-based approaches model population-level response distributions in expression space [28]. Probabilistic methods rely on latent variable formulations to describe perturbation responses and provide uncertainty-aware representations [29]. These approaches offer complementary perspectives by modeling perturbation-dependent changes beyond pointwise prediction. Building on these advances, CytoWave extends the modeling framework by introducing perturbation-centric pretraining across diverse datasets and condition combinations. Instead of focusing on a single experimental setting, it incorporates diverse large-scale perturbation data to learn perturbation-aware representations, improving robustness and generalization across various biological contexts.
3 Methods
3.1 Problem Formulation
Let denote a gene vocabulary with genes, and let denote a shared vocabulary of categorical metadata tokens (e.g., cell line, species, perturbation technology, and other experimental conditions).
We study large-scale pretraining for modeling single-cell genetic perturbation responses from a unified perturbation corpus. Each perturbation example is represented as a tuple , where is a control expression profile, is a perturbed expression profile measured under the same experimental condition. Control cells within the same experiment are treated as a reference population for perturbed cells under matched conditions. For each perturbed cell, a reference control profile is sampled from control cells sharing the same experimental context and metadata group (e.g., cell type and stimulation condition). These reference controls are used to define baseline cellular states for perturbation response modeling and evaluation. is the set of perturbed genes (single- or multi-gene), and is a sequence of metadata tokens.
The objective of pretraining is to learn transferable representations of cellular state and perturbation responses that generalize across datasets, biological conditions, and perturbation combinations. For downstream perturbation response prediction, the model takes as input and predicts the post-perturbation expression . For evaluation, perturbation responses are measured as expression changes relative to the control profile. This formulation aims to learn perturbation responses that generalize across diverse cellular contexts, datasets, and perturbation combinations.
3.2 CytoWave Architecture
The model is implemented as a Transformer-based encoder–operator–decoder architecture. This design decomposes perturbation modeling into encoding cellular states, modeling perturbation-dependent changes, and decoding gene-level responses. As shown in Figure 1, CytoWave consists of a shared encoder that maps expression profiles and metadata to a latent cell state , a perturbation embedder that encodes perturbation sets , a perturbation operator that models perturbation-dependent changes in latent cellular states, and a query-based decoder that predicts gene expression values from latent states.
Input tokenization. A unified vocabulary is defined over genes and metadata tokens, denoted by and , respectively. To enable consistent modeling across species and experimental conditions, genes are mapped to orthology groups, which group homologous genes with conserved functions across species, providing a stable and biologically grounded basis for representing perturbations across datasets.
All tokens are embedded using a shared lookup table , together with a learned role embedding to distinguish their semantic roles (gene, perturbation, or metadata). For a token , the base embedding is given by
Gene expression values are log-normalized as . To improve computational efficiency and reduce sensitivity to sequencing depth variation and low-abundance noise, a sparse input is adopted by retaining only expressed genes,
To preserve continuous expression magnitudes that are important for modeling fine-grained perturbation responses, expression values are incorporated via FiLM [30]. For an expressed gene with value , a value-conditioned token is constructed as
where is a small MLP and denotes element-wise multiplication.
The resulting tokens are input into the Transformer encoder without positional encodings, ensuring permutation invariance consistent with the unordered nature of transcriptomic data.
Transformer encoder and cell state aggregation. For each cell , FiLM-conditioned gene tokens and metadata tokens are combined into a single set
A stack of Transformer encoder layers processes this unordered set without positional encodings, producing contextualized token states that capture gene–gene and gene–metadata interactions. The latent cell state is obtained by aggregating the contextualized token states via mean pooling:
Perturb signal representation and operator. A (multi-)gene perturbation set is embedded using a permutation-invariant mapping , implemented as:
The perturbation operator models perturbation-dependent changes in latent cellular states. Given the control cell state , it predicts perturbation-dependent latent state changes and applies it additively:
where is an MLP and denotes concatenation.
Query-based decoder. To predict gene expression from latent cell states, we adopt a query-based decoding scheme. Given a latent state and a target gene , a gene-specific query is formed as
which is mapped to a scalar prediction:
This formulation enables flexible prediction over arbitrary subsets of genes and naturally supports both masked recovery and perturbation-conditioned expression prediction.
State Change–Perturbation Alignment Head. We define as the mean-pooled representation of metadata tokens for cell . To align perturbation signals with latent state changes, we encode both control and perturbed profiles and define the latent state change:
During training, perturbation annotations are partially masked to obtain an observed subset . The alignment head maps the latent state change together with contextual information to a predicted perturbation embedding:
3.3 Training Objectives
CytoWave is pretrained using a two-stage framework. In Stage 1, the model learns representations of cellular state by reconstructing masked gene expression from control cells. In Stage 2, the model learns perturbation-dependent state changes between reference control states and perturbed cellular states, with bidirectional objectives that combine direct perturbation response prediction and reverse perturbation signal alignment. Our goal is to learn transferable representations of cellular state and perturbation signals from a unified perturbation corpus, enabling generalization across datasets, conditions, and perturbation combinations.
3.3.1 Stage 1: Reference Cell State Modeling via Masked Recovery
Stage 1 learns perturbation-agnostic representations of cellular state from control profiles, providing a reference baseline for modeling perturbation-dependent changes. This is achieved via masked gene-value recovery on control cells.
Given a control expression profile , a subset of expressed genes is randomly sampled with ratio and masked to form a corrupted input . For each masked gene , we predict
The model is trained to minimize mean-squared error over masked entries:
3.3.2 Stage 2: Bidirectional Learning of Perturbation-Dependent Latent State Changes
Stage 2 models perturbation-dependent changes between reference control states and perturbed cellular states. The model predicts post-perturbation gene expression conditioned on control states and perturbation signals. Direct prediction captures the resulting expression patterns. To further couple learned latent state changes with perturbation signals, we introduce a bidirectional learning scheme that combines direct perturbation response prediction (Stage 2A) with inverse perturbation signal alignment via masked perturbation tokens (Stage 2B). This design encourages the learned latent state changes to remain grounded in perturbation signals.
Stage 2A: Direct Perturbation Response Prediction Training pairs are constructed by sampling control cells from the same experimental condition and matched metadata group for each perturbed cell. Given , we compute , , and . Supervision is applied on a sampled query set with ratio , where
The loss is
Stage 2B: Reverse Perturbation Signal Alignment The perturbation set is split into and by masking each perturbation with probability , ensuring , and defining . We compute the latent state change
and predict perturbation embeddings
Alignment is enforced using an in-batch InfoNCE loss, where denotes cosine similarity and is the temperature hyperparameter:
Stage 2 Overall Objective The direct perturbation response prediction and reverse perturbation signal alignment objectives are jointly optimized:
4 Experiments
4.1 Datasets
To support large-scale, cross-condition, and cross-species modeling of single-cell genetic perturbation responses, we provide a unified orthology-aligned pretraining corpus curated from 19 independent studies [5, 31, 15, 1, 32, 33, 34, 35, 36, 37, 12, 38, 39, 40, 41, 13, 42, 43, 44]. The resulting corpus comprises 42 datasets from human and mouse experiments, totaling approximately 24.7 million single-cell transcriptomes.

Figure 2: Overview of datasets collected for CytoWave. Bar lengths represent the number of control cells (lighter color) and perturbed cells (darker color) in each dataset. The central marker indicates the year of dataset publication (2016–2025).
We show the dataset year distribution and the proportion of control versus perturbed cells in Figure 2. All datasets are mapped to orthology identifiers and represented in a unified sparse format with consistent gene and perturbation vocabularies. Each cell is annotated with a standardized set of metadata tokens describing species, cellular context, cell line, lineage, perturbation technology, disease state, and stimulation conditions, with control cells serving as baseline references within each experimental condition. Details on data collection and statistics are given in the Appendices B and C.
From the curated corpus, we construct a downstream benchmark to evaluate cross-dataset generalization. We adopt a dataset-held-out protocol: five representative datasets are excluded from pretraining and used exclusively for evaluation. These datasets cover diverse experimental conditions, including different species, CRISPR technologies, cell types, and biological contexts [31, 33, 12, 39]. CytoWave is pretrained on the remaining datasets, allowing us to assess whether learned perturbation representations transfer to unseen condition combinations. After pretraining, CytoWave is finetuned on the training split of each held-out downstream dataset and evaluated on the corresponding test split.
4.2 Baselines
CytoWave is compared with a diverse set of baselines covering different modeling paradigms. Simple statistical baselines include Linear [25] and TrainMean, while basic machine learning baselines include BaseReg and BaseMLP [45]. Supervised perturbation-specific models include CPA [8] and GEARS [9]. Pretrained single-cell models are also evaluated on perturbation tasks. scGPT [7] is included to represent the finetuning performance of single-cell pretrained models. All pretrained models, including CytoWave, are finetuned on the downstream training split before evaluation. Representation-based transfer methods include GenePert [10] and scouter [20]. Recently proposed generative and pretrained frameworks, including scLDM [29], LPM [23], and GeneFormer [22], are additionally included to provide a comprehensive comparison across modeling paradigms.
4.3 Results
CytoWave is evaluated on gene-level perturbation response prediction. Performance is assessed using three complementary metrics. PCC measures the correlation between predicted and ground-truth expression changes. PCC focuses on the most responsive genes. MAE quantifies the magnitude of prediction errors over genes with measurable expression activity in either the control or perturbed profile. A pathway-level analysis based on AUCell is included as a biological case study to examine whether predicted responses recover known pathway activities. An ablation study analyzes the contributions of different pretraining stages and metadata inputs. Results are averaged over three random seeds (0, 1, and 2). All methods are evaluated under the same cell-level protocol for consistency. Deterministic population-level predictors may therefore be conservative under single-cell PCC evaluation.
Table 1: Single-gene perturbation prediction across all datasets. We report MAE (lower is better) together with PCC and PCC (higher is better).
| Method | MAE (lower is better) | ||||
|---|---|---|---|---|---|
| DatlingerBock2017 | DatlingerBock2017(Stim) | PapalexiSatija2021 | GasperiniShendure2019 | SantinhaPlatt2023 | |
| BaseReg | 2.016 | 1.996 | 2.200 | 2.547 | 2.057 |
| Linear | 2.038 | 2.003 | 2.200 | 2.627 | 2.057 |
| TrainMean | 2.007 | 2.000 | 2.214 | 2.519 | 2.057 |
| BaseMLP | 2.017 ± 0.015 | 1.976 ± 0.030 | 2.314 ± 0.006 | 2.632 ± 0.031 | 2.134 ± 0.014 |
| CPA | 1.080 ± 0.009 | 0.982 ± 0.008 | 0.997 ± 0.004 | 1.332 ± 0.005 | 1.001 ± 0.004 |
| GEARS | 1.845 ± 0.033 | 1.224 ± 0.025 | 1.354 ± 0.024 | 1.738 ± 0.018 | 1.258 ± 0.009 |
| scGPT | 1.883 ± 0.021 | 1.698 ± 0.037 | 1.407 ± 0.044 | 2.145 ± 0.011 | 1.986 ± 0.075 |
| GenePert | 2.001 ± 0.002 | 2.016 ± 0.003 | 2.223 ± 0.003 | 3.454 ± 0.079 | 2.059 ± 0.001 |
| scouter | 2.032 ± 0.012 | 2.012 ± 0.010 | 2.628 ± 0.011 | 2.541 ± 0.009 | 2.151 ± 0.007 |
| scLDM | 1.229 ± 0.054 | 1.162 ± 0.047 | 1.014 ± 0.026 | 1.355 ± 0.019 | 1.575 ± 0.030 |
| LPM | 1.184 ± 0.016 | 1.421 ± 0.035 | 1.115 ± 0.018 | 1.787 ± 0.025 | 1.231 ± 0.025 |
| GeneFormer | 1.210 ± 0.043 | 1.333 ± 0.024 | 1.584 ± 0.014 | 1.688 ± 0.045 | 1.258 ± 0.014 |
| CytoWave-S1 | 1.082 ± 0.011 | 0.891 ± 0.012 | 0.852 ± 0.018 | 1.298 ± 0.005 | 0.871 ± 0.018 |
| CytoWave-w/o Meta | 1.144 ± 0.020 | 0.921 ± 0.007 | 0.885 ± 0.021 | 1.317 ± 0.007 | 0.957 ± 0.022 |
| CytoWave-S2 | 1.077 ± 0.031 | 0.867 ± 0.009 | 0.791 ± 0.006 | 1.133 ± 0.009 | 0.833 ± 0.011 |
| ΔPCC (higher is better) | |||||
| BaseReg | -0.075 | 0.002 | 0.181 | 0.037 | 0.006 |
| Linear | -0.059 | 0.019 | 0.119 | 0.024 | 0.014 |
| TrainMean | -0.097 | -0.148 | 0.223 | 0.026 | 0.008 |
| BaseMLP | 0.026 ± 0.027 | 0.098 ± 0.032 | 0.213 ± 0.008 | 0.057 ± 0.002 | 0.058 ± 0.002 |
| CPA | 0.132 ± 0.020 | 0.237 ± 0.025 | 0.251 ± 0.021 | 0.102 ± 0.017 | 0.101 ± 0.011 |
| GEARS | 0.012 ± 0.013 | 0.002 ± 0.005 | -0.010 ± 0.006 | -0.001 ± 0.008 | 0.006 ± 0.004 |
| scGPT | 0.026 ± 0.004 | 0.034 ± 0.007 | 0.042 ± 0.010 | 0.036 ± 0.006 | 0.003 ± 0.001 |
| GenePert | -0.009 ± 0.010 | -0.028 ± 0.010 | 0.056 ± 0.013 | -0.018 ± 0.015 | -0.013 ± 0.004 |
| scouter | -0.031 ± 0.012 | 0.018 ± 0.016 | 0.182 ± 0.013 | 0.066 ± 0.001 | 0.025 ± 0.004 |
| scLDM | 0.008 ± 0.001 | 0.006 ± 0.001 | 0.005 ± 0.002 | 0.031 ± 0.004 | 0.055 ± 0.008 |
| LPM | -0.035 ± 0.002 | 0.153 ± 0.001 | 0.173 ± 0.029 | 0.035 ± 0.003 | 0.100 ± 0.013 |
| GeneFormer | 0.001 ± 0.000 | 0.011 ± 0.002 | 0.012 ± 0.001 | 0.001 ± 0.001 | 0.005 ± 0.001 |
| CytoWave-S1 | 0.187 ± 0.021 | 0.278 ± 0.012 | 0.252 ± 0.008 | 0.108 ± 0.001 | 0.108 ± 0.008 |
| CytoWave-w/o Meta | 0.185 ± 0.018 | 0.268 ± 0.014 | 0.250 ± 0.019 | 0.107 ± 0.005 | 0.102 ± 0.009 |
| CytoWave-S2 | 0.189 ± 0.008 | 0.279 ± 0.010 | 0.255 ± 0.014 | 0.112 ± 0.005 | 0.107 ± 0.004 |
| ΔPCC (higher is better) | |||||
| BaseReg | -0.079 | -0.076 | 0.200 | 0.078 | 0.028 |
| Linear | -0.044 | -0.026 | 0.133 | 0.056 | 0.019 |
| TrainMean | -0.136 | -0.169 | 0.135 | 0.055 | 0.038 |
| BaseMLP | 0.016 ± 0.025 | 0.060 ± 0.015 | 0.243 ± 0.001 | 0.084 ± 0.003 | 0.130 ± 0.026 |
| CPA | 0.261 ± 0.003 | 0.328 ± 0.001 | 0.304 ± 0.004 | 0.149 ± 0.009 | 0.246 ± 0.003 |
| GEARS | -0.014 ± 0.012 | 0.018 ± 0.017 | -0.014 ± 0.023 | -0.004 ± 0.020 | 0.002 ± 0.015 |
| scGPT | 0.047 ± 0.010 | 0.053 ± 0.009 | 0.084 ± 0.011 | 0.047 ± 0.005 | 0.072 ± 0.013 |
| GenePert | -0.022 ± 0.010 | -0.057 ± 0.003 | 0.079 ± 0.020 | -0.039 ± 0.022 | 0.014 ± 0.006 |
| scouter | 0.160 ± 0.009 | 0.214 ± 0.006 | 0.232 ± 0.013 | 0.139 ± 0.004 | 0.113 ± 0.006 |
| scLDM | -0.065 ± 0.011 | 0.010 ± 0.022 | 0.048 ± 0.008 | 0.139 ± 0.050 | 0.114 ± 0.020 |
| LPM | -0.003 ± 0.011 | 0.095 ± 0.014 | 0.296 ± 0.018 | 0.056 ± 0.004 | 0.200 ± 0.018 |
| GeneFormer | -0.009 ± 0.007 | -0.020 ± 0.003 | 0.220 ± 0.003 | 0.006 ± 0.008 | 0.175 ± 0.005 |
| CytoWave-S1 | 0.267 ± 0.020 | 0.300 ± 0.008 | 0.302 ± 0.008 | 0.142 ± 0.003 | 0.243 ± 0.011 |
| CytoWave-w/o Meta | 0.265 ± 0.025 | 0.313 ± 0.011 | 0.282 ± 0.023 | 0.150 ± 0.007 | 0.248 ± 0.019 |
| CytoWave-S2 | 0.272 ± 0.006 | 0.330 ± 0.002 | 0.305 ± 0.001 | 0.151 ± 0.005 | 0.251 ± 0.005 |
4.3.1 Perturbation Response Prediction
Table 1 summarizes genetic perturbation prediction performance across five evaluation datasets, reported using PCC, PCC, and MAE. CytoWave-S2 consistently achieves the strongest performance across all metrics, demonstrating stable improvements across datasets. It shows robust performance across diverse regimes, including both unstimulated and stimulated conditions (Datlinger-Bock2017), datasets with dense cellular coverage (PapalexiSatija2021), and large-scale perturbation screens with many targets (GasperiniShendure2019). Strong results are also observed on SantinhaPlatt2023, indicating effective generalization across species and experimental settings. Overall, these results suggest that CytoWave provides a reliable and consistent solution for predicting genetic perturbation responses across different species and experimental conditions.

Figure 3: Ground-truth and predicted pathway activity changes across multiple single-cell perturbation datasets. An illustrative subset of high-agreement pathways and perturbations is shown. Top panels denote ground truth, and bottom panels denote predictions.
4.3.2 Case Study: Pathway Activity
To assess whether CytoWave captures biologically meaningful perturbation responses beyond gene-level expression, we examine pathway activity using AUCell scores based on the Hallmark 50 gene sets. AUCell scores are computed on both ground-truth and predicted expression profiles to obtain pathway-level representations. Figure 3 shows pathway activity patterns across five benchmark datasets. CytoWave recovers consistent activation and repression patterns associated with perturbations, with strong agreement between predicted and ground-truth heatmaps. This agreement is observed across different experimental settings, suggesting that the model captures coherent biological responses at the pathway level. Overall, the alignment of pathway activity patterns provides interpretable evidence that CytoWave captures structured perturbation responses beyond individual gene-level predictions. Additional details and extended results are provided in Appendix E.
4.3.3 Ablation Study
We conduct ablation studies to analyze the contribution of different components in CytoWave, including Stage 1 pretraining, Stage 2 perturbation-aware learning, and metadata inputs. CytoWave-S1 already achieves strong performance, indicating that large-scale pretraining on control cells provides a solid foundation for modeling transcriptional states. Building on this, CytoWave-S2 consistently improves performance across all evaluation metrics, demonstrating the benefit of incorporating perturbation-aware learning. Additional results further show that metadata contributes to performance while not being the sole driver of improvements. Overall, these results highlight the complementary roles of large-scale pretraining and perturbation-aware learning in improving prediction performance.
5 Conclusion
We present CytoWave, a large-scale perturbation-centric pretraining framework for single-cell genetic perturbation modeling. By unifying cross-species perturbation datasets through orthology alignment and adopting a two-stage self-supervised pretraining strategy, CytoWave learns perturbation-aware representations that generalize across genes and experimental contexts. Across multiple benchmarks, CytoWave achieves strong and consistent performance, demonstrating the effectiveness of perturbation-centric pretraining. These results suggest that incorporating perturbation data during pretraining improves the modeling of transcriptional responses and supports the capture of structured biological response patterns. As large-scale perturbation datasets continue to grow in size, diversity, and experimental coverage, explicitly modeling perturbation responses during pretraining provides a promising direction for scalable and transferable representation learning in single-cell biology.
6 Acknowledgement
This work was partially supported by US National Science Foundation IIS-2412195, CCF-2400785, the Cancer Prevention and Research Institute of Texas (CPRIT) award (RP230363), the National Institutes of Health (NIH) R01 awards (1R01AI190103-01 and 1R01LM015497-01).
References
[1] Atray Dixit, Oren Parnas, Biyu Li, Jenny Chen, Charles P Fulco, Livnat Jerby-Arnon, Ne-manja D Marjanovic, Danielle Dionne, Tyler Burks, Raktima Raychowdhury, et al. Perturb-seq: dissecting molecular circuits with scalable single-cell rna profiling of pooled genetic screens. cell, 167(7):1853–1866, 2016.
[2] Martin Kampmann. Crispri and crispra screens in mammalian cells for precision biology and medicine. ACS chemical biology, 13(2):406–416, 2018.
[3] Mohammad Lotfollahi, F Alexander Wolf, and Fabian J Theis. scgen predicts single-cell perturbation responses. Nature methods, 16(8):715–721, 2019.
[4] Mohammad Lotfollahi, Anna Klimovskaia Susmelj, Carlo De Donno, Yuge Ji, Ignacio L Ibarra, F Alexander Wolf, Nafissa Yakubova, Fabian J Theis, and David Lopez-Paz. Compositional perturbation autoencoder for single-cell response modeling. BioRxiv, 2021.
[5] Ronghui Zhu, Emma Dann, Jun Yan, Justine Reyes Retana, Ryunosuke Goto, Reese C. Guitche, Lillian K. Petersen, Mineto Ota, Jonathan K. Pritchard, and Alexander Marson. Genome-scale perturb-seq in primary human cd4+ t cells maps context-specific regulators of t cell programs and human immune traits. bioRxiv, 2025.
[6] Stefan Peidli, Tessa D Green, Ciyue Shen, Torsten Gross, Joseph Min, Samuele Garda, Bo Yuan, Linus J Schumacher, Jake P Taylor-King, Debora S Marks, et al. scperturb: harmonized single-cell perturbation data. Nature Methods, 21(3):531–540, 2024.
[7] Haotian Cui, Chloe Wang, Hassaan Maan, Kuan Pang, Fengning Luo, Nan Duan, and Bo Wang. scgpt: toward building a foundation model for single-cell multi-omics using generative ai. Nature methods, 21(8):1470–1480, 2024.
[8] Mohammad Lotfollahi, Anna Klimovskaia Susmelj, Carlo De Donno, Leon Hetzel, Yuge Ji, Ignacio L Ibarra, Sanjay R Srivatsan, Mohsen Naghipourfar, Riza M Daza, Beth Martin, et al. Predicting cellular responses to complex perturbations in high-throughput screens. Molecular systems biology, 19(6):e11517, 2023.
[9] Yusuf Roohani, Kexin Huang, and Jure Leskovec. Predicting transcriptional outcomes of novel multigene perturbations with gears. Nature Biotechnology, 42(6):927–935, 2024.
[10] Y Chen and J Zou. Genepert: Leveraging genept embeddings for gene perturbation prediction. biorxiv, 2024.
[11] Minsheng Hao, Jing Gong, Xin Zeng, Chiming Liu, Yucheng Guo, Xingyi Cheng, Taifeng Wang, Jianzhu Ma, Xuegong Zhang, and Le Song. Large-scale foundation model on single-cell transcriptomics. Nature methods, 21(8):1481–1491, 2024.
[12] Efthymia Papalexi, Eleni P Mimitou, Andrew W Butler, Samantha Foster, Bernadette Bracken, William M Mauck III, Hans-Hermann Wessels, Yuhan Hao, Bertrand Z Yeung, Peter Smibert, et al. Characterizing the molecular regulation of inhibitory immune checkpoints with multimodal single-cell screens. Nature genetics, 53(3):322–331, 2021.
[13] Ruilin Tian, Anthony Abarientos, Jason Hong, Sayed Hadi Hashemi, Rui Yan, Nina Dräger, Kun Leng, Mike A Nalls, Andrew B Singleton, Ke Xu, et al. Genome-wide crispri/a screens in human neurons link lysosomal failure to ferroptosis. Nature neuroscience, 24(7):1020–1034, 2021.
[14] Britt Adamson, Thomas M Norman, Marco Jost, Min Y Cho, James K Nuñez, Yuwen Chen, Jacqueline E Villalta, Luke A Gilbert, Max A Horlbeck, Marco Y Hein, et al. A multiplexed single-cell crispr screening platform enables systematic dissection of the unfolded protein response. Cell, 167(7):1867–1882, 2016.
[15] Paul Datlinger, André F Rendeiro, Thorina Boenke, Martin Senekowitsch, Thomas Krausgruber, Daniele Barreca, and Christoph Bock. Ultra-high-throughput single-cell rna sequencing and perturbation screening with combinatorial fluidic indexing. Nature methods, 18(6):635–642, 2021.
[16] James M McFarland, Brenton R Paolella, Allison Warren, Kathryn Geiger-Schuller, Tsukasa Shibue, Michael Rothberg, Olena Kuksenko, William N Colgan, Andrew Jones, Emily Chambers, et al. Multiplexed single-cell transcriptional response profiling to define cancer vulnerabilities and therapeutic mechanism of action. Nature communications, 11(1):4296, 2020.
[17] Romain Lopez, Jeffrey Regier, Michael B Cole, Michael I Jordan, and Nir Yosef. Deep generative modeling for single-cell transcriptomics. Nature methods, 15(12):1053–1058, 2018.
[18] Malte D Luecken, Maren Büttner, Kridsadakorn Chaichoompu, Anna Danese, Marta Interlandi, Michaela F Müller, Daniel C Strobl, Luke Zappia, Martin Dugas, Maria Colomé-Tatché, et al. Benchmarking atlas-level data integration in single-cell genomics. Nature methods, 19(1):41–50, 2022.
[19] Xiaodong Yang, Guole Liu, Guihai Feng, Dechao Bu, Pengfei Wang, Jie Jiang, Shubai Chen, Qinmeng Yang, Hefan Miao, Yiyang Zhang, et al. Genecompass: deciphering universal gene regulatory mechanisms with a knowledge-informed cross-species foundation model. Cell Research, 34(12):830–845, 2024.
[20] Ouyang Zhu and Jun Li. Scouter predicts transcriptional responses to genetic perturbations with large language model embeddings. Nature Computational Science, pages 1–8, 2025.
[21] Tianyu Liu, Tianqi Chen, Wangjie Zheng, Xiao Luo, Yiqun Chen, and Hongyu Zhao. scelmo: Embeddings from language models are good learners for single-cell data analysis. bioRxiv, pages 2023–12, 2025.
[22] Zhanbei Cui, Tongda Xu, Jia Wang, Yu Liao, and Yan Wang. Geneformer: Learned gene compression using transformer-based context modeling. In ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 8035–8039. IEEE, 2024.
[23] Djordje Miladinovic, Tobias Höppe, Mathieu Chevalley, Andreas Georgiou, Lachlan Stuart, Arash Mehrjou, Marcus Bantscheff, Bernhard Schölkopf, and Patrick Schwab. In silico biological discovery with large perturbation models. Nature Computational Science, pages 1–12, 2025.
[24] Ding Bai, Caleb N Ellington, Shentong Mo, Le Song, and Eric P Xing. Attentionpert: accurately modeling multiplexed genetic perturbations with multi-scale effects. Bioinformatics, 40(Supplement_1):i453–i461, 2024.
[25] Constantin Ahlmann-Eltze, Wolfgang Huber, and Simon Anders. Deep learning-based predictions of gene perturbation effects do not yet outperform simple linear baselines. BioRxiv, pages 2024–09, 2024.
[26] Ramon Viñas Tornado, Maciej Wiatrak, Zoe Piran, Shuyang Fan, Liangze Jiang, Sarah A Teichmann, Mor Nitzan, and Maria Brbić. Systema: a framework for evaluating genetic perturbation response prediction beyond systematic variation. Nature Biotechnology, pages 1–10, 2025.
[27] Charlotte Bunne, Stefan G Stark, Gabriele Gut, Jacobo Sarabia Del Castillo, Mitch Levesque, Kjong-Van Lehmann, Lucas Pelkmans, Andreas Krause, and Gunnar Rätsch. Learning single-cell perturbation responses using neural optimal transport. Nature methods, 20(11):1759–1768, 2023.
[28] Dominik Klein, Jonas Simon Fleck, Daniil Bobrovskiy, Lea Zimmermann, Sören Becker, Alessandro Palma, Leander Dony, Alejandro Tejada-Lapuerta, Guillaume Huguet, Hsiu-Chuan Lin, et al. Cellflow enables generative single-cell phenotype modeling with flow matching. bioRxiv, pages 2025–04, 2025.
[29] Giovanni Palla, Sudarshan Babu, Payam Dibaeinia, James D Pearce, Donghui Li, Aly A Khan, Theofanis Karaletsos, and Jakub M Tomczak. Scalable single-cell gene expression generation with latent diffusion models. arXiv preprint arXiv:2511.02986, 2025.
[30] Ethan Perez, Florian Strub, Harm De Vries, Vincent Dumoulin, and Aaron Courville. Film: Visual reasoning with a general conditioning layer. In Proceedings of the AAAI conference on artificial intelligence, volume 32, 2018.
[31] Paul Datlinger, André F Rendeiro, Christian Schmidl, Thomas Krausgruber, Peter Traxler, Johanna Klughammer, Linda C Schuster, Amelie Kuchler, Donat Alpar, and Christoph Bock. Pooled crispr screening with single-cell transcriptome readout. Nature methods, 14(3):297–301, 2017.
[32] Chris J Frangieh, Johannes C Melms, Pratiksha I Thakore, Kathryn R Geiger-Schuller, Patricia Ho, Adrienne M Luoma, Brian Cleary, Livnat Jerby-Arnon, Shruti Malu, Michael S Cuoco, et al. Multimodal pooled perturb-cite-seq screens in patient models define mechanisms of cancer immune evasion. Nature genetics, 53(3):332–341, 2021.
[33] Molly Gasperini, Andrew J Hill, José L McFaline-Figueroa, Beth Martin, Seungsoo Kim, Melissa D Zhang, Dana Jackson, Anh Leith, Jacob Schreiber, William S Noble, et al. A genome-wide framework for mapping gene regulation via cellular genetic screens. Cell, 176(1):377–390, 2019.
[34] David Lara-Astiaso, Ainhoa Goñi-Salaverri, Julen Mendieta-Esteban, Nisha Narayan, Cynthia Del Valle, Torsten Gross, George Giotopoulos, Tumas Beinortas, Mar Navarro-Alonso, Laura Pilar Aguado-Alvaro, et al. In vivo screening characterizes chromatin factor functions during normal and malignant hematopoiesis. Nature genetics, 55(9):1542–1554, 2023.
[35] Junbo Liang, Jinsong Wei, Jun Cao, Jun Qian, Ran Gao, Xiaoyu Li, Dingding Wang, Yani Gu, Lei Dong, Jia Yu, et al. In-organoid single-cell crispr screening reveals determinants of hepatocyte differentiation and maturation. Genome biology, 24(1):251, 2023.
[36] Ajay Nadig, Joseph M Replogle, Angela N Pogson, Mukundh Murthy, Steven A McCarroll, Jonathan S Weissman, Elise B Robinson, and Luke J O'Connor. Transcriptome-wide analysis of differential expression in perturbation atlases. Nature Genetics, pages 1–10, 2025.
[37] Thomas M Norman, Max A Horlbeck, Joseph M Replogle, Alex Y Ge, Albert Xu, Marco Jost, Luke A Gilbert, and Jonathan S Weissman. Exploring genetic interaction manifolds constructed from rich single-cell phenotypes. Science, 365(6455):786–793, 2019.
[38] Joseph M Replogle, Reuben A Saunders, Angela N Pogson, Jeffrey A Hussmann, Alexander Lenail, Alina Guna, Lauren Mascibroda, Eric J Wagner, Karen Adelman, Gila Lithwick-Yanai, et al. Mapping information-rich genotype-phenotype landscapes with genome-scale perturb-seq. Cell, 185(14):2559–2575, 2022.
[39] Antonio J Santinha, Esther Klingler, Maria Kuhn, Rick Farouni, Sandra Lagler, Georgios Kalamakis, Ulrike Lischetti, Denis Jabaudon, and Randall J Platt. Transcriptional linkage analysis with in vivo aav-perturb-seq. Nature, 622(7982):367–375, 2023.
[40] Eric Shifrut, Julia Carnevale, Victoria Tobin, Theodore L Roth, Jonathan M Woo, Christina T Bui, P Jonathan Li, Morgan E Diolaiti, Alan Ashworth, and Alexander Marson. Genome-wide crispr screens in primary human t cells reveal key regulators of immune function. Cell, 175(7):1958–1971, 2018.
[41] Ruilin Tian, Mariam A Gachechiladze, Connor H Ludwig, Matthew T Laurie, Jason Y Hong, Diane Nathaniel, Anika V Prabhu, Michael S Fernandopulle, Rajan Patel, Mehrnoosh Abshari, et al. Crispr interference-based platform for multimodal genetic screens in human ipsc-derived neurons. Neuron, 104(2):239–255, 2019.
[42] Hans-Hermann Wessels, Alejandro Méndez-Mancilla, Yuhan Hao, Efthymia Papalexi, William M Mauck III, Lu Lu, John A Morris, Eleni P Mimitou, Peter Smibert, Neville E Sanjana, et al. Efficient combinatorial targeting of rna transcripts in single cells with cas13 rna perturb-seq. Nature methods, 20(1):86–94, 2023.
[43] Shiqi Xie, Jialei Duan, Boxun Li, Pei Zhou, and Gary C Hon. Multiplexed engineering and analysis of combinatorial enhancer activity in single cells. Molecular cell, 66(2):285–299, 2017.
[44] Zihan Xu, Andras Sziraki, Jasper Lee, Wei Zhou, and Junyue Cao. Dissecting key regulators of transcriptome kinetics through scalable single-cell rna profiling of pooled crispr screens. Nature Biotechnology, 42(8):1218–1223, 2024.
[45] Zhiting Wei, Yiheng Wang, Yicheng Gao, Shuguang Wang, Ping Li, Duanmiao Si, Yuli Gao, Siqi Wu, Danlu Li, Kejing Dong, et al. Benchmarking algorithms for generalizable single-cell perturbation response prediction. Nature Methods, pages 1–14, 2025.
Appendix
A Data and Code Availability
We provide a detailed data curation and preprocessing protocol in Appendix B, and describe the implementation details in Appendix F. All processed datasets and code will be made publicly available upon acceptance of the paper.
B Data Curation and Preprocessing
This section describes the data curation, identifier harmonization, metadata normalization, and preprocessing pipeline used to construct the orthology-aligned corpus for CytoWave, with evaluation datasets held out from pretraining. All steps are applied uniformly across datasets to ensure reproducibility, cross-study consistency, and compatibility across species.
B.1 Gene Identifier Normalization and Reference Mapping
Gene identifiers in raw scRNA-seq datasets are provided using heterogeneous naming conventions, including inconsistent capitalization and isoform-specific suffixes. To standardize gene identities, gene symbols are first normalized by removing isoform suffixes and extraneous formatting.
Normalized gene symbols are mapped to species-specific Ensembl Gene IDs using organism-specific reference annotations. Human genes are mapped using the Human Gene Nomenclature Committee (HGNC) reference, while mouse genes are mapped using Mouse Genome Informatics (MGI) annotations together with Ensembl GRCm39 gene models. Only genes with valid Ensembl identifiers and orthology assignments are retained. This mapping establishes a stable and widely accepted identifier space for downstream processing.
To enable cross-species integration, Ensembl Gene IDs are further mapped to orthology-level identifiers using Ensembl Compara protein homology annotations (release 115). Gene models are defined using Ensembl reference genome annotations for human (GRCh38, Ensembl release 113) and mouse (GRCm39, Ensembl release 113). Each retained gene is thus associated with a unified ortholog identifier shared across species. Genes without a valid orthology assignment are excluded from the dataset.
B.2 Perturbation Target Harmonization
Perturbation annotations are harmonized using the same identifier and orthology references to ensure alignment between perturbation targets and gene expression features. Cells annotated as negative controls are assigned a dedicated CONTROL perturbation token.
For perturbed cells, target gene symbols are first normalized and then mapped to species-specific Ensembl Gene IDs using HGNC references for human datasets and MGI/Ensembl annotations for mouse datasets. Cross-species alignment is subsequently performed through Ensembl Compara protein homology annotations (release 115), which map species-specific Ensembl gene identifiers into a shared orthology space. Cells whose perturbation targets cannot be mapped to a valid ortholog identifier are removed. This procedure guarantees that all perturbations are represented in the same orthology-aligned token space as gene expression inputs.
B.3 Metadata Standardization and Context Tokenization
In addition to gene expression and perturbation labels, we curate a unified set of metadata tokens capturing biological and experimental context, including species, cell context, cell line, lineage, perturbation technology, disease status, stimulation condition, and stimulation time.
Metadata fields are normalized using rule-based string matching against predefined keyword dictionaries. Each metadata category is mapped to a controlled vocabulary of discrete tokens. When dataset-specific metadata fields are missing or ambiguous, predefined default tokens are assigned. This design yields a fixed-length metadata token representation per cell, independent of the original dataset schema.
B.4 Cell and Gene Quality Control
We apply several quality-control filters to remove low-quality or ambiguous observations:
-
Genes with zero expression across all cells are removed.
-
Genes without valid orthology assignments are removed.
-
Cells associated with unmapped perturbation targets are removed.
-
Cells with fewer than 500 detected genes are excluded.
After filtering, all retained genes have valid orthology identifiers and non-zero expression in at least one cell, and all retained cells have valid perturbation annotations.
B.5 Expression Normalization and Transformation
Raw gene expression counts are normalized by library size on a per-cell basis. Specifically, counts are scaled such that the total expression per cell matches the median total count across the dataset. Median-based normalization reduces sensitivity to extreme library sizes while preserving relative expression magnitudes.
Normalized expression values are subsequently transformed using a log(1 + x) function to stabilize variance and compress dynamic range. Post-normalization expression distributions are inspected to confirm that total counts are centered around the dataset median and that log-transformed values fall within a stable numerical range.
B.6 Pathway Gene Set Resources
For pathway-level analyses, we use the Hallmark gene sets from the Molecular Signatures Database (MSigDB), release 2025.1. Human Hallmark gene sets are mapped to the same orthology space using Ensembl gene models (GRCh38, release 113) and Ensembl Compara homologies (release 115), enabling consistent pathway analysis across species.
B.7 Preprocessing Validation and Provenance Tracking
To ensure correctness and reproducibility, we perform systematic validation checks, including verification of reported versus computed numbers of detected genes per cell, verification of reported versus computed total counts per cell, and sanity checks on normalization scaling and log-transformed expression values.
All preprocessing steps, filtering statistics, and reference resource versions are recorded as structured metadata within each processed dataset. The resulting curated datasets are stored in standardized .h5ad formats and used as inputs for downstream sparse tokenization and model pretraining.
B.8 Conversion to Foundation-Friendly Zarr Representation
After preprocessing and curation in .h5ad format, we further convert each dataset into a foundation-model-oriented zarr representation. This conversion is motivated by the need to support scalable, distributed pretraining over tens of millions of cells while maintaining strict schema consistency and efficient access to sparse gene expression and tokenized metadata.
Motivation. While .h5ad provides a flexible container for exploratory analysis, it is not optimized for large-scale foundation model pretraining, which requires: (i) streaming-friendly access patterns, (ii) efficient storage of sparse expression matrices, (iii) explicit separation between continuous expression values and discrete tokenized attributes, and (iv) strict schema guarantees across heterogeneous datasets. The zarr format satisfies these requirements by enabling chunked, compressed, and parallel I/O while remaining framework-agnostic.
B.9 Expression Storage in CSR Form
Gene expression matrices are stored in compressed sparse row (CSR) form to preserve sparsity and minimize storage overhead. Each dataset encodes expression values using three arrays corresponding
A

B

C

Figure 4: (A) shows the distribution of different datasets, the size of the circle represents the number of unique perturbations in this dataset. (B) The heatmap between lineage and cell context, numbers represent how many datasets are in each category combination. (C) The histogram for the number of datasets in each cell line. Colors indicate disease status, including cancer, healthy, and unknown.
to the CSR representation: (i) nonzero expression values, (ii) column indices (gene indices), and (iii) row pointers defining cell boundaries. The original matrix shape (number of cells and genes) is stored as metadata.
All expression values are stored in single-precision floating point format after normalization and log transformation. Dense matrices, when present, are converted to CSR prior to storage to enforce a uniform representation across datasets.
B.10 Gene Token Representation
Genes are represented exclusively by orthology-aligned tokens. For each dataset, a single ordered array defines the mapping from gene index to ortholog identifier. This array establishes the global gene vocabulary used during pretraining and ensures that gene identity is decoupled from dataset-specific ordering or naming conventions.
B.11 Cell-Level Metadata Schema
To enforce consistency across datasets, we define a fixed metadata schema consisting of the following token categories: species, cell context, cell line, lineage, perturbation technology, disease status, stimulation condition, and stimulation time. Each metadata field is stored as a per-cell array of discrete tokens, yielding a fixed-length metadata representation for every cell regardless of dataset origin.
Datasets missing specific metadata fields are assigned predefined default tokens during preprocessing, ensuring schema completeness. Any dataset failing to satisfy the required metadata schema is rejected during conversion.
B.12 Perturbation Encoding
Perturbation information is stored separately from expression and metadata. Each cell is associated with a discrete perturbation token representing the orthology-aligned target gene or a dedicated CONTROL token for negative controls. An explicit boolean flag identifies control cells, enabling efficient masking and stratification during training.
To support program-level analysis and aggregation, each cell is additionally assigned a deterministic program activity identifier derived from the dataset identity and perturbation token. This identifier is used solely for grouping and analysis and does not affect model inputs.

(a) Stage 1 Gene Coverage

(b) Stage 2 Gene Coverage
Figure 5: The gene coverage of training data with sparse tokenization
B.13 Dataset Attributes and Provenance
Each zarr dataset records global attributes including dataset name, number of cells, number of genes, creation timestamp, and a description of the storage format. These attributes enable transparent provenance tracking and facilitate automated dataset auditing.
B.14 Consistency Verification and “Zarr as Ground Truth”
To guarantee correctness of the conversion process, we enforce a strict consistency check between the source .h5ad file and the generated zarr representation. Summary statistics include numbers of cells, genes, unique orthology tokens, unique perturbations, and unique values for each metadata field. These are computed independently from both representations and required to match exactly.
Only datasets that pass all consistency checks are admitted into the curated corpus used for pretraining and evaluation, with evaluation datasets held out from pretraining. The zarr representation is treated as the authoritative ground truth for all subsequent stages of data loading, tokenization, and model training.
Summary Construction. For each dataset, we construct a structured summary capturing dataset scale, vocabulary cardinalities, and metadata diversity. These summaries are aggregated across datasets to provide a global overview of corpus composition and to support downstream analysis and reporting.
B.15 Gene Coverage In Pretraining
Figure 5 shows the distribution of gene occurrence frequencies during pretraining under sparse tokenization. In Stage 1, where training is performed on control cells, gene coverage is broadly distributed across the vocabulary, reflecting general transcriptional patterns. In Stage 2, perturbation-aware training shifts the distribution toward genes involved in perturbation responses, resulting in increased coverage of functionally relevant genes.
Despite the use of sparse tokenization, the overall gene vocabulary remains well covered across both stages. These results indicate that the pretraining process captures both general gene expression structure and perturbation-specific signals, supporting the ability of CytoWave to generalize across genes and experimental settings.
C Dataset Statistics and Corpus Composition
We summarize the composition and statistical properties of the full curated corpus collected for CytoWave in Tables 2–4. A subset of these datasets is held out for downstream evaluation and
Table 2: Scale and perturbation coverage statistics for the full curated corpus before the dataset-held-out partitioning. Datasets used for downstream evaluation are listed for completeness but are excluded from all pretraining stages.
| Dataset | #Unique | |||||
|---|---|---|---|---|---|---|
| #Cells | #Genes | #Orthologs | Perturbations | #Control Cells | #Perturbed Cells | |
| ZhuMarson2025_D1_Rest | 1633989 | 16801 | 16801 | 11332 | 76543 | 1557446 |
| ZhuMarson2025_D1_Stim48h | 1534912 | 16815 | 16815 | 11403 | 73534 | 1461378 |
| ZhuMarson2025_D1_Stim8h | 1498205 | 16804 | 16804 | 11417 | 69632 | 1428573 |
| ZhuMarson2025_D2_Rest | 1851226 | 16805 | 16805 | 11307 | 83987 | 1767239 |
| ZhuMarson2025_D2_Stim48h | 1912736 | 16816 | 16816 | 11316 | 87747 | 1824989 |
| ZhuMarson2025_D2_Stim8h | 1948721 | 16808 | 16808 | 11469 | 88354 | 1860367 |
| ZhuMarson2025_D3_Rest | 1778418 | 16812 | 16812 | 11189 | 76823 | 1701595 |
| ZhuMarson2025_D3_Stim48h | 1762861 | 16811 | 16811 | 11081 | 77334 | 1685527 |
| ZhuMarson2025_D3_Stim8h | 1582510 | 16812 | 16812 | 11271 | 68441 | 1514069 |
| ZhuMarson2025_D4_Rest | 1630546 | 16813 | 16813 | 11639 | 76636 | 1553910 |
| ZhuMarson2025_D4_Stim48h | 1750133 | 16817 | 16817 | 11648 | 83474 | 1666659 |
| ZhuMarson2025_D4_Stim8h | 1637051 | 16817 | 16817 | 11688 | 77030 | 1560021 |
| DatlingerBock2017 | 5905 | 13987 | 13987 | 33 | 1320 | 4585 |
| DatlingerBock2021 | 39194 | 15467 | 15467 | 21 | 4497 | 34697 |
| DixitRegev2016_K562_13d | 15849 | 14143 | 14143 | 11 | 3491 | 12358 |
| DixitRegev2016_K562_7d | 28034 | 14587 | 14587 | 11 | 5381 | 22653 |
| DixitRegev2016_K562_HighMOI | 48763 | 14880 | 14880 | 11 | 8802 | 39961 |
| FrangiehlZar2021 | 191318 | 14694 | 14694 | 210 | 57605 | 133713 |
| GasperiniShendure2019 | 6680 | 13888 | 13888 | 1081 | 369 | 6311 |
| LaraAstiasoHuntly2023_exvivo | 73564 | 15666 | 15666 | 42 | 12444 | 61120 |
| LaraAstiasoHuntly2023_invivo | 53571 | 15465 | 15465 | 40 | 9096 | 44475 |
| LaraAstiasoHuntly2023_leukemia | 45461 | 15471 | 15471 | 55 | 7717 | 37744 |
| LiangWang2023 | 35574 | 13614 | 13614 | 67 | 2459 | 33115 |
| NadigOConner2024_HepG2 | 128850 | 9011 | 9011 | 2104 | 4976 | 123874 |
| NadigOConner2024_Jurkat | 225309 | 8237 | 8237 | 2096 | 12013 | 213296 |
| NormanWeissman2019 | 103455 | 15550 | 15550 | 217 | 11855 | 91600 |
| PapalexiSatija2021_ECCITE | 16708 | 12452 | 12452 | 22 | 2386 | 14322 |
| PapalexiSatija2021_Arrayed | 6233 | 11629 | 11629 | 7 | 2009 | 4224 |
| ReplogleWeissman2022_Essential | 295372 | 7913 | 7913 | 1960 | 10691 | 284681 |
| ReplogleWeissman2022_GWPS | 1882585 | 7673 | 7673 | 9279 | 75328 | 1807257 |
| ReplogleWeissman2022_RPE1 | 234223 | 8266 | 8266 | 2283 | 11485 | 222738 |
| SantinhaPlatt2023 | 41173 | 16638 | 16638 | 26 | 2520 | 38653 |
| ShifrutMarson2018 | 23107 | 13783 | 13776 | 19 | 3541 | 19566 |
| SunshineHein2023 | 83458 | 16373 | 16373 | 20321 | 19927 | 63531 |
| TianKampmann2019_Neuron | 182790 | 16508 | 16508 | 41358 | 15580 | 167210 |
| TianKampmann2019_iPSC | 275708 | 16211 | 16211 | 39162 | 10687 | 265021 |
| TianKampmann2021_CRISPRa | 20400 | 16249 | 16249 | 96 | 434 | 19966 |
| TianKampmann2021_CRISPRi | 30835 | 16304 | 16304 | 176 | 437 | 30398 |
| WesselsSatija2023 | 28117 | 15274 | 15263 | 170 | 424 | 27693 |
| XieHon2017 | 8371 | 14842 | 14842 | 52 | 7063 | 1308 |
| XuCao2023 | 97385 | 16755 | 16755 | 200 | 2758 | 94627 |
excluded from pretraining. All tables describe the same set of datasets, but present complementary views focusing on (i) dataset scale and perturbation coverage, (ii) biological and experimental context, and (iii) perturbation technologies and stimulation conditions, respectively.
C.1 Scale and perturbation coverage.
Table 2 reports the scale of each dataset in terms of cell count, gene coverage, and perturbation diversity. The corpus spans over six orders of magnitude in dataset size, ranging from small, early Perturb-seq studies with a few thousand cells to recent large-scale screens containing millions of single cells. Across datasets, the number of orthology-aligned genes closely matches the number of retained genes, reflecting the strict gene mapping and filtering procedure described in Appendix B. Importantly, the corpus covers a wide spectrum of perturbation regimes, from targeted perturbation panels with tens of genes to genome-scale screens involving tens of thousands of perturbations.
Table 3: Biological and experimental context metadata across all curated datasets (with evaluation datasets held out from pretraining).
| Dataset | Species | Cell Context | Cell Line | Lineage | Disease |
|---|---|---|---|---|---|
| ZhuMarson2025_D1_Rest | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D1_Stim48h | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D1_Stim8h | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D2_Rest | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D2_Stim48h | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D2_Stim8h | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D3_Rest | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D3_Stim48h | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D3_Stim8h | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D4_Rest | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D4_Stim48h | Human | Primary | - | Hematopoietic | Healthy |
| ZhuMarson2025_D4_Stim8h | Human | Primary | - | Hematopoietic | Healthy |
| DatlingerBock2017 | Human | Cell line | Jurkat | Hematopoietic | Cancer |
| DatlingerBock2021 | Human | Cell line | Jurkat | Hematopoietic | Cancer |
| DixitRegev2016_K562_13d | Human | Cell line | K562 | Hematopoietic | Cancer |
| DixitRegev2016_K562_7d | Human | Cell line | K562 | Hematopoietic | Cancer |
| DixitRegev2016_K562_HighMOI | Human | Cell line | K562 | Hematopoietic | Cancer |
| FrangiehIzar2021 | Human | Co-culture | - | Melanocyte | Unknown |
| GasperiniShendure2019 | Human | Cell line | K562 | Hematopoietic | Cancer |
| LaraAstiasoHuntly2023_exvivo | Mouse | Primary | - | Hematopoietic / Unknown | Healthy |
| LaraAstiasoHuntly2023_invivo | Mouse | Primary | - | Hematopoietic / Unknown | Healthy |
| LaraAstiasoHuntly2023_leukemia | Mouse | Primary | - | Hematopoietic / Unknown | Cancer |
| LiangWang2023 | Mouse | Cell line | - | Epithelial | Healthy |
| NadigOConner2024_HepG2 | Human | Cell line | HepG2 | Epithelial | Cancer |
| NadigOConner2024_Jurkat | Human | Cell line | Jurkat | Hematopoietic | Cancer |
| NormanWeissman2019 | Human | Cell line | K562 | Hematopoietic | Cancer |
| PapalexiSatija2021_ECCITE | Human | Cell line | THP1 | Hematopoietic | Cancer |
| PapalexiSatija2021_Arrayed | Human | Cell line | THP1 | Hematopoietic | Cancer |
| ReplogleWeissman2022_Essential | Human | Cell line | K562 | Unknown | Cancer |
| ReplogleWeissman2022_GWPS | Human | Cell line | K562 | Unknown | Cancer |
| ReplogleWeissman2022_RPE1 | Human | Cell line | - | Epithelial | Healthy |
| SantinhaPlatt2023 | Mouse | Primary | - | Epithelial | Healthy |
| ShifrutMarson2018 | Human | Primary | - | Hematopoietic | Healthy |
| SunshineHein2023 | Human | Cell line | Calu-3 | Epithelial | Cancer |
| TianKampmann2019_Neuron | Human | Primary | - | Neural | Healthy |
| TianKampmann2019_iPSC | Human | Stem | - | Unknown | Healthy |
| TianKampmann2021_CRISPRa | Human | Primary | - | Neural | Healthy |
| TianKampmann2021_CRISPRi | Human | Primary | - | Neural | Healthy |
| WesselsSatija2023 | Human | Cell line | THP1 | Hematopoietic | Cancer |
| XieHon2017 | Human | Cell line | K562 | Unknown | Cancer |
| XuCao2023 | Human | Cell line | HEK293 | Unknown | Healthy |
Control cells constitute a non-trivial fraction of most datasets, enabling robust estimation of baseline expression states and perturbation-associated deviations.
C.2 Biological and experimental context diversity.
Table 3 characterizes the biological and experimental context associated with each dataset through standardized metadata tokens. The curated corpus integrates data from both human and mouse experiments, spanning primary cells, cell lines, and stem-cell-derived systems, and covering multiple lineages including hematopoietic, epithelial, neural, and melanocytic contexts. Despite substantial heterogeneity across studies, the use of a fixed metadata schema ensures that each dataset is represented in a consistent tokenized form. This design allows the model to condition on biological context explicitly while avoiding dataset-specific feature engineering.
Table 4: Perturbation technologies and stimulation conditions across all curated datasets (with evaluation datasets held out from pretraining)
| Dataset | Perturbation Technology | Stimulation | Stimulation Time |
|---|---|---|---|
| ZhuMarson2025_D1_Rest | CRISPRi | None | - |
| ZhuMarson2025_D1_Stim48h | CRISPRi | TCR | 48h |
| ZhuMarson2025_D1_Stim8h | CRISPRi | TCR | 8h |
| ZhuMarson2025_D2_Rest | CRISPRi | None | - |
| ZhuMarson2025_D2_Stim48h | CRISPRi | TCR | 48h |
| ZhuMarson2025_D2_Stim8h | CRISPRi | TCR | 8h |
| ZhuMarson2025_D3_Rest | CRISPRi | None | - |
| ZhuMarson2025_D3_Stim48h | CRISPRi | TCR | 48h |
| ZhuMarson2025_D3_Stim8h | CRISPRi | TCR | 8h |
| ZhuMarson2025_D4_Rest | CRISPRi | None | - |
| ZhuMarson2025_D4_Stim48h | CRISPRi | TCR | 48h |
| ZhuMarson2025_D4_Stim8h | CRISPRi | TCR | 8h |
| DatlingerBock2017 | CRISPR-KO | None / TCR | - |
| DatlingerBock2021 | CRISPR-KO | None / TCR | - |
| DixitRegev2016_K562_13d | CRISPR-KO | None | - |
| DixitRegev2016_K562_7d | CRISPR-KO | None | - |
| DixitRegev2016_K562_HighMOI | CRISPR-KO | None | - |
| FrangiehlZar2021 | CRISPR-KO | None | - |
| GasperiniShendure2019 | CRISPRi | None | - |
| LaraAstiasoHuntly2023_exvivo | CRISPR-KO | None | - |
| LaraAstiasoHuntly2023_invivo | CRISPR-KO | None | - |
| LaraAstiasoHuntly2023_leukemia | CRISPR-KO | None | - |
| LiangWang2023 | CRISPR-KO | None | - |
| NadigOConner2024_HepG2 | CRISPRi | None | - |
| NadigOConner2024_Jurkat | CRISPRi | None | - |
| NormanWeissman2019 | CRISPRa | None | - |
| PapalexiSatija2021_ECCITE | CRISPR-KO | None | - |
| PapalexiSatija2021_Arrayed | CRISPR-KO | None | - |
| ReplogleWeissman2022_Essential | CRISPRi | None | - |
| ReplogleWeissman2022_GWPS | CRISPRi | None | - |
| ReplogleWeissman2022_RPE1 | CRISPRi | None | - |
| SantinhaPlatt2023 | CRISPR-KO | None | - |
| ShifrutMarson2018 | CRISPR-KO | None / TCR | - |
| SunshineHein2023 | CRISPRi | None | - |
| TianKampmann2019_Neuron | CRISPRi | None | - |
| TianKampmann2019_iPSC | CRISPRi | None | - |
| TianKampmann2021_CRISPRa | CRISPRa | None | - |
| TianKampmann2021_CRISPRi | CRISPRi | None | - |
| WesselsSatija2023 | CRISPR-KD | None | - |
| XieHon2017 | CRISPRi | None | - |
| XuCao2023 | CRISPRi | None | - |
C.3 Perturbation technologies and stimulation conditions
Table 4 summarizes the perturbation modalities and stimulation settings present in the corpus. The datasets collectively cover CRISPR knock-out (KO), knock-down (KD), CRISPR interference (CRISPRi), and CRISPR activation (CRISPRa) technologies. Several datasets include multiple stimulation conditions (e.g., resting versus stimulated states) and time points, providing systematic variation in cellular state under identical perturbation targets. Such a structure provides systematic variation in cellular state under identical perturbation targets, allowing CytoWave to learn perturbation responses under diverse contextual and temporal conditions during pretraining.
Table 5: Statistics of evaluation datasets used for downstream perturbation prediction tasks.
| Dataset | Train | Valid | Test | #Unique Perturbations | Mean Cells / Perturb |
|---|---|---|---|---|---|
| DatlingerBock2017 | 1634 | 191 | 206 | 32 | 63.47 |
| DatlingerBock2017 (stim) | 2022 | 255 | 277 | 32 | 79.81 |
| GasperiniShendure2019 | 3982 | 397 | 747 | 286 | 17.92 |
| PapalexiSatija2021 | 3377 | 420 | 427 | 6 | 704.00 |
| SantinhaPlatt2023 | 30910 | 3854 | 3889 | 25 | 1546.12 |
C.4 Implications for foundation model pretraining.
Taken together, these statistics highlight that the pretraining corpus is not merely large, but also structurally diverse along multiple axes: scale, perturbation coverage, biological context, and experimental condition. By organizing all datasets under a unified orthology-aligned and schema-enforced representation, CytoWave is trained to learn perturbation responses that generalize across studies, species, and experimental designs, rather than overfitting to any single dataset or perturbation regime.
C.5 Evaluation Dataset Selection
To comprehensively evaluate the generalization capability of CytoWave, we select a diverse set of downstream evaluation datasets that span a wide range of biological contexts, perturbation scales, and experimental designs (Table 5). These datasets are strictly excluded from the pretraining corpus. Our selection criteria are guided by three principles: (i) coverage of heterogeneous biological conditions, (ii) diversity in perturbation complexity and data scale, and (iii) compatibility with standardized perturbation prediction tasks.
Specifically, the chosen datasets include both cell-line and primary-cell experiments, multiple CRISPR modalities (CRISPR-KO and CRISPRi), and varying perturbation densities, ranging from small-scale transcription factor screens (e.g., DatlingerBock2017) to large-scale enhancer and regulatory perturbation studies (e.g., GasperiniShendure2019). Together, these datasets cover perturbation regimes with as few as single-digit cells per perturbation and as many as over one thousand cells per perturbation, enabling robust evaluation across low- and high-data regimes.
We further include datasets with substantially different perturbation cardinalities, from fewer than ten unique perturbations (PapalexiSatija2021) to several hundred perturbations (GasperiniShendure2019), in order to assess the stability of model performance under both narrow and broad perturbation vocabularies. This diversity is critical for evaluating whether a model can generalize beyond densely sampled perturbations and avoid overfitting to dataset-specific perturbation distributions.
D Evaluation Metrics
We evaluate perturbation prediction performance by computing expression changes relative to the control profile and measuring their Pearson correlation (PCC). Measuring changes relative to the control profile isolates perturbation-specific responses and removes baseline expression variability across cells and conditions. This provides a more faithful assessment of whether the model captures the direction and magnitude of perturbation responses.
Notation. For a test example with control profile , ground-truth perturbed profile , and model prediction , we define the ground-truth and predicted expression changes as:
where is sampled from control cells under the same condition and metadata group as .
PCC (all genes). For each test example , we compute the Pearson correlation between predicted and ground-truth changes across all genes:
(22) where and are the mean changes. We report the average PCC over all test examples.
PCC (top-20 differentially expressed genes). To assess performance on the most biologically relevant genes, we evaluate on the subset of genes exhibiting the largest expression changes. For each test example , let
denote the set of 20 genes with the largest absolute ground-truth change. We then compute:
This metric emphasizes the model's ability to correctly predict the direction and magnitude of the strongest perturbation responses, which are typically of greater biological interest.
MAE (mean absolute error). To measure the magnitude of prediction errors, we compute the mean absolute error between predicted and ground-truth perturbed expression values over genes with measurable expression activity. For each test example , let
denote the set of genes with non-zero expression in either the reference control or perturbed profile. MAE is defined as:
We report the average MAE over all test examples. This formulation avoids domination of the metric by trivial background zeros in sparse single-cell expression matrices while quantifying absolute prediction error on genes with measurable expression activity.
E Additional Experimental Results
In Figure 6, we provide additional results for the pathway activity prediction. Figure 6 visualizes absolute pathway activities for post-perturbation states, comparing ground-truth expression with model predictions. For each dataset, we first apply the trained CytoWave model to all test cells and obtain predicted post-perturbation gene expression profiles. To reduce cell-level noise and minimize redundant pathway computations, we aggregate gene expression by averaging across cells belonging to the same perturbation, yielding a perturbation-level bulk profile for both prediction and ground truth. Pathway activities are then computed once per perturbation using AUCell on orthology-mapped Hallmark gene sets. For visualization, we select the top 15 Hallmark pathways that exhibit the highest agreement between predicted and ground-truth activities across perturbations, and further select the top 15 perturbations with the strongest pathway-level activity in the ground truth. The resulting heatmaps display absolute pathway activities for the same set of pathways and perturbations, with the ground truth shown in the top row and the corresponding model predictions shown in the bottom row, using identical axes and color scales.
As shown in Figure 6, CytoWave accurately recovers absolute post-perturbation pathway activity patterns across diverse perturbations. The predicted heatmap closely matches the ground truth in both the relative ordering of perturbations within each pathway and the relative activation levels across pathways, indicating that the model preserves pathway-specific dynamic ranges rather than collapsing activities toward a global mean. Importantly, the strong visual alignment between the two rows demonstrates that CytoWave captures not only perturbation-dependent changes but also the correct post-perturbation activity landscape itself. These results complement the -activity analysis by showing that the model maintains faithful absolute pathway representations.
F Implementation Details
This section provides architectural and forward-pass details for CytoWave. We describe (i) the unified tokenization and embedding design, (ii) the bucketed joint transformer encoder for sparse scRNA inputs, and (iii) the stage-specific forward computations used in pretraining and finetuning.

Figure 6: The top hallmark 50 absolute pathway activity of the perturbed ground truth and the predicted results, y-axis is hallmarks and x-axis is perturbation group in each dataset
Unified vocabulary and role embeddings. All discrete symbols (genes, metadata tokens, and perturbation tokens) are mapped into a single unified vocabulary of size and embedded by a shared table with model dimension . To distinguish token types, we add a learned role embedding with role IDs: ROLE_GENE=0, ROLE_META=1, ROLE_PERTURB=2. Given token id and optional role id , the embedding is
Role embeddings are used consistently across all stages via embed_tokens() (for meta/perturb supervision tokens) and embed_genes_with_expr() (for sparse gene tokens with expression values).
Expression FiLM for gene tokens. For a sparse gene token with observed log-normalized expression , we modulate its base embedding via an Expression FiLM module:
where MLP is a two-layer network Linear(1,h)→SiLU→Dropout→Linear(h,2d) and h = max(128, d) in our implementation. FiLM is applied only to gene tokens; meta and perturb tokens use standard embeddings without FiLM. When role IDs are provided, role embeddings are added after FiLM:
CSR input representation and joint attention. Each cell is represented as (i) sparse gene tokens in CSR form (gene_token_ids, gene_expr, gene_batch_ptr) and (ii) a fixed-length sequence of meta tokens meta_token_ids (shape for batch size ). We first embed all nonzero gene entries with FiLM, producing a flat tensor of size , then slice per cell using gene_batch_ptr. For each cell , we construct a variable-length sequence by concatenating meta and gene tokens:
and encode it with a shared transformer set encoder (). The encoder output is mean-pooled over non-padding tokens to obtain the cell embedding . We also compute a pooled meta state by simple mean over meta tokens:
The main encoding routine encode_csr() returns (z, meta_state).
Bucketed variable-length transformer encoding. To reduce padding overhead for highly variable , we implement length-based bucketing: sequences are sorted by length, partitioned into buckets of size tf_bucket_size, padded within each bucket, encoded, and then restored to the original order. Concretely, for a bucket of sequences with max length , we build and a boolean key_padding_mask (True denotes padding positions), run nn.TransformerEncoder with src_key_padding_mask, and mean-pool over valid tokens. When available, we enable PyTorch 2.x SDPA backends (FlashAttention and memory-efficient attention) in a best-effort manner.
Decoder heads. We decode gene-level expression for a set of target gene tokens using a shared ExprDecoder: LayerNorm→Linear()→SiLU→Linear() followed by softplus, with the final linear layer initialized to zeros (both weight and bias) for stable early training.
Perturbation set encoding. A (possibly multi-gene) perturbation set per cell is provided in CSR form (perturb_token_id, perturb_batch_ptr). We embed all perturbation tokens using embed_tokens() (optionally with role IDs) and perform mean-pooling within each cell using scatter-add:
returning . If no perturbation tokens are present, we return zeros.
Stage 1: masked gene recovery on control cells. Given encoded control embedding and a masked set of gene tokens (CSR), we predict masked gene expression by adding as a global residual to each masked token embedding:
where Dec is ExprDecoder. This is implemented by iterating over cells and concatenating predictions for all masked targets.
Stage 2: latent perturbation operator. We encode the control cell to obtain and encode the perturbation set to obtain . The operator predicts an additive latent state change using an MLP:
where is MLP (LN→Linear→SiLU→Dropout→Linear) with input dimension and output dimension . We then decode target gene expression using the same token+cell residual mechanism as Stage 1. For efficiency, decoding over all supervised target tokens is vectorized by broadcasting to each target gene token via repeat_interleave on the CSR pointers, avoiding per-cell loops.
We encode the target (post-perturbation) cell representation using encode_csr() and form a latent difference
We also build a context vector by summing pooled meta state and an embedding of the observed perturbation subset (when provided, via masked perturbation CSR; otherwise zeros). The identifier predicts a perturbation embedding
where is an MLP analogous to . Supervision uses a target perturbation embedding computed from target_perturb_*if available, otherwise falling back to the full perturbation set perturb_*$$. In our implementation, Stage 2 can optionally return both the operator outputs and (\hat{e}, e_{\mathrm{tgt}})z_x$.
Stage 4: finetuning forward. For downstream prediction, we use the same operator and decoding as Stage 2, but decode all target gene tokens.
24
Shapes and batch pointers. Throughout, sparse gene tokens are represented as flat arrays of length nnz with a batch pointer ptr of length $B+1$, where ptr [i]:ptr [i+1] indexes tokens belonging to cell i. We use this convention for control genes, target genes, masked gene supervision, and perturbation sets. Baseline implementation. All baselines are trained and evaluated using the same train/validation/test splits. For pretrained baselines, we follow their released finetuning protocols when available and adapt them only on the held-out training split. Hyperparameters are selected using validation performance, and test results are reported after model selection. Pretraining Setup CytoWave is pretrained by a two-stage self-supervised strategy. In Stage 1, the model learns perturbation-agnostic representations from control cells through masked gene expression recovery with a masking ratio of 15%. The encoder is implemented as an 8-layer Transformer with 8 attention heads and model dimension $d = 512$. CytoWave is pretrained 20 epochs using the AdamW optimizer with a learning rate of $2e^{-4}$, weight decay of 0.01, and gradient clipping at 1.0. A cosine learning rate schedule with linear warmup is applied. In Stage 2, CytoWave conducts perturbation-aware representation learning on top of the pretrained encoder from stage 1. We use a 30% masking ratio in perturbation response expression mask and recovery. The designed masking first includes the top 300 gene expressions with the largest changes after perturbations and then randomly samples from the rest. The model predicts post-perturbation expression values for this selected gene set, which are later evaluated through expression changes relative to the control profile while simultaneously learning to recover masked perturbation targets. The total training loss is defined as the sum of the expression regression loss and the perturbation recovery loss, with a weighting factor of 5.0 applied to the latter. Stage 2 is trained for 10 epochs with a batch size of 24 and gradient accumulation of 4, using the same optimizer and learning rate as Stage 1. The InfoNCE denominator is computed within each mini-batch and does not gather negatives across gradient accumulation steps. Mixed-precision training with bfloat16 is enabled to improve training efficiency. All pretraining experiments were conducted on a cluster with 8 NVIDIA H100 GPUs using distributed data parallel training. The complete two-stage pretraining pipeline required approximately two weeks of training time. ## G Limitation This study suggests that genetic perturbation data provides a qualitatively different and richer training signal than unperturbed single-cell atlases, as perturbations directly encode how cellular states respond under controlled perturbations. Representing perturbation responses in a shared latent space provides a structured approach to distinguish between intrinsic cell-state variation and perturbation-dependent responses. A key implication of this design is improved generalization in settings where direct supervision is scarce. By learning perturbation-dependent responses as latent state changes rather than dataset-specific conditional regressions, the model can reuse and compose learned response patterns across experimental conditions. Several limitations should be noted. Perturbation coverage remains uneven across genes and cell types, which may limit the model's ability to capture gene-specific responses consistently across different contexts. Because CytoWave uses an orthology-aligned vocabulary, genes without valid orthology assignments are excluded, which may limit modeling of species-specific regulatory programs. In addition, while the learned representations reflect perturbation-associated patterns at the gene and pathway levels, they do not enforce explicit mechanistic constraints. Understanding how these representations relate to known regulatory or causal structures remains an open question for future investigation. Future work may extend CytoWave along several directions, including expanding perturbation coverage, incorporating multi-omic measurements, and exploring richer perturbation operators that capture temporal and nonlinear responses. We believe that such developments are essential for building foundation models that not only predict perturbation outcomes, but also support mechanistic understanding and hypothesis generation in complex biological systems. ## H Broader Impact CytoWave is designed for modeling single-cell genetic perturbation responses and may support applications in functional genomics, disease modeling, and therapeutic discovery. By improving the ability to predict perturbation-associated transcriptional responses, such models may help prioritize experimental hypotheses and reduce experimental cost in biomedical research. We do not identify direct negative societal impacts associated with the proposed method beyond those generally related to machine learning models used in biological research. Incorrect perturbation predictions may nevertheless lead to misleading biological hypotheses if used without experimental validation. CytoWave is intended as a research tool and does not provide clinical or medical decision-making recommendations. ## I Dataset Licenses and Terms of Use All datasets were obtained from publicly available academic resources and remain subject to their original licenses and terms of use. Where available, datasets follow licenses and academic usage terms provided by their original repositories or publications, including common academic research licenses such as CC-BY and related non-commercial usage terms.