On Sparse Canonical Correlation Analysis

Yongchun Li, Santanu S. Dey, Weijun Xie · DOI

Abstract

The classical Canonical Correlation Analysis (CCA) identifies the correlations between two sets of multivariate variables based on their covariance, which has been widely applied in diverse fields such as computer vision, natural language processing, and speech analysis. Despite its popularity, CCA can encounter challenges in explaining correlations between two variable sets within high-dimensional data contexts. Thus, this paper studies Sparse Canonical Correlation Analysis (SCCA) that enhances the interpretability of CCA. We first show that SCCA generalizes three well-known sparse optimization problems: sparse PCA, sparse SVD, and sparse regression, which are all classified as NP-hard problems. This result motivates us to develop strong formulations and efficient algorithms. Our main contributions include (i) the introduction of a combinatorial formulation that captures the essence of SCCA and allows the development of approximation algorithms; (ii) the derivation of an equivalent mixed-integer semidefinite programming model that facilitates a specialized branch-and-cut algorithm with analytical cuts; and (iii) the establishment of the complexity results for two low-rank special cases of SCCA. The effectiveness of our proposed formulations and algorithms is validated through numerical experiments.

Introduction

In multivariate statistics, Canonical Correlation Analysis (CCA) is a fundamental tool used to identify hidden relationships between two distinct sets of variables. Whether linking genetic markers to clinical symptoms or matching image features to text descriptions, CCA seeks linear combinations of variables that are maximally correlated. However, as datasets grow into thousands of dimensions, classical CCA often produces "dense" results—where every variable contributes a small, non-zero weight. In high-dimensional settings where the number of variables often exceeds the number of samples, this leads to overfitting and results that are biologically or physically uninterpretable.

Sparse Canonical Correlation Analysis (SCCA) addresses this by enforcing sparsity constraints, ensuring that only the most relevant variables are selected. While conceptually simple, enforcing these constraints transforms the problem into a challenging NP-hard optimization. This paper provides a rigorous mathematical framework to move SCCA from heuristic-based approximations toward exact optimization.

SCCA as a "Super-Problem"

A key theoretical contribution of this work is the formal proof that SCCA is a generalization of three other major sparse optimization problems: Sparse Principal Component Analysis (Sparse PCA), Sparse Singular Value Decomposition (Sparse SVD), and Sparse Regression. This classification establishes SCCA as a "super-problem," implying that advancements in solving SCCA have direct implications for a wide array of fundamental tasks in machine learning and statistics.

Methodology

To tackle the NP-hard nature of SCCA, the researchers developed a three-pronged approach focusing on mixed-integer optimization:

1. Combinatorial Reformulation

The authors demonstrate that SCCA is equivalent to selecting specific submatrices of the covariance matrices to maximize a singular value. This reformulation allows the problem to be viewed through the lens of combinatorial optimization, linking it to established problems in matrix analysis.

2. Mixed-Integer Semidefinite Programming (MISDP)

The paper derives an MISDP model for SCCA. By using binary variables to represent whether a specific variable is included in the correlation model, the authors can explicitly control sparsity. While MISDP is computationally intensive, it provides a path toward finding globally optimal solutions rather than local optima.

3. Specialized Branch-and-Cut Algorithm

To make the MISDP model practical, the authors designed a customized branch-and-cut algorithm. The core innovation here is the derivation of analytical (closed-form) cuts. By looking at the dual of the inner optimization problem, the researchers identified mathematical shortcuts that allow the solver to prune the search tree efficiently. These cuts provide tight bounds on the optimal value without requiring the solution of massive sub-problems at every node.

Complexity and Special Cases

The study also investigates the complexity of SCCA under specific conditions. A significant finding is that if the cross-covariance matrix (which describes the relationship between the two variable sets) is rank-one, the problem simplifies significantly. In this special case, SCCA decomposes into two separate sparse regression problems, which are significantly easier to solve and scale to much larger dimensions.

Numerical Results

The proposed formulations were validated using synthetic datasets, allowing for a comparison against known ground-truth correlation patterns. Key findings include:

  • Exact Optimality: The algorithm can solve SCCA to global optimality for smaller instances (up to $20 \times 20$). While the scale is modest, it represents a significant milestone for exact MISDP solvers in this domain.
  • Tight Relaxations: For larger problems, the Semidefinite Programming (SDP) relaxation provides an exceptionally tight upper bound—typically within 8% of the true optimum. This provides a "gold standard" for researchers to evaluate the performance of existing heuristic methods.
  • Scalability in Low-Rank Cases: For rank-one cross-covariance matrices, the method scales efficiently, solving $100 \times 100$ problems in seconds and $500 \times 500$ problems within minutes.

Conclusion

This research transforms SCCA from a field dominated by heuristics into a rigorous optimization challenge. By providing the first exact optimization framework and establishing tight theoretical bounds, the authors offer a new benchmark for high-dimensional data analysis. While scalability for general, high-rank SCCA remains a challenge, the introduction of analytical cuts and the identification of efficient low-rank solutions provide a robust foundation for future work in genomic and high-dimensional statistical modeling.

Summary updated

BibTeX
@inproceedings{li2024sparse,
  author = {Yongchun Li and Santanu S. Dey and Weijun Xie},
  title = {{On Sparse Canonical Correlation Analysis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=MZ47wPr6C3},
}
Figure