Introduction
Canonical Correlation Analysis (CCA) is a cornerstone statistical method used to find the best linear relationship between two sets of data—for instance, matching images with their text descriptions. Mathematically, this is often framed as a Generalized Eigenvector (GEV) problem.
While these techniques are fundamental, they hit a "computational wall" with large-scale modern datasets. Standard approaches require computing matrix square roots or inversions, which are prohibitively expensive when dealing with millions of features. Previous iterative methods existed, but they either only worked if initialized very close to the true solution (local convergence) or lacked the "linear convergence" required for high precision (where error drops exponentially with each step).
This paper introduces the first provably globally and linearly convergent algorithms for CCA and the GEV problem. By treating these problems as a sequence of approximate linear systems and using a novel "warm-start" strategy, the authors achieve a running time that scales linearly with the input size and the number of components.
Methodology: GenELin and Warm-Starting
The authors propose a framework called GenELin (for finding the top-1 eigenvector) and GenELinK (for the top-$k$ subspace).
The core idea is to rethink the traditional Power Method. Usually, the Power Method finds eigenvectors by repeatedly multiplying a vector by a matrix. For GEV problems, this requires applying the inverse of a covariance matrix. Instead of calculating that inverse exactly, the authors use a "black-box" approximate linear system solver, such as Nesterov’s accelerated gradient descent.
The "Warm-Starting" Advantage: Solving every linear system from scratch to high precision is computationally slow. The authors discovered that because the eigenvectors change very little between iterations of the power method, the result from the previous iteration can be used to "warm-start" the solver for the current iteration. This allows the algorithm to solve each system only partially while still maintaining global linear convergence. Consequently, the time required to solve each internal linear system becomes independent of the final target accuracy.
Key Insights
- Reduction to GEV: The paper demonstrates that CCA can be elegantly reduced to a specific symmetric GEV problem, allowing a single algorithmic framework to solve both.
- Sparsity Exploitation: The algorithms only require matrix-vector products. This means they can take full advantage of sparse data structures without ever forming dense intermediate matrices.
- Near-Optimal Dependence: The dependence on the condition number ($\kappa$) of the matrices is near-optimal, as solving a GEV problem is fundamentally at least as hard as solving a linear system.
Empirical Results
The researchers evaluated their algorithm (CCALin) on three distinct benchmarks: MNIST (for sanity checks), the Penn Tree Bank (PTB) for word embeddings, and the URL Reputation Dataset (2.4 million URLs with 3.2 million features) to test true large-scale capabilities.
Theoretical and Practical Speed The algorithm achieves a theoretical complexity of $O\left(\frac{zk\sqrt{\kappa}}{\rho} \log(1/\epsilon)\right)$, where $z$ is the number of non-zero entries, $k$ is the number of components, and $\rho$ is the eigenvalue gap.
Empirically, CCALin significantly outperforms existing state-of-the-art iterative methods. On the massive URL Reputation dataset, classical matrix inversion methods fail entirely due to memory constraints. CCALin, however, reaches higher accuracy (Total Canonical Correlation) with significantly fewer Floating Point Operations (FLOPs) than competing methods like S-AppGrad.
Global Convergence and Stability Experiments showed that even with random initialization, the "principal angle" (a measure of error between the estimated and true subspaces, represented by $\sin \theta$) decreased monotonically and reached near-zero. This confirms the theoretical guarantees of global convergence across different datasets.
Limitations and Future Work
- The Eigenvalue Gap: Like most power-method-based approaches, the running time depends on the relative eigenvalue gap ($\rho$). If the gap between the target eigenvalues and the rest of the spectrum is extremely small, the algorithm slows down.
- Stochastic Analysis: While the authors implemented a stochastic (mini-batch) version for their experiments to handle the largest datasets, the formal theoretical proof in the paper focuses on the full-batch regime. Extending the full linear convergence proof to the purely stochastic setting remains an open area for research.
- Parameter Tuning: The performance relies on choosing a good linear system solver. While the paper suggests accelerated gradient descent, different data structures might benefit from other specific solvers, such as coordinate descent.
Summary updated