Introduction
SpanCCA is a novel, combinatorial algorithm designed for Sparse Diagonal Canonical Correlation Analysis (CCA). It stands out by being both computationally efficient and mathematically provable. By leveraging low-rank approximations, SpanCCA provides the first global approximation guarantees for this inherently NP-hard problem. Furthermore, it scales linearly with the number of input variables and is easily parallelizable, making it a powerful tool for modern, large-scale data analysis.
The Problem: High-Dimensional CCA
Canonical Correlation Analysis (CCA) is a foundational technique in data science used to uncover relationships between two different "views" of the same data. Common applications include linking brain activity patterns to behavioral scores or matching DNA variants to gene expression profiles.
However, modern datasets frequently suffer from the "high-dimension, low-sample size" problem—for instance, measuring thousands of genes across only a few dozen patients. In these scenarios, standard CCA tends to overfit, yielding results that are mathematically optimal but lack biological or practical meaning.
Sparse CCA addresses this by forcing the model to select only a small, highly relevant subset of variables. The challenge is that finding this optimal sparse subset is NP-hard. Most existing tools rely on heuristics (such as $\ell_1$ or Lasso penalties) that offer no guarantees of finding a globally optimal solution and provide users with little precise control over the exact number of features selected.
The SpanCCA Approach
The authors introduce SpanCCA, an algorithm specifically tailored for "Diagonal" Sparse CCA, where variables within each set are assumed to be standardized and uncorrelated. The algorithm operates on a clever three-step logic:
- Low-Rank Approximation: The process begins by computing a rank-$r$ Singular Value Decomposition (SVD) of the cross-covariance matrix. This crucial step reduces the problem's dimensionality from thousands of variables down to a small, manageable "principal subspace."
- Subspace Sampling: The algorithm then randomly samples directions within this $r$-dimensional subspace.
- Hard Thresholding (Projection): For each sampled direction, the vector is "projected" onto the set of sparse vectors by simply retaining the top $s$ largest entries and zeroing out the rest.
Because each random sample in the subspace is independent, the algorithm is "embarrassingly parallel." Users can easily distribute the workload across multiple CPUs to achieve better results in less time.
Key Insights and Results
SpanCCA's core innovation is recognizing the power of low rank: the optimal sparse vectors likely reside near the top singular vectors of the data. By restricting the search to this low-dimensional subspace, an exponential search problem is transformed into a linear one.
Unlike penalty-based methods that require tweaking an opaque "lambda" parameter, SpanCCA allows users to specify exactly how many non-zero features they want. Furthermore, it is the first algorithm for this problem to offer a data-dependent global approximation guarantee, meaning we can mathematically bound how far the result is from the theoretical optimum.
The authors evaluated SpanCCA on two complex, real-world datasets, demonstrating significant improvements over existing methods.
Genomics: Breast Cancer Dataset
The first evaluation used DNA copy number measurements (2,149 features) and RNA gene expression (19,672 features) from 89 tissue samples. SpanCCA consistently achieved higher correlation values (the objective function) than the popular PMD (Penalized Matrix Decomposition) algorithm across various sparsity levels.
In addition to better performance, SpanCCA was roughly twice as fast as PMD on this genomics task (~24s vs ~44s) and demonstrated near-linear speedups when distributed across multiple processing cores.
Neuroimaging: Human Connectome Project
The second evaluation utilized fMRI brain scans (65,598 voxels) and behavioral/psychological scores (38 features) from 497 subjects. SpanCCA successfully identified a "fronto-parietal" network—a brain region known to be involved in executive function and intelligence—and linked it directly to specific behavioral scores like fluid intelligence and reading ability.
Limitations and Future Work
While SpanCCA represents a significant step forward, the authors note a few limitations and areas for future research:
- The "Diagonal" Constraint: The algorithm assumes variables within a set are uncorrelated. While this is a common assumption in high-dimensional settings, it isn't universally true. Extending the algorithm to handle "non-diagonal" cases remains an open challenge.
- The Rank Trade-off: The theoretical guarantees depend on the rank $r$. While a small $r$ (e.g., 3 or 5) works well empirically, the number of samples required to maintain the mathematical guarantee grows exponentially as $r$ increases.
- Deflation: The current paper focuses on finding the first pair of canonical vectors. Finding subsequent, orthogonal pairs (a process known as deflation) is highlighted as an important area for future research to determine the best deflation strategies for sparse data.
Summary updated