Tutorials › Multi-Omics Data Integration › Interpreting Sparse Canonical Supports

Canonical Correlation and Partial Least Squares · Tutorial 148 of 597

Interpreting Sparse Canonical Supports

Learn to read sparse CCA and PLS supports in context, interpret signs and score correlations, and distinguish a reproducible association pattern from a selection that changes with the sparsity threshold.

Intermediate 9 min read

What You'll Learn

  • Define a sparse support and distinguish selected variables from variables with large marginal associations.
  • Interpret coefficient signs while accounting for arbitrary orientation of the fitted components.
  • Distinguish the score correlation reported for sparse CCA from the covariance targeted by sparse PLS.
  • Compare supports across sparsity thresholds without treating exact zeros as definitive evidence.
  • Use resampling, sign consistency, and score associations to assess pattern stability.
  • Recognize common pitfalls in interpreting sparse multivariate components.

What a Sparse Support Does—and Does Not—Say

Sparse CCA and sparse PLS summarize association between two matched data blocks using scores formed from weighted combinations of variables. Sparsity makes some fitted weights exactly zero, so the resulting support identifies variables that contribute directly to a particular fitted score. Interpreting that support requires care: it is conditional on the data, preprocessing, algorithm, and sparsity setting used to fit the model. A selected variable is not automatically a uniquely important biomarker, and an unselected variable is not thereby shown to be unrelated to the other block.

Let \(X\) and \(Y\) be centered data matrices measured on the same \(n\) samples, with \(p\) and \(q\) columns. For a component with weight vectors \(a\) and \(b\), the sample score vectors are \(u=Xa\) and \(v=Yb\). The same interpretation applies when the matrices have been centered and scaled, as is common in omics analyses. The preprocessing choice matters: a coefficient for a standardized variable refers to a one-standard-deviation change, whereas a coefficient for an unscaled variable refers to a one-unit change in its original units.

Definition: The support of a weight vector \(a\) is \(\operatorname{supp}(a)=\{j:a_j\ne 0\}\); it lists the variables with nonzero weights in that fitted component. The support of \(b\) is defined in the same way. A score is the weighted combination of a block’s variables, such as \(u=Xa\). The score correlation is the ordinary sample correlation between \(u\) and \(v\); it is not the same quantity as the individual weights.

A support is tied to a fitted component, not necessarily to an isolated biological mechanism. Correlated variables can share or exchange weight, and a penalty can select one member of a correlated cluster while shrinking another to zero. Consequently, the selection is best read as a description of the fitted multivariate pattern, not as a ranking of each variable’s independent contribution.

Reading Signs and Scores

A nonzero weight describes a variable’s contribution to its block score, conditional on the other weighted variables and the chosen scaling. A positive weight contributes in the positive direction of that score; a negative weight contributes in the negative direction. If variables are standardized, this describes their weighted contribution per standardized unit. It does not generally equal the variable’s marginal association with the other block, nor does it establish a causal effect.

The overall orientation of a component is arbitrary. Replacing \(a\) and \(b\) simultaneously by \(-a\) and \(-b\) changes \(u\) and \(v\) to \(-u\) and \(-v\). The cross-block association is unchanged. Thus, “both scores are positive” is not an intrinsic scientific conclusion: the sign of a component can be reversed without changing the fitted pattern. What can be meaningful is the relative sign structure within a block and how that structure aligns with the other block, after choosing and stating a consistent orientation.

$$ \operatorname{cor}(-u,-v)=\operatorname{cor}(u,v), \qquad \operatorname{cov}(-u,-v)=\operatorname{cov}(u,v). $$

The distinction between sparse CCA and sparse PLS also matters when reporting score association. CCA targets correlation between the two scores (subject to the method’s constraints); PLS targets covariance. A high score correlation can be reported descriptively for either fitted method, but it is the CCA target, not the PLS objective. Conversely, covariance depends on the score scales, so it cannot be interpreted as if it were a scale-free correlation. State which quantity is reported, how the variables were scaled, and whether the association was computed on fitting or held-out samples.

Worked Example: Interpreting a Sparse CCA Component

Suppose a hypothetical sparse CCA fit uses three standardized variables in each block. The \(X\) variables are transcript A, transcript B, and methylation feature C; the \(Y\) variables are protein D, lipid E, and metabolite F. The fitted weights are \(a=(0.80,0,-0.60)\) and \(b=(0,0.75,0.66)\). The score vectors on five hypothetical samples are \(u=(-2,-1,0,1,2)\) and \(v=(-1.8,-0.9,0.2,1.0,1.5)\).

The support in the \(X\) block is \(\{ \text{transcript A},\text{methylation feature C}\}\); transcript B has zero weight in this fitted component. In the chosen orientation, transcript A contributes positively to \(u\), while methylation feature C contributes negatively. In the other block, protein D is unselected, while lipid E and metabolite F contribute positively to \(v\). These statements describe the fitted score construction, not marginal effects or causal relationships.

The score correlation is computed from the paired score values. Both score means are zero, so the centered sums of squares and cross-products are \( \sum_i u_i^2=10\), \( \sum_i v_i^2=7.34\), and \( \sum_i u_iv_i=8.50\). Therefore,

$$ r_{uv} = \frac{\sum_i u_i v_i} {\sqrt{\sum_i u_i^2\sum_i v_i^2}} = \frac{8.50}{\sqrt{10(7.34)}} = \frac{8.50}{8.567} \approx 0.992. $$

The fitted scores are strongly positively associated in these five hypothetical samples. If both weight vectors were multiplied by \(-1\), the same samples would have both score vectors reversed and the correlation would remain approximately \(0.992\). The numerical example is descriptive; five observations do not establish that this association will generalize to new samples.

Why Supports Can Change With the Threshold

In a sparse method, exact zeros are produced by the penalty, constraint, or thresholding rule. Changing its tuning value can change which weights survive. This is not a contradiction: a selected support is conditional on the chosen sparsity level. When selecting sparsity by held-out association, as in the earlier material on held-out association, the validation criterion helps compare tuning choices; it does not make the resulting support independent of those choices.

It is useful to separate three questions: which variables are selected at a particular setting, whether the broad signed pattern persists across reasonable settings, and how well the resulting scores associate on data not used to fit them. These questions need not have the same answer. The score association may change little while a borderline variable enters or leaves the support.

Worked Example: A Stable Pattern With a Threshold-Sensitive Support

Consider a hypothetical standardized sparse PLS update based on cross-block association values \(g=(0.62,0.55,-0.51,0.18)\) for variables A–D. For this illustration, soft thresholding at level \(t\) gives \(w_j(t)=\operatorname{sign}(g_j)\max(|g_j|-t,0)\). These are unnormalized thresholded weights, so their support and signs are the features being compared.

At \(t=0.20\), the weights are \(w(0.20)=(0.42,0.35,-0.31,0)\), and the support is \(\{A,B,C\}\). At \(t=0.40\), they are \(w(0.40)=(0.22,0.15,-0.11,0)\), with the same support. At \(t=0.52\), they are \(w(0.52)=(0.10,0.03,0,0)\), so the support is now \(\{A,B\}\). Variable C has disappeared because \(|-0.51|\) is below the new threshold, not because its sign changed.

Suppose the corresponding held-out score correlations for these three settings are, hypothetically, \(0.74\), \(0.76\), and \(0.75\). The exact selected set changes at the most stringent setting, while the broad positive association for A and B and negative weight for C at the less stringent settings is reasonably consistent. The held-out correlations are also similar, though they do not prove the supports are equivalent or identify a uniquely correct threshold. A careful report would give the threshold, the support at that setting, and the sensitivity of the pattern to nearby settings.

Assessing Stability and Diagnosing Trouble

A single fitted support does not measure how reproducible selection is. One practical diagnostic is to refit the procedure on resampled or perturbed versions of the training data, using a consistent preprocessing and tuning strategy. For each variable, record how often it is selected and, when selected, how often its sign agrees with a chosen orientation. These frequencies describe stability under the specified perturbation scheme; they are not automatically probabilities that a variable is truly relevant.

Orientation must be aligned before counting sign consistency. For example, if one refit returns both score vectors reversed, the fit represents the same association pattern but every coefficient sign has flipped. An alignment rule—such as choosing the orientation that gives a positive correlation between the refitted scores and reference scores—prevents that arbitrary reversal from being mistaken for instability. If components are close in strength, component matching may also be needed before comparing them.

Worked Example: Summarizing Resampling Stability

Suppose a hypothetical analysis fits a component in 20 resampled training sets. Variable A is selected in 18 fits and has the aligned positive sign in all 18. B is selected in 17 fits and has the aligned negative sign in 16 of those 17. C is selected in 16 fits and has the aligned positive sign in 15 of those 16. D is selected in 5 fits and has the aligned positive sign in 3 of those 5.

The selection frequencies are \(18/20=0.90\) for A, \(17/20=0.85\) for B, \(16/20=0.80\) for C, and \(5/20=0.25\) for D. Conditional on selection, the sign agreement is \(18/18=1.00\) for A, \(16/17\approx0.941\) for B, \(15/16=0.938\) for C, and \(3/5=0.600\) for D. A, B, and C therefore form a more reproducible signed pattern under this resampling scheme than D. This is a stability description, not a formal test of association or a guarantee of replication in a new population.

Useful warning signs include a support that changes sharply after a small adjustment to the penalty, unstable signs after orientation alignment, and a high training score association that is much lower on held-out data. Strong correlation among predictors can also cause individual weights to trade places while a similar score pattern remains. Check whether the input blocks are matched on the intended samples, whether scaling and centering were applied consistently, and whether the optimization has converged to a comparable solution across fits. Sparse algorithms can have local solutions; unexplained changes in both support and score pattern may reflect optimization as well as sampling variability.

Comparisons, Limits, and Common Mistakes

ApproachWhat it emphasizesInterpretive caution
Classical CCACanonical score correlation, generally using dense weightsMany nonzero weights can make a compact variable list difficult to define.
Sparse CCACross-block score correlation with a sparse representationThe support and signs depend on scaling, tuning, and the fitted solution.
Two-block PLSCross-block score covarianceCovariance depends on scale; it is not interchangeable with score correlation.
Sparse PLSCovariance-based scores with sparse weightsA selected variable contributes to the fitted score, but selection alone is not an inferential or causal conclusion.

A common mistake is to read a nonzero weight as “this variable is significantly associated with the other block,” or to read a zero weight as “there is no association.” Neither conclusion follows from the support alone. A support is an output of a penalized fitting procedure, not a p-value, confidence interval, or test of a null hypothesis. Another mistake is to compare raw signs across fits without resolving arbitrary orientation. First align the components; then compare relative signs and selected variables.

The main alternative to a sparse variable-level summary is to interpret dense weights, or to report score associations without claiming a short list of selected variables. Dense approaches avoid a hard selected-versus-unselected boundary but can be difficult to summarize when many variables contribute. Sparse approaches offer a more concise representation at the cost of threshold sensitivity and potentially unstable individual selections. Neither representation alone resolves correlated features, biological confounding, or uncertainty about generalization. Report the method, preprocessing, tuning choice, component orientation, support, and the data used to calculate any reported score association.

Key takeaway: Interpret a sparse support as a tuning- and data-dependent description of a fitted component. Give signs only after stating an orientation, distinguish weights from score associations, and assess whether the signed pattern—not merely one exact support—persists across reasonable perturbations.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. If both weight vectors in a two-block fit are multiplied by \(-1\), what happens to the two scores and their correlation?
  2. A sparse PLS fit has a held-out score correlation of \(0.70\). Does that value mean the PLS algorithm directly maximized score correlation?
  3. For thresholded values \(g=(0.45,-0.33)\) and \(t=0.35\), calculate the soft-thresholded weights and support.
  4. In 30 resamples, a variable is selected 24 times and has the aligned positive sign in 21 of those selected fits. Calculate its selection frequency and conditional sign agreement.
  5. Why might two fits have different supports but similar score associations?

Solutions. (1) Both scores change sign, so their correlation is unchanged: \(\operatorname{cor}(-u,-v)=\operatorname{cor}(u,v)\). (2) No. Sparse PLS targets covariance; a score correlation can be reported descriptively but is not the PLS objective. (3) The weights are \((0.45-0.35,-(0.33-0.35)_+)=(0.10,0)\), where the second coordinate is zero because \(0.33<0.35\). The support contains only the first variable. (4) The selection frequency is \(24/30=0.80\); conditional sign agreement is \(21/24=0.875\). (5) Correlated variables can exchange or share weights, or a threshold can remove a borderline coefficient, while the resulting weighted scores remain similar.

Clinical Biostats