PHYSICAL PDF PAGE 4 / 19

     A Cross Modal Knowledge Distillation & Data Augmentation Recipe for Improving Transcriptomic Representations



noise while preserving the signal. Typically used as a post-          Algorithm 1 Semi-Clipped with PEA implementation

processing step, these corrections shift the embedding distri-          for each batch (xS , xT ) ∈ (XS , XT ) do

bution while retaining key information for downstream anal-               Extract using frozen encoders zS = ES (xS ) and zT =

ysis. To tackle the scarcity of paired biological modalities,             ET (xT )

we introduce PEA (Perturbation Embeddings Augmenta-                       Sample batch correction function A ∼ A

tion), a novel biologically inspired augmentation technique               Drop a random subset of steps in A → A′

that repurposes batch correction as a data augmentation ap-                                                             (c)

                                                                          Sample a random subset of control samples XS

plied directly to the student embeddings during training.                                                         (c)

Specifically, a function A : (RdS , XSc ) → RdS is randomly               Apply batch correction: zSa = A′ (zS , XS )

selected from a set A of batch correction transformations                 Compute transformed embeddings: hS = fS (zSa )

                                             (i)

and applied to the student embeddings zS . Augmented                      Apply TVN correction to teacher embeddings: zSb =

                (i)        (i)    (c)                                     B(zT ) and compute CLIP loss :

embeddings zS,A = A(zS , XS ) are then passed to the

student adapter fS for cross-modal knowledge distillation.                                B                     (i)   (b,i)

                                                                                          X         exp(sim(hS , zT )/τ )

To ensure the teacher embeddings focus on relevant infor-                          L=−         log B

mation, a fixed batch correction B (Ando et al., 2017) is                                  i=1

                                                                                                   P           (i) (b,j)

                                                                                                      exp(sim(hS , zT )/τ )

applied to the teacher modality.                                                                   j=1



To augment transcriptomics data while preserving biological               Backpropagate loss L and update adapter fS

relevance, we extend traditional batch correction techniques            end for

into a stochastic augmentation framework. Specifically,

for each sample, we randomly select one batch correction

transformation A from a predefined set of normalization

techniques, ensuring controlled variability in perturbation

embeddings. Each selected transformation A : RdS → RdS

falls into one of these categories: (1) centering, which shifts       rayed bulk transcriptomics samples (HUVEC-CMPD) and

embeddings by subtracting batch-wise control means to re-             20,000 microscopy images of human umbilical vein en-

move batch-specific offsets; (2) scaling, which normalizes            dothelial cells (HUVEC), cells from cell painting, both cov-

variance across features to enhance comparability; and (3)            ering 1,700 chemical perturbations at three concentrations.

principal component-based transformations that reweight               Each transcriptomics sample can pair with multiple imaging

variance along principal axes, emphasizing biologically rel-          samples based on treatment and concentration, with one

evant information while reducing batch artifacts. To intro-           pair randomly selected per epoch. These pairs are weakly

duce further stochasticity, we drop a random subset of the            paired—i.e., they do not originate from the same biological

steps of each correction method per sample rather than al-            replicate but share the same cell line and perturbation meta-

ways applying them sequentially. Additionally, the number             data, ensuring comparable biological states across modali-

of control samples used for correction is randomly sampled            ties. For encoding microscopy images, we use the pretrained

per training sample, increasing diversity and robustness              Phenom-1 model (Kraus et al., 2024), a state-of-the-art pre-

to out-of-domain experimental shifts in the learned distri-           trained model trained on 93 million microscopy images. For

butions. Detailed implementation of our batch correction              transcriptomics, we compare three models: a simple scVI-

techniques is provided in Appendix Section C.                         like MLP1 trained from scratch on the HUVEC-CMPD bulk

                                                                      dataset, scVI (Lopez et al., 2018), a model known for strong

This method introduces controlled and diverse distributional

                                                                      performance on small datasets, outperforming existing tran-

shifts, helping fS learn robust, biologically meaningful rep-

                                                                      scriptomics pretrained models (Bendidi et al., 2024b), and

resentations by ignoring batch-induced variability. During

                                                                      similarly trained from scratch on the HUVEC-CMPD bulk

inference, a batch correction is applied to the student embed-

                                                                      dataset, and a pretrained scGPT (Cui et al., 2024) (a pre-

dings zS to align them with the training distribution, further

                                                                      trained model trained on 33 million transcriptomics sam-

improving robustness. Algorithm 1 details the process, en-

                                                                      ples). A three-layer MLP adapter fS (input size dS , output

suring the adapter captures biologically relevant features

                                                                      size dT ) with ReLU activations is trained for the student

while increasing training diversity and preserving biological

                                                                      modality, while both encoders remain frozen. Consistent

information in low-data settings.

                                                                      with (Kenyon-Dean et al., 2025), control samples are ex-

                                                                      cluded from paired data for knowledge distillation and only

4. Experimental Setup                                                 used for batch correction. The adapter is trained with a tem-

                                                                      perature of 0.1, learning rate of 0.001, batch size of 1,024,

Data & Model Training. We use microscopy imaging

                                                                      and over 150 epochs.

as the teacher modality and transcriptomics as the stu-

dent modality. The training dataset includes 130,000 ar-                 1

                                                                             scVI is an MLP-based VAE conditionned on a batch label.



                                                                  4

