Multimodal cell foundation models require synergistic integration beyond alignment

Multimodal cell foundation models require synergistic integration beyond alignment

SIS

In this section, we describe the overall problem statement that motivates the SIS. Given paired raw input data matrices from two modalities \({X}_{1}=[{{\bf{x}}}_{1}^{(1)},\ldots ,{{\bf{x}}}_{1}^{(N)}]\) and \({X}_{2}=[{{\bf{x}}}_{2}^{(1)},\ldots ,{{\bf{x}}}_{2}^{(N)}]\) (for example, histology images and GEX profiles), together with a downstream task measured by the output vector y = [y(1), …, y(N)] (for example, niche labels or cell-type proportions), we define frozen unimodal representations as the following

$$\begin{array}{r}{Z}_{1}={f}_{1}({X}_{1}),\qquad {Z}_{2}={f}_{2}({X}_{2}),\end{array}$$

(2)

where f1 and f2 are frozen unimodal encoders and \({Z}_{i}\in {{\mathbb{R}}}^{N\times {D}_{i}}\) with Di being the dimension of the embedded space. We next introduce the concept of a fusion interface, denoted by \({\mathcal{G}}=({g}_{1},{g}_{2})\), which operates on the frozen unimodal representations. Here, \({g}_{1}:{{{{\mathbb{R}}}}}^{{D}_{1}}\to {{{{\mathbb{R}}}}}^{{K}_{1}}\) and \({g}_{2}:{{{{\mathbb{R}}}}}^{{D}_{2}}\to {{{{\mathbb{R}}}}}^{{K}_{2}}\) are modality-specific fusion mappings (also referred to as projection heads), yielding

$$\begin{array}{r}{\tilde{Z}}_{1}={g}_{1}({Z}_{1}),\qquad {\tilde{Z}}_{2}={g}_{2}({Z}_{2}),\end{array}$$

(3)

where \({\tilde{Z}}_{i}\in {{{{\mathbb{R}}}}}^{N\times {K}_{i}}\) with Ki denoting the dimension of the modality-specific fusion. Depending on the objective, the fusion interface may instantiate an alignment-based or an integration-based fusion strategy. All fusion objectives considered in this work learn projection mappings g1 and g2 from unimodal representations (Z1, Z2), with optimization objectives defined on the resulting projected representations \((\widetilde{{Z}_{1}},\widetilde{{Z}_{2}})\). In the spectral analysis, we explicitly restrict to the linear regime where gi(Zi) = ZiWi, which enables closed-form eigenvector or SVD. Outside this regime, gi may be nonlinear, but the spectral characterizations no longer apply. We then form a single fused representation

$$\begin{array}{c}{Z}_{3}:=[{\tilde{Z}}_{1};{\tilde{Z}}_{2}]\in {{{{\mathbb{R}}}}}^{N\times ({K}_{1}+{K}_{2})},\end{array}$$

(4)

and train a linear probe h to predict the output vector y for downstream evaluations. As part of our motivation for SIS, the goal is to develop a scalar measure that has the following properties:

It quantifies the complementarity between Z1 and Z2 with respect to a downstream task;

It is grounded in information theory yet tractable in high-dimensional representation spaces;

It enables task-dependent comparison across multimodal fusion methods.

Below, we review key information-theoretic preliminaries before deriving the SIS.

Mutual information

The mutual information between a target random variable \(Y\in {\mathcal{Y}}\) (where the output vector y contains realizations of Y) and a source random variable \(Z\in {\mathscr{ \mathcal Z }}\) is defined as

$$I(Y;Z)=H(Y)-H(Y| Z),$$

(5)

where \(H(Y)=-{\sum }_{y}p(y)\mathrm{log}p(y)\) denotes the entropy of Y, and H(Y∣Z) denotes the conditional entropy. By the data processing inequality43, for any (possibly randomized) decoding function \(d:Z\to \hat{Y}\), we have I(Y; d(Z)) ≤ I(Y; Z).

PID

PID25,26 decomposes the mutual information between a target variable Y and two source variables into redundant, unique and synergistic components. Reference 40 recently demonstrated the utility of scalable PID estimators for characterizing such interactions across general multimodal benchmarks. In our setting, the sources are the projected representations \({\tilde{Z}}_{1}={g}_{1}({Z}_{1})\) and \({\tilde{Z}}_{2}={g}_{2}({Z}_{2})\) produced by the fusion interface, and we define the joint representation as their concatenation \({Z}_{3}:=[{\tilde{Z}}_{1};{\tilde{Z}}_{2}]\). As Concat is a bijective reparameterization of the pair \(({\tilde{Z}}_{1},{\tilde{Z}}_{2})\), mutual information is invariant under this transformation, and we have

$$I(Y;{Z}_{3})=I(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2}).$$

(6)

PID therefore yields

$$I(Y;{Z}_{3})=\,\text{Red}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2})+\,\text{Unq}\,(Y;{\tilde{Z}}_{1})+\,\text{Unq}\,(Y;{\tilde{Z}}_{2})+\,\text{Syn}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2}).$$

(7)

Here, the redundant component \(\,\mathrm{Red}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2})\) quantifies information in Y that can be explained by either projected representation alone, the unique components \(\,\mathrm{Unq}\,(Y;{\tilde{Z}}_{1})\) and \(\,{\rm{Unq}}\,(Y;{\tilde{Z}}_{2})\) quantify information accessible exclusively from one projected representation, and the synergistic component \(\,\mathrm{Syn}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2})\) quantifies information in Y that is only accessible when both projected representations are considered jointly.

Deriving the SIS

From equation (7) and by definition of PID, the mutual information between Y and a single source consists of the information it shares with the other source (redundancy) and the information that is unique to itself25,26. Equivalently, synergy contributes only to the joint information \(I(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2})\) and not to \(I(Y;{\tilde{Z}}_{i})\) for either source individually

$$I(Y;{\tilde{Z}}_{1})=\,\text{Red}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2})+\,\text{Unq}\,(Y;{\tilde{Z}}_{1}),$$

(8)

$$I(Y;{\tilde{Z}}_{2})=\,\mathrm{Red}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2})+\,\mathrm{Unq}\,(Y;{\tilde{Z}}_{2}).$$

(9)

Solving for the synergistic component then yields

$$\,\mathrm{Syn}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2})=I(Y;{Z}_{3})-I(Y;{\tilde{Z}}_{1})-I(Y;{\tilde{Z}}_{2})+\,\mathrm{Red}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2}).$$

(10)

To obtain a tractable target-specific approximation of synergy, we instantiate the redundancy term with the MMI principle

$$\,\mathrm{Red}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2})\approx \min (I(Y;{\tilde{Z}}_{1}),I(Y;{\tilde{Z}}_{2})).$$

(11)

This choice treats the information about Y contained in the weaker source as being redundant with the stronger source, yielding the following

$$\,\mathrm{Syn}\,(Y;{\tilde{Z}}_{1},{\tilde{Z}}_{2})\approx I(Y;{Z}_{3})-\max (I(Y;{\tilde{Z}}_{1}),I(Y;{\tilde{Z}}_{2})).$$

(12)

MMI is an operational approximation rather than a unique definition of redundancy; note that alternative PID formalisms may assign different redundancy, unique-information and synergy components44,45. In practice, SIS compares the fused representation against the strongest original unimodal representation from either Z1 or Z2. Since each aligned representation \({\tilde{Z}}_{i}={g}_{i}({Z}_{i})\) is a deterministic function of Zi, the data processing inequality implies \(I(Y;{\tilde{Z}}_{i})\le I(Y;{Z}_{i})\) for i ∈ {1, 2}. Replacing \(\max (I(Y;{\tilde{Z}}_{1}),I(Y;{\tilde{Z}}_{2}))\) by the stronger baseline \(\max (I(Y;{Z}_{1}),I(Y;{Z}_{2}))\) therefore yields a conservative estimate of the fusion gain. We then define SIS as

$$\,\text{SIS}\,(Y;{Z}_{3}):=\dfrac{I(Y;{Z}_{3})-\max \left(I(Y;{Z}_{1}),I(Y;{Z}_{2})\right)}{\max \left(I(Y;{Z}_{1}),I(Y;{Z}_{2})\right)}.$$

(13)

Intuitively, SIS measures the relative amount of task-relevant information made accessible by fusion beyond the strongest unimodal baseline under the chosen probe class. Positive SIS indicates accessible synergy, whereas near-zero or negative values indicate redundancy dominance or fusion degradation, respectively.

Note on approximation error and interpretation

Let \({I}_{\max }=\max \left(I(Y;{Z}_{1}),I(Y;{Z}_{2})\right)\) such that equation (13) can be written as \({\rm{SIS}}=[I(Y;{Z}_{3})-{I}_{\max }]/{I}_{\max }\). The MMI assumption in equation (12) is exact when the weaker modality contributes no unique information about Y beyond the stronger modality. Deviations arise when the weaker modality contains unique target-relevant information, in which case SIS under the MMI framework captures joint gain over the strongest unimodal source rather than just pure synergy. To formalize this, assume without loss of generality that \(I\left(Y;{Z}_{1}\right)\ge I\left(Y;{Z}_{2}\right)\). Then

$$I(Y;{Z}_{3})-I(Y;{Z}_{1})={\rm{Syn}}(Y;{Z}_{1},{Z}_{2})+{\rm{Unq}}(Y;{Z}_{2}\setminus {Z}_{1}).$$

(14)

Thus, positive SIS can theoretically arise from synergistic information and from unique information contributed by the weaker modality. Values near zero indicate that fusion adds little target-relevant information beyond the best unimodal source, whereas negative values indicate degradation under the chosen representation and probe. In our biological setting, modalities are measured over the same tissue structure and therefore we expect substantial target-relevant redundancy. Nevertheless, in this work, we report SIS as a measure of joint gain.

Mathematical properties and important edge cases of SIS

The SIS satisfies the following mathematical properties:

Symmetry: \(\mathrm{SIS}(Y;{Z}_{3})=\mathrm{SIS}(Y;{Z\,}_{3}^{\mathrm{swap}})\), where Z3: = [g1(Z1); g2(Z2)] and \({Z\,}_{3}^{\mathrm{swap}}:=[{g}_{2}({Z}_{2});{g}_{1}({Z}_{1})]\). This holds because \({Z\,}_{3}^{{\rm{swap}}}\) differs from Z3 only by a permutation of feature coordinates, and the linear probe hypothesis class used to estimate SIS is invariant under such permutations.

Sign: SIS >0 indicates synergy, while SIS <0 indicates fusion degradation.

Task-specificity: SIS depends on the target label Y, distinguishing tasks that truly require cross-modal reasoning.

In addition to these properties, there are a few edge cases that are worth noting:

Redundant modalities: if I(Y; Z1) = I(Y; Z2) = I(Y; Z3), then SIS = 0.

Fusion failure: if \(I(Y;{Z}_{3}) < \max (I(Y;{Z}_{1}),I(Y;{Z}_{2}))\), then SIS <0, indicating that fusion degrades performance below a better unimodal baseline.

Computationally efficient estimation of SIS via linear probes

For high-dimensional representations, computing the exact mutual information between the task variable Y and representation variable Z is intractable. We therefore approximate mutual information using the empirical performance of a linear probe h trained on a given representation matrix Z, denoted as \({\rm{Perf}}(Z)\). In our setting, Z is instantiated either as a unimodal representation (Z1 or Z2) or as the multimodal representation \({Z}_{3}:=[{\tilde{Z}}_{1};{\tilde{Z}}_{2}]\). We then compute SIS as the following:

$$\widehat{\,\mathrm{SIS}}=\frac{\,\mathrm{Perf}({Z}_{3})-\max (\mathrm{Perf}({Z}_{1}),\mathrm{Perf}({Z}_{2}))}{\max (\mathrm{Perf}({Z}_{1}),\mathrm{Perf}\,({Z}_{2}))},$$

(15)

where performance is measured via a F1 Macro score for classification tasks, and performance is determined via R2 for regression-based tasks. Thus, \({\widehat{\mathrm{SIS}}}\) is a performance-indexed approximation: it measures the target-relevant gain made accessible by the fused representation relative to the strongest unimodal representation under the same probe class. Although standard performance metrics (such as F1 scores) are not strictly additive in the same way as entropy, \(\widehat{\,\mathrm{SIS}}\) serves as a practical estimator of the relative predictive gain for several reasons:

By the data processing inequality, any decoder \(h:Z\to \hat{Y}\) can only extract information present in the representation, meaning, I(Y; h(Z)) ≤ I(Y; Z) (ref. 43). In our setting, h is a linear probe (classifier or regressor), so its performance reflects a lower bound on the task-relevant information in Z that is linearly accessible (also see discussion around equation (5)).

In the context of foundation models, we care about accessible information that downstream tasks can readily extract, not just from an information-theoretic capacity.

By restricting the probe to be linear, \({\widehat{\mathrm{SIS}}}\) measures whether the fusion interface \({\mathscr{ \mathcal G }}=({g}_{1},{g}_{2})\) has rendered synergistic information linearly accessible, which is a useful metric for evaluating whether a foundation model provides ready-to-use representations. If synergy exists but is confined to a complex nonlinear manifold that a linear probe cannot access, then the interface has failed in its purpose.

Therefore, our proposed approach provides a conservative estimate of the amount of task-relevant synergistic information that is linearly accessible from the fused representation. If a linear probe cannot extract information, the fusion has failed to make synergistic patterns readily usable. Again, a positive SIS indicates the extraction of accessible synergistic states; whereas a near-zero or negative SIS implies redundancy or fusion failure, respectively. In the main text, we denote the empirical estimator \(\widehat{\,\mathrm{SIS}}\) simply as SIS when no ambiguity arises and specify the probe-dependent metric via indices such as SISF1 and \({\mathrm{SIS}}_{{R}^{2}}\).

Additional computational details

The empirical way of computing SIS is done post hoc using downstream performance metrics on held-out samples. Given the two unimodal representations and the fused representation, SIS only requires estimating the ratio in equation (15) and therefore adds negligible computational overhead. Its reliability is governed by the uncertainty of the underlying F1 or R2 values rather than by a separately trained information estimator. As a result, we report bootstrap confidence intervals for SIS using the same folds as the downstream evaluations and paired Wilcoxon signed-rank tests with Holm correction within each dataset-task family (Supplementary Tables 4 and 5 and Supplementary Information section 7). The dominant costs are upstream: one-time encoder inference over N patches, optional fusion-interface training on cached embeddings, export of the representations and fitting the probe on K-folds downstream (Supplementary Table 10 and Supplementary Information section 15). In the frozen-encoder setting, the encoder inference is amortized across fusion methods and downstream tasks because embeddings are cached. Fusion-interface training scales with the number of paired patches and training epochs, while probe fitting scales with the number of examples, the latent representation dimension and the number of cross-validation folds.

Spectral alignment theory

We extend the spectral theory of self-supervised learning to the multimodal setting with frozen encoders. 27 showed that diverse unimodal self-supervised learning objectives (for example, VICReg, Barlow Twins and simple framework for contrastive learning (SimCLR)) admit spectral interpretations and derived closed-form optima in the linear regime under standard variance/whitening constraints. 23 further analysed a spectral contrastive loss and connected it to contrastive learning objectives from the augmentation graph perspective. These works motivate that, when representations are fixed, broad classes of self-supervised learning objectives reduce to constrained spectral optimization problems. As part of our contributions, we adapt this viewpoint to analyse multimodal alignment under frozen encoders, where the goal is to couple representations from two different fixed-modality encoders rather than augmented views of the same input.

Spectral problem setup

We adopt the same notation and fusion interface defined earlier in this section. Frozen encoders f1 and f2 produce representations \({Z}_{1}\in {{\mathbb{R}}}^{N\times {D}_{1}}\) and \({Z}_{2}\in {{\mathbb{R}}}^{N\times {D}_{2}}\). A fusion interface \({\mathscr{ \mathcal G }}=({g}_{1},{g}_{2})\) maps these to projected representations \({\tilde{Z}}_{1}={g}_{1}({Z}_{1})\in {{\mathbb{R}}}^{N\times {K}_{1}}\) and \({\tilde{Z}}_{1}={g}_{1}({Z}_{1})\in {{{{\mathbb{R}}}}}^{N\times {K}_{1}}\). Here, we analyse fusion objectives that are defined on the paired projected representations \(({\tilde{Z}}_{1},{\tilde{Z}}_{2})\).

Spectral methods primer

Spectral methods analyse matrices through their eigenvalues and eigenvectors, which identify orthogonal directions capturing dominant variance and correlation structure (see ref. 46 for a textbook summary). For paired representations \({Z}_{1}\in {{\mathbb{R}}}^{N\times {D}_{1}}\) and \({Z}_{2}\in {{\mathbb{R}}}^{N\times {D}_{2}}\), their shared structure is characterized by the cross-covariance \(C={Z}_{1}^{\top }{Z}_{2}/N\). The SVD of this matrix C = UΣV⊤, yields orthogonal directions that maximize alignment between the two spaces, with singular values quantifying alignment strength. These directions arise as solutions to constrained alignment problems of the form \(\mathop{\max }\limits_{{W}_{1},{W}_{2}}\mathrm{tr}({W}_{1}^{\top }{C}_{12}{W}_{2})\) subject to orthonormality constraints, which are solved by the top singular vectors (Eckart–Young theorem39). Whitening or variance constraints ensure non-degenerate solutions and isolate correlation structure. Thus, under linear projections and variance normalization, alignment objectives reduce to identifying the dominant singular vectors of cross-covariance matrices, which define the optimal shared subspace between representations.

The linear regime

To obtain closed-form spectral characterizations, we restrict to the linear regime in which the fusion mappings are linear maps applied row-wise

$${g}_{i}({Z}_{i})={Z}_{i}{W}_{i},\qquad {W}_{i}\in {{\mathbb{R}}}^{{D}_{i}\times {K}_{i}}.$$

(16)

This restriction is used solely for theoretical purposes. Note that in the general setting, gi may be nonlinear, in which case the spectral closed-form solutions derived below no longer apply. We do not assume that the relationship between modalities is linearly realizable in the frozen feature space; rather, the linear-regime analysis characterizes the optimizer of a broad class of alignment objectives under linear heads. Moreover, variance/whitening (or analogous) constraints are essential to exclude collapsed solutions (for example, W1 = W2 = 0) and yield non-trivial spectral structure. This distinction matters because:

Frozen geometry: unlike end-to-end training, frozen encoders impose a fixed-representation geometry.

Constrained spectral optima: under linear heads and standard variance/whitening constraints, several covariance-based objectives (for example, VICReg and Barlow Twins) admit spectral solutions27. Closely related spectral perspectives for contrastive objectives have also been studied23.

The spectral ceiling

We define the spectral ceiling as the constrained optimum attained by redundancy-maximizing alignment objectives in the linear-head and frozen-encoder regime. Although practical implementations may use nonlinear heads, the linear derivation below establishes a reference bound for objectives whose solutions concentrate on cross-covariance structure. In the linear regime, a canonical constrained trace maximization problem is

$$\mathop{\max }\limits_{{W}_{1}\in {{{{\mathbb{R}}}}}^{{D}_{1}\times {K}_{1}},\,{W}_{2}\in {{{{\mathbb{R}}}}}^{{D}_{2}\times {K}_{2}}}\,{\mathrm{tr}}\,({W}_{1}^{\top }{Z}_{1}^{\top }{Z}_{2}{W}_{2})\,{{\rm{subject}}\,{\rm{to}}}\,{W}_{j}^{\top }{A}_{j}{W}_{j}={I}_{{K}_{j}}.$$

(17)

This problem is solved by the SVD of an appropriately whitened cross-covariance matrix (via the Eckart–Young theorem39). Here \({I}_{{K}_{j}}\) denotes the Kj × Kj identity matrix. For our frozen-encoder setting, we state this classical result:

Proposition 1

(Spectral solution for frozen-encoder alignment) Assume Z1, Z2 are column-centred. The trace maximization problem in equation (17) with constraints \({W}_{j}^{\top }{A}_{j}{W}_{j}={I}_{{K}_{j}}\), where Kj is the jth target dimension and Aj ≽ 0, is solved by the top \(K=\min ({K}_{1},{K}_{2})\) singular vectors of the whitened cross-covariance

$$\tilde{C}={A}_{1}^{-1/2}\left(\dfrac{1}{N}{Z}_{1}^{\top }{Z}_{2}\right){A}_{2}^{-1/2}.$$

(18)

Let \({\tilde{C}}={\tilde{U}}{\Sigma}{\tilde{V}}^{\top}\) be the SVD. Then one optimal choice is

$${W}_{1}^{* }={A}_{1}^{-1/2}{\tilde{U}}_{1:K},\qquad {W}_{2}^{* }={A}_{2}^{-1/2}{\tilde{V}}_{1:K}.$$

(19)

Proof

This follows directly from the Eckart–Young theorem39. The CCA case corresponds to \({A}_{j}={Z}_{j}^{\top }{Z}_{j}/N+\eta I\) as established by Hotelling47, with η denoting a regularization hyperparameter.

Note that this proposition characterizes the spectral optimum of linear alignment interfaces on fixed representations. It does not rule out nonlinear or end-to-end multimodal models that alter the representation geometry itself.

Categorization of fusion methods

In the main text, we categorize methods by whether their objectives reduce to equation (17) in the linear limit (see also Fig. 3a), following the spectral viewpoints in ref. 27 and related analyses of contrastive objectives in ref. 23. We refer to methods whose linear-limit objectives admit closed-form spectral solutions as spectral methods. We then further classify approaches whose linear-limit objectives reduce directly to the closed-form spectral solutions under standard variance/whitening (anti-collapse) constraints as exact spectral methods.

Linear CCA47: directly solves a generalized eigenvalue problem.

VICReg35 and Barlow Twins48: with frozen representations and linear heads, these objectives admit constrained spectral solutions27.

We describe approximately spectral methods as objectives whose optimization is closely tied to spectral structure in certain limiting regimes (for example, large-batch, many-negative settings for contrastive learning), while we avoid requiring an exact reduction for the specific loss used in practice.

SimCLR (InfoNCE)49: a contrastive objective with close connections to spectral viewpoints under appropriate limits and assumptions (see, for example,23 for a spectral contrastive formulation and related analysis).

Lastly, we describe non-spectral methods as objectives whose structure prevents reduction to a symmetric trace maximization eigenproblem. This class includes the following list.

Naive Concat: Joins representations without learning g1 and g2. Since it does not perform redundancy reduction or subspace selection, it preserves all information (redundant and unique) and does not collapse to the spectral subspace. In the main text, we also refer to Concat as Aggregation, as it aggregates information from both modalities.

DCCA: optimizes the canonical correlation objective using nonlinear projection heads. Unlike linear CCA, the nonlinear transformations allow it to capture correlations on a learned manifold, thereby escaping the linear cross-covariance spectrum of the frozen inputs.

DIM (neural)50: maximizes mutual information using a parameterized neural critic (discriminator) rather than a simple dot-product. This neural estimation allows it to capture complex nonlinear dependencies that do not reduce to trace maximization.

BYOL51 and SimSiam52: uses asymmetric prediction with stop-gradient. With frozen encoders, this becomes an asymmetric regression problem rather than a symmetric trace maximization.

CoMM34: uses a PID-aware objective with specific synergy terms that explicitly deviate from redundancy maximization.

Additional details for each method are provided in Supplementary Information section 4.

Empirical analysis of spectral convergence

To empirically test our categorization, we quantify how closely each method’s learned projected embeddings \(({\tilde{Z}}_{1},{\tilde{Z}}_{2})\) adhere to the linear spectral solution, even when using nonlinear projection heads. We compute a reference linear solution via the SVD of the centred cross-covariance \(C={Z}_{1}^{\top }{Z}_{2}/N\) on N = 1,000 paired patches from the held-out test set. Let C = UΣV⊤ and denote the top-K singular subspaces by U1:K and V1:K. We use parallel analysis53 to estimate an effective dimensionality K by permuting rows of Z2 independently L = 100× to break pairing while preserving marginals, and taking the count of observed singular values exceeding the 95th percentile of the null singular values. Note that, in our experiments, this yielded K = 5 for which we verified stability across random seeds and train/test splits.

Convergence metrics

We evaluate adherence to the reference spectral subspaces using: (1) a Procrustes-style subspace distance, (2) projection energy onto the reference subspace and (3) canonical cosine or principal angle-based similarity. Exact definitions and implementation details are given in Supplementary Information section 11. A higher canonical cosine indicates closer adherence to the linear redundancy solution, whereas a lower canonical cosine indicates deviation from this linear subspace (which can reflect either nonlinear structure capture or failure, depending on downstream SIS).

Synthetic data generator

We designed a five-level synthetic data generator that progressively increases nonlinearity and noise, enabling controlled evaluation of spectral versus non-spectral methods. The rationale behind this design is to create a systematic progression from perfect linear alignment to strong nonlinear coupling, with each level characterized by intrinsic complexity measures rather than target canonical cosine values. All levels use a shared latent structure: we generate a shared latent \(W\in {{\mathbb{R}}}^{{N}_{{\rm{syn}}}\times {K}_{{\rm{syn}}}}\) from a standard Gaussian, where Nsyn = 20,000 and Ksyn = 10. Both modalities are constructed via orthonormal projection bases \(U\in {{\mathbb{R}}}^{{D}_{1}\times {K}_{{\rm{syn}}}}\) and \(V\in {{\mathbb{R}}}^{{D}_{2}\times {K}_{{\rm{syn}}}}\) (with D1 = D2 = 128), scaled to achieve canonical correlations.

Level 1 (perfectly linear): here, we generate a perfect linear relationship where Z1 = WU⊤ and Z2 = WV⊤, with no private noise (residual standard deviation σ1 = σ2 = 0). In other words, the signal-to-noise ratio is infinite. This provides an ideal baseline for spectral methods.

Level 2 (noise degradation): this scenario has the same linear structure as level 1 but with increasing levels of private noise σ1, σ2 ∈ {0.0, 0.1, 0.2, 0.3, 0.5, 0.8, 1.0} added independently to each modality: Z1 = WU⊤ + ϵ1 and Z2 = WV⊤ + ϵ2 where \({\epsilon}_{j}\sim {\mathcal{N}}({0},{\sigma }_{j}^{2}{I})\). This creates a systematic signal-to-noise ratio degradation going from infinite to finite values.

Level 3 (linear with private structure): here, we generate a linear relationship with structured private noise (where standard deviations are set to σ1 = σ2 = 0.3). This represents the case where modalities share a common signal, but each also contains modality-specific information (signal-to-noise ratio of ~3.3).

Level 4 (moderate nonlinear coupling): in this case, we apply a nonlinear transformation to the second modality such that Z1 = WU⊤ + ϵ1 and \({Z}_{2}=[\tanh (W)+0.2\sin (W)]{V}^{\top }+{\epsilon }_{2}\) with σ1 = σ2 = 0.3. The combination of tanh saturation and sinusoidal modulation introduces moderate nonlinearity while preserving some monotonicity.

Level 5 (strong nonlinear coupling with modality rotation): this last scenario has the strongest nonlinearity via a rotated nonlinear transformation to the second modality such that Z1 = WU⊤ + ϵ1 and \({Z}_{2}=[\tanh (WR)]{V}^{\top }+{\epsilon }_{2}\), where \(R\in {{\mathbb{R}}}^{{K}_{{\rm{syn}}}\times {K}_{{\rm{syn}}}}\) is a random rotation matrix. Here, we use increased asymmetric noise (σ1 = 0.5, σ2 = 0.7). This creates substantial nonlinearity (compositional structure: saturation ∘ rotation) and breaks linear alignment structure. The asymmetric noise (σ1 ≠ σ2) tests robustness to modality imbalance.

These levels are fixed by the data-generating parameters, including private noise, structured private variation, transform class and nonlinearity strength. They are not optimized to induce specific canonical-cosine values; canonical cosine is measured only after training as an evaluation statistic. The analysis relies on the qualitative contrast between linear regimes and nonlinear regimes rather than on sharp boundaries between adjacent levels. This progression systematically tests method robustness: spectral methods should excel at the first two levels but degrade with increasing nonlinearity, while non-spectral methods should maintain higher canonical cosine across all levels. The resulting canonical cosine values are measured empirically, not engineered to specific targets. We extend the spectral theory of self-supervised learning to the multimodal setting with frozen encoders. Reference 27 showed that diverse unimodal self-supervised learning objectives (for example, VICReg, Barlow Twins and SimCLR) converge to spectral solutions recovering eigenmodes of kernel matrices. Reference 23 further showed that the spectral contrastive loss concentrates on the top eigenfunctions of the data distribution. These works established that many seemingly different self-supervised learning objectives reduce to trace maximization problems when data representations are fixed. As part of our contributions in this work, we adapt this framework to analyse multimodal alignment under frozen encoders. This is a distinct setting from unimodal self-supervised learning, as it involves fusing representations across two different fixed-modality encoders rather than augmented views of the same input.

Encoder-trainability boundary experiment

To test the boundary between frozen compositional fusion and end-to-end multimodal training, we repeated the synthetic spectral analysis under three encoder-trainability regimes: frozen encoders, last-layer trainable encoders and fully trainable encoders. For each regime, we trained either a spectral-alignment objective or a CoMM-style integration objective on the same five-level synthetic ladder used in Fig. 3, ranging from linear shared structure to strong nonlinear coupling. We report two quantities: (1) canonical cosine to the oracle shared generative directions, measuring recovery of the true shared signal, and (2) the relative change in cross-modal representation geometry from initialization. The latter quantifies how much the representation space on which the frozen-encoder spectral solution is defined changes during training. This experiment is not used to redefine the spectral ceiling; it instead tests when its fixed-representation assumptions cease to apply.

Downstream task evaluation on real data

We evaluate unimodal and fused representations across five biologically grounded tasks with increasing spatial complexity. All downstream evaluations use linear probes trained on frozen representations.

(1)

Cell-type composition regression: we predict the relative abundance of cell types in each patch using ridge regression. The target variable is a vector of cell-type proportions (excluding samples without annotations), and performance is reported via R2.

(2)

Niche-type classification: we classify patches into discrete tissue niche categories (for example, tumour, stroma or immune) using multinomial logistic regression. Performance is reported via F1 Macro.

(3)

Niche consistency: a pairwise consistency task testing whether patches sharing the same niche label are embedded closer than patches from different niches. Positive pairs are patches with identical niche labels, while negative pairs are patches with different niche labels. We train a logistic regression probe on absolute embedding differences to predict whether a pair shares the same niche and report the area under the curve (AUC).

(4)

Spatial consistency: a pairwise consistency task testing whether spatially nearby patches from the same slide are embedded closer than spatially distant patches. Positive pairs are patches within the k-nearest neighbours (default k = 5) on the same slide, while negative pairs are pairs beyond an 80th-percentile distance threshold on the same slide. We train a logistic regression probe on absolute embedding differences and report the AUC.

(5)

Spatial neighbourhood prediction: we predict properties of neighbouring patches from centre-patch embeddings across increasing distance bins. For classification, we predict the majority niche label among neighbours from the centre embedding (via F1 Macro). For regression, we predict the mean cell-type composition of neighbours (via R2). Performance is reported across distance bins to quantify degradation with increasing spatial separation.

Throughout, we treat linear-probe performance as a practical proxy for task-relevant information accessible from a given frozen representation. Cross-validation or predefined train/validation/test splits are used as appropriate for each task.

Class-wise thymus case study

For the thymus case study, we selected a representative held-out Visium slide and visualized class-wise niche prediction for GEX, imaging (IMG), Concat and CoMM (Extended Data Fig. 7 and Supplementary Section 8). For each selected niche class, we show ground-truth cells and correctly predicted cells for each method. We additionally report per-class F1 scores, row-normalized confusion matrices and class-wise SIS computed from per-class F1 relative to the stronger unimodal baseline. This analysis was used only as a qualitative interpretability case study and not for model selection.

Model training and experimental details

Frozen embeddings are extracted from pretrained foundation models: UNI-200M (UNI-2) for histopathology images5 and Nicheformer for spatial transcriptomics8. Patches are sampled from full slides and paired at the patch level. We filter samples with NaN embeddings and handle missing annotations according to each task definition.

Training of the fusion-interface

For each multimodal method, we train the fusion mappings (projection heads) g1 and g2 on the training split using PyTorch Lightning. Methods with self-supervised fusion objectives (for example, CoMM, SimCLR, Barlow Twins, VICReg, BYOL and SimSiam) use all paired samples in the training split (without downstream labels), while evaluation always uses held-out data. We use early stopping (patience 50 epochs) based on a smoothed validation loss. For linear CCA, we fit the closed-form solution on the training split. All learned methods are trained with AdamW (learning rate and weight decay selected via a sweep) and cosine annealing learning-rate schedules (see Supplementary Information section 4 for more details).

Linear probe evaluation

After training the fusion interface, we train linear probes (logistic regression for classification; ridge regression for regression) on frozen representations (Z1, Z2 or Z3). We use fivefold cross-validation or predefined train/validation/test splits depending on the evaluation setting. For spatial tasks, we enforce cross-slide validation to prevent spatial leakage across splits.

Probe-capacity control

To assess the dependence of SIS on readout capacity, we also computed a probe-indexed variant SISϕ where we replace the linear probe used in the main analyses by shallow (256-d) or deep (512-256-128) MLP classifiers (ReLU, dropout set to 0.1, batch normalization; Adam lr = 10−3, early stopping on the last 20% of each training fold; five random seeds; metrics averaged over folds and seeds). This analysis does not redefine the primary SIS metric, which is based on linear accessibility of task-relevant information but serves as a stress test for whether cross-modal information is present in a representation and requires a nonlinear decoder. We re-evaluate the frozen IMG, GEX, Concat and CoMM, and use the same readout as Table 1 on the same fivefold cross-validation splits and post-filter cohort as the main evaluation (NaN removal, excluded niche classes, rare-class filtering). At probe depth ϕ, we substitute \({{\rm{Perf}}}_{\phi }\) into equation (15)

$${\hat{\mathrm{SIS}}}_{\phi }=\frac{{\mathrm{Perf}}_{\phi }({Z}_{3})-\max ({\mathrm{Perf}}_{\phi }({Z}_{1}),{\mathrm{Perf}}_{\phi }({Z}_{2}))}{\max ({\mathrm{Perf}}_{\phi }({Z}_{1}),{\mathrm{Perf}}_{\phi }({Z}_{2}))}.$$

(20)

In concatenated representations, an MLP probe implements supervised post hoc nonlinear fusion on fixed unimodal embeddings, \(\hat{y}=h([{Z}_{\mathrm{IMG}};{Z}_{\mathrm{GEX}}])\). This differs from DCCA-style objectives, which learn modality-specific nonlinear transformations through an unsupervised canonical-correlation objective. For CoMM, the representation is already learned by a synergy-aware nonlinear training objective; the MLP adds a second nonlinear readout stage that can make interaction information more accessible without changing the fusion objective itself (Extended Data Fig. 4 and Supplementary Information section 6).

Spectral analysis

Reference spectral subspaces are computed from N = 1,000 held-out test patches via the SVD of the centred cross-covariance \(C={Z}_{1}^{\top }{Z}_{2}/N\). We use parallel analysis with L = 100 permutations to determine an effective dimensionality (typically K = 5). Canonical cosine between learned and reference subspaces is computed following standard numerical linear algebra protocols54; exact definitions are provided in Supplementary Information section 11.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.