PHYSICAL PDF PAGE 16 / 19

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



C. Batch Correction Techniques

C.1. Centering

Centering involves adjusting the dataset such that each feature has a mean of zero. This is achieved by subtracting the mean

of each feature from the data. Given a feature matrix X ∈ Rn×m , where n is the number of samples and m is the number of

features, the centered matrix X̃ is computed as:

                                                   n

                                             1X

                                X̃ij = Xij −    Xkj ,            ∀i = 1, . . . , n,     ∀j = 1, . . . , m.

                                             n

                                                  k=1



This step shifts the data so that each feature’s mean is zero. In batch-corrected biological datasets, centering is typically

applied to remove the influence of negative control embeddings, facilitating the focus on perturbation effects.



C.2. Center Scaling/Standardization

Center scaling/Standardization extends centering by adjusting each feature so that it has unit variance. This ensures

comparability across features. For a centered matrix X̃, the scaled matrix X̂ is defined as:

                                                                  v

                                                                  u n

                                                   X̃ij           u1 X

                                                                             2 ,

                                            X̂ij =      , σj = t          X̃kj

                                                    σj              n

                                                                                 k=1



                                                 ∀i = 1, . . . , n,       ∀j = 1, . . . , m,



where σj represents the standard deviation of the j-th feature. Center scaling is important for techniques like Principal

Component Analysis (PCA), which are influenced by the scale of the data.



C.3. Typical Variation Normalization (TVN)

Typical Variation Normalization (TVN) is a technique designed to enhance the representation of biological data by

minimizing batch effects and accentuating subtle phenotypic differences. TVN is particularly relevant in high-content

imaging screens and other scenarios with significant batch variability.

TVN begins by computing the principal components of control samples (negative control conditions) to identify the primary

directions of variation. PCA is performed on the centered control data X̃control to obtain principal components {v1 , . . . , vm },

with each component representing a variance direction in the data space. The normalization process involves the following

steps:

1. Centering and Scaling of Negative Controls: The negative control data Xcontrol is centered and scaled as:

                                                           Xcontrol − µcontrol

                                                  X̂control =                  ,

                                                                 σcontrol

where µcontrol and σcontrol are the mean and standard deviation of the control embeddings.

2. Principal Component Analysis (PCA): PCA is conducted on X̂control to derive principal components. The matrix

W ∈ Rm×m consists of columns that are the component vectors vj .

3. TVN Transformation: The transformation matrix T is constructed to normalize variance along each principal component

axis:

                                             T = W · D−1/2 · W ⊤ ,

where D is a diagonal matrix of the eigenvalues associated with the principal components.

4. Application to All Embeddings: The transformation is applied to all embeddings Xall as:

                                                         XTVN = T · Xall .

This step reduces unwanted variation while emphasizing important biological differences, enabling a focus on subtle or rare

phenotypic features without batch-related artifacts.



D. Additional Results



                                                                      3

