Scaling an Autoregressive Transformer for Single-Cell Generation

arXiv cs.LG Papers

Summary

This paper studies a self-supervised task for generating single-cell gene expression vectors using an autoregressive transformer with a quantized VAE tokenizer. It reports scaling laws and a compute-optimal frontier for single-cell foundation models, with potential fine-tuning for perturbation prediction.

arXiv:2608.02961v1 Announce Type: new Abstract: We study a self-supervised generation task for single-cell gene expression vectors: given a set of vectors from a cell type, we aim to generate additional gene expression vectors of that cell type. For this task we characterize both the biological fidelity of the generated gene expression vectors and the scaling behavior of the pretraining loss. The model is a causal transformer paired with a learned quantized VAE tokenizer, trained with a cross-entropy loss. To evaluate the model, we condition it on held-out gene expression vectors of a cell type and generate vectors of gene expression, comparing the resulting distribution over gene expression vectors to the ground truth distribution of that cell type. We study the scaling properties of the proposed architecture by varying the number of trained parameters and the amount of training data. To our knowledge, we find the first jointly-fit two-exponent scaling law and compute-optimal frontier for a single-cell foundation model. Finally, we discuss how this pretrained model could be finetuned for perturbation response prediction.
Original Article
View Cached Full Text

Cached at: 08/05/26, 07:44 AM

# Scaling an Autoregressive Transformer for Single-Cell Generation
Source: [https://arxiv.org/html/2608.02961](https://arxiv.org/html/2608.02961)
###### Abstract

We study a self\-supervised generation task for single\-cell gene expression vectors: given a set of vectors from a cell type, we aim to generate additional gene expression vectors of that cell type\. For this task we characterize both the biological fidelity of the generated gene expression vectors and the scaling behavior of the pretraining loss\. The model is a causal transformer paired with a learned quantized VAE tokenizer, trained with a cross\-entropy loss\. To evaluate the model, we condition it on held\-out gene expression vectors of a cell type and generate vectors of gene expression, comparing the resulting distribution over gene expression vectors to the ground truth distribution of that cell type\. We study the scaling properties of the proposed architecture by varying the number of trained parameters and the amount of training data\. To our knowledge, we find the first jointly\-fit two\-exponent scaling law and compute\-optimal frontier for a single\-cell foundation model\. Finally, we discuss how this pretrained model could be finetuned for perturbation response prediction\.††Code available at: attr/Border\[0 0 0\] user/Subtype/Link/A¡¡/Type/Action/S/URI/URI\(https://github\.com/haw\-ai\-i/SATScG\)¿¿https://github\.com/haw\-ai\-i/SATScG

## 1Introduction

Generating realistic single\-cell gene expression vectors for a cell type is broadly useful: such synthetic gene expression vectors can augment scarce or costly measurements, enable in\-silico experimentation, and provide a learned representation for downstream analysis\. Generating gene expression vectors for a cell line first requires representing that cell line\. Existing methods represent a cell line in one of three ways: first, using the categorical name of the cell line, as in CPA\(Lotfollahiet al\.[2023](https://arxiv.org/html/2608.02961#bib.bib22)\), GEARS\(Roohaniet al\.[2023](https://arxiv.org/html/2608.02961#bib.bib23)\), and Lingshu\-Cell\(Zhanget al\.[2026](https://arxiv.org/html/2608.02961#bib.bib25)\); second, using an example gene expression vector from the cell line, as in scGen\(Lotfollahiet al\.[2019](https://arxiv.org/html/2608.02961#bib.bib24)\), scGPT\(Cuiet al\.[2024](https://arxiv.org/html/2608.02961#bib.bib11)\), Geneformer\(Theodoriset al\.[2023](https://arxiv.org/html/2608.02961#bib.bib10)\), PRiMeFlow\(Yanet al\.[2026](https://arxiv.org/html/2608.02961#bib.bib26)\), and scREPA\(Wanget al\.[2026b](https://arxiv.org/html/2608.02961#bib.bib28)\); or third, using a sequence of gene expression vectors from the cell line, as in State\(Adduriet al\.[2025](https://arxiv.org/html/2608.02961#bib.bib27)\)\.

In this paper, we propose an autoregressive transformer architecture, paired with a quantized VAE for tokenization, that represents a cell line from a sequence of single\-cell gene expression vectors of an arbitrary length, and we study both the fidelity of the generated gene expression vectors and how its pretraining loss scales\. The model maps each single\-cell gene expression vector to a short sequence of discrete codes, treating discrete codes similarly to how a language model treats tokens\. Specifically, our contribution is fivefold: first, we formulate a self\-supervised learning task of generating synthetic gene expression vectors given a cell line; second, we define downstream metrics to evaluate the biological fidelity of the generated gene expression vectors; third, we formulate a pretraining loss based on autoregressive cross\-entropy prediction over discrete codes; fourth, we show that this pretraining loss correlates with downstream evaluation metrics; and fifth, we study the joint scaling laws of this loss with respect to model sizeNNand pretraining data sizeDD\. Finally, we discuss how this pretrained cell\-line embedding model could be finetuned into a system for perturbation response prediction, and report an observation from pretraining bearing on this idea: a held\-out loss on the target perturbation benchmark, tracked throughout pretraining, traces a checkmark\-shaped trajectory rather than falling together with the scaling\-law loss \(Section[5](https://arxiv.org/html/2608.02961#S5)\)\.

In language and vision, loss as a function of model sizeNNand training data sizeDDfollows a predictable power\-law form that can be used to choose a compute\-optimal allocation betweenNNandDD\(Kaplanet al\.[2020](https://arxiv.org/html/2608.02961#bib.bib6); Hoffmannet al\.[2022](https://arxiv.org/html/2608.02961#bib.bib7)\)\. Whether an analogous scaling law holds for single\-cell foundation models is the subject of an active debate, as discussed in Section[2](https://arxiv.org/html/2608.02961#S2)\. Several recent papers\(Kendiukhov[2026](https://arxiv.org/html/2608.02961#bib.bib19); Wanget al\.[2026a](https://arxiv.org/html/2608.02961#bib.bib20)\)report power\-law scaling along a single axis, such as model size at a fixed data volume or vice versa; at least three independent groups\(DenAdelet al\.[2026](https://arxiv.org/html/2608.02961#bib.bib21); Wanget al\.[2026a](https://arxiv.org/html/2608.02961#bib.bib20); Dibaeiniaet al\.[2026](https://arxiv.org/html/2608.02961#bib.bib18)\)report evidence that single\-cell foundation models plateau well short of their largest scales and attribute this to a lack of*context diversity*rather than insufficient capacity; and to our knowledge no prior work has fit a joint, two\-exponentL​\(N,D\)L\(N,D\)law to a single\-cell transformer on an independently\-variedN×DN\\times Dgrid\.

We define the task, metrics, loss, and model in Section[3](https://arxiv.org/html/2608.02961#S3); show that generation quality tracks the pretraining loss in Section[4\.1](https://arxiv.org/html/2608.02961#S4.SS1)and present the fitted scaling law with its diagnostics and compute\-optimal frontier in Section[4\.4](https://arxiv.org/html/2608.02961#S4.SS4); and discuss the implications for the single\-cell scaling debate and the Stage 2 perturbation\-response direction in Section[5](https://arxiv.org/html/2608.02961#S5)\.

## 2Background and Related Work

### 2\.1Single\-cell foundation models

Single\-cell foundation models pretrain on large, heterogeneous atlases and transfer to downstream tasks such as cell\-type annotation, perturbation response, or batch correction\. Architecturally, they fall into two broad families\.*Continuous\-embedding*models, such as scVI\(Lopezet al\.[2018](https://arxiv.org/html/2608.02961#bib.bib12)\), scGPT\(Cuiet al\.[2024](https://arxiv.org/html/2608.02961#bib.bib11)\), and the five architectures surveyed in\(DenAdelet al\.[2026](https://arxiv.org/html/2608.02961#bib.bib21)\), encode expression directly as continuous vectors\. In contrast, discretizing models convert expression profiles into sequences of discrete symbols before applying standard sequence models\. For example, Geneformer\(Theodoriset al\.[2023](https://arxiv.org/html/2608.02961#bib.bib10)\)ranks genes by expression and feeds the resulting rank order to a BERT\-style encoder\. Similarly, Cell2Sentence\(Levineet al\.[2023](https://arxiv.org/html/2608.02961#bib.bib13)\)and its scaled successor C2S\-Scale\(Rizviet al\.[2026](https://arxiv.org/html/2608.02961#bib.bib15)\)represent each cell as a sentence of gene names ordered by expression, which is then modeled by a standard language model\. Finally, Tahoe\-x1\(Gandhiet al\.[2025](https://arxiv.org/html/2608.02961#bib.bib16)\)bins continuous expression values using a fixed, non\-learned quantile codebook\. Our model also belongs to this discretizing family; it uses a variational autoencoder with a residual codebook as a tokenizer to learn a discrete representation of individual cell profiles\.

### 2\.2Neural scaling laws

Kaplanet al\.\([2020](https://arxiv.org/html/2608.02961#bib.bib6)\)showed that pretraining loss for transformers trained on natural language follows power laws in model size and data size individually\.Hoffmannet al\.\([2022](https://arxiv.org/html/2608.02961#bib.bib7)\)\(Chinchilla\) extended this to a joint form and described three ways to estimate it:*Approach 1*fits the lower envelope of training curves;*Approach 2*fits parabolas to loss at fixed compute, representing isoFLOP profiles;*Approach 3*directly fits a parametric two\-term loss

L​\(N,D\)=E\+ANα\+BDβL\(N,D\)=E\+\\frac\{A\}\{N^\{\\alpha\}\}\+\\frac\{B\}\{D^\{\\beta\}\}\(1\)to every\(N,D,L\)\(N,D,L\)triple by least squares, and inverts the fitted form analytically to obtain a compute\-optimal frontierN∗​\(C\)N^\{\\ast\}\(C\)\. We use Approach 3, detailed in Appendix[D\.3](https://arxiv.org/html/2608.02961#A4.SS3), and reuse this fitting procedure as\-is; our novelty is the application to a discrete\-tokenization single\-cell transformer, not the fitting procedure itself\.

## 3Task, Metrics, and Model

This section defines the self\-supervised learning task, the metrics that evaluate the generated gene expression vectors, the pretraining loss, and the model architecture; the full specification is deferred to Appendices[A](https://arxiv.org/html/2608.02961#A1)–[D](https://arxiv.org/html/2608.02961#A4)\.

### 3\.1The task

We study a self\-supervised learning task: given a set of single\-cell gene expression vectors from a cell type, generate additional gene expression vectors of that cell type\. Here a cell type corresponds to a group of single\-cell gene expression vectors sharing a cell\-type label; the label is used only to group vectors into a sentence and is never explicitly included in the model’s input\. We propose to extract cell type embedding vectors from the pre\-trained model for downstream use, as discussed in Section[5](https://arxiv.org/html/2608.02961#S5)\.

### 3\.2Metrics

We evaluate a generated population of gene expression vectors against empirical held\-out vectors of the same cell type at the level of population averages: each population is summarized by its per\-gene mean expression vector, and every metric we report is a comparison between two such average vectors\. Metrics of this form are the standard measure of biological fidelity in recent single\-cell expression prediction work, including the Virtual Cell Challenge\(Roohaniet al\.[2025](https://arxiv.org/html/2608.02961#bib.bib31)\)\. We report three quantities, averaged over cell types: the Pearson correlation between the average vector of the generated population and that of the empirical one, the mean absolute error between the same two average vectors, and a cell\-type discriminability score that is high when a generated population’s average vector is nearest the empirical average vector of its own cell type among all types in the hold\-out set\. These metrics are defined in Appendix[A\.5](https://arxiv.org/html/2608.02961#A1.SS5)\(Eqs\.[6](https://arxiv.org/html/2608.02961#A1.E6)–[8](https://arxiv.org/html/2608.02961#A1.E8)\); the baseline we score them against is introduced in Section[4\.1](https://arxiv.org/html/2608.02961#S4.SS1)\.

### 3\.3The pretraining loss

Each single\-cell gene expression vector is mapped to a sequence of eight discrete tokens, one per residual quantizer codebook \(Section[3\.4](https://arxiv.org/html/2608.02961#S3.SS4)\)\. The token sub\-sequences corresponding to cells from a single cell line are arranged in an arbitrary order to form a sequence, also called a sentence\. The model is trained to autoregressively predict the next token in the sentence\. We use the cross\-entropy loss, as detailed in Appendix[A\.4](https://arxiv.org/html/2608.02961#A1.SS4)\.

### 3\.4Model architecture

Inspired by approaches in large vision models\(Baiet al\.[2023](https://arxiv.org/html/2608.02961#bib.bib4)\), the model has two components, trained in sequence and then composed: a residual quantized variational autoencoder \(RQ\-VAE\)\(Leeet al\.[2022](https://arxiv.org/html/2608.02961#bib.bib2)\)that learns a discrete tokenizer for single\-cell gene expression vectors, and a causal transformer that models sequences of these tokens, as described in Appendix[A](https://arxiv.org/html/2608.02961#A1)\.

#### Tokenizer\.

The tokenizer takes a single\-cell log\-normalized expression vector over a fixed 18,080\-gene panel and compresses it to a single 256\-dimensional latent vector, which a residual vector quantizer\(Leeet al\.[2022](https://arxiv.org/html/2608.02961#bib.bib2)\)then encodes coarse\-to\-fine over eight passes: the first codebook contributes the codeword nearest the latent vector, and each subsequent codebook provides the codeword closest to the residual of the preceding steps\. A single\-cell expression profile entering as a vector of 18,080 expression values is thus mapped to an ordered tuple of eight integers; see Appendix[A\.1](https://arxiv.org/html/2608.02961#A1.SS1)for a concrete example\. Because this compression is lossy, it establishes an upper bound on the fidelity with which any cell state can be reconstructed, regardless of the downstream predictor’s capacity\. The RQ\-VAE is trained once and then*frozen*, serving purely as a tokenizer for all subsequent transformer experiments\.

#### Transformer and training\.

The tokenizer maps each single\-cell gene expression vector to a block of eight discrete tokens, and a set of vectors sharing a cell type is concatenated into a sentence of discrete tokens, one block per vector, separated by a learned separator token\. Every sentence holds 32 vectors, or 256 tokens plus the 31 separators, and this length is fixed throughout training and evaluation\. Details are provided in Appendix[A\.2](https://arxiv.org/html/2608.02961#A1.SS2)\. The model builds upon the LLaMA architecture\(Touvronet al\.[2023](https://arxiv.org/html/2608.02961#bib.bib3)\), adding a learned positional embedding over the eight tokens encoding a single vector, shared across all vectors in the sequence, together with a learned bias distinguishing tokens that encode a vector from the separators\.

#### Context embedding\.

Beyond next\-token prediction, the same transformer yields a fixed\-size embedding for a cell\-line sentence: we mean\-pool its last hidden state over the tokens of the cell\-line sequence, producing one vector for the context, as detailed in Appendix[A\.2](https://arxiv.org/html/2608.02961#A1.SS2)\. This mirrors the mechanism REAL\(Zhanget al\.[2024](https://arxiv.org/html/2608.02961#bib.bib29)\)uses to extract response embeddings from decoder\-only language models, averaging token\-level hidden states over the sequence dimension; here the same operation is applied to a cell\-line context rather than a dialogue response\. For downstream perturbation response prediction \(Section[5](https://arxiv.org/html/2608.02961#S5)\), this pooled vector serves as the cell\-line context embedding, giving predictors an alternative to the categorical, single\-profile, or full\-sentence cell\-line representations surveyed in Section[1](https://arxiv.org/html/2608.02961#S1)\.

## 4Results

### 4\.1Gene expression vector generation quality tracks the pretraining loss

We first ask whether the cross\-entropy loss is predictive of the target evaluation metrics of the task, verifying that lower pretraining loss yields higher gene expression vector generation quality\. For this evaluation, we measure generation quality across ten training checkpoints of a4\.434\.43M\-parameter model, during which the validation loss decreases from3\.613\.61to3\.093\.09\. We score the model against a*baseline*: the value each metric takes when a second, disjoint set of empirical held\-out vectors of the same cell type, passed through the same tokenizer as the generated ones, is used in place of the generated vectors\. It is the score a near\-ideal generator would obtain\. As detailed in Appendix[A\.5](https://arxiv.org/html/2608.02961#A1.SS5), the generation quality improves monotonically as the loss falls and tracks it closely\. The mean\-expression Pearson correlation coefficient rises from0\.9470\.947to0\.9600\.960, exhibiting a Pearson correlationr=−0\.99r=\-0\.99against validation loss across checkpoints\. Concurrently, the mean\-expression mean absolute error decreases from0\.0510\.051to0\.0410\.041, with a correlationr=\+0\.98r=\+0\.98\. These trends are illustrated in Figure[1](https://arxiv.org/html/2608.02961#S4.F1), with the per\-checkpoint values listed in Table[4](https://arxiv.org/html/2608.02961#A5.T4)\. Table[1](https://arxiv.org/html/2608.02961#S4.T1)reports the lowest\-validation\-loss checkpoint against the baseline\.

![Refer to caption](https://arxiv.org/html/2608.02961v1/x1.png)Figure 1:Evaluation of single\-cell gene expression vector generation quality metrics\. Each panel plots a generation\-quality metric for the4\.434\.43M model against its validation loss across ten training checkpoints \(loss falls left to right, so training progresses rightward\)\. The dashed horizontal line marks the baseline \(Table[1](https://arxiv.org/html/2608.02961#S4.T1)\)\. The model tracks close to it, improving as the loss decreases\.Table 1:Same\-cell\-type generation quality for the4\.434\.43M model at the checkpoint with the lowest pretraining validation loss \(per\-checkpoint values in Table[4](https://arxiv.org/html/2608.02961#A5.T4)\), scored against held\-out empirical vectors and averaged over131131cell types\. Metrics are defined in Eqs\.[6](https://arxiv.org/html/2608.02961#A1.E6)–[8](https://arxiv.org/html/2608.02961#A1.E8)\.First, generation is strongly cell\-type\-specific\. Discriminability is0\.9900\.990, essentially at the baseline of0\.9980\.998and far above the≈0\.5\\approx 0\.5a random ordering would give: a generated population’s mean vector is almost always closest to the empirical mean vector of its own cell type among all131131types\. The generated gene expression vectors are therefore about as cell\-type\-discriminable as empirical biological replicates\.

Second, the generated gene expression vectors match empirical replicates on this measure\. Their mean\-expression Pearson \(0\.9600\.960\) and MAE \(0\.0410\.041\) sit just under the baseline \(0\.9640\.964,0\.0380\.038\), meaning the generated population matches empirical vectors almost as closely as two empirical subsets of the same cell type match each other\. This baseline falls short of a perfect score of1\.01\.0for correlation or0\.00\.0for error because of the lossy tokenization noted in Section[3\.4](https://arxiv.org/html/2608.02961#S3.SS4)and because the metric compares two finite, distinct biological samples\. This is a within\-run, single\-model\-size probe rather than a downstream scaling result, as discussed in Appendix[F](https://arxiv.org/html/2608.02961#A6), but it shows that reductions in the pretraining loss translate into measurable, cell\-type\-specific generation improvements\. Generation this faithful also points to a practical use: the model can serve as a generator of synthetic single\-cell gene expression vectors, for example to augment scarce measurements or to produce in\-silico populations of a given cell type\.

### 4\.2The single\-cell scaling debate

Having seen that generation quality tracks the pretraining loss, we now turn to how that loss scales with model sizeNNand data sizeDD\. Whether single\-cell foundation models scale predictably is actively contested\. At least six single\-cell papers posted in the H2 of 2025 and H1 of 2026 directly address model\- or data\-scaling for single\-cell foundation models; Table[2](https://arxiv.org/html/2608.02961#S4.T2)summarizes how each relates to our design\. None reports an independently\-variedN×DN\\times Dgrid fit with a joint two\-exponent law of the form introduced byHoffmannet al\.\([2022](https://arxiv.org/html/2608.02961#bib.bib7)\), and a compute\-optimal frontier: prior work either sweeps a single axis, co\-variesNNandDD, or reports only a one\-exponentNN\-only power law\.

Table 2:Scaling\-oriented single\-cell papers most relevant to this work\.*Confounded*means model size co\-varies with another factor, such as data, architecture family, or an extra input token, rather than being swept on an otherwise\-fixed setup\.This design difference changes the conclusion\. Three studies in this literature, which we refer to throughout as the*diversity\-over\-scale*cluster\(DenAdelet al\.[2026](https://arxiv.org/html/2608.02961#bib.bib21); Wanget al\.[2026a](https://arxiv.org/html/2608.02961#bib.bib20); Dibaeiniaet al\.[2026](https://arxiv.org/html/2608.02961#bib.bib18)\), report no clear data\-scaling law, or saturation well below the scales they test, and read this as evidence that scale is not the primary lever\. Under the two\-term parametric loss ofHoffmannet al\.\([2022](https://arxiv.org/html/2608.02961#bib.bib7)\)in Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1), however, increasingDDat*fixed or uncontrolled*NNis*expected*to plateau once the data termB/DβB/D^\{\\beta\}falls below the capacity termA/NαA/N^\{\\alpha\}, since the model then lacks the capacity to exploit more data\. That is a capacity bottleneck, rather than proof that a data\-scaling law does not exist, and distinguishing the two requires sweepingNNandDDindependently, which none of these studies do\. Our grid does, and on it the loss does scale: both exponents come out clearly positive, the fitted law predicts runs held out of it, and inverting it gives a compute\-optimal frontier \(Section[4\.4](https://arxiv.org/html/2608.02961#S4.SS4)\)\. Appendix[C](https://arxiv.org/html/2608.02961#A3)treats the three studies and this argument in detail, and Section[5](https://arxiv.org/html/2608.02961#S5)returns to it in light of our results\.

### 4\.3A controlled grid varies model size and data independently

We therefore construct an explicit grid that variesNNandDDindependently on an otherwise fixed architecture family and data composition, as detailed in Appendix[D](https://arxiv.org/html/2608.02961#A4)\.

Two controls make the axes clean\. On the model axis, a naive sweep over parameter count alone confounds size with shape, since many width/depth pairs give the same parameter count; we instead hold the shape of the network fixed across sizes, scaling width and depth together in fixed proportion, and verify each parameter count by instantiating the model\. Five configurations span a factor of≈64×\\approx 64\\timesin parameter count, from1\.311\.31M to83\.983\.9M\. On the data axis,DDis the number of single\-cell gene expression vectors the model is trained on, representing the single\-cell analogue of counting training tokens, sampled from a fixed≈200\\approx 200M\-vector subset of the Arc Institute scBaseCount atlas while holding its composition, representing the relative mix of tissues, studies, and cell types, fixed\. This sampling strategy ensures thatDDisolates the effect of data quantity rather than diversity, as described in Appendix[B](https://arxiv.org/html/2608.02961#A2)\. This gives us 22 distinct\(N,D\)\(N,D\)points, withDDrunning from38\.138\.1M to362362M gene expression vectors, and up to1\.011\.01B on the held\-out runs of Section[4\.5](https://arxiv.org/html/2608.02961#S4.SS5)\.

Runs do not cycle repeatedly through the corpus, so the held\-out loss we fit coincides with the training loss\. Within each cell type,20%20\\%of cells are reserved as a validation split that no run ever trains on, andL​\(N,D\)L\(N,D\)is the pretraining cross\-entropy measured on that split\. BecauseDDcounts cells processed against a training pool of≈160\\approx 160M cells, a run makes at most a single pass over that pool at most grid points, with repetition only at the largest budgets, leaving little opportunity to memorize\. On a representative run the validation and training losses end at3\.093\.09and3\.103\.10, a negligible generalization gap\. Appendix[B](https://arxiv.org/html/2608.02961#A2)gives the split and the sampling scheme, and Appendix[E\.2](https://arxiv.org/html/2608.02961#A5.SS2)shows the full training and validation curves\.

This is deliberately a small\-scale setup: the largest model in the grid has at most83\.983\.9M parameters, two orders of magnitude below the billion\-parameter models in Table[2](https://arxiv.org/html/2608.02961#S4.T2), and all experiments ran on a single NVIDIA H100 GPU\. Reproducing the scaling law therefore does not require large\-scale infrastructure, and should be within reach of teams with modest compute budgets\.

### 4\.4A two\-exponent scaling law for the pretraining loss

We fit a controlled scaling law over the 22\(N,D\)\(N,D\)points of our grid, fitting Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1)as described in Appendix[D](https://arxiv.org/html/2608.02961#A4)\. On the self\-supervised pretraining loss, this yields a two\-term power law of the standard Chinchilla form, with both exponents clearly positive:

L​\(N,D\)=2\.90⏟E\+2\.05×104N0\.81\+4\.28×103D0\.57,L\(N,D\)\\;=\\;\\underbrace\{2\.90\}\_\{E\}\\;\+\\;\\frac\{2\.05\\times 10^\{4\}\}\{N^\{0\.81\}\}\\;\+\\;\\frac\{4\.28\\times 10^\{3\}\}\{D^\{0\.57\}\},\(2\)i\.e\.α≈0\.81\\alpha\\approx 0\.81\(returns to model size\) andβ≈0\.57\\beta\\approx 0\.57\(returns to data\), with an irreducible\-loss floor ofE≈2\.90E\\approx 2\.90nats\. The fit explains the grid well:R2=0\.977R^\{2\}=0\.977on the loss and0\.9760\.976on the log\-loss, with a log\-loss RMSE of0\.00460\.0046and a mean absolute error of0\.0080\.008nats\. The residuals, shown in Figure[3](https://arxiv.org/html/2608.02961#A5.F3)and detailed in Appendix[E\.1](https://arxiv.org/html/2608.02961#A5.SS1), are small, roughly symmetric about zero, and show no systematic trend withNNorDD; the largest single residual is under0\.020\.02in log space, representing an error of less than 2%\.

Becauseα\>β\\alpha\>\\beta, returns to model capacity fall off faster than returns to data over this regime, and inverting the law gives a compute\-optimal allocation, Eq\.[9](https://arxiv.org/html/2608.02961#A4.E9), that tilts toward data:D∗∝Cα/\(α\+β\)≈C0\.59D^\{\\ast\}\\propto C^\{\\alpha/\(\\alpha\+\\beta\)\}\\approx C^\{0\.59\}againstN∗∝C0\.41N^\{\\ast\}\\propto C^\{0\.41\}, so at these scales each additional unit of compute is better spent on more cells than on more parameters\. Recovering a data exponent this clearly positive is what the≈200\\approx 200M\-cell corpus of Appendix[B](https://arxiv.org/html/2608.02961#A2)buys, since a grid that variesDDover a narrow range, or only at fixedNN, leaves the data term of Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1)too flat to constrainβ\\beta\(Section[4\.2](https://arxiv.org/html/2608.02961#S4.SS2)\)\.

![Refer to caption](https://arxiv.org/html/2608.02961v1/x2.png)Figure 2:Fitted scaling surface for the self\-supervised pretraining loss\. Iso\-loss contours of Eq\.[2](https://arxiv.org/html/2608.02961#S4.E2)are shown in the\(model size,training FLOPs\)\(\\text\{model size\},\\ \\text\{training FLOPs\}\)plane withC≈6​N​DC\\approx 6ND; filled circles are the 22 empirical grid points, colored by measured loss; the solid ascending line is the compute\-optimal frontierN∗​\(C\)N^\{\\ast\}\(C\)of Eq\.[9](https://arxiv.org/html/2608.02961#A4.E9)\. The four labeled points, with measured and predicted losses in the legend, are runs held*out*of the fit, one at each model size below83\.983\.9M; we discuss them in Section[4\.5](https://arxiv.org/html/2608.02961#S4.SS5)\.
### 4\.5The fitted law predicts held\-out runs within 0\.5%

A parametric fit with five free parameters on 22 points can, in principle, absorb structure that would not generalize\. To guard against this, we held four runs, one at each of the four smaller model sizes, completely out of the fit and evaluated the ability of the fitted law to predict their losses, representing the labeled points in Figure[2](https://arxiv.org/html/2608.02961#S4.F2)\. Three of the four fall outside the data budgets the fit sees at their model size, so predicting them tests extrapolation alongDD; the fourth tests interpolation\. The fitted law predicts all four held\-out losses within0\.5%0\.5\\%of the measured values\. ForN=1\.31N=1\.31M atD=19\.7D=19\.7M, the predicted loss of3\.42453\.4245is within\+0\.33%\+0\.33\\%of the3\.43573\.4357measured\. ForN=4\.43N=4\.43M atD=113D=113M, the predicted loss of3\.09713\.0971is within−0\.22%\-0\.22\\%of the3\.09023\.0902measured\. ForN=10\.5N=10\.5M atD=389D=389M, the predicted loss of2\.99972\.9997is within\+0\.06%\+0\.06\\%of the3\.00143\.0014measured\. Finally, forN=20\.5N=20\.5M atD=1\.01D=1\.01B, which is the largest data budget in the study sitting on the compute\-optimal frontier, the predicted loss of2\.95962\.9596is within−0\.41%\-0\.41\\%of the2\.94752\.9475measured\. That the law predicts held\-out\(N,D\)\(N,D\)points this closely, across every model size, gives us more confidence in reading the compute\-optimal frontier of Eq\.[2](https://arxiv.org/html/2608.02961#S4.E2)than the in\-sampleR2R^\{2\}alone would warrant\. Every run in the grid ends where its data budget runs out, not where the model starts to memorize: the validation loss tracks the training loss throughout and is still at its minimum at the last measured step\. We can therefore read the fittedβ\\betaas a return to data\. This comes from the proportional pool sampling of Appendix[B](https://arxiv.org/html/2608.02961#A2)rather than from the size of the corpus, since uniform pool weighting on the same data oversamples the rare cell types and turns the validation loss upward part\-way through a run \(Appendix[E\.2](https://arxiv.org/html/2608.02961#A5.SS2)\)\.

## 5Discussion

#### A scaling law exists for this architecture: on the pretraining objective\.

Our fit shows that the self\-supervised pretraining loss of an RQ\-VAE\-tokenized single\-cell transformer follows a joint two\-exponent law over the range we test, and predicts held\-out points well enough, as shown in Section[4\.5](https://arxiv.org/html/2608.02961#S4.SS5), to determine a compute\-optimal allocation\. This yields a positive scaling result for a discrete, learned\-tokenization architecture, a family not previously fit with a jointN×DN\\times Dlaw, as summarized in Table[2](https://arxiv.org/html/2608.02961#S4.T2)\. This also helps explain the no\-data\-scaling plateaus reported elsewhere\. Those studies mostly add data at a fixed or uncontrolled model size, and under the fitted law, this is precisely when additional data ceases to reduce the loss\. Once the data termB/DβB/D^\{\\beta\}falls below the capacity termA/NαA/N^\{\\alpha\}, the model lacks the capacity to leverage more data\. The loss consequently flattens even though more data is available\. This behavior can be misconstrued as a limit to data scaling, whereas it represents a model\-size bottleneck, supporting the argument in Section[4\.2](https://arxiv.org/html/2608.02961#S4.SS2)\. A fixed\-NNslice through our fitted surface exhibits the same plateau, even though scalingNNandDDtogether consistently reduces the loss\.

#### Scope: this is a statement about the pretraining objective\.

The diversity\-over\-scale papers\(DenAdelet al\.[2026](https://arxiv.org/html/2608.02961#bib.bib21); Wanget al\.[2026a](https://arxiv.org/html/2608.02961#bib.bib20); Dibaeiniaet al\.[2026](https://arxiv.org/html/2608.02961#bib.bib18)\)make their strongest claims about downstream biological signal, such as differentially expressed gene recovery or perturbation discrimination, rather than the pretraining loss\. Our result does not contradict theirs: a well\-determined scaling law for the pretraining loss can hold at the same time as a weak downstream trend, if what limits the downstream tasks is the diversity of the available data rather than model size or the amount of pretraining\. What our joint grid adds is a controlled demonstration that, for the self\-supervised objective, the apparent lack of data scaling in single\-axis studies arises from a model\-size bottleneck rather than being an inherent property of single\-cell transformers\. The two\-term law appears clearly onceNNandDDare varied together over a sufficiently wide range\. As a first step toward addressing downstream tasks, Section[4\.1](https://arxiv.org/html/2608.02961#S4.SS1)demonstrates that same\-cell\-type generation quality tracks the pretraining loss, producing synthetic gene expression vectors that are comparable to empirical replicates on a gene\-expression\-profile measure\.

#### Stage 2: an idea for perturbation\-conditioned generation, and an observation from pretraining\.

The pretraining objective studied above \(Stage 1\) builds a general\-purpose cell\-line representation\. The way we envision turning it into a perturbation\-response predictor is a second stage that finetunes this pretrained model on a perturbation\-conditioned objective: a block of control\-vector tokens, a token identifying the perturbation, and a block of perturbed\-vector tokens, with the model scored on predicting the perturbed vector’s tokens from the control cell\-line context and the perturbation identity\. This pretrain\-then\-finetune \(Stage 1→\\toStage 2\) framework is the direction we are pursuing to apply the architecture to perturbation response; we do not report Stage 2 results here\. What we do report is an observation from Stage 1 pretraining bearing on this idea\. While monitoring Stage 1 pretraining, we track a held\-out loss on control single\-cell gene expression vectors drawn from the same perturbation benchmark a Stage 2 finetune would target, scored in the ordinary \(unconditioned\) pretraining format\. This loss does not fall together with the scBaseCount loss the scaling law is fit to: it drops sharply over the first few hundred steps and then rises for the remainder of the run, tracing a checkmark\-shaped trajectory \(Appendix[E\.3](https://arxiv.org/html/2608.02961#A5.SS3)\), even as the scBaseCount validation loss keeps falling over the same steps\. A natural reading is that the two losses diverge due to a composition mismatch: scBaseCount’s cross\-tissue, cross\-study composition increasingly dominates the representation as pretraining proceeds, at the expense of fit to the narrower, cell\-line\-specific slice the perturbation benchmark occupies\. This raises an open question for the Stage 1→\\toStage 2 framework, namely whether and how the point in Stage 1 pretraining at which a representation is handed off matters for how well it finetunes for perturbation response, which we leave to future work\.

## 6Conclusion

We presented an RQ\-VAE\-tokenized, LLaMA\-architecture transformer for single\-cell gene expression modeling, pretrained self\-supervised on the scBaseCount atlas to synthesize expression vectors given a cell\-line context, and evaluated two primary properties\. First, its generation quality: conditioned on held\-out vectors of a cell type, it generates cell\-type\-specific gene expression vectors that match the biological fidelity of empirical replicates on a gene\-expression\-profile measure, and this quality tracks the pretraining loss\. Second, how that loss scales: on a controlled grid that varies model sizeNNand data budgetDDindependently, spanning1\.31\.3–83\.983\.9M parameters and data budgets of38\.138\.1M–362362M vectors on a≈200\\approx 200M\-vector corpus, we fit the Chinchilla Approach\-3 parametric loss and obtain, to our knowledge, the first jointly\-fit two\-exponent scaling law and compute\-optimal frontier for a single\-cell transformer, withα≈0\.81\\alpha\\approx 0\.81andβ≈0\.57\\beta\\approx 0\.57,R2≈0\.98R^\{2\}\\approx 0\.98, and out\-of\-sample predictions that track measured losses closely\. This locates the no\-data\-scaling plateaus reported elsewhere as a downstream, not an upstream, phenomenon\. Applying the pretrained model to perturbation response, through the Stage 2 perturbation\-conditioned generation the architecture is designed for, is the natural direction this result opens up\.

## Acknowledgments

We thank Rong Wei, Alexander Avdoshkin, Ziyi Zhuang, and Ziyu Chen for their contributions to this work, and Leonid Klarov for providing the compute infrastructure that supported the GPU experiments reported here\.

This work was supported by the National Science Foundation NRT\-AI 2244574 and through allocation number CIS240027 from the Advanced Cyberinfrastructure Coordination Ecosystem: Services & Support \(ACCESS\) program, which is supported by National Science Foundation grants \# 2138259, \# 2138286, \# 2138307, \# 2137603, and \# 2138296\.

The technical support and advanced computing resources from University of Hawaii Information Technology Services \- Research Cyberinfrastructure, funded in part by the National Science Foundation CC\* awards \# 2201428 and \# 2232862 are gratefully acknowledged\.

## References

- A\. K\. Adduri, D\. Gautam, B\. Bevilacqua, A\. Imran, R\. Shah, M\. Naghipourfar, N\. Teyssier, R\. Ilango, S\. Nagaraj, M\. Dong, C\. Ricci\-Tam, C\. Carpenter, V\. Subramanyam, A\. Winters, S\. Tirukkovular, J\. Sullivan, B\. S\. Plosky, B\. Eraslan, N\. D\. Youngblut, J\. Leskovec, L\. A\. Gilbert, S\. Konermann, P\. D\. Hsu, A\. Dobin, D\. P\. Burke, H\. Goodarzi, and Y\. H\. Roohani \(2025\)Predicting cellular responses to perturbation across diverse contexts with State\.Note:bioRxiv 2025\.06\.26\.661135Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p1.1)\.
- Y\. Bai, X\. Geng, K\. Mangalam, A\. Bar, A\. Yuille, T\. Darrell, J\. Malik, and A\. A\. Efros \(2023\)Sequential modeling enables scalable learning for large vision models\.External Links:2312\.00785Cited by:[§3\.4](https://arxiv.org/html/2608.02961#S3.SS4.p1.1)\.
- H\. Chen, M\. S\. Venkatesh, J\. G\. Ortega, S\. V\. Mahesh, T\. N\. Nandi, R\. K\. Madduri, K\. Pelka, and C\. V\. Theodoris \(2026\)Scaling and quantization of large\-scale foundation model enables resource\-efficient predictions in network biology\.Nature Computational Science\.External Links:[Document](https://dx.doi.org/10.1038/s43588-026-00972-4)Cited by:[Table 2](https://arxiv.org/html/2608.02961#S4.T2.3.3.2.1.1)\.
- H\. Cui, C\. Wang, H\. Maan, K\. Pang, F\. Luo, N\. Duan, and B\. Wang \(2024\)scGPT: toward building a foundation model for single\-cell multi\-omics using generative AI\.Nature Methods21,pp\. 1470–1480\.Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p1.1),[§2\.1](https://arxiv.org/html/2608.02961#S2.SS1.p1.1)\.
- A\. DenAdel, M\. Hughes, A\. Thoutam, A\. Gupta, A\. W\. Navia, N\. Fusi, S\. Raghavan, P\. S\. Winter, A\. P\. Amini, and L\. Crawford \(2026\)Evaluating the role of pretraining dataset size and diversity on single\-cell foundation model performance\.Nature Methods\.External Links:[Document](https://dx.doi.org/10.1038/s41592-026-03120-y)Cited by:[Appendix C](https://arxiv.org/html/2608.02961#A3.p2.1),[Appendix C](https://arxiv.org/html/2608.02961#A3.p3.6),[§1](https://arxiv.org/html/2608.02961#S1.p3.6),[§2\.1](https://arxiv.org/html/2608.02961#S2.SS1.p1.1),[§4\.2](https://arxiv.org/html/2608.02961#S4.SS2.p2.6),[Table 2](https://arxiv.org/html/2608.02961#S4.T2.11.11.2.1.1),[§5](https://arxiv.org/html/2608.02961#S5.SS0.SSS0.Px2.p1.2)\.
- P\. Dibaeinia, S\. Babu, M\. Knudson, A\. E\. Sheikh, Y\. Wen, H\. Liu, J\. Perera, and A\. A\. Khan \(2026\)Virtual cells need context, not just scale\.Note:bioRxiv 2026\.02\.04\.703804Cited by:[Appendix C](https://arxiv.org/html/2608.02961#A3.p2.1),[§1](https://arxiv.org/html/2608.02961#S1.p3.6),[§4\.2](https://arxiv.org/html/2608.02961#S4.SS2.p2.6),[§5](https://arxiv.org/html/2608.02961#S5.SS0.SSS0.Px2.p1.2)\.
- S\. Gandhi, F\. Javadi, V\. Svensson, U\. Khan, M\. G\. Jones, J\. Yu, D\. Merico, H\. Goodarzi, and N\. Alidoust \(2025\)Tahoe\-x1: scaling perturbation\-trained single\-cell foundation models to 3 billion parameters\.Note:bioRxiv 2025\.10\.23\.683759Cited by:[§2\.1](https://arxiv.org/html/2608.02961#S2.SS1.p1.1),[Table 2](https://arxiv.org/html/2608.02961#S4.T2.6.6.3.1.1)\.
- J\. Hoffmann, S\. Borgeaud, A\. Mensch, E\. Buchatskaya, T\. Cai, E\. Rutherford, D\. de Las Casas, L\. A\. Hendricks, J\. Welbl, A\. Clark, T\. Hennigan, E\. Noland, K\. Millican, G\. van den Driessche, B\. Damoc, A\. Guy, S\. Osindero, K\. Simonyan, E\. Elsen, J\. W\. Rae, O\. Vinyals, and L\. Sifre \(2022\)Training compute\-optimal large language models\.External Links:2203\.15556Cited by:[Appendix C](https://arxiv.org/html/2608.02961#A3.p3.6),[§1](https://arxiv.org/html/2608.02961#S1.p3.6),[§2\.2](https://arxiv.org/html/2608.02961#S2.SS2.p1.3),[§4\.2](https://arxiv.org/html/2608.02961#S4.SS2.p1.6),[§4\.2](https://arxiv.org/html/2608.02961#S4.SS2.p2.6)\.
- J\. Kaplan, S\. McCandlish, T\. Henighan, T\. B\. Brown, B\. Chess, R\. Child, S\. Gray, A\. Radford, J\. Wu, and D\. Amodei \(2020\)Scaling laws for neural language models\.External Links:2001\.08361Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p3.6),[§2\.2](https://arxiv.org/html/2608.02961#S2.SS2.p1.3)\.
- I\. Kendiukhov \(2026\)Scaling laws for masked\-reconstruction transformers on single\-cell transcriptomics\.External Links:2602\.15253Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p3.6),[Table 2](https://arxiv.org/html/2608.02961#S4.T2.8.8.3.1.1)\.
- D\. Lee, C\. Kim, S\. Kim, M\. Cho, and W\. Han \(2022\)Autoregressive image generation using residual quantization\.InIEEE/CVF Conference on Computer Vision and Pattern Recognition \(CVPR\),Cited by:[§A\.1](https://arxiv.org/html/2608.02961#A1.SS1.p1.14),[§3\.4](https://arxiv.org/html/2608.02961#S3.SS4.SSS0.Px1.p1.1),[§3\.4](https://arxiv.org/html/2608.02961#S3.SS4.p1.1)\.
- D\. Levine, S\. A\. Rizvi, S\. Lévy, N\. Pallikkavaliyaveetil, X\. Chen, D\. Zhang, S\. Ghadermarzi, R\. Wu, Z\. Zheng, I\. Vrkic, A\. Zhong, D\. Raskin, M\. Yu, Y\. Zhang, M\. M\. Li, V\. Jain, A\. O\. Pisco, K\. Sachs, R\. Chen, and D\. van Dijk \(2023\)Cell2Sentence: teaching large language models the language of biology\.Note:bioRxiv 2023\.11\.08\.566117Cited by:[§2\.1](https://arxiv.org/html/2608.02961#S2.SS1.p1.1)\.
- R\. Lopez, J\. Regier, M\. B\. Cole, M\. I\. Jordan, and N\. Yosef \(2018\)Deep generative modeling for single\-cell transcriptomics\.Nature Methods15,pp\. 1053–1058\.Cited by:[§2\.1](https://arxiv.org/html/2608.02961#S2.SS1.p1.1)\.
- M\. Lotfollahi, A\. K\. Susmelj, C\. D\. Donno, Y\. Roohani, and F\. J\. Theis \(2023\)Predicting cellular responses to complex perturbations in high\-throughput screens\.Molecular Systems Biology19\(6\),pp\. e11517\.Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p1.1)\.
- M\. Lotfollahi, F\. A\. Wolf, and F\. J\. Theis \(2019\)scGen predicts single\-cell perturbation responses\.Nature Methods16\(8\),pp\. 715–721\.Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p1.1)\.
- J\. W\. Rae, S\. Borgeaud, T\. Cai, K\. Millican, J\. Hoffmann, F\. Song, J\. Aslanides, S\. Henderson, R\. Ring, S\. Young,et al\.\(2021\)Scaling language models: methods, analysis & insights from training Gopher\.External Links:2112\.11446Cited by:[§D\.2](https://arxiv.org/html/2608.02961#A4.SS2.p1.12)\.
- S\. A\. Rizvi, D\. Levine, A\. Patel, S\. Zhang, E\. Wang, C\. J\. Perry, I\. Vrkic, N\. M\. Constante, Z\. Fu, S\. He, D\. Zhang, C\. Tang, Z\. Lyu, R\. Darji, C\. Li, E\. Sun, D\. Jeong, L\. Zhao, J\. Kwan, D\. Braun, B\. Hafler, H\. Chung, R\. M\. Dhodapkar, P\. Jaeger, B\. Perozzi, J\. Ishizuka, S\. Azizi, and D\. van Dijk \(2026\)Scaling large language models for next\-generation single\-cell analysis\.Note:bioRxiv 2025\.04\.14\.648850Cited by:[§2\.1](https://arxiv.org/html/2608.02961#S2.SS1.p1.1),[Table 2](https://arxiv.org/html/2608.02961#S4.T2.4.4.2.1.1)\.
- Y\. Roohani, K\. Huang, and J\. Leskovec \(2023\)Predicting transcriptional outcomes of novel multigene perturbations with GEARS\.Nature Biotechnology41\(7\),pp\. 927–935\.Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p1.1)\.
- Y\. H\. Roohani, T\. J\. Hua, P\. Tung, L\. R\. Bounds, F\. B\. Yu, A\. Dobin, N\. Teyssier, A\. Adduri, A\. Woodrow, B\. S\. Plosky, R\. Mehta, B\. Hsu, J\. Sullivan, C\. Ricci\-Tam, N\. Li, J\. Kazaks, L\. A\. Gilbert, S\. Konermann, P\. D\. Hsu, H\. Goodarzi, and D\. P\. Burke \(2025\)Virtual cell challenge: toward a turing test for the virtual cell\.Cell188\(13\),pp\. 3370–3374\.External Links:[Document](https://dx.doi.org/10.1016/j.cell.2025.06.008)Cited by:[§3\.2](https://arxiv.org/html/2608.02961#S3.SS2.p1.1)\.
- C\. V\. Theodoris, L\. Xiao, A\. Chopra, M\. D\. Chaffin, Z\. R\. Sayed, M\. C\. Hill, A\. Mantineo, E\. M\. Brydon, Z\. Zeng, X\. Liu, and P\. T\. Ellinor \(2023\)Transfer learning enables predictions in network biology\.Nature618,pp\. 616–624\.Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p1.1),[§2\.1](https://arxiv.org/html/2608.02961#S2.SS1.p1.1)\.
- H\. Touvron, T\. Lavril, G\. Izacard, X\. Martinet, M\. Lachaux, T\. Lacroix, B\. Rozière, N\. Goyal, E\. Hambro, F\. Azhar, A\. Rodriguez, A\. Joulin, E\. Grave, and G\. Lample \(2023\)LLaMA: open and efficient foundation language models\.External Links:2302\.13971Cited by:[§A\.2](https://arxiv.org/html/2608.02961#A1.SS2.p1.1),[§3\.4](https://arxiv.org/html/2608.02961#S3.SS4.SSS0.Px2.p1.1)\.
- C\. Wang, M\. Karimzadeh, N\. G\. Ravindra, L\. R\. Bounds, N\. Alerasool, A\. C\. Huang, S\. Ma, D\. R\. Gulbranson, H\. Cui, Y\. Lee, A\. A\. …, E\. J\. MacKrell, M\. S\. Wilken, J\. Chen, B\. W\. Herken, J\. A\. Weber, M\. M\. Onesto, B\. Gonzalez\-Teran, N\. F\. Leung, S\. Y\. Shi, B\. J\. Smith, S\. K\. Lam, A\. Barner, P\. Wright, E\. M\. Rumsey, S\. Kim, R\. V\. Sit, A\. J\. Litterman, C\. Chu, and B\. Wang \(2026a\)X\-Cell: scaling causal perturbation prediction across diverse cellular contexts via diffusion language models\.Note:bioRxiv 2026\.03\.18\.712807Cited by:[Appendix C](https://arxiv.org/html/2608.02961#A3.p2.1),[Appendix C](https://arxiv.org/html/2608.02961#A3.p3.6),[§1](https://arxiv.org/html/2608.02961#S1.p3.6),[§4\.2](https://arxiv.org/html/2608.02961#S4.SS2.p2.6),[Table 2](https://arxiv.org/html/2608.02961#S4.T2.10.10.3.1.1),[§5](https://arxiv.org/html/2608.02961#S5.SS0.SSS0.Px2.p1.2)\.
- Y\. Wang, X\. Chen, X\. Li, and K\. Wong \(2026b\)scREPA: predicting single\-cell perturbation responses with cycle\-consistent representation alignment\.Computational Biology and Chemistry120,pp\. 108712\.Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p1.1)\.
- Z\. Yan, Y\. Wu, M\. X\. Ji, C\. Agrahar, E\. Wershof, M\. Nassar, M\. Sadria, R\. Eksi, V\. Trifonov, I\. Ibarra, T\. Felgueira, B\. Osiński, and R\. Stark \(2026\)PRiMeFlow: capturing complex expression heterogeneity in perturbation response modelling\.External Links:2604\.13986Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p1.1)\.
- H\. Zhang, G\. Yuan, C\. Yuan, T\. Xu, T\. Bian, H\. Cheng, W\. Huang, D\. Zhao, and Y\. Rong \(2026\)Lingshu\-cell: a generative cellular world model for transcriptome modeling toward virtual cells\.External Links:2603\.25240Cited by:[§1](https://arxiv.org/html/2608.02961#S1.p1.1)\.
- H\. Zhang, X\. Zhao, I\. Molybog, and J\. Zhang \(2024\)REAL: response embedding\-based alignment for LLMs\.External Links:2409\.17169Cited by:[§A\.2](https://arxiv.org/html/2608.02961#A1.SS2.SSS0.Px3.p1.4),[§3\.4](https://arxiv.org/html/2608.02961#S3.SS4.SSS0.Px3.p1.1)\.

## Appendix AMethod

Our model has two components, trained in sequence and then composed: \(i\) a RQ\-VAE that learns a discrete tokenizer for single\-cell expression profiles, and \(ii\) a causal transformer that models sequences of these tokens\.

### A\.1RQ\-VAE tokenizer

Each cell is represented as a vectorx∈ℝ18,080x\\in\\mathbb\{R\}^\{18\{,\}080\}of log\-normalized expression over a fixed gene panel \(Section[B](https://arxiv.org/html/2608.02961#A2)\)\. An MLP encoderfθf\_\{\\theta\}mapsxxto a latentze=fθ​\(x\)∈ℝ256z\_\{e\}=f\_\{\\theta\}\(x\)\\in\\mathbb\{R\}^\{256\}\(one hidden layer of width 1,024 with a ReLU nonlinearity in our default configuration\);zez\_\{e\}is quantized by a residual vector\-quantizer\(Leeet al\.[2022](https://arxiv.org/html/2608.02961#bib.bib2)\)with 8 residual codebooks of 256 entries each \(initialized via k\-means on the first batch\), giving each cell a sequence of 8 discrete tokenst1,…,t8∈\{0,…,255\}t\_\{1\},\\dots,t\_\{8\}\\in\\\{0,\\dots,255\\\}; an MLP decodergθg\_\{\\theta\}reconstructsx^=gθ​\(zq\)\\hat\{x\}=g\_\{\\theta\}\(z\_\{q\}\)from the quantized latentzqz\_\{q\}\. At stepkk, codebookC\(k\)∈ℝ256×256C^\{\(k\)\}\\in\\mathbb\{R\}^\{256\\times 256\}selectsCtk\(k\)C^\{\(k\)\}\_\{t\_\{k\}\}; the residual sequence is defined byr\(1\)=zer^\{\(1\)\}=z\_\{e\}andr\(k\+1\)=r\(k\)−Ctk\(k\)r^\{\(k\+1\)\}=r^\{\(k\)\}\-C^\{\(k\)\}\_\{t\_\{k\}\}\. The training objective is

ℒRQ\-VAE=∥x^−x∥22⏟reconstruction\+λc​∑k=18∥r\(k\)−sg​\[Ctk\(k\)\]∥22,\\mathcal\{L\}\_\{\\text\{RQ\-VAE\}\}=\\underbrace\{\\lVert\\hat\{x\}\-x\\rVert\_\{2\}^\{2\}\}\_\{\\text\{reconstruction\}\}\\;\+\\;\\lambda\_\{c\}\\sum\_\{k=1\}^\{8\}\\lVert r^\{\(k\)\}\-\\mathrm\{sg\}\[C^\{\(k\)\}\_\{t\_\{k\}\}\]\\rVert\_\{2\}^\{2\},\(3\)the sum of an MSE reconstruction loss and a commitment loss at each residual codebookkk\(stop\-gradientsg​\[⋅\]\\mathrm\{sg\}\[\\cdot\], commitment weightλc=0\.25\\lambda\_\{c\}=0\.25\), summed \(not averaged\) across codebooks\. We train with AdamW, a linear warmup \(1,000 steps, or 10% of total steps for short runs\) followed by cosine decay to a minimum learning rate of10−610^\{\-6\}, and batch size 1,024\. The RQ\-VAE is trained on the scBaseCount atlas; the resulting checkpoint is then*frozen*and used purely as a tokenizer for all transformer experiments in Section[D](https://arxiv.org/html/2608.02961#A4)\.

#### Worked example: from expression to eight codes\.

It is worth making the expression\-to\-token map concrete, since it is the step that turns a continuous cell into a short string of symbols\. A single cell enters as its log\-normalized expression vector and leaves as an ordered tuple of eight integers,

x∈ℝ18,080\\displaystyle x\\in\\mathbb\{R\}^\{18\{,\}080\}→fθze∈ℝ256\\displaystyle\\;\\xrightarrow\{\\;f\_\{\\theta\}\\;\}\\;z\_\{e\}\\in\\mathbb\{R\}^\{256\}→ResidualVQ\(t1,…,t8\)∈\{0,…,255\}8\\displaystyle\\;\\xrightarrow\{\\;\\text\{ResidualVQ\}\\;\}\\;\(t\_\{1\},\\dots,t\_\{8\}\)\\in\\\{0,\\dots,55\\\}^\{8\}→gθx^∈ℝ18,080\.\\displaystyle\\;\\xrightarrow\{\\;g\_\{\\theta\}\\;\}\\;\\hat\{x\}\\in\\mathbb\{R\}^\{18\{,\}080\}\.
The encoderfθf\_\{\\theta\}compresses the18,08018\{,\}080\-dimensional profile to a single256256\-dimensional vectorzez\_\{e\}, and the residual quantizer then encodeszez\_\{e\}*coarse\-to\-fine*over eight passes\. Using the residual sequence defined above, the token selected from each codebook is

tk=arg​minj∈\{0,…,255\}⁡‖r\(k\)−Cj\(k\)‖2,k=1,…,8,t\_\{k\}=\\operatorname\*\{arg\\,min\}\_\{j\\in\\\{0,\\dots,255\\\}\}\\bigl\\lVert r^\{\(k\)\}\-C^\{\(k\)\}\_\{j\}\\bigr\\rVert\_\{2\},\\qquad k=1,\\dots,8,\(4\)sot1t\_\{1\}names the codeword closest tozez\_\{e\}itself,t2t\_\{2\}names the codeword that best explains what codebook 1 left over, and so on down tot8t\_\{8\}; the quantized latent handed to the decoder is the running sumzq=∑k=18Ctk\(k\)z\_\{q\}=\\sum\_\{k=1\}^\{8\}C^\{\(k\)\}\_\{t\_\{k\}\}\. Concretely, a T cell whose profile is dominated by markers such as*CD3D*and*IL7R*might encode as

ze⟼\(t1,…,t8\)=\(46,201,46,133,8,224,79,150\),\\begin\{gathered\}z\_\{e\}\\;\\longmapsto\\;\(t\_\{1\},\\dots,t\_\{8\}\)\\\\ =\(46,\\,201,\\,46,\\,133,\\,8,\\,224,\\,79,\\,150\),\\end\{gathered\}with illustrative values, so the entire cell is now represented by the eight\-symbol string46 201 46 133 8 224 79 15046\\;\\,201\\;\\,46\\;\\,133\\;\\,8\\;\\,224\\;\\,79\\;\\,150, which is the block of tokens that this cell contributes to a cell sentence \(Section[A\.2](https://arxiv.org/html/2608.02961#A1.SS2)\)\. Although the eight codebooks are distinct, their indices share the single range\{0,…,255\}\\\{0,\\dots,255\\\}, so the transformer reuses one256256\-row embedding table across all codebooks: the codes drawn from codebooks 1 and 3 above are both written4646and map to the same embedding row, and only the within\-cell position embedding \(Section[A\.2](https://arxiv.org/html/2608.02961#A1.SS2)\) distinguishes them\.

### A\.2Cell\-sentence transformer

We reuse the LLaMA decoder\-only architecture\(Touvronet al\.[2023](https://arxiv.org/html/2608.02961#bib.bib3)\)\(via HuggingFace’sLlamaConfig/LlamaForCausalLM\), trained from scratch rather than from pretrained language\-model weights, as the backbone for modeling sequences of RQ\-VAE tokens\. The vocabulary is the union of the 256 RQ\-VAE codes \(shared across all 8 residual codebooks\) and a single separator token\[SEP\]\.

#### Sequence construction\.

A pretraining example is a sequence of 32 cells of the same cell type, sampled from the same cell\-type pool \(cells are grouped by theircell\_typeannotation when the pretraining tokens are prepared, and only cell types with at least 1,000 cells are kept\), each contributing its 8 RQ\-VAE tokens, with\[SEP\]inserted between \(but not after\) consecutive cells, giving32×8\+31=28732\\times 8\+31=287tokens\. Note the cell\-type label is used only to decide which cells may share a sequence; it is not fed to the model as a token\. The model is trained with standard next\-token cross\-entropy; loss on\[SEP\]positions is masked out of the target so the model is only ever scored on predicting RQ\-VAE code positions\.

#### Cell\-aware position encoding\.

On top of the backbone’s own position encoding, we add two signals that mark the block structure of a cell sentence: \(a\) a learned positional embedding over the 8 within\-cell token positions only, shared across all cells in the sequence, so that a token’s role within its cell is encoded independently of where that cell falls in the sentence, and \(b\) one of two learned bias vectors added to every token’s embedding depending on whether it belongs to a cell \(*intra*\) or is a separator or other special token \(*inter*\)\.

#### Cell\-line context embedding\.

Beyond the per\-cell pooling used above, the same last hidden states support a coarser, sequence\-level embedding representing an entire cell\-line context\. Leth1,…,hT∈ℝdh\_\{1\},\\dots,h\_\{T\}\\in\\mathbb\{R\}^\{d\}denote the transformer’s last hidden states at theTTnon\-separator token positions of a context\-cell sequence, excluding\[SEP\]positions, consistent with how separator positions are already excluded from the pretraining loss target \(Section[A\.3](https://arxiv.org/html/2608.02961#A1.SS3)\)\. The cell\-line embedding is the mean of these hidden states,

e=1T​∑t=1Tht,e=\\frac\{1\}\{T\}\\sum\_\{t=1\}^\{T\}h\_\{t\},\(5\)the same average\-token\-pooling mechanism REAL\(Zhanget al\.[2024](https://arxiv.org/html/2608.02961#bib.bib29)\)uses to obtain sequence\-level response embeddings from decoder\-only language models, applied here to a cell\-line context rather than a dialogue response\. Because every context cell contributes a fixed 8 tokens,eeis equivalently the average of the per\-cell pooled vectors defined above, taken over every cell in the sequence, so the two poolings agree wherever both are computed on the same sequence\. This pooling rule is defined identically regardless of how many cells the context holds, giving a fixed\-dd\-dimensional cell\-line embedding at any context length \(Section[3\.4](https://arxiv.org/html/2608.02961#S3.SS4)\)\.

### A\.3Pretraining

All experiments in this paper train the model self\-supervised by next\-token prediction on control\-only cell sentences drawn from scBaseCount \(Section[B](https://arxiv.org/html/2608.02961#A2)\)\. This pretraining objective — and its scaling with model and data size \(Section[4](https://arxiv.org/html/2608.02961#S4)\) — is the sole training procedure we study\.

### A\.4Evaluation metric

The quantity we fit is the self\-supervised pretraining loss: next\-token cross\-entropy over held\-out scBaseCount cell sentences, measuring how well the model predicts the RQ\-VAE code positions of unseen cells\. This is the lossL​\(N,D\)L\(N,D\)in Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1)and the target of every fit in Section[4](https://arxiv.org/html/2608.02961#S4)\. Because the sequence includes\[SEP\]positions whose targets are masked out, the loss is averaged only over predicted code positions, so it is comparable across the different model and data sizes of the grid\.

### A\.5Same\-cell\-type generation and its evaluation

Beyond the pretraining loss, we ask whether the pretrained model generates realistic gene expression vectors and whether generation quality improves as that loss falls\. Using the pretraining \(same\-cell\-type\) format, we prompt the model with a set of held\-out vectors of a given cell type and autoregressively sample new vectors of that type — each of the eight code positions in turn, restricted to the RQ\-VAE codes — then decode the generated tokens to expression with the frozen RQ\-VAE\. For each of131131cell types we compare the generated population against a disjoint set of held\-out*empirical*vectors of the same type, using their original \(log\-normalized\) expression as the reference\. Because a generated vector can only be produced by decoding its RQ\-VAE tokens back to expression, any tokenizer reconstruction error falls entirely on the generated side of the comparison; our baseline \(defined below\) measures exactly that error, so the gap between the model and the baseline isolates the transformer’s own contribution\. We summarize each comparison with three quantities, averaged over cell types: \(i\) the Pearson correlation between the per\-gene mean expression of generated and empirical vectors \(Eq\.[6](https://arxiv.org/html/2608.02961#A1.E6); profile agreement — whether the relative pattern across genes matches\); \(ii\) the mean absolute error of that per\-gene mean \(Eq\.[7](https://arxiv.org/html/2608.02961#A1.E7); magnitude error — whether the absolute expression levels match\); and \(iii\) a cell\-type*discriminability*score in\[0,1\]\[0,1\]\(Eq\.[8](https://arxiv.org/html/2608.02961#A1.E8)\) —11when each generated population’s mean vector is nearest the empirical mean vector of its own cell type among all types, and≈0\.5\\approx 0\.5under random guessing — which measures whether generation is cell\-type\-specific rather than mode\-collapsed across types\.

Formally, writeC=131C=131for the number of cell types andG=18,080G=18\{,\}080for the number of genes\. For cell typecclet𝐱¯c∈ℝG\\bar\{\\mathbf\{x\}\}\_\{c\}\\in\\mathbb\{R\}^\{G\}be the per\-gene mean expression of the generated vectors of that type and𝐲¯c∈ℝG\\bar\{\\mathbf\{y\}\}\_\{c\}\\in\\mathbb\{R\}^\{G\}that of the disjoint set of empirical hold\-out vectors, withx¯c,g\\bar\{x\}\_\{c,g\},y¯c,g\\bar\{y\}\_\{c,g\}theirgg\-th entries and⟨𝐱¯c⟩=1G​∑gx¯c,g\\langle\\bar\{\\mathbf\{x\}\}\_\{c\}\\rangle=\\tfrac\{1\}\{G\}\\sum\_\{g\}\\bar\{x\}\_\{c,g\}the average across genes\. Writinguc,g=x¯c,g−⟨𝐱¯c⟩u\_\{c,g\}=\\bar\{x\}\_\{c,g\}\-\\langle\\bar\{\\mathbf\{x\}\}\_\{c\}\\rangleandvc,g=y¯c,g−⟨𝐲¯c⟩v\_\{c,g\}=\\bar\{y\}\_\{c,g\}\-\\langle\\bar\{\\mathbf\{y\}\}\_\{c\}\\ranglefor the gene\-centered deviations, the three metrics are

Pearson\\displaystyle\\mathrm\{Pearson\}=1C​∑c=1C∑guc,g​vc,g∑guc,g2​∑gvc,g2,\\displaystyle=\\frac\{1\}\{C\}\\sum\_\{c=1\}^\{C\}\\frac\{\\sum\_\{g\}u\_\{c,g\}\\,v\_\{c,g\}\}\{\\sqrt\{\\sum\_\{g\}u\_\{c,g\}^\{2\}\}\\;\\sqrt\{\\sum\_\{g\}v\_\{c,g\}^\{2\}\}\},\(6\)MAE\\displaystyle\\mathrm\{MAE\}=1C​∑c=1C1G​∑g=1G\|x¯c,g−y¯c,g\|,\\displaystyle=\\frac\{1\}\{C\}\\sum\_\{c=1\}^\{C\}\\frac\{1\}\{G\}\\sum\_\{g=1\}^\{G\}\\bigl\\lvert\\bar\{x\}\_\{c,g\}\-\\bar\{y\}\_\{c,g\}\\bigr\\rvert,\(7\)Disc\\displaystyle\\mathrm\{Disc\}=1C​∑c=1C\(1−ρ​\(c\)C\),\\displaystyle=\\frac\{1\}\{C\}\\sum\_\{c=1\}^\{C\}\\Bigl\(1\-\\frac\{\\rho\(c\)\}\{C\}\\Bigr\),\(8\)ρ​\(c\)\\displaystyle\\rho\(c\)=\|\{c′:∥𝐱¯c−𝐲¯c′∥1<∥𝐱¯c−𝐲¯c∥1\}\|,\\displaystyle=\\Bigl\\lvert\\bigl\\\{\\,c^\{\\prime\}:\\;\\lVert\\bar\{\\mathbf\{x\}\}\_\{c\}\-\\bar\{\\mathbf\{y\}\}\_\{c^\{\\prime\}\}\\rVert\_\{1\}<\\lVert\\bar\{\\mathbf\{x\}\}\_\{c\}\-\\bar\{\\mathbf\{y\}\}\_\{c\}\\rVert\_\{1\}\\,\\bigr\\\}\\Bigr\\rvert,whereρ​\(c\)∈\{0,…,C−1\}\\rho\(c\)\\in\\\{0,\\dots,C\-1\\\}is the rank of the true cell type’s empirical mean vector when theCCempirical mean vectors are ordered by increasingℓ1\\ell\_\{1\}distance to𝐱¯c\\bar\{\\mathbf\{x\}\}\_\{c\}\(rank0= nearest\)\. Discriminability is therefore11when every generated mean vector is closest to its own type’s empirical mean vector and averages≈0\.5\\approx 0\.5under random ordering\. To show how good a prediction can look on each metric, we compare it against a*baseline*, which replaces the generated vectors with a second, disjoint set of empirical held\-out vectors of the same type, passed through the same RQ\-VAE the generated vectors use\. It is the best score attainable by any generator whose outputs must go through the tokenizer, and it still falls short of a perfect score for two reasons: it compares two*different*finite samples of empirical vectors \(sampling and biological variation\), and the baseline vectors carry the same RQ\-VAE reconstruction error as the generated ones\.

## Appendix BData

#### Gene panel\.

All data is aligned to the fixed 18,080\-gene panel used as the interface for the tokenizer \(Section[3\.4](https://arxiv.org/html/2608.02961#S3.SS4)\); any external dataset used in this work is subset and reordered to this panel before further processing\. All expression matrices are normalized to 20,000 total counts per cell and log1p\-transformed\.

#### Pretraining corpus \(scBaseCount\)\.

Pretraining uses the Arc Institute’s scBaseCount atlas, downloaded from the publicarc\-institute\-virtual\-cell\-atlasbucket \(human\)\. The full atlas holds on the order of half a billion cells; we work with a fixed subset of≈200\\approx 200million cells \(23,846 sourceh5adfiles after gene alignment and filtering\)\. Cells are grouped by their cell\-type annotation \(keeping only cell types with at least 1,000 cells\), and within each cell type20%20\\%of cells are held out for validation\. This single corpus, at fixed composition, is the only data source in the scaling grid\. The data axisDDis the pretraining*data budget*, which is the number of cells the model is trained on, sampled from the corpus \(with repetition at the largest budgets\)\. This is the single\-cell analogue of counting training tokens in language\-model scaling laws, and the quantity that enters the compute proxyC≈6​N​DC\\approx 6ND\(Section[D](https://arxiv.org/html/2608.02961#A4)\); each optimizer step consumes256×32≈33256\\times 32\\approx 33k cells, so a run’sDDdetermines its step budget\. VaryingDDover a wide range at each model size, on this fixed corpus, is what lets us fit the two\-term law of Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1)cleanly\.

#### Sampling the corpus\.

Each pretraining sentence is built by first choosing a cell\-type pool and then drawing that sentence’s3232cells from it \(Section[A\.2](https://arxiv.org/html/2608.02961#A1.SS2)\)\. We choose a pool with probability*proportional*to the number of cells it holds, so that every cell in the corpus is equally likely to be trained on regardless of which cell type it belongs to, and the corpus’s natural, long\-tailed composition over cell types is preserved in expectation, yielding the fixed composition that the scaling grid holds constant whileDDvaries\. The obvious alternative, weighting every cell type equally, instead rebalances training toward the rare types\. Because a rare type’s pool is small \(a type is kept only if it holds at least1,0001\{,\}000cells, while the common types contribute orders of magnitude more\), its few cells are revisited many times over a run, and the model memorizes them: the training loss keeps falling while the validation loss stops tracking it and turns upward part\-way through training\. Appendix[E\.2](https://arxiv.org/html/2608.02961#A5.SS2)shows this failure directly\. Every run reported in this paper uses proportional sampling\.

## Appendix CThe Single\-Cell Scaling Debate in Detail

This appendix expands on the comparison summarized in Table[2](https://arxiv.org/html/2608.02961#S4.T2)and Section[4\.2](https://arxiv.org/html/2608.02961#S4.SS2), describing the three studies of the*diversity\-over\-scale*cluster and the structural argument that separates a capacity bottleneck from a missing data\-scaling law\.

Three of these results converge on a similar conclusion from different angles\.DenAdelet al\.\([2026](https://arxiv.org/html/2608.02961#bib.bib21)\)pretrain 400 models across 6,400 experiments on a 22\.2M\-cell corpus and report that single\-cell foundation models plateau in performance with pretraining datasets that are only a fraction of the size of current training corpora, with no clear data\-scaling law\.Wanget al\.\([2026a](https://arxiv.org/html/2608.02961#bib.bib20)\)’s own appendix reports that biological signal, specifically the differentially expressed gene Pearson correlation, for their largest model family saturates around 1\.6B parameters, well below their 3\.1B ceiling, and attributes this to dataset diversity, with approximately 10,700 unique perturbation\-context sets, rather than model capacity\.Dibaeiniaet al\.\([2026](https://arxiv.org/html/2608.02961#bib.bib18)\)is explicitly a position paper arguing against scaling as the primary lever, and provides controlled evidence on a fixed architecture without varying model size that at matched cell counts, perturbations observed across more training contexts are recovered significantly better than those seen in few contexts, while raw cell count correlates only weakly with recovery\.

We highlight one structural point that, to our knowledge, none of these three papers can make from their own data: under the two\-term parametric loss ofHoffmannet al\.\([2022](https://arxiv.org/html/2608.02961#bib.bib7)\)in Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1), increasingDDat*fixed or uncontrolled*NNis*expected*to plateau once the data termB/DβB/D^\{\\beta\}shrinks below the capacity termA/NαA/N^\{\\alpha\}; the model lacks the capacity to exploit more data\. That is a capacity bottleneck, rather than proof that a data\-scaling law does not exist\. Distinguishing the two requires a joint grid in whichNNandDDare both swept independently, a design lacking in both the data sweep over fixed or uncontrolled model size byDenAdelet al\.\([2026](https://arxiv.org/html/2608.02961#bib.bib21)\)and the diversity sweep at a fixed model size in[Wanget al\.](https://arxiv.org/html/2608.02961#bib.bib20)’s appendix\. While these studies conclude that data scaling is absent or saturates early, our work demonstrates that a joint scaling law holds and fits the empirical data well once model capacity and data budget are varied independently, distinguishing capacity limits from data limits\.

## Appendix DExperimental Design: A ControlledN×DN\\times DScaling Grid

This appendix specifies the grid whose design and motivation are given in Section[4\.3](https://arxiv.org/html/2608.02961#S4.SS3)\.

### D\.1Controlling for model shape

A naive sweep over parameter count alone confounds size with shape \(depth vs\. width\), since many\(dmodel,nlayer\)\(d\_\{\\text\{model\}\},n\_\{\\text\{layer\}\}\)pairs give the same parameter count\. We instead fix the shape of the network across sizes: a constant width/depth ratiodmodel/nlayer=128d\_\{\\text\{model\}\}/n\_\{\\text\{layer\}\}=128, a constant head dimension of6464, and an MLP expansion ratio fixed atdffn=2​dmodeld\_\{\\text\{ffn\}\}=2\\,d\_\{\\text\{model\}\}, so that moving along theNNaxis scales width and depth together in fixed proportion\. We verify the exact parameter count by instantiating each model rather than relying on a closed\-form estimate\. Table[3](https://arxiv.org/html/2608.02961#A4.T3)gives the five configurations used on theNNaxis of the grid; they span a factor of≈64×\\approx 64\\timesin parameter count\.

Table 3:Transformer configurations on theNNaxis of the grid, at fixed shape \(width/depth ratio=128=128, head dimension=64=64,dffn=2​dmodeld\_\{\\text\{ffn\}\}=2\\,d\_\{\\text\{model\}\}\)\.
### D\.2Grid and per\-point hyperparameter tuning

The five model sizes of Table[3](https://arxiv.org/html/2608.02961#A4.T3)are crossed with data budgetsDDfrom38\.138\.1M to362362M cells\. Rather than a full dense crossing, we place points to give broad, independent variation in both axes \(each model size is trained at severalDD, and eachDDregime is covered by more than one model size\), yielding2222distinct\(N,D\)\(N,D\)points for the fit, which is more than enough to identify the five parameters of Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1)while keeping total compute small\. The experiments reported here were run on a single server with one NVIDIA H100 NVL GPU \(approximately 96 GB of memory\), 40 AMD EPYC CPUs, and 314 GiB of system RAM\. Each run uses batch size256256, dropout0\.10\.1, warmup ratio0\.10\.1, and cosine decay to a minimum learning rate of one\-tenth of the run’s peak rate \(a10×10\\timesdecay, following\(Raeet al\.[2021](https://arxiv.org/html/2608.02961#bib.bib8)\)\); a run’s step budget is set directly by itsDD\(Section[B](https://arxiv.org/html/2608.02961#A2)\)\. Because the optimal learning rate shifts with model size, we do not reuse a single global rate: for each model size we run a short learning\-rate search \(a handful of candidate rates\) and keep the rate with the best loss, which we then reuse across all data sizes for that model\.

### D\.3Parametric fit \(Chinchilla Approach 3\)

For each\(N,D\)\(N,D\)point we record the self\-supervised pretraining lossL​\(N,D\)L\(N,D\)and fit Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1)by nonlinear least squares on the log\-residualslog⁡L^​\(N,D;θ\)−log⁡L​\(N,D\)\\log\\hat\{L\}\(N,D;\\theta\)\-\\log L\(N,D\), with a Huber loss \(δ=10−3\\delta=10^\{\-3\}\) in place of a standard quadratic to limit the influence of outlier points\. Because Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1)is non\-convex inθ=\(log⁡A,log⁡B,log⁡E,α,β\)\\theta=\(\\log A,\\log B,\\log E,\\alpha,\\beta\), we repeat the fit from a5×5×5×6×6=4,5005\\times 5\\times 5\\times 6\\times 6=4\{,\}500\-point grid of initializations \(α0,β0∈\{0,0\.5,1,1\.5,2\}\\alpha\_\{0\},\\beta\_\{0\}\\in\\\{0,0\.5,1,1\.5,2\\\},log⁡E0∈\{−1,−0\.5,0,0\.5,1\}\\log E\_\{0\}\\in\\\{\-1,\-0\.5,0,0\.5,1\\\},log⁡A0,log⁡B0∈\{0,5,10,15,20,25\}\\log A\_\{0\},\\log B\_\{0\}\\in\\\{0,5,10,15,20,25\\\}\) and keep the lowest\-cost solution\. We report the fitted\(A,B,E,α,β\)\(A,B,E,\\alpha,\\beta\), the log\-loss RMSE andR2R^\{2\}, and a residual plot \(Appendix[E\.1](https://arxiv.org/html/2608.02961#A5.SS1)\) as fit diagnostics\. As a stronger check than in\-sample diagnostics alone, we additionally hold four\(N,D\)\(N,D\)points out of the fit entirely and compare their measured losses to what the fitted law predicts \(Section[4](https://arxiv.org/html/2608.02961#S4)\)\.

### D\.4Compute\-optimal frontier

Approximating training compute asC≈6​N​DC\\approx 6ND\(withDDcounted in pretraining*cells processed*, the training\-token analogue of Section[B](https://arxiv.org/html/2608.02961#A2)\) and substitutingD=C/6​ND=C/6Ninto Eq\.[1](https://arxiv.org/html/2608.02961#S2.E1), the loss\-minimizing model size at fixed compute has the closed form

N∗​\(C\)=\(α​Aβ​B\)1α\+β​\(C6\)βα\+β,N^\{\\ast\}\(C\)=\\left\(\\frac\{\\alpha A\}\{\\beta B\}\\right\)^\{\\frac\{1\}\{\\alpha\+\\beta\}\}\\left\(\\frac\{C\}\{6\}\\right\)^\{\\frac\{\\beta\}\{\\alpha\+\\beta\}\},\(9\)equivalently the locus where the marginal returns toNNandDDbalance \(α​A/Nα=β​B/Dβ\\alpha A/N^\{\\alpha\}=\\beta B/D^\{\\beta\}\), which we plot against iso\-loss contours of the fitted surface \(Figure[2](https://arxiv.org/html/2608.02961#S4.F2)\) as our primary scaling\-law figure\.

## Appendix ESupplementary diagnostics

### E\.1Fit residual diagnostics

Figure[3](https://arxiv.org/html/2608.02961#A5.F3)shows the distribution of log\-residualslog⁡L^−log⁡L\\log\\hat\{L\}\-\\log Lof the Approach\-3 fit \(Section[D\.3](https://arxiv.org/html/2608.02961#A4.SS3)\) over the2222grid points\. The residuals are small \(≲2%\\lesssim 2\\%\), roughly centered on zero, and show no systematic structure, representing the in\-sample diagnostic supporting the fit quality reported in Section[4](https://arxiv.org/html/2608.02961#S4)\.

![Refer to caption](https://arxiv.org/html/2608.02961v1/x3.png)Figure 3:Distribution of log\-residualslog⁡L^−log⁡L\\log\\hat\{L\}\-\\log Lof the Approach\-3 fit over the2222grid points\. Residuals are small \(≲2%\\lesssim 2\\%\) and roughly centered on zero, with no systematic structure\.
### E\.2Proportional vs\. uniform pool sampling

Figure[4](https://arxiv.org/html/2608.02961#A5.F4)contrasts two pretraining runs that differ in how the cell\-type pool behind each sentence is chosen \(Section[B](https://arxiv.org/html/2608.02961#A2)\), and motivates our use of proportional sampling throughout\.

Under proportional sampling \(left\), where a pool is drawn with probability proportional to its cell count, the validation loss tracks the training loss for the whole run: the two end at3\.093\.09and3\.103\.10respectively, a negligible generalization gap, and the validation loss is still at its minimum at the last measured step; the run is data\-limited, not overfitting\. Under uniform sampling \(right\), where every cell type is equally likely regardless of how many cells it holds, the curves separate after≈2,500\\approx\\\!2\{,\}500steps\. The training loss continues down to≈3\.09\\approx\\\!3\.09, showing that uniform sampling is not failing to*optimize*, fitting its own training distribution about as far as the proportional run fits its own, while the validation loss flattens near3\.543\.54at≈4,700\\approx\\\!4\{,\}700steps and then*rises*to3\.613\.61by the end of the budget\. A training loss that keeps falling while the validation loss turns upward is the standard signature of overfitting, and it is what uniform weighting should produce on a corpus whose cell types are long\-tailed: equal weight per type oversamples the rare types, so the few cells they hold recur many times within a run and are memorized rather than generalized from\.

The two runs are a controlled ablation of the pool weighting: they share the same corpus, model, step budget, and seed, and differ only in whether the cell\-type pool is drawn proportionally to its cell count or uniformly\.

One caveat on how the figure should be read\. Absolute losses are not comparable*across*the two panels, because the pool weighting is a property of the sentence sampler and that sampler serves both splits: each run draws its validation sentences under the same weighting as its training sentences, so the uniform run is scored on a rebalanced, intrinsically harder validation distribution\. Each panel therefore reports a loss on its own run’s distribution, and the evidence for overfitting is the*within\-run*divergence between the two curves, where training and validation do share a distribution, rather than the gap between the panels\.

![Refer to caption](https://arxiv.org/html/2608.02961v1/x4.png)Figure 4:Training and validation loss for two pretraining runs differing in how the cell\-type pool behind each sentence is sampled\.Left:proportional to the pool’s cell count, where validation tracks training for the whole run and is still at its minimum at the last step\.Right:uniform over cell types, where training keeps falling, but validation flattens at≈3\.54\\approx\\\!3\.54around step4,7004\{,\}700and then rises, the signature of memorizing the oversampled rare types\. The runs differ only in the pool weighting\. Training loss is shown raw \(light curves\) and EWMA\-smoothed \(solid\)\. Absolute losses are not comparable across panels, as each run trains and validates under its own sampling scheme, so the overfitting evidence is the within\-run divergence; see the caveat above\.
### E\.3Held\-out perturbation\-benchmark loss during pretraining

Alongside the scBaseCount validation split the fit uses, every pretraining run also scores next\-token loss on a held\-out pool of control \(“non\-targeting”\) cells drawn from the perturbation\-response benchmark a Stage 2 finetune would target \(Section[5](https://arxiv.org/html/2608.02961#S5)\), using the same unconditioned, same\-cell\-type sentence format as pretraining — the perturbation identity is never shown to the model at this stage\. This gives a second, narrower generalization probe alongside the primary scBaseCount loss, tracked throughout every run, and is the basis for the observation discussed in Section[5](https://arxiv.org/html/2608.02961#S5)\.

Figure[5](https://arxiv.org/html/2608.02961#A5.F5)plots both losses side by side over one representative pretraining run; we observe the same pattern at every model and data size in the grid \(Section[D](https://arxiv.org/html/2608.02961#A4)\)\. The scBaseCount validation loss \(left\) decreases smoothly throughout training and is still falling at the end of the run, consistent with the proportional\-sampling behavior of Appendix[E\.2](https://arxiv.org/html/2608.02961#A5.SS2)\. The held\-out perturbation\-benchmark loss \(right\), scored on the same run at the same steps, instead falls sharply early in training, reaches a minimum well before the run ends, and then rises for the remainder of training, finishing above where it started\. The two losses are on the same scale \(next\-token cross\-entropy under the same tokenizer\) but diverge in direction: continued pretraining keeps improving the fit to the broad scBaseCount distribution while making the fit to this narrower, perturbation\-benchmark\-specific distribution worse\.

![Refer to caption](https://arxiv.org/html/2608.02961v1/x5.png)Figure 5:Two losses from the same pretraining run, representative of the pattern seen at every model and data size in the grid\.Left:the scBaseCount validation loss the scaling law is fit to, which decreases smoothly throughout training\.Right:held\-out next\-token loss on control cells from the perturbation\-response benchmark, which instead falls sharply early in training and then rises for the remainder of the run — a checkmark shape\. Raw per\-step values shown faint, EWMA\-smoothed on top\.
### E\.4Per\-checkpoint generation quality

Table[4](https://arxiv.org/html/2608.02961#A5.T4)gives the concrete per\-checkpoint values plotted in Figure[1](https://arxiv.org/html/2608.02961#S4.F1): generation quality for the4\.434\.43M model as its pretraining validation loss falls over training\.

Table 4:Per\-checkpoint generation quality for the4\.434\.43M model as its pretraining validation loss falls over training, representing the concrete values plotted in Figure[1](https://arxiv.org/html/2608.02961#S4.F1)\. Pearson, MAE, and Disc\. are the mean\-expression Pearson correlation, the mean\-expression mean absolute error, and the cell\-type discriminability score\. Lower loss yields higher Pearson and discriminability and lower MAE\. The baseline is repeated from Table[1](https://arxiv.org/html/2608.02961#S4.T1)as a reference bound\.

## Appendix FLimitations

Our conclusions are bounded by the extent of the grid and by the objective we fit\. The parameter axis spans1\.31\.3–83\.983\.9M, well below the largest models in Table[2](https://arxiv.org/html/2608.02961#S4.T2), so we cannot rule out a change in the exponents at much larger scale; the data axis, from38\.138\.1M to362362M vectors, is comparable to or larger than the corpora used in several of those studies\. The law is fit to the self\-supervised pretraining loss on held\-out context sequences, so we make no claim about how downstream, task\-specific losses scale, and it is fit for a single architecture family, a causal transformer over a discrete, learned RQ\-VAE tokenization, so transfer to continuous\-embedding models is untested\. Our compute proxyC≈6​N​DC\\approx 6NDcountsDDin expression vectors rather than tokens, which offsets our FLOP counts from token\-based ones by a roughly constant factor\. Finally, the tokenizer is lossy by construction, placing an upper bound on reconstruction fidelity independent of transformer capacity, and Approach 3 fits are sensitive to the initialization grid, which we mitigate with a wide multi\-start grid, detailed in Section[D\.3](https://arxiv.org/html/2608.02961#A4.SS3), and with the out\-of\-sample held\-out points of Section[4\.5](https://arxiv.org/html/2608.02961#S4.SS5)\.

Similar Articles

Kathleen Writes: Autoregressive Generation and Data Scaling Without Attention

arXiv cs.CL

This paper from the Kathleen series shows that an attention-free, byte-level model with ~0.5M parameters can beat a parameter-matched transformer on WikiText-103 language modeling and generation, introduces a non-parametric 'Form Distance' metric for evaluating text realism, and demonstrates that retrieval-augmented decoding from the model's own training corpus improves generation quality.