Canonical Correlation Analysis (CCA) is a cornerstone of multi-view learning, yet it remains computationally expensive for high-dimensional data. This paper introduces RSG+, a stochastic algorithm that leverages Riemannian geometry to reduce the complexity of top-$k$ CCA from $O(d^3)$ to $O(d^2k)$. By reparameterizing the problem onto structured manifolds, the authors achieve faster convergence and superior scalability, making CCA viable for modern deep learning features.
The Challenge of High-Dimensional CCA
CCA seeks to find linear projections that maximize correlation between two data views, such as the audio and video tracks of a movie. However, traditional methods require a "whitening" step involving matrix inversion or Singular Value Decomposition (SVD), which scales cubically ($O(d^3)$) with the feature dimension $d$. In the era of deep learning, where $d$ often exceeds thousands, this bottleneck prevents CCA from scaling to large datasets or complex models.
Methods: Riemannian Reparameterization
The authors bypass the cubic bottleneck by re-envisioning the optimization space. Instead of searching the unconstrained space of matrices, they decompose the projection matrices into components that reside on specific geometric manifolds: the Grassmannian (for subspace selection) and the Stiefel manifold (for rotation and scaling).
By applying Riemannian Stochastic Gradient Descent (RSGD), the algorithm naturally maintains orthonormality constraints without the need for expensive per-iteration projections or whitening. This geometric shortcut allows for a $O(1/t)$ convergence rate while maintaining a per-iteration cost of only $O(d^2k)$.
Experimental Results
The proposed RSG+ algorithm was benchmarked against the state-of-the-art Matrix Stochastic Gradient (MSG) method across several datasets, including MNIST, Mediamill, and CIFAR-10.
Key findings include:
- Efficiency: RSG+ demonstrated up to a 10x runtime improvement over MSG.
- Scalability: While standard batch CCA failed at dimensions $d \ge 500$ due to memory and compute constraints, RSG+ handled high-dimensional deep features with ease.
- Correlation Capture: Across all tested values of $k$, RSG+ consistently captured more correlation than previous stochastic approaches.
Fairness via Correlation
Beyond standard correlation tasks, the authors applied RSG+ to algorithmic fairness. By using CCA to minimize the correlation between a model's internal representations and a pre-trained bias-detecting classifier (e.g., for gender), they successfully "scrubbed" biased information from models trained on the CelebA dataset. This approach significantly improved fairness metrics like Demographic Parity and Equality of Opportunity without requiring explicit sensitive labels during the primary training phase.
Conclusion
RSG+ represents a significant step forward in making multi-view learning scalable. While the current $O(d^2k)$ complexity is a major improvement, future work aims to leverage data sparsity to push beyond the $10^5$ dimension threshold and address sensitivities to small eigenvalue gaps in stochastic settings.
Summary updated